bootswatch.less 2.06 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
18
19
20
21
  .btn-shadow(@navbar-default-bg);
  filter: none;
  .box-shadow(0 1px 10px rgba(0, 0, 0, 0.1));

  .navbar-nav > li > a,
  &-brand {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }
Thomas Park's avatar
Thomas Park committed
22
23
24
}

.navbar-inverse {
Thomas Park's avatar
Thomas Park committed
25
26
27
  #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
28
29
30
31
32
33
}

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

.btn {

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

Thomas Park's avatar
Thomas Park committed
36
37
38
  .caret {
    border-top-color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
39
40
41
}

.btn-default {
Thomas Park's avatar
Thomas Park committed
42
43
  
  .btn-shadow(@btn-default-bg);
Thomas Park's avatar
Thomas Park committed
44

Thomas Park's avatar
Thomas Park committed
45
46
47
  &:hover {
    color: @btn-default-color;
  }
Thomas Park's avatar
Thomas Park committed
48

Thomas Park's avatar
Thomas Park committed
49
50
51
  .caret {
    border-top-color: @text-color;
  }
Thomas Park's avatar
Thomas Park committed
52
53
54
}

.btn-default {
Thomas Park's avatar
Thomas Park committed
55
  .btn-shadow(@btn-default-bg);
Thomas Park's avatar
Thomas Park committed
56
57
58
}

.btn-primary {
Thomas Park's avatar
Thomas Park committed
59
  .btn-shadow(@btn-primary-bg);
Thomas Park's avatar
Thomas Park committed
60
61
62
}

.btn-success {
Thomas Park's avatar
Thomas Park committed
63
  .btn-shadow(@btn-success-bg);
Thomas Park's avatar
Thomas Park committed
64
65
66
}

.btn-info {
Thomas Park's avatar
Thomas Park committed
67
  .btn-shadow(@btn-info-bg);
Thomas Park's avatar
Thomas Park committed
68
69
70
}

.btn-warning {
Thomas Park's avatar
Thomas Park committed
71
  .btn-shadow(@btn-warning-bg);
Thomas Park's avatar
Thomas Park committed
72
73
74
}

.btn-danger {
Thomas Park's avatar
Thomas Park committed
75
  .btn-shadow(@btn-danger-bg);
Thomas Park's avatar
Thomas Park committed
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
}

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

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

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

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

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

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

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

Thomas Park's avatar
Thomas Park committed
92
93
94
95
.panel-primary,
.panel-success,
.panel-warning,
.panel-danger,
Thomas Park's avatar
Thomas Park committed
96
97
.panel-info {

Thomas Park's avatar
Thomas Park committed
98
99
100
101
  .panel-heading,
  .panel-title {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
102
}