bootswatch-rails 3.2.0 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +5 -0
- data/README.md +2 -0
- data/Rakefile +2 -1
- data/lib/bootswatch-rails/version.rb +1 -1
- data/rearranges +4 -4
- data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +3 -3
- data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +30 -31
- data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +32 -16
- data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +36 -37
- data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +116 -116
- data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +2 -7
- data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +47 -48
- data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +14 -10
- data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +45 -46
- data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +27 -17
- data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +45 -48
- data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +1 -1
- data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +30 -32
- data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +34 -24
- data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +135 -138
- data/vendor/assets/stylesheets/bootswatch/paper/_bootswatch.scss +420 -0
- data/vendor/assets/stylesheets/bootswatch/paper/_variables.scss +845 -0
- data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +34 -23
- data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +45 -47
- data/vendor/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +200 -0
- data/vendor/assets/stylesheets/bootswatch/sandstone/_variables.scss +844 -0
- data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +6 -0
- data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +49 -51
- data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +13 -14
- data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +43 -46
- data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +3 -0
- data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +37 -39
- data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +4 -4
- data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +139 -143
- data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +30 -31
- data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +36 -35
- data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +28 -26
- metadata +6 -2
@@ -7,9 +7,9 @@
|
|
7
7
|
//
|
8
8
|
//## Gray and brand colors for use across Bootstrap.
|
9
9
|
|
10
|
+
$gray: lighten(#000, 33.5%) !default; // #555
|
10
11
|
$gray-darker: lighten(#000, 13.5%) !default; // #222
|
11
12
|
$gray-dark: lighten(#000, 20%) !default; // #333
|
12
|
-
$gray: lighten(#000, 33.5%) !default; // #555
|
13
13
|
$gray-light: lighten(#000, 60%) !default; // #999
|
14
14
|
$gray-lighter: lighten(#000, 93.5%) !default; // #eee
|
15
15
|
|
@@ -18,8 +18,7 @@ $brand-success: #28B62C !default;
|
|
18
18
|
$brand-info: #75CAEB !default;
|
19
19
|
$brand-warning: #FF851B !default;
|
20
20
|
$brand-danger: #FF4136 !default;
|
21
|
-
|
22
|
-
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
21
|
+
|
23
22
|
|
24
23
|
//== Scaffolding
|
25
24
|
//
|
@@ -80,25 +79,17 @@ $icon-font-name: "glyphicons-halflings-regular" !default;
|
|
80
79
|
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
81
80
|
|
82
81
|
|
83
|
-
//== Wells
|
84
|
-
//
|
85
|
-
//##
|
86
|
-
|
87
|
-
$well-bg: #fafafa !default;
|
88
|
-
$well-border: darken($well-bg, 7%) !default;
|
89
|
-
|
90
|
-
|
91
82
|
//== Components
|
92
83
|
//
|
93
84
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
94
85
|
|
95
|
-
$padding-base-vertical:
|
86
|
+
$padding-base-vertical: 7px !default;
|
96
87
|
$padding-base-horizontal: 12px !default;
|
97
88
|
|
98
|
-
$padding-large-vertical:
|
89
|
+
$padding-large-vertical: 13px !default;
|
99
90
|
$padding-large-horizontal: 16px !default;
|
100
91
|
|
101
|
-
$padding-small-vertical:
|
92
|
+
$padding-small-vertical: 4px !default;
|
102
93
|
$padding-small-horizontal: 10px !default;
|
103
94
|
|
104
95
|
$padding-xs-vertical: 1px !default;
|
@@ -132,7 +123,7 @@ $table-cell-padding: 8px !default;
|
|
132
123
|
$table-condensed-cell-padding: 5px !default;
|
133
124
|
|
134
125
|
//** Default background color used for all tables.
|
135
|
-
$table-bg:
|
126
|
+
$table-bg: transparent !default;
|
136
127
|
//** Background color used for `.table-striped`.
|
137
128
|
$table-bg-accent: #f9f9f9 !default;
|
138
129
|
//** Background color used for `.table-hover`.
|
@@ -175,6 +166,120 @@ $btn-danger-border: darken($btn-danger-bg, 5%) !default;
|
|
175
166
|
|
176
167
|
$btn-link-disabled-color: $gray-light !default;
|
177
168
|
|
169
|
+
//== Media queries breakpoints
|
170
|
+
//
|
171
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
172
|
+
|
173
|
+
// Extra small screen / phone
|
174
|
+
//** Deprecated `@screen-xs` as of v3.0.1
|
175
|
+
$screen-xs: 480px !default;
|
176
|
+
//** Deprecated `@screen-xs-min` as of v3.2.0
|
177
|
+
$screen-xs-min: $screen-xs !default;
|
178
|
+
//** Deprecated `@screen-phone` as of v3.0.1
|
179
|
+
$screen-phone: $screen-xs-min !default;
|
180
|
+
|
181
|
+
// Small screen / tablet
|
182
|
+
//** Deprecated `@screen-sm` as of v3.0.1
|
183
|
+
$screen-sm: 768px !default;
|
184
|
+
$screen-sm-min: $screen-sm !default;
|
185
|
+
//** Deprecated `@screen-tablet` as of v3.0.1
|
186
|
+
$screen-tablet: $screen-sm-min !default;
|
187
|
+
|
188
|
+
// Medium screen / desktop
|
189
|
+
//** Deprecated `@screen-md` as of v3.0.1
|
190
|
+
$screen-md: 992px !default;
|
191
|
+
$screen-md-min: $screen-md !default;
|
192
|
+
//** Deprecated `@screen-desktop` as of v3.0.1
|
193
|
+
$screen-desktop: $screen-md-min !default;
|
194
|
+
|
195
|
+
// Large screen / wide desktop
|
196
|
+
//** Deprecated `@screen-lg` as of v3.0.1
|
197
|
+
$screen-lg: 1200px !default;
|
198
|
+
$screen-lg-min: $screen-lg !default;
|
199
|
+
//** Deprecated `@screen-lg-desktop` as of v3.0.1
|
200
|
+
$screen-lg-desktop: $screen-lg-min !default;
|
201
|
+
|
202
|
+
// So media queries don't overlap when required, provide a maximum
|
203
|
+
$screen-xs-max: ($screen-sm-min - 1) !default;
|
204
|
+
$screen-sm-max: ($screen-md-min - 1) !default;
|
205
|
+
$screen-md-max: ($screen-lg-min - 1) !default;
|
206
|
+
|
207
|
+
|
208
|
+
//== Grid system
|
209
|
+
//
|
210
|
+
//## Define your custom responsive grid.
|
211
|
+
|
212
|
+
//** Number of columns in the grid.
|
213
|
+
$grid-columns: 12 !default;
|
214
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
215
|
+
$grid-gutter-width: 30px !default;
|
216
|
+
// Navbar collapse
|
217
|
+
//** Point at which the navbar becomes uncollapsed.
|
218
|
+
$grid-float-breakpoint: $screen-sm-min !default;
|
219
|
+
//** Point at which the navbar begins collapsing.
|
220
|
+
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
221
|
+
|
222
|
+
|
223
|
+
//== Navbar
|
224
|
+
//
|
225
|
+
//##
|
226
|
+
|
227
|
+
// Basics of a navbar
|
228
|
+
$navbar-height: 50px !default;
|
229
|
+
$navbar-margin-bottom: $line-height-computed !default;
|
230
|
+
$navbar-border-radius: $border-radius-base !default;
|
231
|
+
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
232
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
233
|
+
$navbar-collapse-max-height: 340px !default;
|
234
|
+
|
235
|
+
$navbar-default-color: $text-color !default;
|
236
|
+
$navbar-default-bg: #f8f8f8 !default;
|
237
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
238
|
+
|
239
|
+
// Navbar links
|
240
|
+
$navbar-default-link-color: $gray-light !default;
|
241
|
+
$navbar-default-link-hover-color: $gray-dark !default;
|
242
|
+
$navbar-default-link-hover-bg: transparent !default;
|
243
|
+
$navbar-default-link-active-color: $navbar-default-link-hover-color !default;
|
244
|
+
$navbar-default-link-active-bg: transparent !default;
|
245
|
+
$navbar-default-link-disabled-color: $gray-lighter !default;
|
246
|
+
$navbar-default-link-disabled-bg: transparent !default;
|
247
|
+
|
248
|
+
// Navbar brand label
|
249
|
+
$navbar-default-brand-color: $navbar-default-link-hover-color !default;
|
250
|
+
$navbar-default-brand-hover-color: $navbar-default-link-hover-color !default;
|
251
|
+
$navbar-default-brand-hover-bg: transparent !default;
|
252
|
+
|
253
|
+
// Navbar toggle
|
254
|
+
$navbar-default-toggle-hover-bg: #fff !default;
|
255
|
+
$navbar-default-toggle-icon-bar-bg: $gray-light !default;
|
256
|
+
$navbar-default-toggle-border-color: $gray-lighter !default;
|
257
|
+
|
258
|
+
|
259
|
+
// Inverted navbar
|
260
|
+
// Reset inverted navbar basics
|
261
|
+
$navbar-inverse-color: $gray-light !default;
|
262
|
+
$navbar-inverse-bg: #fff !default;
|
263
|
+
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
|
264
|
+
|
265
|
+
// Inverted navbar links
|
266
|
+
$navbar-inverse-link-color: $gray-light !default;
|
267
|
+
$navbar-inverse-link-hover-color: $gray-dark !default;
|
268
|
+
$navbar-inverse-link-hover-bg: transparent !default;
|
269
|
+
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
|
270
|
+
$navbar-inverse-link-active-bg: transparent !default;
|
271
|
+
$navbar-inverse-link-disabled-color: $gray-lighter !default;
|
272
|
+
$navbar-inverse-link-disabled-bg: transparent !default;
|
273
|
+
|
274
|
+
// Inverted navbar brand label
|
275
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
276
|
+
$navbar-inverse-brand-hover-color: $navbar-inverse-link-hover-color !default;
|
277
|
+
$navbar-inverse-brand-hover-bg: transparent !default;
|
278
|
+
|
279
|
+
// Inverted navbar toggle
|
280
|
+
$navbar-inverse-toggle-hover-bg: $gray-lighter !default;
|
281
|
+
$navbar-inverse-toggle-icon-bar-bg: $gray-light !default;
|
282
|
+
$navbar-inverse-toggle-border-color: $gray-lighter !default;
|
178
283
|
|
179
284
|
//== Forms
|
180
285
|
//
|
@@ -231,7 +336,7 @@ $dropdown-link-color: $gray-light !default;
|
|
231
336
|
//** Hover color for dropdown links.
|
232
337
|
$dropdown-link-hover-color: $gray-dark !default;
|
233
338
|
//** Hover background for dropdown links.
|
234
|
-
$dropdown-link-hover-bg:
|
339
|
+
$dropdown-link-hover-bg: transparent !default;
|
235
340
|
|
236
341
|
//** Active dropdown menu item text color.
|
237
342
|
$dropdown-link-active-color: $component-active-color !default;
|
@@ -264,60 +369,6 @@ $zindex-modal-background: 1040 !default;
|
|
264
369
|
$zindex-modal: 1050 !default;
|
265
370
|
|
266
371
|
|
267
|
-
//== Media queries breakpoints
|
268
|
-
//
|
269
|
-
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
270
|
-
|
271
|
-
// Extra small screen / phone
|
272
|
-
//** Deprecated `@screen-xs` as of v3.0.1
|
273
|
-
$screen-xs: 480px !default;
|
274
|
-
//** Deprecated `@screen-xs-min` as of v3.2.0
|
275
|
-
$screen-xs-min: $screen-xs !default;
|
276
|
-
//** Deprecated `@screen-phone` as of v3.0.1
|
277
|
-
$screen-phone: $screen-xs-min !default;
|
278
|
-
|
279
|
-
// Small screen / tablet
|
280
|
-
//** Deprecated `@screen-sm` as of v3.0.1
|
281
|
-
$screen-sm: 768px !default;
|
282
|
-
$screen-sm-min: $screen-sm !default;
|
283
|
-
//** Deprecated `@screen-tablet` as of v3.0.1
|
284
|
-
$screen-tablet: $screen-sm-min !default;
|
285
|
-
|
286
|
-
// Medium screen / desktop
|
287
|
-
//** Deprecated `@screen-md` as of v3.0.1
|
288
|
-
$screen-md: 992px !default;
|
289
|
-
$screen-md-min: $screen-md !default;
|
290
|
-
//** Deprecated `@screen-desktop` as of v3.0.1
|
291
|
-
$screen-desktop: $screen-md-min !default;
|
292
|
-
|
293
|
-
// Large screen / wide desktop
|
294
|
-
//** Deprecated `@screen-lg` as of v3.0.1
|
295
|
-
$screen-lg: 1200px !default;
|
296
|
-
$screen-lg-min: $screen-lg !default;
|
297
|
-
//** Deprecated `@screen-lg-desktop` as of v3.0.1
|
298
|
-
$screen-lg-desktop: $screen-lg-min !default;
|
299
|
-
|
300
|
-
// So media queries don't overlap when required, provide a maximum
|
301
|
-
$screen-xs-max: ($screen-sm-min - 1) !default;
|
302
|
-
$screen-sm-max: ($screen-md-min - 1) !default;
|
303
|
-
$screen-md-max: ($screen-lg-min - 1) !default;
|
304
|
-
|
305
|
-
|
306
|
-
//== Grid system
|
307
|
-
//
|
308
|
-
//## Define your custom responsive grid.
|
309
|
-
|
310
|
-
//** Number of columns in the grid.
|
311
|
-
$grid-columns: 12 !default;
|
312
|
-
//** Padding between columns. Gets divided in half for the left and right.
|
313
|
-
$grid-gutter-width: 30px !default;
|
314
|
-
// Navbar collapse
|
315
|
-
//** Point at which the navbar becomes uncollapsed.
|
316
|
-
$grid-float-breakpoint: $screen-sm-min !default;
|
317
|
-
//** Point at which the navbar begins collapsing.
|
318
|
-
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
319
|
-
|
320
|
-
|
321
372
|
//== Container sizes
|
322
373
|
//
|
323
374
|
//## Define the maximum width of `.container` for different screen sizes.
|
@@ -338,66 +389,6 @@ $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
|
|
338
389
|
$container-lg: $container-large-desktop !default;
|
339
390
|
|
340
391
|
|
341
|
-
//== Navbar
|
342
|
-
//
|
343
|
-
//##
|
344
|
-
|
345
|
-
// Basics of a navbar
|
346
|
-
$navbar-height: 50px !default;
|
347
|
-
$navbar-margin-bottom: $line-height-computed !default;
|
348
|
-
$navbar-border-radius: $border-radius-base !default;
|
349
|
-
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
350
|
-
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
351
|
-
$navbar-collapse-max-height: 340px !default;
|
352
|
-
|
353
|
-
$navbar-default-color: $text-color !default;
|
354
|
-
|
355
|
-
// Navbar links
|
356
|
-
$navbar-default-link-color: $gray-light !default;
|
357
|
-
$navbar-default-link-hover-color: $gray-dark !default;
|
358
|
-
$navbar-default-link-hover-bg: hsla(0, 100%, 100%, 0) !default;
|
359
|
-
$navbar-default-link-active-color: $navbar-default-link-hover-color !default;
|
360
|
-
$navbar-default-link-active-bg: hsla(0, 100%, 100%, 0) !default;
|
361
|
-
$navbar-default-link-disabled-color: $gray-lighter !default;
|
362
|
-
$navbar-default-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
|
363
|
-
|
364
|
-
// Navbar brand label
|
365
|
-
$navbar-default-brand-color: $navbar-default-link-hover-color !default;
|
366
|
-
$navbar-default-brand-hover-color: $navbar-default-link-hover-color !default;
|
367
|
-
$navbar-default-brand-hover-bg: hsla(0, 100%, 100%, 0) !default;
|
368
|
-
|
369
|
-
// Navbar toggle
|
370
|
-
$navbar-default-toggle-hover-bg: #fff !default;
|
371
|
-
$navbar-default-toggle-icon-bar-bg: $gray-light !default;
|
372
|
-
$navbar-default-toggle-border-color: $gray-lighter !default;
|
373
|
-
|
374
|
-
|
375
|
-
// Inverted navbar
|
376
|
-
// Reset inverted navbar basics
|
377
|
-
$navbar-inverse-color: $gray-light !default;
|
378
|
-
$navbar-inverse-bg: #fff !default;
|
379
|
-
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
|
380
|
-
|
381
|
-
// Inverted navbar links
|
382
|
-
$navbar-inverse-link-color: $gray-light !default;
|
383
|
-
$navbar-inverse-link-hover-color: $gray-dark !default;
|
384
|
-
$navbar-inverse-link-hover-bg: hsla(0, 100%, 100%, 0) !default;
|
385
|
-
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
|
386
|
-
$navbar-inverse-link-active-bg: hsla(0, 100%, 100%, 0) !default;
|
387
|
-
$navbar-inverse-link-disabled-color: $gray-lighter !default;
|
388
|
-
$navbar-inverse-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
|
389
|
-
|
390
|
-
// Inverted navbar brand label
|
391
|
-
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
392
|
-
$navbar-inverse-brand-hover-color: $navbar-inverse-link-hover-color !default;
|
393
|
-
$navbar-inverse-brand-hover-bg: hsla(0, 100%, 100%, 0) !default;
|
394
|
-
|
395
|
-
// Inverted navbar toggle
|
396
|
-
$navbar-inverse-toggle-hover-bg: $gray-lighter !default;
|
397
|
-
$navbar-inverse-toggle-icon-bar-bg: $gray-light !default;
|
398
|
-
$navbar-inverse-toggle-border-color: $gray-lighter !default;
|
399
|
-
|
400
|
-
|
401
392
|
//== Navs
|
402
393
|
//
|
403
394
|
//##
|
@@ -465,6 +456,12 @@ $pager-active-color: $pagination-active-color !default;
|
|
465
456
|
|
466
457
|
$pager-disabled-color: $pagination-disabled-color !default;
|
467
458
|
|
459
|
+
//== Wells
|
460
|
+
//
|
461
|
+
//##
|
462
|
+
|
463
|
+
$well-bg: #fafafa !default;
|
464
|
+
$well-border: darken($well-bg, 7%) !default;
|
468
465
|
|
469
466
|
//== Jumbotron
|
470
467
|
//
|
@@ -692,31 +689,31 @@ $panel-footer-padding: $panel-heading-padding !default;
|
|
692
689
|
$panel-border-radius: $border-radius-base !default;
|
693
690
|
|
694
691
|
//** Border color for elements within panels
|
695
|
-
$panel-inner-border:
|
692
|
+
$panel-inner-border: transparent !default;
|
696
693
|
$panel-footer-bg: #f5f5f5 !default;
|
697
694
|
|
698
695
|
$panel-default-text: $gray-dark !default;
|
699
|
-
$panel-default-border:
|
696
|
+
$panel-default-border: transparent !default;
|
700
697
|
$panel-default-heading-bg: #f5f5f5 !default;
|
701
698
|
|
702
699
|
$panel-primary-text: #fff !default;
|
703
|
-
$panel-primary-border:
|
700
|
+
$panel-primary-border: transparent !default;
|
704
701
|
$panel-primary-heading-bg: $brand-primary !default;
|
705
702
|
|
706
703
|
$panel-success-text: $state-success-text !default;
|
707
|
-
$panel-success-border:
|
704
|
+
$panel-success-border: transparent !default;
|
708
705
|
$panel-success-heading-bg: $state-success-bg !default;
|
709
706
|
|
710
707
|
$panel-info-text: $state-info-text !default;
|
711
|
-
$panel-info-border:
|
708
|
+
$panel-info-border: transparent !default;
|
712
709
|
$panel-info-heading-bg: $state-info-bg !default;
|
713
710
|
|
714
711
|
$panel-warning-text: $state-warning-text !default;
|
715
|
-
$panel-warning-border:
|
712
|
+
$panel-warning-border: transparent !default;
|
716
713
|
$panel-warning-heading-bg: $state-warning-bg !default;
|
717
714
|
|
718
715
|
$panel-danger-text: $state-danger-text !default;
|
719
|
-
$panel-danger-border:
|
716
|
+
$panel-danger-border: transparent !default;
|
720
717
|
$panel-danger-heading-bg: $state-danger-bg !default;
|
721
718
|
|
722
719
|
|
@@ -796,7 +793,7 @@ $carousel-caption-color: #fff !default;
|
|
796
793
|
//##
|
797
794
|
|
798
795
|
$close-font-weight: bold !default;
|
799
|
-
$close-color: #
|
796
|
+
$close-color: #fff !default;
|
800
797
|
$close-text-shadow: 0 1px 0 #fff !default;
|
801
798
|
|
802
799
|
|
@@ -0,0 +1,420 @@
|
|
1
|
+
// Paper 3.2.0
|
2
|
+
// Bootswatch
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
@import url("//fonts.googleapis.com/css?family=Roboto:300,400,500");
|
6
|
+
|
7
|
+
// Navbar =====================================================================
|
8
|
+
|
9
|
+
.navbar {
|
10
|
+
border: none;
|
11
|
+
@include box-shadow(0 1px 2px rgba(0,0,0,.3));
|
12
|
+
}
|
13
|
+
|
14
|
+
.navbar-brand {
|
15
|
+
font-size: 24px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.navbar-inverse {
|
19
|
+
.form-control {
|
20
|
+
color: #fff;
|
21
|
+
@include placeholder($navbar-inverse-link-color);
|
22
|
+
|
23
|
+
&[type=text] {
|
24
|
+
@include box-shadow(inset 0 -1px 0 $navbar-inverse-link-color);
|
25
|
+
|
26
|
+
&:focus {
|
27
|
+
@include box-shadow(inset 0 -2px 0 #fff);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.navbar-nav > li > .dropdown-menu {
|
34
|
+
margin-top: 2px;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Buttons ====================================================================
|
38
|
+
|
39
|
+
.btn-default {
|
40
|
+
|
41
|
+
&:hover {
|
42
|
+
background-color: darken($btn-default-bg, 3%);
|
43
|
+
}
|
44
|
+
|
45
|
+
&:active {
|
46
|
+
background-color: darken($btn-default-bg, 6%);
|
47
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.btn-primary {
|
52
|
+
|
53
|
+
&:hover {
|
54
|
+
background-color: darken($btn-primary-bg, 3%);
|
55
|
+
}
|
56
|
+
|
57
|
+
&:active {
|
58
|
+
background-color: darken($btn-primary-bg, 6%);
|
59
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
60
|
+
}
|
61
|
+
}
|
62
|
+
.btn-success {
|
63
|
+
|
64
|
+
&:hover {
|
65
|
+
background-color: darken($btn-success-bg, 3%);
|
66
|
+
}
|
67
|
+
|
68
|
+
&:active {
|
69
|
+
background-color: darken($btn-success-bg, 6%);
|
70
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
71
|
+
}
|
72
|
+
}
|
73
|
+
.btn-info {
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
background-color: darken($btn-info-bg, 3%);
|
77
|
+
}
|
78
|
+
|
79
|
+
&:active {
|
80
|
+
background-color: darken($btn-info-bg, 6%);
|
81
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
82
|
+
}
|
83
|
+
}
|
84
|
+
.btn-warning {
|
85
|
+
|
86
|
+
&:hover {
|
87
|
+
background-color: darken($btn-warning-bg, 3%);
|
88
|
+
}
|
89
|
+
|
90
|
+
&:active {
|
91
|
+
background-color: darken($btn-warning-bg, 6%);
|
92
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.btn-danger {
|
96
|
+
|
97
|
+
&:hover {
|
98
|
+
background-color: darken($btn-danger-bg, 3%);
|
99
|
+
}
|
100
|
+
|
101
|
+
&:active {
|
102
|
+
background-color: darken($btn-danger-bg, 6%);
|
103
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.btn {
|
108
|
+
text-transform: uppercase;
|
109
|
+
border-right: none;
|
110
|
+
border-bottom: none;
|
111
|
+
@include box-shadow(1px 1px 2px rgba(0,0,0,.3));
|
112
|
+
@include transition(all 0.2s);
|
113
|
+
}
|
114
|
+
|
115
|
+
.btn-link {
|
116
|
+
@include box-shadow(none);
|
117
|
+
|
118
|
+
&:hover,
|
119
|
+
&:focus {
|
120
|
+
color: $brand-primary;
|
121
|
+
text-decoration: none;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
.btn-default.disabled {
|
126
|
+
border: 1px solid $btn-default-border;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Typography =================================================================
|
130
|
+
|
131
|
+
body {
|
132
|
+
-webkit-font-smoothing: antialiased;
|
133
|
+
letter-spacing: .1px;
|
134
|
+
text-rendering: optimizeLegibility;
|
135
|
+
}
|
136
|
+
|
137
|
+
p {
|
138
|
+
margin: 0 0 1em;
|
139
|
+
}
|
140
|
+
|
141
|
+
input {
|
142
|
+
-webkit-font-smoothing: antialiased;
|
143
|
+
letter-spacing: .1px;
|
144
|
+
text-rendering: optimizeLegibility;
|
145
|
+
}
|
146
|
+
|
147
|
+
a {
|
148
|
+
@include transition(all 0.2s);
|
149
|
+
}
|
150
|
+
|
151
|
+
// Tables =====================================================================
|
152
|
+
|
153
|
+
// Forms ======================================================================
|
154
|
+
|
155
|
+
input[type=text],
|
156
|
+
input[type=password],
|
157
|
+
input[type=email],
|
158
|
+
textarea,
|
159
|
+
[type=text].form-control,
|
160
|
+
[type=password].form-control,
|
161
|
+
textarea.form-control {
|
162
|
+
padding: 0;
|
163
|
+
border: none;
|
164
|
+
border-radius: 0;
|
165
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
166
|
+
font-size: 16px;
|
167
|
+
|
168
|
+
&:focus {
|
169
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
170
|
+
}
|
171
|
+
|
172
|
+
&[disabled],
|
173
|
+
&[readonly] {
|
174
|
+
@include box-shadow(none);
|
175
|
+
border-bottom: 1px dotted #ddd;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
select,
|
180
|
+
select.form-control {
|
181
|
+
background-color: #fff;
|
182
|
+
border: 1px solid #ddd;
|
183
|
+
@include box-shadow(none);
|
184
|
+
}
|
185
|
+
|
186
|
+
.has-warning {
|
187
|
+
input,
|
188
|
+
.form-control,
|
189
|
+
input:focus,
|
190
|
+
.form-control:focus {
|
191
|
+
@include box-shadow(inset 0 -2px 0 $brand-warning);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
.has-error {
|
196
|
+
input,
|
197
|
+
.form-control,
|
198
|
+
input:focus,
|
199
|
+
.form-control:focus {
|
200
|
+
@include box-shadow(inset 0 -2px 0 $brand-danger);
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
.has-success {
|
205
|
+
input,
|
206
|
+
.form-control,
|
207
|
+
input:focus,
|
208
|
+
.form-control:focus {
|
209
|
+
@include box-shadow(inset 0 -2px 0 $brand-success);
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
// Navs =======================================================================
|
214
|
+
|
215
|
+
.nav-tabs {
|
216
|
+
& > li > a {
|
217
|
+
border: none;
|
218
|
+
margin-right: 0;
|
219
|
+
color: $navbar-default-link-color;
|
220
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
221
|
+
@include transition(all 0.2s);
|
222
|
+
|
223
|
+
&:hover {
|
224
|
+
background-color: transparent;
|
225
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
226
|
+
color: $brand-primary;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
& > li.active > a {
|
231
|
+
border: none;
|
232
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
233
|
+
color: $brand-primary;
|
234
|
+
|
235
|
+
&:hover {
|
236
|
+
border: none;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
& > li.disabled > a {
|
241
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
242
|
+
}
|
243
|
+
|
244
|
+
.dropdown-menu {
|
245
|
+
margin-top: 0;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
.dropdown-menu {
|
250
|
+
border: none;
|
251
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
252
|
+
}
|
253
|
+
|
254
|
+
// Indicators =================================================================
|
255
|
+
|
256
|
+
.alert {
|
257
|
+
border: none;
|
258
|
+
color: #fff;
|
259
|
+
|
260
|
+
a,
|
261
|
+
.alert-link {
|
262
|
+
color: #fff;
|
263
|
+
font-weight: bold;
|
264
|
+
}
|
265
|
+
|
266
|
+
.close {
|
267
|
+
color: #fff;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
.alert-success {
|
272
|
+
background-color: $brand-success;
|
273
|
+
}
|
274
|
+
|
275
|
+
.alert-info {
|
276
|
+
background-color: $brand-info;
|
277
|
+
}
|
278
|
+
|
279
|
+
.alert-warning {
|
280
|
+
background-color: $brand-warning;
|
281
|
+
}
|
282
|
+
|
283
|
+
.alert-danger {
|
284
|
+
background-color: $brand-danger;
|
285
|
+
}
|
286
|
+
|
287
|
+
.badge {
|
288
|
+
padding: 3px 6px 5px;
|
289
|
+
}
|
290
|
+
|
291
|
+
.progress {
|
292
|
+
position: relative;
|
293
|
+
z-index: 1;
|
294
|
+
height: 6px;
|
295
|
+
border-radius: 0;
|
296
|
+
|
297
|
+
@include box-shadow(none);
|
298
|
+
}
|
299
|
+
|
300
|
+
.progress-bar {
|
301
|
+
@include box-shadow(none);
|
302
|
+
|
303
|
+
&:last-child {
|
304
|
+
border-radius: 0 3px 3px 0;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
.progress-bar:last-child.progress-bar:before {
|
309
|
+
display: block;
|
310
|
+
content: 'div::before';
|
311
|
+
position: absolute;
|
312
|
+
width: 100%;
|
313
|
+
height: 100%;
|
314
|
+
left: 0;
|
315
|
+
right: 0;
|
316
|
+
z-index: -1;
|
317
|
+
background-color: lighten($progress-bar-bg, 35%);
|
318
|
+
}
|
319
|
+
|
320
|
+
.progress-bar-success:last-child.progress-bar:before {
|
321
|
+
background-color: lighten($brand-success, 35%);
|
322
|
+
}
|
323
|
+
|
324
|
+
.progress-bar-info:last-child.progress-bar:before {
|
325
|
+
background-color: lighten($brand-info, 45%);
|
326
|
+
}
|
327
|
+
|
328
|
+
.progress-bar-warning:last-child.progress-bar:before {
|
329
|
+
background-color: lighten($brand-warning, 35%);
|
330
|
+
}
|
331
|
+
|
332
|
+
.progress-bar-danger:last-child.progress-bar:before {
|
333
|
+
background-color: lighten($brand-danger, 25%);
|
334
|
+
}
|
335
|
+
|
336
|
+
// Progress bars ==============================================================
|
337
|
+
|
338
|
+
// Containers =================================================================
|
339
|
+
|
340
|
+
.close {
|
341
|
+
font-size: 34px;
|
342
|
+
font-weight: 300;
|
343
|
+
opacity: 0.6;
|
344
|
+
|
345
|
+
&:hover {
|
346
|
+
opacity: 1;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
.list-group-item {
|
351
|
+
padding: 15px;
|
352
|
+
}
|
353
|
+
|
354
|
+
.list-group-item-text {
|
355
|
+
color: $gray-light;
|
356
|
+
}
|
357
|
+
|
358
|
+
.well {
|
359
|
+
border-radius: 0;
|
360
|
+
@include box-shadow(none);
|
361
|
+
}
|
362
|
+
|
363
|
+
.panel {
|
364
|
+
border: none;
|
365
|
+
border-radius: 2px;
|
366
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
367
|
+
}
|
368
|
+
|
369
|
+
.panel-heading {
|
370
|
+
border-bottom: none;
|
371
|
+
}
|
372
|
+
|
373
|
+
.panel-footer {
|
374
|
+
border-top: none;
|
375
|
+
}
|
376
|
+
|
377
|
+
.panel-success {
|
378
|
+
.panel-heading {
|
379
|
+
background-color: $brand-success;
|
380
|
+
}
|
381
|
+
|
382
|
+
.panel-title {
|
383
|
+
color: #fff;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
.panel-info {
|
388
|
+
.panel-heading {
|
389
|
+
background-color: $brand-info;
|
390
|
+
}
|
391
|
+
|
392
|
+
.panel-title {
|
393
|
+
color: #fff;
|
394
|
+
}
|
395
|
+
}
|
396
|
+
|
397
|
+
.panel-warning {
|
398
|
+
.panel-heading {
|
399
|
+
background-color: $brand-warning;
|
400
|
+
}
|
401
|
+
|
402
|
+
.panel-title {
|
403
|
+
color: #fff;
|
404
|
+
}
|
405
|
+
}
|
406
|
+
|
407
|
+
.panel-danger {
|
408
|
+
.panel-heading {
|
409
|
+
background-color: $brand-danger;
|
410
|
+
}
|
411
|
+
|
412
|
+
.panel-title {
|
413
|
+
color: #fff;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
.popover {
|
418
|
+
border: none;
|
419
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
420
|
+
}
|