bootswatch.less 2.59 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Amelia 3.1.1
Thomas Park's avatar
Thomas Park committed
2
3
4
5
6
7
8
9
10
// Bootswatch
// -----------------------------------------------------

@import url("//fonts.googleapis.com/css?family=Lobster|Cabin:400,700");

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

.navbar {

Thomas Park's avatar
Thomas Park committed
11
12
13
  &-brand {
    font-family: 'Lobster', cursive;
  }
14
15
16
17
18
19
20

  &-default {
    .badge {
      background-color: #fff;
      color: @navbar-default-bg;
    }
  }
Thomas Park's avatar
Thomas Park committed
21
22
23
24
25
}

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

.btn {
Thomas Park's avatar
Thomas Park committed
26
27
28
29
  
  .caret {
    border-top-color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
30
31
32
33
}

.btn-default {

Thomas Park's avatar
Thomas Park committed
34
35
36
  &:hover {
    color: @btn-default-color;
  }
Thomas Park's avatar
Thomas Park committed
37

Thomas Park's avatar
Thomas Park committed
38
39
40
  .caret {
    border-top-color: @btn-default-color;
  }
Thomas Park's avatar
Thomas Park committed
41
42
43
44
}

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

45
46
.text-primary,
.text-primary:hover {
Thomas Park's avatar
Thomas Park committed
47
  color: lighten(@brand-primary, 40%);
Thomas Park's avatar
Thomas Park committed
48
49
}

50
51
.text-success,
.text-success:hover {
Thomas Park's avatar
Thomas Park committed
52
  color: lighten(@brand-success, 20%);
Thomas Park's avatar
Thomas Park committed
53
54
}

55
56
.text-danger,
.text-danger:hover {
Thomas Park's avatar
Thomas Park committed
57
  color: lighten(@brand-danger, 20%);
Thomas Park's avatar
Thomas Park committed
58
59
}

60
61
.text-warning,
.text-warning:hover {
Thomas Park's avatar
Thomas Park committed
62
  color: lighten(@brand-warning, 20%);
Thomas Park's avatar
Thomas Park committed
63
64
}

65
66
.text-info,
.text-info:hover {
Thomas Park's avatar
Thomas Park committed
67
  color: lighten(@brand-info, 40%);
Thomas Park's avatar
Thomas Park committed
68
69
70
71
}

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

Shawn Wildermuth's avatar
Shawn Wildermuth committed
72
.table-responsive > .table {
Thomas Park's avatar
Thomas Park committed
73
  background-color: @table-bg;
Shawn Wildermuth's avatar
Shawn Wildermuth committed
74
75
}

Thomas Park's avatar
Thomas Park committed
76
77
78
79
80
81
82
table,
.table {

  a {
    color: #fff;
    text-decoration: underline;
  }
83
84
}

Thomas Park's avatar
Thomas Park committed
85
86
87
// Forms ======================================================================

.has-warning {
Thomas Park's avatar
Thomas Park committed
88
89
90
91
  .help-block,
  .control-label {
    color: lighten(@brand-warning, 20%);
  }
Thomas Park's avatar
Thomas Park committed
92

Thomas Park's avatar
Thomas Park committed
93
94
95
96
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-warning, 20%);
  }
Thomas Park's avatar
Thomas Park committed
97
98
99
}

.has-error {
Thomas Park's avatar
Thomas Park committed
100
101
102
103
  .help-block,
  .control-label {
    color: lighten(@brand-primary, 40%);
  }
Thomas Park's avatar
Thomas Park committed
104

Thomas Park's avatar
Thomas Park committed
105
106
107
108
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-primary, 40%);
  }
Thomas Park's avatar
Thomas Park committed
109
110
111
}

.has-success {
Thomas Park's avatar
Thomas Park committed
112
113
114
115
  .help-block,
  .control-label {
    color: lighten(@brand-success, 20%);
  }
Thomas Park's avatar
Thomas Park committed
116

Thomas Park's avatar
Thomas Park committed
117
118
119
120
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-success, 20%);
  }
Thomas Park's avatar
Thomas Park committed
121
122
123
}

legend {
Thomas Park's avatar
Thomas Park committed
124
125
  font-family: 'Lobster', cursive;
  color: #fff;
Thomas Park's avatar
Thomas Park committed
126
127
128
}

.input-group-addon {
Thomas Park's avatar
Thomas Park committed
129
  color: @btn-default-color;
Thomas Park's avatar
Thomas Park committed
130
131
132
133
134
135
}

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

.pagination {

Thomas Park's avatar
Thomas Park committed
136
137
138
  a:hover {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
139
140
141
142
}

.pager {

Thomas Park's avatar
Thomas Park committed
143
144
145
  a:hover {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
146
147
148
149
}

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

150
151
152
153
154
155
156
157
158
.close {
  opacity: 0.4;

  &:hover,
  &:focus {
    opacity: 1;
  }
}

Thomas Park's avatar
Thomas Park committed
159
160
161
162
// Progress bars ==============================================================

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

Thomas Park's avatar
Thomas Park committed
163
.popover {
Thomas Park's avatar
Thomas Park committed
164
  color: @gray-dark;
Thomas Park's avatar
Thomas Park committed
165
}