bootswatch.less 2.96 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Amelia 3.2.0
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
table,
.table {

79
  a:not(.btn) {
Thomas Park's avatar
Thomas Park committed
80
81
82
    color: #fff;
    text-decoration: underline;
  }
83
84
85
86

  .text-muted {
    color: @text-muted;
  }
87
88
}

Thomas Park's avatar
Thomas Park committed
89
90
// Forms ======================================================================

91
92
93
94
95
96
97
98
99
100
input,
textarea {
  color: @input-color;
}

legend {
  font-family: 'Lobster', cursive;
  color: #fff;
}

101
102
103
104
.input-group-addon {
  color: @btn-default-color;
}

Thomas Park's avatar
Thomas Park committed
105
.has-warning {
Thomas Park's avatar
Thomas Park committed
106
  .help-block,
107
108
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
109
110
    color: lighten(@brand-warning, 20%);
  }
Thomas Park's avatar
Thomas Park committed
111

Thomas Park's avatar
Thomas Park committed
112
113
114
115
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-warning, 20%);
  }
116
117
118
119

  .input-group-addon {
    border: none;
  }
Thomas Park's avatar
Thomas Park committed
120
121
122
}

.has-error {
Thomas Park's avatar
Thomas Park committed
123
  .help-block,
124
125
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
126
127
    color: lighten(@brand-primary, 40%);
  }
Thomas Park's avatar
Thomas Park committed
128

Thomas Park's avatar
Thomas Park committed
129
130
131
132
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-primary, 40%);
  }
133
134
135
136

  .input-group-addon {
    border: none;
  }
Thomas Park's avatar
Thomas Park committed
137
138
139
}

.has-success {
Thomas Park's avatar
Thomas Park committed
140
  .help-block,
141
142
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
143
144
    color: lighten(@brand-success, 20%);
  }
Thomas Park's avatar
Thomas Park committed
145

Thomas Park's avatar
Thomas Park committed
146
147
148
149
  .form-control,
  .form-control:focus {
    border-color: lighten(@brand-success, 20%);
  }
Thomas Park's avatar
Thomas Park committed
150

151
152
153
  .input-group-addon {
    border: none;
  }
Thomas Park's avatar
Thomas Park committed
154
155
156
157
158
159
}

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

.pagination {

Thomas Park's avatar
Thomas Park committed
160
161
162
  a:hover {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
163
164
165
166
}

.pager {

Thomas Park's avatar
Thomas Park committed
167
168
169
  a:hover {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
170
171
172
173
}

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

174
175
176
177
178
179
180
181
182
.close {
  opacity: 0.4;

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

Thomas Park's avatar
Thomas Park committed
183
184
185
186
// Progress bars ==============================================================

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

187
188
189
190
191
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: @thumbnail-border;
}