Last active
August 23, 2016 07:53
-
-
Save ArcanisCz/3111c8241df0427fc6636be4284d2f5c to your computer and use it in GitHub Desktop.
This file contains 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
@import "../../main/less/colors"; | |
@import "~bootstrap/less/mixins"; | |
.DropdownList(){ | |
.Select-control { | |
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); | |
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s"); | |
border: 1px solid @input-border; | |
border-radius: @input-border-radius; | |
height: 35px; //zmenseno o 1 px | |
.Select-input { | |
height: 33px; //zmenseno o 1 px | |
} | |
.Select-clear { | |
margin-top: 1px; //zmenseno o 1 px | |
} | |
} | |
.has-error .Select-control { | |
border-color: @state-danger-text; | |
} | |
.has-error.is-focused > .Select-control { | |
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@state-danger-text, 20%); | |
border-color: @state-danger-text; | |
.box-shadow(@shadow); | |
} | |
.is-focused > .Select-control { | |
border-color: @input-border-focus; | |
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@input-border-focus, 20%); | |
.box-shadow(@shadow); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment