liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#banner {
  color: #fff;
  .message-container {
    display: table;
    width: auto;
    margin: 0 auto;
    padding: 15px 0;
  }
  .tagline, .action {
    display: table-cell;
    vertical-align: middle;
  }
  .tagline {
    font-weight: 200;
    font-size: 16px;
    padding-right: 20px;
  }
 
  &.black-tie {
    @black-tie-bg: #222222;
    background-color: @black-tie-bg;
    border-bottom: solid 1px mix(@black-tie-bg, #fff, 95%);
 
    .btn-primary {
      @color: @black-tie-bg;
      @background: mix(#fff,@black-tie-bg,90%);
      @border: mix(#fff,@black-tie-bg,60%);
      font-weight: bold;
      color: @color;
      background-color: @background;
      border-color: @border;
      border-bottom-width: 2px;
      text-shadow: none;
      border-radius: 4px;
 
      &:hover,
      &:focus,
      &:active,
      &.active,
      .open > &.dropdown-toggle {
        color: #fff;
        background-color: darken(@border, 3%);
        border-color: darken(@border, 12%);
        border-bottom-color: darken(@border, 18%);
      }
      &:active,
      &.active,
      .open > &.dropdown-toggle {
        background-image: none;
      }
      &.disabled,
      &[disabled],
      fieldset[disabled] & {
        &,
        &:hover,
        &:focus,
        &:active,
        &.active {
          background-color: @background;
          border-color: @border;
        }
      }
    }
  }
 
  &.fonticons {
    @fonticons-bg: #1c1e29;
    @fonticons-orange: desaturate(#ff7f3f, 5%);
    background-color: @fonticons-orange;
    border-bottom: solid 1px mix(@fonticons-bg, @fonticons-orange, 15%);
    .btn-primary {
      @color: #fff;
      @background: mix(#fff,@fonticons-bg,10%);
      @border: @fonticons-bg;
      font-weight: bold;
      color: @color;
      background-color: @background;
      border-color: @border;
      border-bottom-width: 2px;
      text-shadow: none;
      border-radius: 4px;
 
      &:hover,
      &:focus,
      &:active,
      &.active,
      .open > &.dropdown-toggle {
        color: #fff;
        background-color: darken(@border, 3%);
        border-color: darken(@border, 12%);
        border-bottom-color: darken(@border, 18%);
      }
      &:active,
      &.active,
      .open > &.dropdown-toggle {
        background-image: none;
      }
      &.disabled,
      &[disabled],
      fieldset[disabled] & {
        &,
        &:hover,
        &:focus,
        &:active,
        &.active {
          background-color: @background;
          border-color: @border;
        }
      }
    }
  }
}