bootswatch-rails 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitmodules +3 -0
- data/HISTORY.md +7 -0
- data/README.md +16 -7
- data/Rakefile +32 -0
- data/converter +112 -0
- data/lib/bootswatch-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +375 -229
- data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +166 -60
- data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +122 -37
- data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +148 -43
- data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +62 -61
- data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +22 -23
- data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +352 -236
- data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +147 -42
- data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +277 -72
- data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +159 -54
- data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +21 -381
- data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +161 -56
- data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +46 -29
- data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +42 -20
- data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +420 -267
- data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +150 -45
- data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +55 -102
- data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +94 -70
- data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +476 -301
- data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +171 -66
- data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +293 -255
- data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +132 -30
- data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +85 -44
- data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +143 -38
- metadata +5 -2
@@ -1,7 +1,6 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
4
|
-
// -----------------------------------------------------
|
1
|
+
// Cosmo 2.2.2
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
5
4
|
|
6
5
|
|
7
6
|
// Global values
|
@@ -40,7 +39,7 @@ $textColor: #555;
|
|
40
39
|
// Links
|
41
40
|
// -------------------------
|
42
41
|
$linkColor: $blue;
|
43
|
-
$linkColorHover: darken($linkColor,
|
42
|
+
$linkColorHover: darken($linkColor, 10%);
|
44
43
|
|
45
44
|
|
46
45
|
// Typography
|
@@ -67,9 +66,9 @@ $fontSizeLarge: $baseFontSize * 1.25; // ~18px
|
|
67
66
|
$fontSizeSmall: $baseFontSize * 0.85; // ~12px
|
68
67
|
$fontSizeMini: $baseFontSize * 0.75; // ~11px
|
69
68
|
|
70
|
-
$paddingLarge:
|
69
|
+
$paddingLarge: 22px 30px; // 66px
|
71
70
|
$paddingSmall: 2px 10px; // 26px
|
72
|
-
$paddingMini:
|
71
|
+
$paddingMini: 2px 6px; // 24px
|
73
72
|
|
74
73
|
$baseBorderRadius: 0px;
|
75
74
|
$borderRadiusLarge: 0px;
|
@@ -86,26 +85,26 @@ $tableBorder: #ddd; // table and cell border
|
|
86
85
|
// Buttons
|
87
86
|
// -------------------------
|
88
87
|
$btnBackground: $grayLighter;
|
89
|
-
$btnBackgroundHighlight: darken($grayLighter,
|
88
|
+
$btnBackgroundHighlight: darken($grayLighter, 15%);
|
90
89
|
$btnBorder: #bbb;
|
91
90
|
|
92
|
-
$btnPrimaryBackground: lighten($blue,
|
93
|
-
$btnPrimaryBackgroundHighlight: darken($blue,
|
91
|
+
$btnPrimaryBackground: lighten($blue, 5%);
|
92
|
+
$btnPrimaryBackgroundHighlight: darken($blue, 5%);
|
94
93
|
|
95
|
-
$btnInfoBackground: lighten($purple,
|
96
|
-
$btnInfoBackgroundHighlight: darken($purple,
|
94
|
+
$btnInfoBackground: lighten($purple, 5%);
|
95
|
+
$btnInfoBackgroundHighlight: darken($purple, 5%);
|
97
96
|
|
98
|
-
$btnSuccessBackground: lighten($green,
|
99
|
-
$btnSuccessBackgroundHighlight: darken($green,
|
97
|
+
$btnSuccessBackground: lighten($green, 5%);
|
98
|
+
$btnSuccessBackgroundHighlight: darken($green, 5%);
|
100
99
|
|
101
|
-
$btnWarningBackground: lighten($orange,
|
102
|
-
$btnWarningBackgroundHighlight: darken($orange,
|
100
|
+
$btnWarningBackground: lighten($orange, 5%);
|
101
|
+
$btnWarningBackgroundHighlight: darken($orange, 5%);
|
103
102
|
|
104
|
-
$btnDangerBackground: lighten($red,
|
105
|
-
$btnDangerBackgroundHighlight: darken($red,
|
103
|
+
$btnDangerBackground: lighten($red, 5%);
|
104
|
+
$btnDangerBackgroundHighlight: darken($red, 5%);
|
106
105
|
|
107
|
-
$btnInverseBackground: lighten($black,
|
108
|
-
$btnInverseBackgroundHighlight: darken($black,
|
106
|
+
$btnInverseBackground: lighten($black, 5%);
|
107
|
+
$btnInverseBackgroundHighlight: darken($black, 5%);
|
109
108
|
|
110
109
|
|
111
110
|
// Forms
|
@@ -127,7 +126,7 @@ $dropdownDividerBottom: $white;
|
|
127
126
|
|
128
127
|
$dropdownLinkColor: $grayDark;
|
129
128
|
$dropdownLinkColorHover: $white;
|
130
|
-
$dropdownLinkColorActive: $
|
129
|
+
$dropdownLinkColorActive: $white;
|
131
130
|
|
132
131
|
$dropdownLinkBackgroundActive: $blue;
|
133
132
|
$dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive;
|
@@ -182,7 +181,7 @@ $navbarCollapseWidth: 979px;
|
|
182
181
|
$navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
|
183
182
|
|
184
183
|
$navbarHeight: 50px;
|
185
|
-
$navbarBackground:
|
184
|
+
$navbarBackground: $grayDarker;
|
186
185
|
$navbarBackgroundHighlight: $navbarBackground;
|
187
186
|
$navbarBorder: transparent;
|
188
187
|
|
@@ -207,7 +206,7 @@ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
|
|
207
206
|
$navbarInverseLinkBackgroundHover: rgba(0, 0, 0, 0.05);
|
208
207
|
$navbarInverseLinkBackgroundActive: $navbarInverseBackground;
|
209
208
|
|
210
|
-
$navbarInverseSearchBackground: lighten($navbarInverseBackground,
|
209
|
+
$navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
|
211
210
|
$navbarInverseSearchBackgroundFocus: $white;
|
212
211
|
$navbarInverseSearchBorder: $navbarInverseBackground;
|
213
212
|
$navbarInverseSearchPlaceholderColor: $grayDark;
|
@@ -1,22 +1,12 @@
|
|
1
|
-
//
|
2
|
-
//
|
1
|
+
// Cyborg 2.2.2
|
2
|
+
// Bootswatch
|
3
3
|
// -----------------------------------------------------
|
4
4
|
|
5
|
+
|
5
6
|
// TYPOGRAPHY
|
6
7
|
// -----------------------------------------------------
|
7
8
|
|
8
|
-
@import url(
|
9
|
-
|
10
|
-
.navbar {
|
11
|
-
font-size: 16px;
|
12
|
-
}
|
13
|
-
|
14
|
-
.navbar .brand,
|
15
|
-
.navbar .nav-collapse.in .nav li > a {
|
16
|
-
color: $grayLighter;
|
17
|
-
font-weight: normal;
|
18
|
-
text-shadow: none;
|
19
|
-
}
|
9
|
+
@import url('//fonts.googleapis.com/css?family=Droid+Sans:400,700');
|
20
10
|
|
21
11
|
label, input, button, select, textarea,
|
22
12
|
.navbar .search-query:-moz-placeholder,
|
@@ -25,15 +15,15 @@ label, input, button, select, textarea,
|
|
25
15
|
color: $gray;
|
26
16
|
}
|
27
17
|
|
28
|
-
|
29
|
-
|
18
|
+
code, pre {
|
19
|
+
background-color: $grayLighter;
|
30
20
|
}
|
31
21
|
|
32
22
|
blockquote {
|
33
|
-
border-left: 5px solid $
|
23
|
+
border-left: 5px solid $grayDark;
|
34
24
|
|
35
25
|
&.pull-right {
|
36
|
-
border-right: 5px solid $
|
26
|
+
border-right: 5px solid $grayDark;
|
37
27
|
}
|
38
28
|
}
|
39
29
|
|
@@ -50,229 +40,307 @@ body {
|
|
50
40
|
}
|
51
41
|
|
52
42
|
.page-header {
|
53
|
-
border-bottom:
|
43
|
+
border-bottom: 1px solid $grayDark
|
44
|
+
}
|
45
|
+
|
46
|
+
hr {
|
47
|
+
border-bottom: none;
|
54
48
|
}
|
55
49
|
|
56
50
|
// NAVBAR
|
57
51
|
// -----------------------------------------------------
|
58
52
|
|
59
|
-
.navbar
|
60
|
-
@include border-radius(0);
|
61
|
-
$shadow: none;
|
62
|
-
@include box-shadow($shadow);
|
63
|
-
border-bottom: 2px solid $blue
|
64
|
-
}
|
53
|
+
.navbar {
|
65
54
|
|
66
|
-
.navbar
|
67
|
-
|
68
|
-
|
55
|
+
.navbar-inner {
|
56
|
+
@include border-radius(0);
|
57
|
+
@include box-shadow(none);
|
58
|
+
border-bottom: 1px solid $grayDark;
|
59
|
+
}
|
69
60
|
|
70
|
-
.
|
71
|
-
|
72
|
-
|
73
|
-
|
61
|
+
.brand {
|
62
|
+
padding: 15px 20px 15px;
|
63
|
+
color: $grayLighter;
|
64
|
+
font-weight: normal;
|
65
|
+
text-shadow: none;
|
66
|
+
}
|
74
67
|
|
75
|
-
.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
68
|
+
.nav > li > a {
|
69
|
+
padding: 15px 15px 14px;
|
70
|
+
border-bottom: 1px solid transparent;
|
71
|
+
}
|
80
72
|
|
81
|
-
.
|
82
|
-
.
|
83
|
-
.
|
84
|
-
|
85
|
-
|
86
|
-
background-color: #222;
|
87
|
-
@include border-radius(1px);
|
88
|
-
@include placeholder($gray);
|
89
|
-
}
|
73
|
+
.nav > li > a:hover,
|
74
|
+
.nav > .active > a,
|
75
|
+
.nav > .active > a:hover {
|
76
|
+
border-bottom: 1px solid $blue;
|
77
|
+
}
|
90
78
|
|
91
|
-
.
|
92
|
-
|
93
|
-
|
79
|
+
.nav > .active > a,
|
80
|
+
.nav > .active > a:hover,
|
81
|
+
.nav > .active > a:focus {
|
82
|
+
@include box-shadow(none);
|
83
|
+
}
|
94
84
|
|
95
|
-
.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
}
|
85
|
+
.navbar-text {
|
86
|
+
margin-bottom: 1px;
|
87
|
+
padding: 15px 15px 14px;
|
88
|
+
line-height: inherit;
|
89
|
+
}
|
100
90
|
|
101
|
-
.
|
102
|
-
|
103
|
-
|
104
|
-
|
91
|
+
.divider-vertical {
|
92
|
+
margin: 0;
|
93
|
+
border-left: 1px solid $grayDark;
|
94
|
+
border-right-width: 0;
|
95
|
+
}
|
105
96
|
|
106
|
-
.
|
107
|
-
|
108
|
-
|
109
|
-
|
97
|
+
.search-query,
|
98
|
+
.search-query:focus,
|
99
|
+
.search-query.focused {
|
100
|
+
@include border-radius(1px);
|
101
|
+
background-color: $grayDark;
|
102
|
+
line-height: normal;
|
103
|
+
color: $grayLight;
|
104
|
+
text-shadow: none;
|
105
|
+
@include placeholder($gray);
|
106
|
+
}
|
110
107
|
|
111
|
-
.navbar
|
112
|
-
.navbar .dropdown-menu::after {
|
113
|
-
display: none;
|
114
|
-
}
|
108
|
+
.navbar-inverse {
|
115
109
|
|
116
|
-
|
117
|
-
border-left: 0;
|
110
|
+
}
|
118
111
|
}
|
119
112
|
|
120
|
-
|
121
|
-
|
113
|
+
@media (max-width: $navbarCollapseWidth) {
|
114
|
+
|
115
|
+
.navbar .nav-collapse {
|
116
|
+
|
117
|
+
.nav li > a {
|
118
|
+
border: none;
|
119
|
+
color: $grayLighter;
|
120
|
+
font-weight: normal;
|
121
|
+
text-shadow: none;
|
122
|
+
|
123
|
+
&:hover {
|
124
|
+
border: none;
|
125
|
+
background-color: $blue;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.nav .active > a {
|
130
|
+
border: none;
|
131
|
+
background-color: $blue;
|
132
|
+
}
|
133
|
+
|
134
|
+
.dropdown-menu a:hover {
|
135
|
+
background-color: $blue;
|
136
|
+
}
|
137
|
+
|
138
|
+
.navbar-form,
|
139
|
+
.navbar-search {
|
140
|
+
border-top: none;
|
141
|
+
border-bottom: none;
|
142
|
+
}
|
143
|
+
|
144
|
+
.nav-header {
|
145
|
+
color: rgba(128, 128, 128, 0.6);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.navbar-inverse .nav-collapse {
|
150
|
+
|
151
|
+
.nav li > a:hover {
|
152
|
+
background-color: #111;
|
153
|
+
}
|
154
|
+
|
155
|
+
.nav .active > a {
|
156
|
+
background-color: #111;
|
157
|
+
}
|
158
|
+
|
159
|
+
.nav li.dropdown.open > .dropdown-toggle,
|
160
|
+
.nav li.dropdown.active > .dropdown-toggle,
|
161
|
+
.nav li.dropdown.open.active > .dropdown-toggle {
|
162
|
+
background-color: #111;
|
163
|
+
}
|
164
|
+
}
|
122
165
|
}
|
123
166
|
|
124
167
|
div.subnav {
|
125
|
-
position: static;
|
126
168
|
background-color: $grayDarker;
|
127
169
|
background-image: none;
|
128
|
-
border:
|
129
|
-
|
170
|
+
border: none;
|
171
|
+
border-bottom: 1px solid $grayDark;
|
130
172
|
|
131
|
-
div.subnav.subnav-fixed {
|
132
|
-
position: relative;
|
133
|
-
left: -1px;
|
134
|
-
top: auto;
|
135
|
-
}
|
136
173
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
border-right: 0;
|
141
|
-
color: $grayLighter;
|
142
|
-
background-color: $grayDarker;
|
143
|
-
}
|
174
|
+
&.subnav-fixed {
|
175
|
+
top: $navbarHeight;
|
176
|
+
}
|
144
177
|
|
145
|
-
.
|
146
|
-
.
|
147
|
-
.
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
178
|
+
.nav > li > a,
|
179
|
+
.nav > li:first-child > a,
|
180
|
+
.nav > li:first-child > a:hover {
|
181
|
+
padding: 11px 12px;
|
182
|
+
border: none;
|
183
|
+
background-color: $grayDarker;
|
184
|
+
color: $grayLight;
|
185
|
+
}
|
186
|
+
|
187
|
+
.nav > li > a:hover,
|
188
|
+
.nav > li.active > a,
|
189
|
+
.nav > li.active > a:hover,
|
190
|
+
.nav > li:first-child > a:hover {
|
191
|
+
padding: 11px 12px;
|
192
|
+
background: transparent;
|
193
|
+
border: none;
|
194
|
+
border-bottom: 1px solid $blue;
|
195
|
+
color: $white;
|
196
|
+
}
|
197
|
+
|
198
|
+
.nav li.nav-header {
|
199
|
+
text-shadow: none;
|
200
|
+
}
|
152
201
|
}
|
153
202
|
|
154
|
-
|
203
|
+
// NAV
|
204
|
+
// -----------------------------------------------------
|
155
205
|
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
206
|
+
.nav-tabs {
|
207
|
+
|
208
|
+
border-bottom: 1px solid $grayDark;
|
209
|
+
|
210
|
+
li > a:hover,
|
211
|
+
li.active > a,
|
212
|
+
li.active > a:hover {
|
213
|
+
border-color: transparent;
|
214
|
+
background-color: $blue;
|
215
|
+
color: $white;
|
216
|
+
}
|
217
|
+
|
218
|
+
.open .dropdown-toggle {
|
160
219
|
background-color: #060606;
|
220
|
+
border-color: transparent;
|
161
221
|
}
|
222
|
+
}
|
162
223
|
|
163
|
-
|
164
|
-
background-color: $grayDarker;
|
165
|
-
border-left: 0;
|
224
|
+
.nav-pills {
|
166
225
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
}
|
226
|
+
li > a:hover {
|
227
|
+
background-color: $blue;
|
228
|
+
color: $white;
|
171
229
|
}
|
172
|
-
}
|
173
230
|
|
174
|
-
|
175
|
-
|
176
|
-
div.subnav .nav > li:first-child > a {
|
177
|
-
border-top: 1px solid #222;
|
178
|
-
border-left: 1px solid #222;
|
231
|
+
.open .dropdown-toggle {
|
232
|
+
background-color: #060606;
|
179
233
|
}
|
180
234
|
|
181
|
-
.
|
182
|
-
|
183
|
-
border-bottom: 0;
|
184
|
-
background-color: $blue;
|
235
|
+
.dropdown-menu li > a:hover {
|
236
|
+
border: none;
|
185
237
|
}
|
186
238
|
}
|
187
239
|
|
188
|
-
|
189
|
-
// -----------------------------------------------------
|
240
|
+
.nav-list {
|
190
241
|
|
191
|
-
|
192
|
-
|
193
|
-
}
|
242
|
+
li > a {
|
243
|
+
text-shadow: none;
|
244
|
+
}
|
194
245
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
.nav-stacked li > a:hover,
|
200
|
-
.nav-stacked li.active > a {
|
201
|
-
background-color: $blue;
|
202
|
-
color: $white;
|
203
|
-
}
|
246
|
+
li > a:hover {
|
247
|
+
background-color: $blue;
|
248
|
+
color: $white;
|
249
|
+
}
|
204
250
|
|
205
|
-
.nav-
|
206
|
-
|
207
|
-
}
|
251
|
+
.nav-header {
|
252
|
+
text-shadow: none;
|
253
|
+
}
|
208
254
|
|
209
|
-
.
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
border: 1px solid #222 !important;
|
255
|
+
.divider {
|
256
|
+
background-color: transparent;
|
257
|
+
border-bottom: 1px solid $grayDark;
|
258
|
+
}
|
214
259
|
}
|
215
260
|
|
216
|
-
.nav
|
217
|
-
background-color: $blue;
|
218
|
-
color: $white;
|
219
|
-
}
|
261
|
+
.nav-stacked {
|
220
262
|
|
221
|
-
|
222
|
-
|
223
|
-
.dropdown-toggle {
|
224
|
-
background-color: #060606 !important;
|
225
|
-
border-top: 0;
|
226
|
-
border: 1px solid #222;
|
263
|
+
li > a {
|
264
|
+
border: 1px solid $grayDark !important;
|
227
265
|
}
|
228
266
|
|
229
|
-
|
267
|
+
li > a:hover,
|
268
|
+
li.active > a {
|
269
|
+
background-color: $blue;
|
270
|
+
color: $white;
|
271
|
+
}
|
230
272
|
}
|
231
273
|
|
232
|
-
.tabbable
|
233
|
-
|
274
|
+
.tabbable {
|
275
|
+
.nav-tabs,
|
276
|
+
.nav-tabs li.active > a {
|
277
|
+
border-color: $grayDark;
|
278
|
+
}
|
234
279
|
}
|
235
280
|
|
236
281
|
.breadcrumb {
|
282
|
+
|
237
283
|
background-color: transparent;
|
238
284
|
background-image: none;
|
239
285
|
border-width: 0;
|
240
286
|
@include box-shadow(none);
|
241
287
|
font-size: 14px;
|
242
288
|
|
243
|
-
li
|
244
|
-
color: $blue;
|
289
|
+
li {
|
245
290
|
text-shadow: none;
|
246
291
|
}
|
247
292
|
|
248
|
-
li
|
293
|
+
li > a {
|
294
|
+
color: $blue;
|
249
295
|
text-shadow: none;
|
250
296
|
}
|
251
297
|
}
|
252
298
|
|
253
299
|
.pagination {
|
300
|
+
|
254
301
|
ul {
|
255
302
|
@include box-shadow(none);
|
256
303
|
}
|
257
304
|
|
258
|
-
a
|
259
|
-
|
260
|
-
|
305
|
+
ul > li > a:hover,
|
306
|
+
ul > .active > a,
|
307
|
+
ul > .active > span {
|
308
|
+
// color: @white;
|
261
309
|
}
|
262
310
|
|
263
|
-
|
264
|
-
|
265
|
-
|
311
|
+
ul > .disabled > a,
|
312
|
+
ul > .disabled > a:hover,
|
313
|
+
ul > .disabled > span,
|
314
|
+
ul > .disabled > span:hover {
|
315
|
+
background-color: rgba(0, 0, 0, 0.2);
|
266
316
|
}
|
267
317
|
}
|
268
318
|
|
319
|
+
.pager {
|
320
|
+
|
321
|
+
li > a,
|
322
|
+
li > span {
|
323
|
+
background-color: $bodyBackground;
|
324
|
+
border: none;
|
325
|
+
|
326
|
+
&:hover {
|
327
|
+
background-color: $blue;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
.disabled a,
|
332
|
+
.disabled a:hover {
|
333
|
+
background-color: $bodyBackground;
|
334
|
+
}
|
335
|
+
|
336
|
+
}
|
337
|
+
|
269
338
|
// BUTTONS
|
270
339
|
// -----------------------------------------------------
|
271
340
|
|
272
341
|
.btn {
|
273
|
-
@include border-radius(3px);
|
274
342
|
@include box-shadow(1px 1px 2px #111);
|
275
|
-
@include buttonBackground(darken($gray,
|
343
|
+
@include buttonBackground(darken($gray, 20%), darken($gray, 30%));
|
276
344
|
color: $white;
|
277
345
|
text-shadow: none;
|
278
346
|
|
@@ -283,48 +351,27 @@ div.subnav .nav .dropdown.open {
|
|
283
351
|
}
|
284
352
|
|
285
353
|
.btn-primary {
|
286
|
-
@include buttonBackground($blueDark, darken($blueDark,
|
354
|
+
@include buttonBackground($blueDark, darken($blueDark, 10%));
|
287
355
|
}
|
288
356
|
|
289
357
|
.btn-warning {
|
290
|
-
@include buttonBackground(lighten($orange,
|
358
|
+
@include buttonBackground(lighten($orange, 10%), $orange);
|
291
359
|
}
|
292
360
|
|
293
361
|
.btn-danger {
|
294
|
-
@include buttonBackground(lighten($red,
|
362
|
+
@include buttonBackground(lighten($red, 10%), $red);
|
295
363
|
}
|
296
364
|
|
297
365
|
.btn-success {
|
298
|
-
@include buttonBackground(lighten($green,
|
366
|
+
@include buttonBackground(lighten($green, 10%), $green);
|
299
367
|
}
|
300
368
|
|
301
369
|
.btn-info {
|
302
|
-
@include buttonBackground(darken($gray,
|
370
|
+
@include buttonBackground(darken($gray, 40%), darken($gray, 50%));
|
303
371
|
}
|
304
372
|
|
305
373
|
.btn-inverse {
|
306
|
-
@include buttonBackground(lighten($purple,
|
307
|
-
}
|
308
|
-
|
309
|
-
.btn-group .btn:first-child {
|
310
|
-
-webkit-border-top-left-radius: 3px;
|
311
|
-
-moz-border-top-left-radius: 3px;
|
312
|
-
border-top-left-radius: 3px;
|
313
|
-
|
314
|
-
-webkit-border-bottom-left-radius: 3px;
|
315
|
-
-moz-border-bottom-left-radius: 3px;
|
316
|
-
border-bottom-left-radius: 3px;
|
317
|
-
}
|
318
|
-
|
319
|
-
.btn-group .btn:last-child, .btn-group .dropdown-toggle {
|
320
|
-
-webkit-border-top-right-radius: 3px;
|
321
|
-
-moz-border-top-right-radius: 3px;
|
322
|
-
border-top-right-radius: 3px;
|
323
|
-
|
324
|
-
-webkit-border-bottom-right-radius: 3px;
|
325
|
-
-moz-border-bottom-right-radius: 3px;
|
326
|
-
border-bottom-right-radius: 3px;
|
327
|
-
|
374
|
+
@include buttonBackground(lighten($purple, 5%), $purple);
|
328
375
|
}
|
329
376
|
|
330
377
|
.btn .caret {
|
@@ -345,19 +392,19 @@ div.subnav .nav .dropdown.open {
|
|
345
392
|
|
346
393
|
input, textarea, select {
|
347
394
|
border-width: 2px;
|
395
|
+
@include border-radius(1px);
|
348
396
|
}
|
349
397
|
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
input,
|
398
|
+
select, textarea,
|
399
|
+
input[type="text"], input[type="password"], input[type="datetime"],
|
400
|
+
input[type="datetime-local"], input[type="date"], input[type="month"],
|
401
|
+
input[type="time"], input[type="week"], input[type="number"],
|
402
|
+
input[type="email"], input[type="url"], input[type="search"],
|
403
|
+
input[type="tel"], input[type="color"], .uneditable-input {
|
356
404
|
color: $grayDark;
|
357
405
|
}
|
358
406
|
|
359
407
|
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
|
360
|
-
background-color: #555;
|
361
408
|
border-color: #444;
|
362
409
|
}
|
363
410
|
|
@@ -378,76 +425,145 @@ select:focus {
|
|
378
425
|
@include tab-focus();
|
379
426
|
}
|
380
427
|
|
381
|
-
|
382
|
-
|
428
|
+
legend, label {
|
429
|
+
color: $textColor;
|
430
|
+
border-bottom: 0px solid #222;
|
383
431
|
}
|
384
432
|
|
385
|
-
.form-actions
|
433
|
+
.form-actions {
|
386
434
|
border-top: 1px solid #222;
|
387
435
|
}
|
388
436
|
|
389
|
-
|
390
|
-
// MISCELLANEOUS
|
437
|
+
// TABLES
|
391
438
|
// -----------------------------------------------------
|
392
439
|
|
393
|
-
.table
|
440
|
+
.table {
|
441
|
+
|
394
442
|
@include border-radius(1px);
|
395
|
-
}
|
396
443
|
|
397
|
-
|
398
|
-
|
444
|
+
tbody tr.success td {
|
445
|
+
background-color: $green;
|
446
|
+
color: $white;
|
447
|
+
}
|
448
|
+
|
449
|
+
tbody tr.error td {
|
450
|
+
background-color: $red;
|
451
|
+
color: $white;
|
452
|
+
}
|
453
|
+
|
454
|
+
tbody tr.info td {
|
455
|
+
background-color: $blue;
|
456
|
+
color: $white;
|
457
|
+
}
|
399
458
|
}
|
400
459
|
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
@include box-shadow(0 2px 4px rgba(0,0,0
|
460
|
+
// DROPDOWNS
|
461
|
+
// -----------------------------------------------------
|
462
|
+
|
463
|
+
.dropdown-menu {
|
464
|
+
@include box-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
|
406
465
|
}
|
407
466
|
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
467
|
+
// ALERTS, LABELS, BADGES
|
468
|
+
// -----------------------------------------------------
|
469
|
+
|
470
|
+
.alert,
|
471
|
+
.alert .alert-heading,
|
472
|
+
.alert-success,
|
473
|
+
.alert-success .alert-heading,
|
474
|
+
.alert-danger,
|
475
|
+
.alert-error,
|
476
|
+
.alert-danger .alert-heading,
|
477
|
+
.alert-error .alert-heading,
|
478
|
+
.alert-info,
|
479
|
+
.alert-info .alert-heading {
|
480
|
+
color: $grayLighter;
|
481
|
+
text-shadow: none;
|
482
|
+
border: none;
|
412
483
|
}
|
413
484
|
|
414
485
|
.label {
|
415
486
|
color: $grayLighter;
|
416
487
|
}
|
417
488
|
|
418
|
-
.label, .alert { background-color: darken($gray,
|
419
|
-
|
420
|
-
.label:hover { background-color: darken($gray, .3); }
|
489
|
+
.label, .alert { background-color: darken($gray, 20%); }
|
421
490
|
|
491
|
+
.label:hover { background-color: darken($gray, 30%); }
|
422
492
|
|
423
|
-
.label-important,
|
493
|
+
.label-important,
|
494
|
+
.alert-danger,
|
424
495
|
.alert-error { background-color: $red; }
|
425
496
|
|
426
|
-
.label-important:hover { background-color: darken($red,
|
497
|
+
.label-important:hover { background-color: darken($red, 10%); }
|
427
498
|
|
428
|
-
.label-warning { background-color: darken($orange,
|
499
|
+
.label-warning { background-color: darken($orange, 10%); }
|
429
500
|
|
430
|
-
.label-warning:hover { background-color: darken($orange,
|
501
|
+
.label-warning:hover { background-color: darken($orange, 20%); }
|
431
502
|
|
432
|
-
.label-success, .alert-success { background-color: darken($green,
|
503
|
+
.label-success, .alert-success { background-color: darken($green, 3%); }
|
433
504
|
|
434
|
-
.label-success:hover { background-color: darken($green,
|
505
|
+
.label-success:hover { background-color: darken($green, 13%); }
|
435
506
|
|
436
|
-
.label-info, .alert-info { background-color: darken($blueDark,
|
507
|
+
.label-info, .alert-info { background-color: darken($blueDark, 10%); }
|
437
508
|
|
438
|
-
.label-info:hover { background-color: darken($blueDark,
|
509
|
+
.label-info:hover { background-color: darken($blueDark, 20%); }
|
439
510
|
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
.
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
.
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
511
|
+
// MISC
|
512
|
+
// -----------------------------------------------------
|
513
|
+
|
514
|
+
.well, .hero-unit {
|
515
|
+
@include border-radius(1px);
|
516
|
+
}
|
517
|
+
|
518
|
+
.well, .hero-unit {
|
519
|
+
border-top: solid 1px lighten($grayDark, 5%);
|
520
|
+
@include box-shadow(0 2px 4px rgba(0,0,0,.8));
|
521
|
+
}
|
522
|
+
|
523
|
+
.thumbnail {
|
524
|
+
border-color: $grayDark;
|
525
|
+
}
|
526
|
+
|
527
|
+
.progress {
|
528
|
+
background-color: #060606;
|
529
|
+
background-image: none;
|
530
|
+
@include border-radius(0);
|
531
|
+
}
|
532
|
+
|
533
|
+
.modal {
|
534
|
+
@include border-radius(1px);
|
535
|
+
border-top: solid 1px lighten($grayDark, 5%);
|
536
|
+
background-color: $grayDark;
|
537
|
+
}
|
538
|
+
|
539
|
+
.modal-header {
|
540
|
+
border-bottom: 1px solid $grayDark;
|
541
|
+
}
|
542
|
+
|
543
|
+
.modal-footer {
|
544
|
+
background-color: $grayDark;
|
545
|
+
border-top: 1px solid $grayDark;
|
546
|
+
@include border-radius(0 0 6px 6px);
|
547
|
+
@include box-shadow(none);
|
548
|
+
}
|
549
|
+
|
550
|
+
.footer {
|
551
|
+
border-top: 1px solid $grayDark;
|
552
|
+
}
|
553
|
+
|
554
|
+
// MEDIA QUERIES
|
555
|
+
// -----------------------------------------------------
|
556
|
+
|
557
|
+
@media (max-width: 768px) {
|
558
|
+
div.subnav .nav > li + li > a,
|
559
|
+
div.subnav .nav > li:first-child > a {
|
560
|
+
border-top: 1px solid $grayDark;
|
561
|
+
border-left: 1px solid $grayDark;
|
562
|
+
}
|
563
|
+
|
564
|
+
.subnav .nav > li + li > a:hover,
|
565
|
+
.subnav .nav > li:first-child > a:hover {
|
566
|
+
border-bottom: 0;
|
567
|
+
background-color: $blue;
|
568
|
+
}
|
453
569
|
}
|