3 // Easily pump out default styles, as well as :hover, :focus, :active,
4 // and disabled options for all buttons
6 .button-variant(@color; @background; @border) {
8 background-color: @background;
16 .open > .dropdown-toggle& {
18 background-color: darken(@background, 10%);
19 border-color: darken(@border, 12%);
23 .open > .dropdown-toggle& {
24 background-image: none;
28 fieldset[disabled] & {
35 background-color: @background;
36 border-color: @border;
42 background-color: @color;
47 .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
48 padding: @padding-vertical @padding-horizontal;
49 font-size: @font-size;
50 line-height: @line-height;
51 border-radius: @border-radius;