Created
January 11, 2018 16:15
-
-
Save ironfroggy/9f82084f90117477abf210b8225e37e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CSS Lockes / Not Mobile First | |
fieldset | |
input | |
graduated(font-size, 14px, 16px) | |
graduated(line-height, 18px, 22px) | |
input[type=text], input[type=password] | |
margin-top: $line-height-base !important | |
margin-bottom: 0px !important | |
border: 1px solid $palette.grayscale.light | |
input[disabled] | |
background: $palette.disabled.very-light | |
input + label | |
graduated(font-size, 12px, 14px) | |
height: 0 | |
padding-left: 0 | |
padding-bottom: 0 | |
color: darkgrey | |
top: -4em | |
// Mobile First Version | |
fieldset | |
input | |
font-size: 14px | |
line-height: 18px | |
input[type=text], input[type=password] | |
margin-top: $line-height-base !important | |
margin-bottom: 0px !important | |
border: 1px solid $palette.grayscale.light | |
input[disabled] | |
background: $palette.disabled.very-light | |
input + label | |
font-size: 12px | |
height: 0 | |
padding-left: 0 | |
padding-bottom: 0 | |
color: darkgrey | |
top: -4em | |
@media (min-width: 960px) | |
fieldset | |
input | |
font-size: 16px | |
line-height: 22px | |
input + label | |
font-size: 14px |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment