Blame view

vendor/bower/bootstrap-datepicker/build/build3.less 1.72 KB
021728bd   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  // Datepicker .less buildfile.  Includes select mixins/variables from bootstrap
  // and imports the included datepicker.less to output a minimal datepicker.css
  //
  // Usage:
  //     lessc build.less datepicker.css
  //
  // Variables and mixins copied from bootstrap 2.0.2
  
  // Variables
  @gray:                   lighten(#000, 33.5%); // #555
  @gray-light:             lighten(#000, 60%);   // #999
  @gray-lighter:           lighten(#000, 93.5%); // #eee
  
  @input-border:                   #ccc;
  
  @brand-primary:         #428bca;
  //@btn-default-color:              #333;
  //@btn-default-bg:                 #fff;
  //@btn-default-border:             #ccc;
  @btn-primary-color:              #fff;
  @btn-primary-bg:                 @brand-primary;
  @btn-primary-border:             darken(@btn-primary-bg, 5%);
  
  
  @btn-link-disabled-color:        @gray-light;
  
  @input-group-addon-bg:           @gray-lighter;
  @input-group-addon-border-color: @input-border;
  
  @font-size-base:          14px;
  @line-height-base:        1.428571429; // 20/14
  @line-height-computed:    floor(@font-size-base * @line-height-base); // ~20px
  
  
  // Mixins
  
  // Button variants
  .button-variant(@color; @background; @border) {
    color: @color;
    background-color: @background;
    border-color: @border;
  
    &:hover,
    &:focus,
    &:active,
    &.active,
    .open .dropdown-toggle& {
      color: @color;
      background-color: darken(@background, 8%);
          border-color: darken(@border, 12%);
    }
    &:active,
    &.active,
    .open .dropdown-toggle& {
      background-image: none;
    }
    &.disabled,
    &[disabled],
    fieldset[disabled] & {
      &,
      &:hover,
      &:focus,
      &:active,
      &.active {
        background-color: @background;
            border-color: @border
      }
    }
  }
  
  @import "../less/datepicker3.less";