12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @gray: lighten(#000, 33.5%);
- @gray-light: lighten(#000, 46.7%);
- @gray-lighter: lighten(#000, 93.5%);
- @brand-primary: darken(#428bca, 6.5%);
- @btn-primary-color: #fff;
- @btn-primary-bg: @brand-primary;
- @btn-primary-border: darken(@btn-primary-bg, 5%);
- @btn-link-disabled-color: @gray-light;
- @state-info-bg: #d9edf7;
- @line-height-base: 1.428571429;
- @border-radius-base: 4px;
- @dropdown-bg: #fff;
- @dropdown-border: rgba(0,0,0,.15);
- .button-variant(@color; @background; @border) {
- color: @color;
- background-color: @background;
- border-color: @border;
- &:focus,
- &.focus {
- color: @color;
- background-color: darken(@background, 10%);
- border-color: darken(@border, 25%);
- }
- &:hover {
- color: @color;
- background-color: darken(@background, 10%);
- border-color: darken(@border, 12%);
- }
- &:active,
- &.active {
- color: @color;
- background-color: darken(@background, 10%);
- border-color: darken(@border, 12%);
- &:hover,
- &:focus,
- &.focus {
- color: @color;
- background-color: darken(@background, 17%);
- border-color: darken(@border, 25%);
- }
- }
- &.disabled,
- &[disabled],
- fieldset[disabled] & {
- &:hover,
- &:focus,
- &.focus {
- background-color: @background;
- border-color: @border;
- }
- }
- }
- @import "../less/datepicker3.less";
|