foundation-rails 6.2.4.0 → 6.3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +117 -70
- data/lib/generators/foundation/templates/foundation_and_overrides.scss +2 -1
- data/vendor/assets/_vendor/normalize-scss/sass/_normalize.scss +3 -0
- data/vendor/assets/_vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
- data/vendor/assets/_vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
- data/vendor/assets/_vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
- data/vendor/assets/_vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
- data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
- data/vendor/assets/js/foundation.abide.js.es6 +28 -0
- data/vendor/assets/js/foundation.accordion.js.es6 +1 -1
- data/vendor/assets/js/foundation.accordionMenu.js.es6 +9 -1
- data/vendor/assets/js/foundation.core.js.es6 +4 -4
- data/vendor/assets/js/foundation.drilldown.js.es6 +128 -14
- data/vendor/assets/js/foundation.dropdown.js.es6 +48 -42
- data/vendor/assets/js/foundation.dropdownMenu.js.es6 +20 -18
- data/vendor/assets/js/foundation.equalizer.js.es6 +12 -6
- data/vendor/assets/js/foundation.interchange.js.es6 +3 -2
- data/vendor/assets/js/foundation.js.es6 +2 -1
- data/vendor/assets/js/foundation.magellan.js.es6 +28 -9
- data/vendor/assets/js/foundation.offcanvas.js.es6 +90 -123
- data/vendor/assets/js/foundation.orbit.js.es6 +61 -10
- data/vendor/assets/js/foundation.responsiveMenu.js.es6 +2 -0
- data/vendor/assets/js/foundation.responsiveToggle.js.es6 +52 -12
- data/vendor/assets/js/foundation.reveal.js.es6 +48 -48
- data/vendor/assets/js/foundation.slider.js.es6 +124 -42
- data/vendor/assets/js/foundation.sticky.js.es6 +11 -9
- data/vendor/assets/js/foundation.tabs.js.es6 +164 -35
- data/vendor/assets/js/foundation.toggler.js.es6 +3 -0
- data/vendor/assets/js/foundation.tooltip.js.es6 +20 -10
- data/vendor/assets/js/foundation.util.box.js.es6 +2 -2
- data/vendor/assets/js/foundation.util.keyboard.js.es6 +37 -0
- data/vendor/assets/js/foundation.util.mediaQuery.js.es6 +16 -0
- data/vendor/assets/js/foundation.util.motion.js.es6 +7 -1
- data/vendor/assets/js/foundation.util.nest.js.es6 +10 -5
- data/vendor/assets/js/foundation.util.timerAndImageLoader.js.es6 +6 -4
- data/vendor/assets/js/foundation.util.triggers.js.es6 +54 -36
- data/vendor/assets/js/foundation.zf.responsiveAccordionTabs.js.es6 +240 -0
- data/vendor/assets/scss/_global.scss +25 -450
- data/vendor/assets/scss/components/_accordion-menu.scss +8 -4
- data/vendor/assets/scss/components/_accordion.scss +43 -22
- data/vendor/assets/scss/components/_badge.scss +17 -9
- data/vendor/assets/scss/components/_breadcrumbs.scss +7 -5
- data/vendor/assets/scss/components/_button-group.scss +54 -6
- data/vendor/assets/scss/components/_button.scss +27 -16
- data/vendor/assets/scss/components/_callout.scss +3 -2
- data/vendor/assets/scss/components/_card.scss +121 -0
- data/vendor/assets/scss/components/_close-button.scss +54 -13
- data/vendor/assets/scss/components/_drilldown.scss +19 -5
- data/vendor/assets/scss/components/_dropdown-menu.scss +23 -18
- data/vendor/assets/scss/components/_dropdown.scss +14 -7
- data/vendor/assets/scss/components/_flex-video.scss +1 -63
- data/vendor/assets/scss/components/_float.scss +1 -1
- data/vendor/assets/scss/components/_label.scss +16 -8
- data/vendor/assets/scss/components/_media-object.scss +2 -3
- data/vendor/assets/scss/components/_menu.scss +68 -33
- data/vendor/assets/scss/components/_off-canvas.scss +231 -80
- data/vendor/assets/scss/components/_orbit.scss +8 -6
- data/vendor/assets/scss/components/_pagination.scss +42 -22
- data/vendor/assets/scss/components/_progress-bar.scss +1 -1
- data/vendor/assets/scss/components/_responsive-embed.scss +66 -0
- data/vendor/assets/scss/components/_reveal.scss +17 -11
- data/vendor/assets/scss/components/_slider.scss +6 -1
- data/vendor/assets/scss/components/_sticky.scss +3 -3
- data/vendor/assets/scss/components/_switch.scss +47 -36
- data/vendor/assets/scss/components/_table.scss +83 -23
- data/vendor/assets/scss/components/_tabs.scss +54 -23
- data/vendor/assets/scss/components/_thumbnail.scss +17 -4
- data/vendor/assets/scss/components/_title-bar.scss +5 -6
- data/vendor/assets/scss/components/_tooltip.scss +15 -12
- data/vendor/assets/scss/components/_top-bar.scss +11 -8
- data/vendor/assets/scss/forms/_checkbox.scss +2 -1
- data/vendor/assets/scss/forms/_error.scss +10 -6
- data/vendor/assets/scss/forms/_fieldset.scss +7 -7
- data/vendor/assets/scss/forms/_input-group.scss +17 -11
- data/vendor/assets/scss/forms/_label.scss +2 -0
- data/vendor/assets/scss/forms/_meter.scss +9 -10
- data/vendor/assets/scss/forms/_progress.scss +9 -9
- data/vendor/assets/scss/forms/_range.scss +20 -15
- data/vendor/assets/scss/forms/_select.scss +26 -8
- data/vendor/assets/scss/forms/_text.scss +19 -16
- data/vendor/assets/scss/foundation.scss +19 -3
- data/vendor/assets/scss/grid/_classes.scss +31 -14
- data/vendor/assets/scss/grid/_column.scss +10 -24
- data/vendor/assets/scss/grid/_flex-grid.scss +84 -76
- data/vendor/assets/scss/grid/_grid.scss +0 -16
- data/vendor/assets/scss/grid/_gutter.scss +53 -5
- data/vendor/assets/scss/grid/_layout.scss +3 -3
- data/vendor/assets/scss/grid/_position.scss +3 -3
- data/vendor/assets/scss/grid/_row.scss +24 -19
- data/vendor/assets/scss/settings/_settings.scss +117 -70
- data/vendor/assets/scss/typography/_base.scss +110 -44
- data/vendor/assets/scss/typography/_helpers.scss +1 -0
- data/vendor/assets/scss/typography/_print.scss +7 -3
- data/vendor/assets/scss/typography/_typography.scss +0 -2
- data/vendor/assets/scss/util/_breakpoint.scss +28 -19
- data/vendor/assets/scss/util/_color.scss +69 -16
- data/vendor/assets/scss/util/_flex.scss +20 -3
- data/vendor/assets/scss/util/_math.scss +72 -0
- data/vendor/assets/scss/util/_mixins.scss +63 -26
- data/vendor/assets/scss/util/_selector.scss +3 -2
- data/vendor/assets/scss/util/_unit.scss +61 -4
- data/vendor/assets/scss/util/_util.scss +1 -0
- data/vendor/assets/scss/util/_value.scss +33 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1cedd7d0dcc15b46602aa8e14e7bdaedd57ae4e
|
4
|
+
data.tar.gz: a283c3bd7399c328a21397ed7c6d364a0f937f82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b413a6f613d8f887507ad294dd7a804747ac3f71498e27a50ac4720d4b742283f5893d85e5b6f175dc9ff984d84f16e783b7cfddf55c51b94b70fc6a43459dc0
|
7
|
+
data.tar.gz: dbaeefa8cc9fb6679c5b272978cc9ee0e7811523e71abb5900bf7c6b988b48e21008a91c4c08715079954741221d85c05300b6f6ebf68dfbd498669b66bf0390
|
data/README.md
CHANGED
@@ -85,6 +85,6 @@ Run the generator to add foundation to the asset pipeline:
|
|
85
85
|
|
86
86
|
## Resources
|
87
87
|
|
88
|
-
* [Foundation Docs](http://foundation.zurb.com/docs
|
88
|
+
* [Foundation Docs](http://foundation.zurb.com/docs)
|
89
89
|
* [Foundation Forum](http://foundation.zurb.com/forum)
|
90
|
-
* [Foundation Training](http://
|
90
|
+
* [Foundation Training](http://zurb.com/university/courses)
|
data/Rakefile
CHANGED
@@ -15,6 +15,8 @@ namespace :assets do
|
|
15
15
|
sh 'cp -R bower_components/foundation-sites/scss/* vendor/assets/scss/'
|
16
16
|
sh 'cp -R bower_components/foundation-sites/scss/settings/_settings.scss lib/generators/foundation/templates'
|
17
17
|
sh 'cp -R bower_components/motion-ui/src/* vendor/assets/scss/motion-ui'
|
18
|
+
# NOTE: This is a temporary dependency management solution introduced in 6.3, will probably be removed in 6.4
|
19
|
+
sh 'cp -R bower_components/foundation-sites/_vendor/* vendor/assets/_vendor/'
|
18
20
|
|
19
21
|
js_files = Dir['vendor/assets/js/*.js'].sort
|
20
22
|
# Move foundation.core.js to beginning of js_files
|
data/bower.json
CHANGED
@@ -16,11 +16,11 @@
|
|
16
16
|
// 11. Button
|
17
17
|
// 12. Button Group
|
18
18
|
// 13. Callout
|
19
|
-
// 14.
|
20
|
-
// 15.
|
21
|
-
// 16.
|
22
|
-
// 17. Dropdown
|
23
|
-
// 18.
|
19
|
+
// 14. Card
|
20
|
+
// 15. Close Button
|
21
|
+
// 16. Drilldown
|
22
|
+
// 17. Dropdown
|
23
|
+
// 18. Dropdown Menu
|
24
24
|
// 19. Forms
|
25
25
|
// 20. Label
|
26
26
|
// 21. Media Object
|
@@ -30,15 +30,16 @@
|
|
30
30
|
// 25. Orbit
|
31
31
|
// 26. Pagination
|
32
32
|
// 27. Progress Bar
|
33
|
-
// 28.
|
34
|
-
// 29.
|
35
|
-
// 30.
|
36
|
-
// 31.
|
37
|
-
// 32.
|
38
|
-
// 33.
|
39
|
-
// 34.
|
40
|
-
// 35.
|
41
|
-
// 36.
|
33
|
+
// 28. Responsive Embed
|
34
|
+
// 29. Reveal
|
35
|
+
// 30. Slider
|
36
|
+
// 31. Switch
|
37
|
+
// 32. Table
|
38
|
+
// 33. Tabs
|
39
|
+
// 34. Thumbnail
|
40
|
+
// 35. Title Bar
|
41
|
+
// 36. Tooltip
|
42
|
+
// 37. Top Bar
|
42
43
|
|
43
44
|
@import 'util/util';
|
44
45
|
|
@@ -49,11 +50,11 @@ $global-font-size: 100%;
|
|
49
50
|
$global-width: rem-calc(1200);
|
50
51
|
$global-lineheight: 1.5;
|
51
52
|
$foundation-palette: (
|
52
|
-
primary: #
|
53
|
-
secondary: #
|
53
|
+
primary: #1779ba,
|
54
|
+
secondary: #767676,
|
54
55
|
success: #3adb76,
|
55
56
|
warning: #ffae00,
|
56
|
-
alert: #
|
57
|
+
alert: #cc4b37,
|
57
58
|
);
|
58
59
|
$light-gray: #e6e6e6;
|
59
60
|
$medium-gray: #cacaca;
|
@@ -85,6 +86,7 @@ $breakpoints: (
|
|
85
86
|
xlarge: 1200px,
|
86
87
|
xxlarge: 1440px,
|
87
88
|
);
|
89
|
+
$print-breakpoint: large;
|
88
90
|
$breakpoint-classes: (small medium large);
|
89
91
|
|
90
92
|
// 3. The Grid
|
@@ -106,27 +108,27 @@ $header-font-family: $body-font-family;
|
|
106
108
|
$header-font-weight: $global-weight-normal;
|
107
109
|
$header-font-style: normal;
|
108
110
|
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
109
|
-
$header-
|
111
|
+
$header-color: inherit;
|
112
|
+
$header-lineheight: 1.4;
|
113
|
+
$header-margin-bottom: 0.5rem;
|
114
|
+
$header-styles: (
|
110
115
|
small: (
|
111
|
-
'h1': 24,
|
112
|
-
'h2': 20,
|
113
|
-
'h3': 19,
|
114
|
-
'h4': 18,
|
115
|
-
'h5': 17,
|
116
|
-
'h6': 16,
|
116
|
+
'h1': ('font-size': 24),
|
117
|
+
'h2': ('font-size': 20),
|
118
|
+
'h3': ('font-size': 19),
|
119
|
+
'h4': ('font-size': 18),
|
120
|
+
'h5': ('font-size': 17),
|
121
|
+
'h6': ('font-size': 16),
|
117
122
|
),
|
118
123
|
medium: (
|
119
|
-
'h1': 48,
|
120
|
-
'h2': 40,
|
121
|
-
'h3': 31,
|
122
|
-
'h4': 25,
|
123
|
-
'h5': 20,
|
124
|
-
'h6': 16,
|
124
|
+
'h1': ('font-size': 48),
|
125
|
+
'h2': ('font-size': 40),
|
126
|
+
'h3': ('font-size': 31),
|
127
|
+
'h4': ('font-size': 25),
|
128
|
+
'h5': ('font-size': 20),
|
129
|
+
'h6': ('font-size': 16),
|
125
130
|
),
|
126
131
|
);
|
127
|
-
$header-color: inherit;
|
128
|
-
$header-lineheight: 1.4;
|
129
|
-
$header-margin-bottom: 0.5rem;
|
130
132
|
$header-text-rendering: optimizeLegibility;
|
131
133
|
$small-font-size: 80%;
|
132
134
|
$header-small-font-color: $medium-gray;
|
@@ -160,6 +162,7 @@ $blockquote-padding: rem-calc(9 20 0 19);
|
|
160
162
|
$blockquote-border: 1px solid $medium-gray;
|
161
163
|
$cite-font-size: rem-calc(13);
|
162
164
|
$cite-color: $dark-gray;
|
165
|
+
$cite-pseudo-content: '\2014 \0020';
|
163
166
|
$keystroke-font: $font-family-monospace;
|
164
167
|
$keystroke-color: $black;
|
165
168
|
$keystroke-background: $light-gray;
|
@@ -184,9 +187,9 @@ $stat-font-size: 2.5rem;
|
|
184
187
|
|
185
188
|
$abide-inputs: true;
|
186
189
|
$abide-labels: true;
|
187
|
-
$input-background-invalid:
|
188
|
-
$form-label-color-invalid:
|
189
|
-
$input-error-color:
|
190
|
+
$input-background-invalid: get-color(alert);
|
191
|
+
$form-label-color-invalid: get-color(alert);
|
192
|
+
$input-error-color: get-color(alert);
|
190
193
|
$input-error-font-size: rem-calc(12);
|
191
194
|
$input-error-font-weight: $global-weight-bold;
|
192
195
|
|
@@ -195,12 +198,13 @@ $input-error-font-weight: $global-weight-bold;
|
|
195
198
|
|
196
199
|
$accordion-background: $white;
|
197
200
|
$accordion-plusminus: true;
|
198
|
-
$accordion-
|
201
|
+
$accordion-title-font-size: rem-calc(12);
|
202
|
+
$accordion-item-color: $primary-color;
|
199
203
|
$accordion-item-background-hover: $light-gray;
|
200
204
|
$accordion-item-padding: 1.25rem 1rem;
|
201
205
|
$accordion-content-background: $white;
|
202
206
|
$accordion-content-border: 1px solid $light-gray;
|
203
|
-
$accordion-content-color:
|
207
|
+
$accordion-content-color: $body-font-color;
|
204
208
|
$accordion-content-padding: 1rem;
|
205
209
|
|
206
210
|
// 8. Accordion Menu
|
@@ -208,12 +212,15 @@ $accordion-content-padding: 1rem;
|
|
208
212
|
|
209
213
|
$accordionmenu-arrows: true;
|
210
214
|
$accordionmenu-arrow-color: $primary-color;
|
215
|
+
$accordionmenu-arrow-size: 6px;
|
211
216
|
|
212
217
|
// 9. Badge
|
213
218
|
// --------
|
214
219
|
|
215
220
|
$badge-background: $primary-color;
|
216
|
-
$badge-color:
|
221
|
+
$badge-color: $white;
|
222
|
+
$badge-color-alt: $black;
|
223
|
+
$badge-palette: $foundation-palette;
|
217
224
|
$badge-padding: 0.3em;
|
218
225
|
$badge-minwidth: 2.1em;
|
219
226
|
$badge-font-size: 0.6rem;
|
@@ -247,9 +254,11 @@ $button-sizes: (
|
|
247
254
|
default: 0.9rem,
|
248
255
|
large: 1.25rem,
|
249
256
|
);
|
257
|
+
$button-palette: $foundation-palette;
|
250
258
|
$button-opacity-disabled: 0.25;
|
251
259
|
$button-background-hover-lightness: -20%;
|
252
260
|
$button-hollow-hover-lightness: -50%;
|
261
|
+
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
|
253
262
|
|
254
263
|
// 12. Button Group
|
255
264
|
// ----------------
|
@@ -258,6 +267,7 @@ $buttongroup-margin: 1rem;
|
|
258
267
|
$buttongroup-spacing: 1px;
|
259
268
|
$buttongroup-child-selector: '.button';
|
260
269
|
$buttongroup-expand-max: 6;
|
270
|
+
$buttongroup-radius-on-each: true;
|
261
271
|
|
262
272
|
// 13. Callout
|
263
273
|
// -----------
|
@@ -272,29 +282,52 @@ $callout-font-color-alt: $body-background;
|
|
272
282
|
$callout-radius: $global-radius;
|
273
283
|
$callout-link-tint: 30%;
|
274
284
|
|
275
|
-
// 14.
|
285
|
+
// 14. Card
|
286
|
+
// --------
|
287
|
+
|
288
|
+
$card-background: $white;
|
289
|
+
$card-font-color: $body-font-color;
|
290
|
+
$card-divider-background: $light-gray;
|
291
|
+
$card-border: 1px solid $light-gray;
|
292
|
+
$card-shadow: none;
|
293
|
+
$card-border-radius: $global-radius;
|
294
|
+
$card-padding: $global-padding;
|
295
|
+
$card-margin: $global-margin;
|
296
|
+
|
297
|
+
// 15. Close Button
|
276
298
|
// ----------------
|
277
299
|
|
278
300
|
$closebutton-position: right top;
|
279
|
-
$closebutton-offset-horizontal:
|
280
|
-
|
281
|
-
|
301
|
+
$closebutton-offset-horizontal: (
|
302
|
+
small: 0.66rem,
|
303
|
+
medium: 1rem,
|
304
|
+
);
|
305
|
+
$closebutton-offset-vertical: (
|
306
|
+
small: 0.33em,
|
307
|
+
medium: 0.5rem,
|
308
|
+
);
|
309
|
+
$closebutton-size: (
|
310
|
+
small: 1.5em,
|
311
|
+
medium: 2em,
|
312
|
+
);
|
282
313
|
$closebutton-lineheight: 1;
|
283
314
|
$closebutton-color: $dark-gray;
|
284
315
|
$closebutton-color-hover: $black;
|
285
316
|
|
286
|
-
//
|
317
|
+
// 16. Drilldown
|
287
318
|
// -------------
|
288
319
|
|
289
320
|
$drilldown-transition: transform 0.15s linear;
|
290
321
|
$drilldown-arrows: true;
|
291
322
|
$drilldown-arrow-color: $primary-color;
|
323
|
+
$drilldown-arrow-size: 6px;
|
292
324
|
$drilldown-background: $white;
|
293
325
|
|
294
|
-
//
|
326
|
+
// 17. Dropdown
|
295
327
|
// ------------
|
296
328
|
|
297
329
|
$dropdown-padding: 1rem;
|
330
|
+
$dropdown-background: $body-background;
|
298
331
|
$dropdown-border: 1px solid $medium-gray;
|
299
332
|
$dropdown-font-size: 1rem;
|
300
333
|
$dropdown-width: 300px;
|
@@ -305,22 +338,16 @@ $dropdown-sizes: (
|
|
305
338
|
large: 400px,
|
306
339
|
);
|
307
340
|
|
308
|
-
//
|
341
|
+
// 18. Dropdown Menu
|
309
342
|
// -----------------
|
310
343
|
|
311
344
|
$dropdownmenu-arrows: true;
|
312
345
|
$dropdownmenu-arrow-color: $anchor-color;
|
346
|
+
$dropdownmenu-arrow-size: 6px;
|
313
347
|
$dropdownmenu-min-width: 200px;
|
314
348
|
$dropdownmenu-background: $white;
|
315
349
|
$dropdownmenu-border: 1px solid $medium-gray;
|
316
350
|
|
317
|
-
// 18. Flex Video
|
318
|
-
// --------------
|
319
|
-
|
320
|
-
$flexvideo-margin-bottom: rem-calc(16);
|
321
|
-
$flexvideo-ratio: 4 by 3;
|
322
|
-
$flexvideo-ratio-widescreen: 16 by 9;
|
323
|
-
|
324
351
|
// 19. Forms
|
325
352
|
// ---------
|
326
353
|
|
@@ -347,6 +374,7 @@ $input-color: $black;
|
|
347
374
|
$input-placeholder-color: $medium-gray;
|
348
375
|
$input-font-family: inherit;
|
349
376
|
$input-font-size: rem-calc(16);
|
377
|
+
$input-font-weight: $global-weight-normal;
|
350
378
|
$input-background: $white;
|
351
379
|
$input-background-focus: $white;
|
352
380
|
$input-background-disabled: $light-gray;
|
@@ -358,13 +386,15 @@ $input-cursor-disabled: not-allowed;
|
|
358
386
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
359
387
|
$input-number-spinners: true;
|
360
388
|
$input-radius: $global-radius;
|
361
|
-
$button-radius: $global-radius;
|
389
|
+
$form-button-radius: $global-radius;
|
362
390
|
|
363
391
|
// 20. Label
|
364
392
|
// ---------
|
365
393
|
|
366
394
|
$label-background: $primary-color;
|
367
|
-
$label-color:
|
395
|
+
$label-color: $white;
|
396
|
+
$label-color-alt: $black;
|
397
|
+
$label-palette: $foundation-palette;
|
368
398
|
$label-font-size: 0.8rem;
|
369
399
|
$label-padding: 0.33333rem 0.5rem;
|
370
400
|
$label-radius: $global-radius;
|
@@ -383,8 +413,10 @@ $menu-margin: 0;
|
|
383
413
|
$menu-margin-nested: 1rem;
|
384
414
|
$menu-item-padding: 0.7rem 1rem;
|
385
415
|
$menu-item-color-active: $white;
|
386
|
-
$menu-item-background-active:
|
416
|
+
$menu-item-background-active: get-color(primary);
|
387
417
|
$menu-icon-spacing: 0.25rem;
|
418
|
+
$menu-item-background-hover: $light-gray;
|
419
|
+
$menu-border: $light-gray;
|
388
420
|
|
389
421
|
// 23. Meter
|
390
422
|
// ---------
|
@@ -400,14 +432,17 @@ $meter-fill-bad: $alert-color;
|
|
400
432
|
// --------------
|
401
433
|
|
402
434
|
$offcanvas-size: 250px;
|
435
|
+
$offcanvas-vertical-size: 250px;
|
403
436
|
$offcanvas-background: $light-gray;
|
404
|
-
$offcanvas-
|
437
|
+
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
438
|
+
$offcanvas-push-zindex: 1;
|
439
|
+
$offcanvas-overlap-zindex: 10;
|
440
|
+
$offcanvas-reveal-zindex: 1;
|
405
441
|
$offcanvas-transition-length: 0.5s;
|
406
442
|
$offcanvas-transition-timing: ease;
|
407
443
|
$offcanvas-fixed-reveal: true;
|
408
444
|
$offcanvas-exit-background: rgba($white, 0.25);
|
409
445
|
$maincontent-class: 'off-canvas-content';
|
410
|
-
$maincontent-shadow: 0 0 10px rgba($black, 0.5);
|
411
446
|
|
412
447
|
// 25. Orbit
|
413
448
|
// ---------
|
@@ -435,7 +470,7 @@ $pagination-item-spacing: rem-calc(1);
|
|
435
470
|
$pagination-radius: $global-radius;
|
436
471
|
$pagination-item-background-hover: $light-gray;
|
437
472
|
$pagination-item-background-current: $primary-color;
|
438
|
-
$pagination-item-color-current:
|
473
|
+
$pagination-item-color-current: $white;
|
439
474
|
$pagination-item-color-disabled: $medium-gray;
|
440
475
|
$pagination-ellipsis-color: $black;
|
441
476
|
$pagination-mobile-items: false;
|
@@ -451,7 +486,16 @@ $progress-margin-bottom: $global-margin;
|
|
451
486
|
$progress-meter-background: $primary-color;
|
452
487
|
$progress-radius: $global-radius;
|
453
488
|
|
454
|
-
// 28.
|
489
|
+
// 28. Responsive Embed
|
490
|
+
// --------------------
|
491
|
+
|
492
|
+
$responsive-embed-margin-bottom: rem-calc(16);
|
493
|
+
$responsive-embed-ratios: (
|
494
|
+
default: 4 by 3,
|
495
|
+
widescreen: 16 by 9,
|
496
|
+
);
|
497
|
+
|
498
|
+
// 29. Reveal
|
455
499
|
// ----------
|
456
500
|
|
457
501
|
$reveal-background: $white;
|
@@ -463,7 +507,7 @@ $reveal-radius: $global-radius;
|
|
463
507
|
$reveal-zindex: 1005;
|
464
508
|
$reveal-overlay-background: rgba($black, 0.45);
|
465
509
|
|
466
|
-
//
|
510
|
+
// 30. Slider
|
467
511
|
// ----------
|
468
512
|
|
469
513
|
$slider-width-vertical: 0.5rem;
|
@@ -477,7 +521,7 @@ $slider-handle-background: $primary-color;
|
|
477
521
|
$slider-opacity-disabled: 0.25;
|
478
522
|
$slider-radius: $global-radius;
|
479
523
|
|
480
|
-
//
|
524
|
+
// 31. Switch
|
481
525
|
// ----------
|
482
526
|
|
483
527
|
$switch-background: $medium-gray;
|
@@ -493,7 +537,7 @@ $switch-paddle-offset: 0.25rem;
|
|
493
537
|
$switch-paddle-radius: $global-radius;
|
494
538
|
$switch-paddle-transition: all 0.25s ease-out;
|
495
539
|
|
496
|
-
//
|
540
|
+
// 32. Table
|
497
541
|
// ---------
|
498
542
|
|
499
543
|
$table-background: $white;
|
@@ -503,6 +547,7 @@ $table-padding: rem-calc(8 10 10);
|
|
503
547
|
$table-hover-scale: 2%;
|
504
548
|
$table-row-hover: darken($table-background, $table-hover-scale);
|
505
549
|
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
|
550
|
+
$table-is-striped: true;
|
506
551
|
$table-striped-background: smart-scale($table-background, $table-color-scale);
|
507
552
|
$table-stripe: even;
|
508
553
|
$table-head-background: smart-scale($table-background, $table-color-scale / 2);
|
@@ -513,22 +558,24 @@ $table-head-font-color: $body-font-color;
|
|
513
558
|
$table-foot-font-color: $body-font-color;
|
514
559
|
$show-header-for-stacked: false;
|
515
560
|
|
516
|
-
//
|
561
|
+
// 33. Tabs
|
517
562
|
// --------
|
518
563
|
|
519
564
|
$tab-margin: 0;
|
520
565
|
$tab-background: $white;
|
566
|
+
$tab-color: $primary-color;
|
521
567
|
$tab-background-active: $light-gray;
|
568
|
+
$tab-active-color: $primary-color;
|
522
569
|
$tab-item-font-size: rem-calc(12);
|
523
570
|
$tab-item-background-hover: $white;
|
524
571
|
$tab-item-padding: 1.25rem 1.5rem;
|
525
572
|
$tab-expand-max: 6;
|
526
573
|
$tab-content-background: $white;
|
527
574
|
$tab-content-border: $light-gray;
|
528
|
-
$tab-content-color:
|
575
|
+
$tab-content-color: $body-font-color;
|
529
576
|
$tab-content-padding: 1rem;
|
530
577
|
|
531
|
-
//
|
578
|
+
// 34. Thumbnail
|
532
579
|
// -------------
|
533
580
|
|
534
581
|
$thumbnail-border: solid 4px $white;
|
@@ -538,7 +585,7 @@ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
|
538
585
|
$thumbnail-transition: box-shadow 200ms ease-out;
|
539
586
|
$thumbnail-radius: $global-radius;
|
540
587
|
|
541
|
-
//
|
588
|
+
// 35. Title Bar
|
542
589
|
// -------------
|
543
590
|
|
544
591
|
$titlebar-background: $black;
|
@@ -549,7 +596,7 @@ $titlebar-icon-color: $white;
|
|
549
596
|
$titlebar-icon-color-hover: $medium-gray;
|
550
597
|
$titlebar-icon-spacing: 0.25rem;
|
551
598
|
|
552
|
-
//
|
599
|
+
// 36. Tooltip
|
553
600
|
// -----------
|
554
601
|
|
555
602
|
$has-tip-font-weight: $global-weight-bold;
|
@@ -562,13 +609,13 @@ $tooltip-pip-width: 0.75rem;
|
|
562
609
|
$tooltip-pip-height: $tooltip-pip-width * 0.866;
|
563
610
|
$tooltip-radius: $global-radius;
|
564
611
|
|
565
|
-
//
|
612
|
+
// 37. Top Bar
|
566
613
|
// -----------
|
567
614
|
|
568
615
|
$topbar-padding: 0.5rem;
|
569
616
|
$topbar-background: $light-gray;
|
570
617
|
$topbar-submenu-background: $topbar-background;
|
571
|
-
$topbar-title-spacing: 1rem;
|
618
|
+
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
|
572
619
|
$topbar-input-width: 200px;
|
573
620
|
$topbar-unstack-breakpoint: medium;
|
574
621
|
|