Skip to content

Instantly share code, notes, and snippets.

@ArcanisCz
Last active August 23, 2016 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArcanisCz/3111c8241df0427fc6636be4284d2f5c to your computer and use it in GitHub Desktop.
Save ArcanisCz/3111c8241df0427fc6636be4284d2f5c to your computer and use it in GitHub Desktop.
@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