bootswatch.less 2.1 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);
  }
22
23
24
25

  .dropdown-header {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
26
27
28
}

.navbar-inverse {
Thomas Park's avatar
Thomas Park committed
29
30
31
  #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
32
33
34
35
36
37
}

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

.btn {

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

Thomas Park's avatar
Thomas Park committed
40
41
42
  .caret {
    border-top-color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
43
44
45
}

.btn-default {
Thomas Park's avatar
Thomas Park committed
46
47
  
  .btn-shadow(@btn-default-bg);
Thomas Park's avatar
Thomas Park committed
48

Thomas Park's avatar
Thomas Park committed
49
50
51
  &:hover {
    color: @btn-default-color;
  }
Thomas Park's avatar
Thomas Park committed
52

Thomas Park's avatar
Thomas Park committed
53
54
55
  .caret {
    border-top-color: @text-color;
  }
Thomas Park's avatar
Thomas Park committed
56
57
58
}

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

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

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

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

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

.btn-danger {
Thomas Park's avatar
Thomas Park committed
79
  .btn-shadow(@btn-danger-bg);
Thomas Park's avatar
Thomas Park committed
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
}

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

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

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

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

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

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

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

Thomas Park's avatar
Thomas Park committed
96
97
98
99
.panel-primary,
.panel-success,
.panel-warning,
.panel-danger,
Thomas Park's avatar
Thomas Park committed
100
101
.panel-info {

Thomas Park's avatar
Thomas Park committed
102
103
104
105
  .panel-heading,
  .panel-title {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
106
}