foundation-rails 6.3.1.0 → 6.4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bower.json +3 -3
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/install_generator.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +291 -48
- data/vendor/assets/js/entries/foundation-plugins.js +25 -0
- data/vendor/assets/js/entries/foundation.js +101 -0
- data/vendor/assets/js/entries/plugins/foundation.abide.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.accordion.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.accordionMenu.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.core.js +21 -0
- data/vendor/assets/js/entries/plugins/foundation.drilldown.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.dropdown.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.dropdownMenu.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.equalizer.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.interchange.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.magellan.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.offcanvas.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.orbit.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveAccordionTabs.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveMenu.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveToggle.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.reveal.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.slider.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.smoothScroll.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.sticky.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.tabs.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.toggler.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.tooltip.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.box.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.imageLoader.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.keyboard.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.mediaQuery.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.motion.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.nest.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.timer.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.touch.js +7 -0
- data/vendor/assets/js/entries/plugins/foundation.util.triggers.js +5 -0
- data/vendor/assets/js/foundation.abide.js.es6 +18 -15
- data/vendor/assets/js/foundation.accordion.js.es6 +37 -23
- data/vendor/assets/js/foundation.accordionMenu.js.es6 +96 -51
- data/vendor/assets/js/foundation.core.js.es6 +46 -87
- data/vendor/assets/js/foundation.drilldown.js.es6 +47 -29
- data/vendor/assets/js/foundation.dropdown.js.es6 +84 -122
- data/vendor/assets/js/foundation.dropdownMenu.js.es6 +44 -28
- data/vendor/assets/js/foundation.equalizer.js.es6 +18 -17
- data/vendor/assets/js/foundation.interchange.js.es6 +26 -19
- data/vendor/assets/js/foundation.js.es6 +8 -3
- data/vendor/assets/js/foundation.magellan.js.es6 +36 -30
- data/vendor/assets/js/foundation.offcanvas.js.es6 +148 -36
- data/vendor/assets/js/foundation.orbit.js.es6 +26 -18
- data/vendor/assets/js/foundation.plugin.js.es6 +54 -0
- data/vendor/assets/js/foundation.positionable.js.es6 +206 -0
- data/vendor/assets/js/{foundation.zf.responsiveAccordionTabs.js.es6 → foundation.responsiveAccordionTabs.js.es6} +33 -30
- data/vendor/assets/js/foundation.responsiveMenu.js.es6 +37 -29
- data/vendor/assets/js/foundation.responsiveToggle.js.es6 +17 -16
- data/vendor/assets/js/foundation.reveal.js.es6 +61 -79
- data/vendor/assets/js/foundation.slider.js.es6 +33 -18
- data/vendor/assets/js/foundation.smoothScroll.js.es6 +135 -0
- data/vendor/assets/js/foundation.sticky.js.es6 +25 -17
- data/vendor/assets/js/foundation.tabs.js.es6 +35 -27
- data/vendor/assets/js/foundation.toggler.js.es6 +15 -13
- data/vendor/assets/js/foundation.tooltip.js.es6 +100 -108
- data/vendor/assets/js/foundation.util.box.js.es6 +114 -78
- data/vendor/assets/js/foundation.util.core.js.es6 +52 -0
- data/vendor/assets/js/foundation.util.imageLoader.js.es6 +45 -0
- data/vendor/assets/js/foundation.util.keyboard.js.es6 +41 -31
- data/vendor/assets/js/foundation.util.mediaQuery.js.es6 +59 -55
- data/vendor/assets/js/foundation.util.motion.js.es6 +4 -5
- data/vendor/assets/js/foundation.util.nest.js.es6 +9 -23
- data/vendor/assets/js/{foundation.util.timerAndImageLoader.js.es6 → foundation.util.timer.js.es6} +2 -42
- data/vendor/assets/js/foundation.util.touch.js.es6 +91 -294
- data/vendor/assets/js/foundation.util.triggers.js.es6 +199 -141
- data/vendor/assets/scss/_global.scss +29 -1
- data/vendor/assets/scss/components/_accordion-menu.scss +148 -13
- data/vendor/assets/scss/components/_accordion.scss +5 -0
- data/vendor/assets/scss/components/_breadcrumbs.scss +26 -9
- data/vendor/assets/scss/components/_button-group.scss +4 -4
- data/vendor/assets/scss/components/_button.scss +59 -12
- data/vendor/assets/scss/components/_card.scss +10 -2
- data/vendor/assets/scss/components/_drilldown.scss +90 -41
- data/vendor/assets/scss/components/_dropdown-menu.scss +52 -6
- data/vendor/assets/scss/components/_dropdown.scss +8 -1
- data/vendor/assets/scss/components/_flex.scss +85 -2
- data/vendor/assets/scss/components/_menu.scss +267 -162
- data/vendor/assets/scss/components/_off-canvas.scss +159 -45
- data/vendor/assets/scss/components/_pagination.scss +1 -1
- data/vendor/assets/scss/components/_reveal.scss +13 -11
- data/vendor/assets/scss/components/_slider.scss +0 -1
- data/vendor/assets/scss/components/_sticky.scss +1 -0
- data/vendor/assets/scss/components/_table.scss +7 -6
- data/vendor/assets/scss/components/_tabs.scss +1 -1
- data/vendor/assets/scss/components/_title-bar.scss +1 -1
- data/vendor/assets/scss/components/_tooltip.scss +74 -21
- data/vendor/assets/scss/components/_top-bar.scss +2 -0
- data/vendor/assets/scss/forms/_fieldset.scss +0 -1
- data/vendor/assets/scss/forms/_meter.scss +7 -1
- data/vendor/assets/scss/forms/_select.scss +4 -3
- data/vendor/assets/scss/forms/_text.scss +11 -2
- data/vendor/assets/scss/foundation.scss +17 -3
- data/vendor/assets/scss/grid/_flex-grid.scss +3 -52
- data/vendor/assets/scss/prototype/_arrow.scss +36 -0
- data/vendor/assets/scss/prototype/_border-box.scss +35 -0
- data/vendor/assets/scss/prototype/_border-none.scss +35 -0
- data/vendor/assets/scss/prototype/_bordered.scss +54 -0
- data/vendor/assets/scss/prototype/_box.scss +23 -0
- data/vendor/assets/scss/prototype/_display.scss +50 -0
- data/vendor/assets/scss/prototype/_font-styling.scss +95 -0
- data/vendor/assets/scss/prototype/_list-style-type.scss +95 -0
- data/vendor/assets/scss/prototype/_overflow.scss +72 -0
- data/vendor/assets/scss/prototype/_position.scss +114 -0
- data/vendor/assets/scss/prototype/_prototype.scss +91 -0
- data/vendor/assets/scss/prototype/_relation.scss +157 -0
- data/vendor/assets/scss/prototype/_rotate.scss +31 -0
- data/vendor/assets/scss/prototype/_rounded.scss +54 -0
- data/vendor/assets/scss/prototype/_separator.scss +96 -0
- data/vendor/assets/scss/prototype/_shadow.scss +43 -0
- data/vendor/assets/scss/prototype/_sizing.scss +73 -0
- data/vendor/assets/scss/prototype/_spacing.scss +204 -0
- data/vendor/assets/scss/prototype/_text-decoration.scss +48 -0
- data/vendor/assets/scss/prototype/_text-transformation.scss +48 -0
- data/vendor/assets/scss/prototype/_text-utilities.scss +88 -0
- data/vendor/assets/scss/prototype/_typescale.scss +20 -0
- data/vendor/assets/scss/settings/_settings.scss +291 -48
- data/vendor/assets/scss/typography/_base.scss +2 -2
- data/vendor/assets/scss/typography/_helpers.scss +6 -4
- data/vendor/assets/scss/util/_breakpoint.scss +60 -1
- data/vendor/assets/scss/util/_color.scss +8 -5
- data/vendor/assets/scss/util/_mixins.scss +45 -5
- data/vendor/assets/scss/xy-grid/_cell.scss +179 -0
- data/vendor/assets/scss/xy-grid/_classes.scss +455 -0
- data/vendor/assets/scss/xy-grid/_collapse.scss +54 -0
- data/vendor/assets/scss/xy-grid/_frame.scss +54 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +56 -0
- data/vendor/assets/scss/xy-grid/_gutters.scss +45 -0
- data/vendor/assets/scss/xy-grid/_layout.scss +33 -0
- data/vendor/assets/scss/xy-grid/_position.scss +28 -0
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +52 -0
- metadata +73 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 143b53581ca20cc761e43bb0aaf349f09ee8bb0a
|
4
|
+
data.tar.gz: 3ffa0e1461d130e7ae73a6947d856a5ecca86059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e7d79f6bb625371a6adc090e184d8e58a558a7ec8dbae39b8e20804ff343705bda29575ba41a7fe05e0b2909a51c11b31c35bb3fb09cfc36055677bd0f9218
|
7
|
+
data.tar.gz: 79bcc536efe118bc771a0720f36694809820bd4f9c15f8ddfe66d9b75ed0e436e8c182855d7a8e7f6f2dc1264baa8c9860829867d32a8c5c5cb1c383b889cc70
|
data/bower.json
CHANGED
@@ -13,7 +13,7 @@ module Foundation
|
|
13
13
|
def add_assets
|
14
14
|
# rails_ujs breaks, need to incorporate rails-behavior plugin for this to work seamlessly
|
15
15
|
# gsub_file "app/assets/javascripts/application#{detect_js_format[0]}", /\/\/= require jquery\n/, ""
|
16
|
-
insert_into_file File.join(javascripts_base_dir, "application#{detect_js_format[0]}"), "#{detect_js_format[1]} require foundation\n", :after => "
|
16
|
+
insert_into_file File.join(javascripts_base_dir, "application#{detect_js_format[0]}"), "#{detect_js_format[1]} require foundation\n", :after => "rails-ujs\n"
|
17
17
|
append_to_file File.join(javascripts_base_dir, "application#{detect_js_format[0]}"), "#{detect_js_format[2]}"
|
18
18
|
create_app_scss
|
19
19
|
insert_into_file File.join(stylesheets_base_dir, "application#{detect_css_format[0]}"), "\n#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self"
|
@@ -21,25 +21,44 @@
|
|
21
21
|
// 16. Drilldown
|
22
22
|
// 17. Dropdown
|
23
23
|
// 18. Dropdown Menu
|
24
|
-
// 19.
|
25
|
-
// 20.
|
26
|
-
// 21.
|
27
|
-
// 22.
|
28
|
-
// 23.
|
29
|
-
// 24.
|
30
|
-
// 25.
|
31
|
-
// 26.
|
32
|
-
// 27.
|
33
|
-
// 28.
|
34
|
-
// 29.
|
35
|
-
// 30.
|
36
|
-
// 31.
|
37
|
-
// 32.
|
38
|
-
// 33.
|
39
|
-
// 34.
|
40
|
-
// 35.
|
41
|
-
// 36.
|
42
|
-
// 37.
|
24
|
+
// 19. Flexbox Utilities
|
25
|
+
// 20. Forms
|
26
|
+
// 21. Label
|
27
|
+
// 22. Media Object
|
28
|
+
// 23. Menu
|
29
|
+
// 24. Meter
|
30
|
+
// 25. Off-canvas
|
31
|
+
// 26. Orbit
|
32
|
+
// 27. Pagination
|
33
|
+
// 28. Progress Bar
|
34
|
+
// 29. Prototype Arrow
|
35
|
+
// 30. Prototype Border-Box
|
36
|
+
// 31. Prototype Border-None
|
37
|
+
// 32. Prototype Bordered
|
38
|
+
// 33. Prototype Display
|
39
|
+
// 34. Prototype Font-Styling
|
40
|
+
// 35. Prototype List-Style-Type
|
41
|
+
// 36. Prototype Overflow
|
42
|
+
// 37. Prototype Position
|
43
|
+
// 38. Prototype Rounded
|
44
|
+
// 39. Prototype Separator
|
45
|
+
// 40. Prototype Shadow
|
46
|
+
// 41. Prototype Sizing
|
47
|
+
// 42. Prototype Spacing
|
48
|
+
// 43. Prototype Text-Decoration
|
49
|
+
// 44. Prototype Text-Transformation
|
50
|
+
// 45. Prototype Text-Utilities
|
51
|
+
// 46. Responsive Embed
|
52
|
+
// 47. Reveal
|
53
|
+
// 48. Slider
|
54
|
+
// 49. Switch
|
55
|
+
// 50. Table
|
56
|
+
// 51. Tabs
|
57
|
+
// 52. Thumbnail
|
58
|
+
// 53. Title Bar
|
59
|
+
// 54. Tooltip
|
60
|
+
// 55. Top Bar
|
61
|
+
// 56. Xy Grid
|
43
62
|
|
44
63
|
@import 'util/util';
|
45
64
|
|
@@ -67,11 +86,16 @@ $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
67
86
|
$body-antialiased: true;
|
68
87
|
$global-margin: 1rem;
|
69
88
|
$global-padding: 1rem;
|
89
|
+
$global-position: 1rem;
|
70
90
|
$global-weight-normal: normal;
|
71
91
|
$global-weight-bold: bold;
|
72
92
|
$global-radius: 0;
|
93
|
+
$global-menu-padding: 0.7rem 1rem;
|
94
|
+
$global-menu-nested-margin: 1rem;
|
73
95
|
$global-text-direction: ltr;
|
74
|
-
$global-flexbox:
|
96
|
+
$global-flexbox: true;
|
97
|
+
$global-prototype-breakpoints: false;
|
98
|
+
$global-color-pick-contrast-tolerance: 0;
|
75
99
|
$print-transparent-backgrounds: true;
|
76
100
|
|
77
101
|
@include add-foundation-colors;
|
@@ -99,6 +123,7 @@ $grid-column-gutter: (
|
|
99
123
|
medium: 30px,
|
100
124
|
);
|
101
125
|
$grid-column-align-edge: true;
|
126
|
+
$grid-column-alias: 'columns';
|
102
127
|
$block-grid-max: 8;
|
103
128
|
|
104
129
|
// 4. Base Typography
|
@@ -210,8 +235,17 @@ $accordion-content-padding: 1rem;
|
|
210
235
|
// 8. Accordion Menu
|
211
236
|
// -----------------
|
212
237
|
|
238
|
+
$accordionmenu-padding: $global-menu-padding;
|
239
|
+
$accordionmenu-nested-margin: $global-menu-nested-margin;
|
240
|
+
$accordionmenu-submenu-padding: $accordionmenu-padding;
|
213
241
|
$accordionmenu-arrows: true;
|
214
242
|
$accordionmenu-arrow-color: $primary-color;
|
243
|
+
$accordionmenu-item-background: null;
|
244
|
+
$accordionmenu-border: null;
|
245
|
+
$accordionmenu-submenu-toggle-background: null;
|
246
|
+
$accordion-submenu-toggle-border: $accordionmenu-border;
|
247
|
+
$accordionmenu-submenu-toggle-width: 40px;
|
248
|
+
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
|
215
249
|
$accordionmenu-arrow-size: 6px;
|
216
250
|
|
217
251
|
// 9. Badge
|
@@ -235,11 +269,15 @@ $breadcrumbs-item-color-current: $black;
|
|
235
269
|
$breadcrumbs-item-color-disabled: $medium-gray;
|
236
270
|
$breadcrumbs-item-margin: 0.75rem;
|
237
271
|
$breadcrumbs-item-uppercase: true;
|
238
|
-
$breadcrumbs-item-
|
272
|
+
$breadcrumbs-item-separator: true;
|
273
|
+
$breadcrumbs-item-separator-item: '/';
|
274
|
+
$breadcrumbs-item-separator-item-rtl: '\\';
|
275
|
+
$breadcrumbs-item-separator-color: $medium-gray;
|
239
276
|
|
240
277
|
// 11. Button
|
241
278
|
// ----------
|
242
279
|
|
280
|
+
$button-font-family: inherit;
|
243
281
|
$button-padding: 0.85em 1em;
|
244
282
|
$button-margin: 0 0 $global-margin 0;
|
245
283
|
$button-fill: solid;
|
@@ -248,6 +286,7 @@ $button-background-hover: scale-color($button-background, $lightness: -15%);
|
|
248
286
|
$button-color: $white;
|
249
287
|
$button-color-alt: $black;
|
250
288
|
$button-radius: $global-radius;
|
289
|
+
$button-hollow-border-width: 1px;
|
251
290
|
$button-sizes: (
|
252
291
|
tiny: 0.6rem,
|
253
292
|
small: 0.75rem,
|
@@ -292,7 +331,7 @@ $card-border: 1px solid $light-gray;
|
|
292
331
|
$card-shadow: none;
|
293
332
|
$card-border-radius: $global-radius;
|
294
333
|
$card-padding: $global-padding;
|
295
|
-
$card-margin: $global-margin;
|
334
|
+
$card-margin-bottom: $global-margin;
|
296
335
|
|
297
336
|
// 15. Close Button
|
298
337
|
// ----------------
|
@@ -319,9 +358,13 @@ $closebutton-color-hover: $black;
|
|
319
358
|
|
320
359
|
$drilldown-transition: transform 0.15s linear;
|
321
360
|
$drilldown-arrows: true;
|
361
|
+
$drilldown-padding: $global-menu-padding;
|
362
|
+
$drilldown-nested-margin: 0;
|
363
|
+
$drilldown-background: $white;
|
364
|
+
$drilldown-submenu-padding: $drilldown-padding;
|
365
|
+
$drilldown-submenu-background: $white;
|
322
366
|
$drilldown-arrow-color: $primary-color;
|
323
367
|
$drilldown-arrow-size: 6px;
|
324
|
-
$drilldown-background: $white;
|
325
368
|
|
326
369
|
// 17. Dropdown
|
327
370
|
// ------------
|
@@ -344,11 +387,24 @@ $dropdown-sizes: (
|
|
344
387
|
$dropdownmenu-arrows: true;
|
345
388
|
$dropdownmenu-arrow-color: $anchor-color;
|
346
389
|
$dropdownmenu-arrow-size: 6px;
|
390
|
+
$dropdownmenu-arrow-padding: 1.5rem;
|
347
391
|
$dropdownmenu-min-width: 200px;
|
348
392
|
$dropdownmenu-background: $white;
|
393
|
+
$dropdownmenu-submenu-background: $dropdownmenu-background;
|
394
|
+
$dropdownmenu-padding: $global-menu-padding;
|
395
|
+
$dropdownmenu-nested-margin: 0;
|
396
|
+
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
349
397
|
$dropdownmenu-border: 1px solid $medium-gray;
|
398
|
+
$dropdown-menu-item-color-active: get-color(primary);
|
399
|
+
$dropdown-menu-item-background-active: transparent;
|
400
|
+
|
401
|
+
// 19. Flexbox Utilities
|
402
|
+
// ---------------------
|
350
403
|
|
351
|
-
|
404
|
+
$flex-source-ordering-count: 6;
|
405
|
+
$flexbox-responsive-breakpoints: true;
|
406
|
+
|
407
|
+
// 20. Forms
|
352
408
|
// ---------
|
353
409
|
|
354
410
|
$fieldset-border: 1px solid $medium-gray;
|
@@ -375,11 +431,13 @@ $input-placeholder-color: $medium-gray;
|
|
375
431
|
$input-font-family: inherit;
|
376
432
|
$input-font-size: rem-calc(16);
|
377
433
|
$input-font-weight: $global-weight-normal;
|
434
|
+
$input-line-height: $global-lineheight;
|
378
435
|
$input-background: $white;
|
379
436
|
$input-background-focus: $white;
|
380
437
|
$input-background-disabled: $light-gray;
|
381
438
|
$input-border: 1px solid $medium-gray;
|
382
439
|
$input-border-focus: 1px solid $dark-gray;
|
440
|
+
$input-padding: $form-spacing / 2;
|
383
441
|
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
|
384
442
|
$input-shadow-focus: 0 0 5px $medium-gray;
|
385
443
|
$input-cursor-disabled: not-allowed;
|
@@ -388,7 +446,7 @@ $input-number-spinners: true;
|
|
388
446
|
$input-radius: $global-radius;
|
389
447
|
$form-button-radius: $global-radius;
|
390
448
|
|
391
|
-
//
|
449
|
+
// 21. Label
|
392
450
|
// ---------
|
393
451
|
|
394
452
|
$label-background: $primary-color;
|
@@ -399,26 +457,28 @@ $label-font-size: 0.8rem;
|
|
399
457
|
$label-padding: 0.33333rem 0.5rem;
|
400
458
|
$label-radius: $global-radius;
|
401
459
|
|
402
|
-
//
|
460
|
+
// 22. Media Object
|
403
461
|
// ----------------
|
404
462
|
|
405
463
|
$mediaobject-margin-bottom: $global-margin;
|
406
464
|
$mediaobject-section-padding: $global-padding;
|
407
465
|
$mediaobject-image-width-stacked: 100%;
|
408
466
|
|
409
|
-
//
|
467
|
+
// 23. Menu
|
410
468
|
// --------
|
411
469
|
|
412
470
|
$menu-margin: 0;
|
413
|
-
$menu-margin-nested
|
414
|
-
$menu-
|
471
|
+
$menu-nested-margin: $global-menu-nested-margin;
|
472
|
+
$menu-items-padding: $global-menu-padding;
|
473
|
+
$menu-simple-margin: 1rem;
|
415
474
|
$menu-item-color-active: $white;
|
416
475
|
$menu-item-background-active: get-color(primary);
|
417
476
|
$menu-icon-spacing: 0.25rem;
|
418
477
|
$menu-item-background-hover: $light-gray;
|
419
|
-
$menu-
|
478
|
+
$menu-state-back-compat: true;
|
479
|
+
$menu-centered-back-compat: true;
|
420
480
|
|
421
|
-
//
|
481
|
+
// 24. Meter
|
422
482
|
// ---------
|
423
483
|
|
424
484
|
$meter-height: 1rem;
|
@@ -428,23 +488,26 @@ $meter-fill-good: $success-color;
|
|
428
488
|
$meter-fill-medium: $warning-color;
|
429
489
|
$meter-fill-bad: $alert-color;
|
430
490
|
|
431
|
-
//
|
491
|
+
// 25. Off-canvas
|
432
492
|
// --------------
|
433
493
|
|
434
494
|
$offcanvas-size: 250px;
|
435
495
|
$offcanvas-vertical-size: 250px;
|
436
496
|
$offcanvas-background: $light-gray;
|
437
497
|
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
438
|
-
$offcanvas-
|
439
|
-
$offcanvas-
|
440
|
-
$offcanvas-
|
498
|
+
$offcanvas-inner-shadow-size: 20px;
|
499
|
+
$offcanvas-inner-shadow-color: rgba($black, 0.25);
|
500
|
+
$offcanvas-overlay-zindex: 11;
|
501
|
+
$offcanvas-push-zindex: 12;
|
502
|
+
$offcanvas-overlap-zindex: 13;
|
503
|
+
$offcanvas-reveal-zindex: 12;
|
441
504
|
$offcanvas-transition-length: 0.5s;
|
442
505
|
$offcanvas-transition-timing: ease;
|
443
506
|
$offcanvas-fixed-reveal: true;
|
444
507
|
$offcanvas-exit-background: rgba($white, 0.25);
|
445
508
|
$maincontent-class: 'off-canvas-content';
|
446
509
|
|
447
|
-
//
|
510
|
+
// 26. Orbit
|
448
511
|
// ---------
|
449
512
|
|
450
513
|
$orbit-bullet-background: $medium-gray;
|
@@ -459,7 +522,7 @@ $orbit-control-background-hover: rgba($black, 0.5);
|
|
459
522
|
$orbit-control-padding: 1rem;
|
460
523
|
$orbit-control-zindex: 10;
|
461
524
|
|
462
|
-
//
|
525
|
+
// 27. Pagination
|
463
526
|
// --------------
|
464
527
|
|
465
528
|
$pagination-font-size: rem-calc(14);
|
@@ -477,7 +540,7 @@ $pagination-mobile-items: false;
|
|
477
540
|
$pagination-mobile-current-item: false;
|
478
541
|
$pagination-arrows: true;
|
479
542
|
|
480
|
-
//
|
543
|
+
// 28. Progress Bar
|
481
544
|
// ----------------
|
482
545
|
|
483
546
|
$progress-height: 1rem;
|
@@ -486,7 +549,168 @@ $progress-margin-bottom: $global-margin;
|
|
486
549
|
$progress-meter-background: $primary-color;
|
487
550
|
$progress-radius: $global-radius;
|
488
551
|
|
489
|
-
//
|
552
|
+
// 29. Prototype Arrow
|
553
|
+
// -------------------
|
554
|
+
|
555
|
+
$prototype-arrow-directions: (
|
556
|
+
down,
|
557
|
+
up,
|
558
|
+
right,
|
559
|
+
left
|
560
|
+
);
|
561
|
+
$prototype-arrow-size: 0.4375rem;
|
562
|
+
$prototype-arrow-color: $black;
|
563
|
+
|
564
|
+
// 30. Prototype Border-Box
|
565
|
+
// ------------------------
|
566
|
+
|
567
|
+
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
|
568
|
+
|
569
|
+
// 31. Prototype Border-None
|
570
|
+
// -------------------------
|
571
|
+
|
572
|
+
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
|
573
|
+
|
574
|
+
// 32. Prototype Bordered
|
575
|
+
// ----------------------
|
576
|
+
|
577
|
+
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
|
578
|
+
$prototype-border-width: rem-calc(1);
|
579
|
+
$prototype-border-type: solid;
|
580
|
+
$prototype-border-color: $medium-gray;
|
581
|
+
|
582
|
+
// 33. Prototype Display
|
583
|
+
// ---------------------
|
584
|
+
|
585
|
+
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
586
|
+
$prototype-display: (
|
587
|
+
inline,
|
588
|
+
inline-block,
|
589
|
+
block,
|
590
|
+
table,
|
591
|
+
table-cell
|
592
|
+
);
|
593
|
+
|
594
|
+
// 34. Prototype Font-Styling
|
595
|
+
// --------------------------
|
596
|
+
|
597
|
+
$prototype-font-breakpoints: $global-prototype-breakpoints;
|
598
|
+
$prototype-wide-letter-spacing: rem-calc(4);
|
599
|
+
$prototype-font-normal: $global-weight-normal;
|
600
|
+
$prototype-font-bold: $global-weight-bold;
|
601
|
+
|
602
|
+
// 35. Prototype List-Style-Type
|
603
|
+
// -----------------------------
|
604
|
+
|
605
|
+
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
606
|
+
$prototype-style-type-unordered: (
|
607
|
+
disc,
|
608
|
+
circle,
|
609
|
+
square
|
610
|
+
);
|
611
|
+
$prototype-style-type-ordered: (
|
612
|
+
decimal,
|
613
|
+
lower-alpha,
|
614
|
+
lower-latin,
|
615
|
+
lower-roman,
|
616
|
+
upper-alpha,
|
617
|
+
upper-latin,
|
618
|
+
upper-roman
|
619
|
+
);
|
620
|
+
|
621
|
+
// 36. Prototype Overflow
|
622
|
+
// ----------------------
|
623
|
+
|
624
|
+
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
625
|
+
$prototype-overflow: (
|
626
|
+
visible,
|
627
|
+
hidden,
|
628
|
+
scroll
|
629
|
+
);
|
630
|
+
|
631
|
+
// 37. Prototype Position
|
632
|
+
// ----------------------
|
633
|
+
|
634
|
+
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
635
|
+
$prototype-position: (
|
636
|
+
static,
|
637
|
+
relative,
|
638
|
+
absolute,
|
639
|
+
fixed
|
640
|
+
);
|
641
|
+
$prototype-position-z-index: 975;
|
642
|
+
|
643
|
+
// 38. Prototype Rounded
|
644
|
+
// ---------------------
|
645
|
+
|
646
|
+
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
|
647
|
+
$prototype-border-radius: rem-calc(3);
|
648
|
+
|
649
|
+
// 39. Prototype Separator
|
650
|
+
// -----------------------
|
651
|
+
|
652
|
+
$prototype-separator-breakpoints: $global-prototype-breakpoints;
|
653
|
+
$prototype-separator-align: center;
|
654
|
+
$prototype-separator-height: rem-calc(2);
|
655
|
+
$prototype-separator-width: 3rem;
|
656
|
+
$prototype-separator-background: $primary-color;
|
657
|
+
$prototype-separator-margin-top: $global-margin;
|
658
|
+
|
659
|
+
// 40. Prototype Shadow
|
660
|
+
// --------------------
|
661
|
+
|
662
|
+
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
663
|
+
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
|
664
|
+
0 2px 10px 0 rgba(0,0,0,.12);
|
665
|
+
|
666
|
+
// 41. Prototype Sizing
|
667
|
+
// --------------------
|
668
|
+
|
669
|
+
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
670
|
+
$prototype-sizing: (
|
671
|
+
width,
|
672
|
+
height
|
673
|
+
);
|
674
|
+
$prototype-sizes: (
|
675
|
+
25: 25%,
|
676
|
+
50: 50%,
|
677
|
+
75: 75%,
|
678
|
+
100: 100%
|
679
|
+
);
|
680
|
+
|
681
|
+
// 42. Prototype Spacing
|
682
|
+
// ---------------------
|
683
|
+
|
684
|
+
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
|
685
|
+
$prototype-spacers-count: 3;
|
686
|
+
|
687
|
+
// 43. Prototype Text-Decoration
|
688
|
+
// -----------------------------
|
689
|
+
|
690
|
+
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
691
|
+
$prototype-text-decoration: (
|
692
|
+
overline,
|
693
|
+
underline,
|
694
|
+
line-through,
|
695
|
+
);
|
696
|
+
|
697
|
+
// 44. Prototype Text-Transformation
|
698
|
+
// ---------------------------------
|
699
|
+
|
700
|
+
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
701
|
+
$prototype-text-transformation: (
|
702
|
+
lowercase,
|
703
|
+
uppercase,
|
704
|
+
capitalize
|
705
|
+
);
|
706
|
+
|
707
|
+
// 45. Prototype Text-Utilities
|
708
|
+
// ----------------------------
|
709
|
+
|
710
|
+
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
|
711
|
+
$prototype-text-overflow: ellipsis;
|
712
|
+
|
713
|
+
// 46. Responsive Embed
|
490
714
|
// --------------------
|
491
715
|
|
492
716
|
$responsive-embed-margin-bottom: rem-calc(16);
|
@@ -495,7 +719,7 @@ $responsive-embed-ratios: (
|
|
495
719
|
widescreen: 16 by 9,
|
496
720
|
);
|
497
721
|
|
498
|
-
//
|
722
|
+
// 47. Reveal
|
499
723
|
// ----------
|
500
724
|
|
501
725
|
$reveal-background: $white;
|
@@ -507,7 +731,7 @@ $reveal-radius: $global-radius;
|
|
507
731
|
$reveal-zindex: 1005;
|
508
732
|
$reveal-overlay-background: rgba($black, 0.45);
|
509
733
|
|
510
|
-
//
|
734
|
+
// 48. Slider
|
511
735
|
// ----------
|
512
736
|
|
513
737
|
$slider-width-vertical: 0.5rem;
|
@@ -521,7 +745,7 @@ $slider-handle-background: $primary-color;
|
|
521
745
|
$slider-opacity-disabled: 0.25;
|
522
746
|
$slider-radius: $global-radius;
|
523
747
|
|
524
|
-
//
|
748
|
+
// 49. Switch
|
525
749
|
// ----------
|
526
750
|
|
527
751
|
$switch-background: $medium-gray;
|
@@ -537,7 +761,7 @@ $switch-paddle-offset: 0.25rem;
|
|
537
761
|
$switch-paddle-radius: $global-radius;
|
538
762
|
$switch-paddle-transition: all 0.25s ease-out;
|
539
763
|
|
540
|
-
//
|
764
|
+
// 50. Table
|
541
765
|
// ---------
|
542
766
|
|
543
767
|
$table-background: $white;
|
@@ -557,8 +781,9 @@ $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
|
|
557
781
|
$table-head-font-color: $body-font-color;
|
558
782
|
$table-foot-font-color: $body-font-color;
|
559
783
|
$show-header-for-stacked: false;
|
784
|
+
$table-stack-breakpoint: medium;
|
560
785
|
|
561
|
-
//
|
786
|
+
// 51. Tabs
|
562
787
|
// --------
|
563
788
|
|
564
789
|
$tab-margin: 0;
|
@@ -575,7 +800,7 @@ $tab-content-border: $light-gray;
|
|
575
800
|
$tab-content-color: $body-font-color;
|
576
801
|
$tab-content-padding: 1rem;
|
577
802
|
|
578
|
-
//
|
803
|
+
// 52. Thumbnail
|
579
804
|
// -------------
|
580
805
|
|
581
806
|
$thumbnail-border: solid 4px $white;
|
@@ -585,7 +810,7 @@ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
|
585
810
|
$thumbnail-transition: box-shadow 200ms ease-out;
|
586
811
|
$thumbnail-radius: $global-radius;
|
587
812
|
|
588
|
-
//
|
813
|
+
// 53. Title Bar
|
589
814
|
// -------------
|
590
815
|
|
591
816
|
$titlebar-background: $black;
|
@@ -596,20 +821,22 @@ $titlebar-icon-color: $white;
|
|
596
821
|
$titlebar-icon-color-hover: $medium-gray;
|
597
822
|
$titlebar-icon-spacing: 0.25rem;
|
598
823
|
|
599
|
-
//
|
824
|
+
// 54. Tooltip
|
600
825
|
// -----------
|
601
826
|
|
827
|
+
$has-tip-cursor: help;
|
602
828
|
$has-tip-font-weight: $global-weight-bold;
|
603
829
|
$has-tip-border-bottom: dotted 1px $dark-gray;
|
604
830
|
$tooltip-background-color: $black;
|
605
831
|
$tooltip-color: $white;
|
606
832
|
$tooltip-padding: 0.75rem;
|
833
|
+
$tooltip-max-width: 10rem;
|
607
834
|
$tooltip-font-size: $small-font-size;
|
608
835
|
$tooltip-pip-width: 0.75rem;
|
609
836
|
$tooltip-pip-height: $tooltip-pip-width * 0.866;
|
610
837
|
$tooltip-radius: $global-radius;
|
611
838
|
|
612
|
-
//
|
839
|
+
// 55. Top Bar
|
613
840
|
// -----------
|
614
841
|
|
615
842
|
$topbar-padding: 0.5rem;
|
@@ -618,3 +845,19 @@ $topbar-submenu-background: $topbar-background;
|
|
618
845
|
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
|
619
846
|
$topbar-input-width: 200px;
|
620
847
|
$topbar-unstack-breakpoint: medium;
|
848
|
+
|
849
|
+
// 56. Xy Grid
|
850
|
+
// -----------
|
851
|
+
|
852
|
+
$xy-grid: true;
|
853
|
+
$grid-container: $global-width;
|
854
|
+
$grid-columns: 12;
|
855
|
+
$grid-margin-gutters: (
|
856
|
+
small: 20px,
|
857
|
+
medium: 30px
|
858
|
+
);
|
859
|
+
$grid-padding-gutters: $grid-margin-gutters;
|
860
|
+
$grid-container-padding: $grid-padding-gutters;
|
861
|
+
$grid-container-max: $global-width;
|
862
|
+
$block-grid-max: 8;
|
863
|
+
|