Skip to content

Instantly share code, notes, and snippets.

@ArcanisCz

ArcanisCz/Dropdown.less

Last active Aug 23, 2016
Embed
What would you like to do?
@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
You can’t perform that action at this time.