bootswatch.less 2.3 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cerulean 3.1.1
Thomas Park's avatar
Thomas Park committed
2
3
4
5
// Bootswatch
// -----------------------------------------------------

.btn-shadow(@color) {
Thomas Park's avatar
Thomas Park committed
6
7
8
  #gradient > .vertical-three-colors(lighten(@color, 8%), @color, 60%, darken(@color, 4%));
  filter: none;
  border-bottom: 1px solid darken(@color, 10%);
Thomas Park's avatar
Thomas Park committed
9
10
11
12
13
}

// Navbar =====================================================================

.navbar {
Thomas Park's avatar
Thomas Park committed
14
15
16
17
  .btn-shadow(@navbar-default-bg);
  filter: none;
  .box-shadow(0 1px 10px rgba(0, 0, 0, 0.1));

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  &-default {

    .badge {
      background-color: #fff;
      color: @navbar-default-bg;
    }
  }

  &-inverse {

    .badge {
      background-color: #fff;
      color: @navbar-inverse-bg;
    }
  }

Thomas Park's avatar
Thomas Park committed
34
35
36
37
  .navbar-nav > li > a,
  &-brand {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }
38
39
40
41

  .dropdown-header {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
42
43
44
}

.navbar-inverse {
Thomas Park's avatar
Thomas Park committed
45
46
47
  #gradient > .vertical-three-colors(lighten(@navbar-inverse-bg, 8%), lighten(@navbar-inverse-bg, 4%), 60%, darken(@navbar-inverse-bg, 2%));
  filter: none;
  border-bottom: 1px solid darken(@navbar-inverse-bg, 10%);
Thomas Park's avatar
Thomas Park committed
48
49
50
51
52
53
}

// Buttons ====================================================================

.btn {

Thomas Park's avatar
Thomas Park committed
54
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
Thomas Park's avatar
Thomas Park committed
55

Thomas Park's avatar
Thomas Park committed
56
57
58
  .caret {
    border-top-color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
59
60
61
}

.btn-default {
Thomas Park's avatar
Thomas Park committed
62
63
  
  .btn-shadow(@btn-default-bg);
Thomas Park's avatar
Thomas Park committed
64

Thomas Park's avatar
Thomas Park committed
65
66
67
  &:hover {
    color: @btn-default-color;
  }
Thomas Park's avatar
Thomas Park committed
68

Thomas Park's avatar
Thomas Park committed
69
70
71
  .caret {
    border-top-color: @text-color;
  }
Thomas Park's avatar
Thomas Park committed
72
73
74
}

.btn-default {
Thomas Park's avatar
Thomas Park committed
75
  .btn-shadow(@btn-default-bg);
Thomas Park's avatar
Thomas Park committed
76
77
78
}

.btn-primary {
Thomas Park's avatar
Thomas Park committed
79
  .btn-shadow(@btn-primary-bg);
Thomas Park's avatar
Thomas Park committed
80
81
82
}

.btn-success {
Thomas Park's avatar
Thomas Park committed
83
  .btn-shadow(@btn-success-bg);
Thomas Park's avatar
Thomas Park committed
84
85
86
}

.btn-info {
Thomas Park's avatar
Thomas Park committed
87
  .btn-shadow(@btn-info-bg);
Thomas Park's avatar
Thomas Park committed
88
89
90
}

.btn-warning {
Thomas Park's avatar
Thomas Park committed
91
  .btn-shadow(@btn-warning-bg);
Thomas Park's avatar
Thomas Park committed
92
93
94
}

.btn-danger {
Thomas Park's avatar
Thomas Park committed
95
  .btn-shadow(@btn-danger-bg);
Thomas Park's avatar
Thomas Park committed
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
}

// Typography =================================================================

// Tables =====================================================================

// Forms ======================================================================

// Navs =======================================================================

// Indicators =================================================================

// Progress bars ==============================================================

// Containers =================================================================

Thomas Park's avatar
Thomas Park committed
112
113
114
115
.panel-primary,
.panel-success,
.panel-warning,
.panel-danger,
Thomas Park's avatar
Thomas Park committed
116
117
.panel-info {

Thomas Park's avatar
Thomas Park committed
118
119
120
121
  .panel-heading,
  .panel-title {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
122
}