Created
March 19, 2015 18:45
-
-
Save davilious/94e1fe0fee67f628d718 to your computer and use it in GitHub Desktop.
Map in Sass
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
| $input-disabled-color: #000000; | |
| $input: ( | |
| disabled-background: lighten($input-disabled-color, 75%), | |
| disabled-border: lighten($input-disabled-color, 50%), | |
| disabled-text: lighten($input-disabled-color, 50%) | |
| ); | |
| input[disabled] { | |
| background: map-get($input, disabled-background); | |
| border: map-get($input, disabled-border); | |
| color: map-get($input, disabled-text); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment