foundation-rails 5.5.1.2 → 5.5.2.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/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/foundation.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +96 -28
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +28 -7
- data/vendor/assets/javascripts/foundation/foundation.alert.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +50 -20
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +26 -11
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +43 -16
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +19 -14
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.js +51 -29
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +40 -28
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +70 -43
- data/vendor/assets/javascripts/foundation/foundation.slider.js +23 -5
- data/vendor/assets/javascripts/foundation/foundation.tab.js +30 -18
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +47 -15
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +31 -25
- data/vendor/assets/stylesheets/foundation.scss +37 -38
- data/vendor/assets/stylesheets/foundation/_functions.scss +52 -42
- data/vendor/assets/stylesheets/foundation/_settings.scss +53 -34
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +7 -7
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +11 -11
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +13 -13
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +17 -18
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +29 -22
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +13 -17
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +51 -47
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +10 -11
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +42 -36
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +7 -7
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +82 -50
- data/vendor/assets/stylesheets/foundation/components/_global.scss +86 -64
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +24 -21
- data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +335 -234
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +40 -42
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +2 -3
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +6 -6
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +178 -175
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +82 -62
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +15 -15
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +21 -15
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +16 -16
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +4 -4
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +23 -16
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +27 -27
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +15 -11
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +16 -16
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +14 -11
- data/vendor/assets/stylesheets/foundation/components/_switches.scss +22 -19
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +49 -32
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +25 -25
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +163 -122
- data/vendor/assets/stylesheets/foundation/components/_type.scss +19 -19
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +23 -5
- data/vendor/assets/stylesheets/normalize.scss +8 -11
- metadata +28 -20
- checksums.yaml +0 -7
- data/vendor/assets/stylesheets/foundation/components/_toolbar.scss +0 -72
@@ -55,7 +55,7 @@
|
|
55
55
|
// $rem-base: 16px;
|
56
56
|
|
57
57
|
// Allows the use of rem-calc() or lower-bound() in your settings
|
58
|
-
@import
|
58
|
+
@import 'foundation/functions';
|
59
59
|
|
60
60
|
// The default font-size is set to 100% of the browser style sheet (usually 16px)
|
61
61
|
// for compatibility with browser-based text zoom or user-set defaults.
|
@@ -83,8 +83,6 @@ $include-html-global-classes: $include-html-classes;
|
|
83
83
|
// $total-columns: 12;
|
84
84
|
// $column-gutter: rem-calc(30);
|
85
85
|
|
86
|
-
// $last-child-float: $opposite-direction;
|
87
|
-
|
88
86
|
// c. Global
|
89
87
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
90
88
|
|
@@ -153,11 +151,16 @@ $include-html-global-classes: $include-html-classes;
|
|
153
151
|
// d. Media Query Ranges
|
154
152
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
155
153
|
|
156
|
-
// $small-
|
157
|
-
// $medium-
|
158
|
-
// $large-
|
159
|
-
// $xlarge-
|
160
|
-
|
154
|
+
// $small-breakpoint: em-calc(640);
|
155
|
+
// $medium-breakpoint: em-calc(1024);
|
156
|
+
// $large-breakpoint: em-calc(1440);
|
157
|
+
// $xlarge-breakpoint: em-calc(1920);
|
158
|
+
|
159
|
+
// $small-range: (0, $small-breakpoint);
|
160
|
+
// $medium-range: ($small-breakpoint + em-calc(1), $medium-breakpoint);
|
161
|
+
// $large-range: ($medium-breakpoint + em-calc(1), $large-breakpoint);
|
162
|
+
// $xlarge-range: ($large-breakpoint + em-calc(1), $xlarge-breakpoint);
|
163
|
+
// $xxlarge-range: ($xlarge-breakpoint + em-calc(1), em-calc(99999999));
|
161
164
|
|
162
165
|
// $screen: "only screen";
|
163
166
|
|
@@ -179,6 +182,15 @@ $include-html-global-classes: $include-html-classes;
|
|
179
182
|
// $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
|
180
183
|
// $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
|
181
184
|
|
185
|
+
// $retina: (
|
186
|
+
// "#{$screen} and (-webkit-min-device-pixel-ratio: 2)",
|
187
|
+
// "#{$screen} and (min--moz-device-pixel-ratio: 2)",
|
188
|
+
// "#{$screen} and (-o-min-device-pixel-ratio: 2/1)",
|
189
|
+
// "#{$screen} and (min-device-pixel-ratio: 2)",
|
190
|
+
// "#{$screen} and (min-resolution: 192dpi)",
|
191
|
+
// "#{$screen} and (min-resolution: 2dppx)"
|
192
|
+
// );
|
193
|
+
|
182
194
|
// Legacy
|
183
195
|
// $small: $medium-up;
|
184
196
|
// $medium: $medium-up;
|
@@ -362,8 +374,8 @@ $include-html-global-classes: $include-html-classes;
|
|
362
374
|
// $alert-close-top: 50%;
|
363
375
|
// $alert-close-position: rem-calc(4);
|
364
376
|
// $alert-close-font-size: rem-calc(22);
|
365
|
-
// $alert-close-opacity:
|
366
|
-
// $alert-close-opacity-hover:
|
377
|
+
// $alert-close-opacity: .3;
|
378
|
+
// $alert-close-opacity-hover: .5;
|
367
379
|
// $alert-close-padding: 9px 6px 4px;
|
368
380
|
// $alert-close-background: inherit;
|
369
381
|
|
@@ -471,7 +483,7 @@ $include-html-global-classes: $include-html-classes;
|
|
471
483
|
// $button-round: $global-rounded;
|
472
484
|
|
473
485
|
// We use this to set default opacity and cursor for disabled buttons.
|
474
|
-
// $button-disabled-opacity:
|
486
|
+
// $button-disabled-opacity: .7;
|
475
487
|
// $button-disabled-cursor: $cursor-default-value;
|
476
488
|
|
477
489
|
// 06. Button Groups
|
@@ -504,7 +516,7 @@ $include-html-global-classes: $include-html-classes;
|
|
504
516
|
|
505
517
|
// We use these to style captions
|
506
518
|
// $clearing-caption-font-color: $iron;
|
507
|
-
// $clearing-caption-font-size:
|
519
|
+
// $clearing-caption-font-size: .875em;
|
508
520
|
// $clearing-caption-padding: 10px 30px 20px;
|
509
521
|
|
510
522
|
// We use these to make the image and carousel height and style
|
@@ -645,7 +657,7 @@ $include-html-global-classes: $include-html-classes;
|
|
645
657
|
// $input-disabled-bg: $gainsboro;
|
646
658
|
// $input-disabled-cursor: $cursor-default-value;
|
647
659
|
// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
|
648
|
-
// $input-include-glowing-effect:
|
660
|
+
// $input-include-glowing-effect: false;
|
649
661
|
|
650
662
|
// We use these to style the fieldset border and spacing.
|
651
663
|
// $fieldset-border-style: solid;
|
@@ -682,9 +694,13 @@ $include-html-global-classes: $include-html-classes;
|
|
682
694
|
// $input-error-message-font-color-alt: $oil;
|
683
695
|
|
684
696
|
// We use this to style the glowing effect of inputs when focused
|
685
|
-
// $glowing-effect-fade-time:
|
697
|
+
// $glowing-effect-fade-time: .45s;
|
686
698
|
// $glowing-effect-color: $input-focus-border-color;
|
687
699
|
|
700
|
+
// We use this to style the transition when inputs are focused and when the glowing effect is disabled.
|
701
|
+
// $input-transition-fade-time: 0.15s;
|
702
|
+
// $input-transition-fade-timing-function: linear;
|
703
|
+
|
688
704
|
// Select variables
|
689
705
|
// $select-bg-color: $ghost;
|
690
706
|
// $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
|
@@ -708,7 +724,7 @@ $include-html-global-classes: $include-html-classes;
|
|
708
724
|
// $icon-bar-item-padding: 1.25rem;
|
709
725
|
|
710
726
|
// We use this to set default opacity and cursor for disabled icons.
|
711
|
-
// $icon-bar-disabled-opacity:
|
727
|
+
// $icon-bar-disabled-opacity: .7;
|
712
728
|
|
713
729
|
// 13. Inline Lists
|
714
730
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -840,9 +856,11 @@ $include-html-global-classes: $include-html-classes;
|
|
840
856
|
// Off Canvas Menu Variables
|
841
857
|
// $off-canvas-width: rem-calc(250);
|
842
858
|
// $off-canvas-bg: $oil;
|
859
|
+
// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%);
|
860
|
+
// $off-canvas-bg-active: scale-color($tabbar-bg, $lightness: -30%);
|
843
861
|
|
844
862
|
// Off Canvas Menu List Variables
|
845
|
-
// $off-canvas-label-padding:
|
863
|
+
// $off-canvas-label-padding: .3rem rem-calc(15);
|
846
864
|
// $off-canvas-label-color: $aluminum;
|
847
865
|
// $off-canvas-label-text-transform: uppercase;
|
848
866
|
// $off-canvas-label-font-size: rem-calc(12);
|
@@ -852,7 +870,7 @@ $include-html-global-classes: $include-html-classes;
|
|
852
870
|
// $off-canvas-label-border-bottom: none;
|
853
871
|
// $off-canvas-label-margin:0;
|
854
872
|
// $off-canvas-link-padding: rem-calc(10, 15);
|
855
|
-
// $off-canvas-link-color: rgba($white,
|
873
|
+
// $off-canvas-link-color: rgba($white, .7);
|
856
874
|
// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
|
857
875
|
// $off-canvas-back-bg: #444;
|
858
876
|
// $off-canvas-back-border-top: $off-canvas-label-border-top;
|
@@ -879,9 +897,9 @@ $include-html-global-classes: $include-html-classes;
|
|
879
897
|
// Off Canvas Back-Link Overlay
|
880
898
|
// $off-canvas-overlay-transition: background 300ms ease;
|
881
899
|
// $off-canvas-overlay-cursor: pointer;
|
882
|
-
// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black,
|
883
|
-
// $off-canvas-overlay-background: rgba($white,
|
884
|
-
// $off-canvas-overlay-background-hover: rgba($white,
|
900
|
+
// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, .5), 4px 0 4px rgba($black, .5);
|
901
|
+
// $off-canvas-overlay-background: rgba($white, .2);
|
902
|
+
// $off-canvas-overlay-background-hover: rgba($white, .05);
|
885
903
|
|
886
904
|
// Transition Variables
|
887
905
|
// $menu-slide: "transform 500ms ease";
|
@@ -893,7 +911,7 @@ $include-html-global-classes: $include-html-classes;
|
|
893
911
|
|
894
912
|
// We use these to control the caption styles
|
895
913
|
// $orbit-container-bg: none;
|
896
|
-
// $orbit-caption-bg: rgba(51,51,51,
|
914
|
+
// $orbit-caption-bg: rgba(51,51,51, .8);
|
897
915
|
// $orbit-caption-font-color: $white;
|
898
916
|
// $orbit-caption-font-size: rem-calc(14);
|
899
917
|
// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
|
@@ -927,7 +945,7 @@ $include-html-global-classes: $include-html-classes;
|
|
927
945
|
// Hide controls on small
|
928
946
|
// $orbit-nav-hide-for-small: true;
|
929
947
|
// $orbit-bullet-hide-for-small: true;
|
930
|
-
// $orbit-timer-hide-for-small: true;
|
948
|
+
// $orbit-timer-hide-for-small: true;
|
931
949
|
|
932
950
|
// 20. Pagination
|
933
951
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -971,10 +989,10 @@ $include-html-global-classes: $include-html-classes;
|
|
971
989
|
// $panel-bg: scale-color($white, $lightness: -5%);
|
972
990
|
// $panel-border-style: solid;
|
973
991
|
// $panel-border-size: 1px;
|
992
|
+
// $callout-panel-bg: scale-color($primary-color, $lightness: 94%);
|
974
993
|
|
975
994
|
// We use this % to control how much we darken things on hover
|
976
|
-
// $panel-
|
977
|
-
// $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
|
995
|
+
// $panel-border-color: scale-color($panel-bg, $lightness: -11%);
|
978
996
|
|
979
997
|
// We use these to set default inner padding and bottom margin
|
980
998
|
// $panel-margin-bottom: rem-calc(20);
|
@@ -1070,7 +1088,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1070
1088
|
|
1071
1089
|
// $include-html-range-slider-classes: $include-html-classes;
|
1072
1090
|
|
1073
|
-
// These
|
1091
|
+
// These variables define the slider bar styles
|
1074
1092
|
// $range-slider-bar-width: 100%;
|
1075
1093
|
// $range-slider-bar-height: rem-calc(16);
|
1076
1094
|
|
@@ -1099,7 +1117,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1099
1117
|
// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
|
1100
1118
|
// $range-slider-handle-cursor: pointer;
|
1101
1119
|
|
1102
|
-
// $range-slider-disabled-opacity:
|
1120
|
+
// $range-slider-disabled-opacity: .7;
|
1103
1121
|
// $range-slider-disabled-cursor: $cursor-disabled-value;
|
1104
1122
|
|
1105
1123
|
// 25. Reveal
|
@@ -1155,7 +1173,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1155
1173
|
// $side-nav-link-color: $primary-color;
|
1156
1174
|
// $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
|
1157
1175
|
// $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
|
1158
|
-
// $side-nav-link-bg-hover: hsla(0, 0, 0,
|
1176
|
+
// $side-nav-link-bg-hover: hsla(0, 0, 0, .025);
|
1159
1177
|
// $side-nav-link-margin: 0;
|
1160
1178
|
// $side-nav-link-padding: rem-calc(7 14);
|
1161
1179
|
// $side-nav-font-size: rem-calc(14);
|
@@ -1183,6 +1201,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1183
1201
|
// We use these to control different shared styles for Split Buttons
|
1184
1202
|
// $split-button-function-factor: 10%;
|
1185
1203
|
// $split-button-pip-color: $white;
|
1204
|
+
// $split-button-span-border-color: rgba(255,255,255,0.5);
|
1186
1205
|
// $split-button-pip-color-alt: $oil;
|
1187
1206
|
// $split-button-active-bg-tint: rgba(0,0,0,0.1);
|
1188
1207
|
|
@@ -1265,7 +1284,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1265
1284
|
// $switch-paddle-bg: $white;
|
1266
1285
|
// $switch-paddle-transition-speed: .15s;
|
1267
1286
|
// $switch-paddle-transition-ease: ease-out;
|
1268
|
-
// $switch-active-color: $primary-color;
|
1287
|
+
// $switch-active-color: $primary-color;
|
1269
1288
|
|
1270
1289
|
// 30. Tables
|
1271
1290
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -1401,7 +1420,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1401
1420
|
// $topbar-link-font-size: rem-calc(13);
|
1402
1421
|
// $topbar-link-hover-lightness: -10%; // Darken by 10%
|
1403
1422
|
// $topbar-link-bg: $topbar-bg;
|
1404
|
-
// $topbar-link-bg-hover: $
|
1423
|
+
// $topbar-link-bg-hover: $jet;
|
1405
1424
|
// $topbar-link-bg-color-hover: $charcoal;
|
1406
1425
|
// $topbar-link-bg-active: $primary-color;
|
1407
1426
|
// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
|
@@ -1410,7 +1429,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1410
1429
|
// $topbar-link-padding: ($topbar-height / 3);
|
1411
1430
|
// $topbar-back-link-size: rem-calc(18);
|
1412
1431
|
// $topbar-link-dropdown-padding: rem-calc(20);
|
1413
|
-
// $topbar-button-font-size:
|
1432
|
+
// $topbar-button-font-size: .75rem;
|
1414
1433
|
// $topbar-button-top: 7px;
|
1415
1434
|
|
1416
1435
|
// Style the top bar dropdown elements
|
@@ -1418,11 +1437,11 @@ $include-html-global-classes: $include-html-classes;
|
|
1418
1437
|
// $topbar-dropdown-link-color: $white;
|
1419
1438
|
// $topbar-dropdown-link-color-hover: $topbar-link-color-hover;
|
1420
1439
|
// $topbar-dropdown-link-bg: $oil;
|
1421
|
-
// $topbar-dropdown-link-bg-hover: $
|
1440
|
+
// $topbar-dropdown-link-bg-hover: $jet;
|
1422
1441
|
// $topbar-dropdown-link-weight: $font-weight-normal;
|
1423
1442
|
// $topbar-dropdown-toggle-size: 5px;
|
1424
1443
|
// $topbar-dropdown-toggle-color: $white;
|
1425
|
-
// $topbar-dropdown-toggle-alpha:
|
1444
|
+
// $topbar-dropdown-toggle-alpha: .4;
|
1426
1445
|
|
1427
1446
|
// $topbar-dropdown-label-color: $monsoon;
|
1428
1447
|
// $topbar-dropdown-label-text-transform: uppercase;
|
@@ -1444,7 +1463,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1444
1463
|
// $topbar-transition-speed: 300ms;
|
1445
1464
|
// Using rem-calc for the below breakpoint causes issues with top bar
|
1446
1465
|
// $topbar-breakpoint: #{lower-bound($medium-range)}; // Change to 9999px for always mobile layout
|
1447
|
-
// $topbar-media-query: $
|
1466
|
+
// $topbar-media-query: "#{$screen} and (min-width:#{lower-bound($topbar-breakpoint)})";
|
1448
1467
|
|
1449
1468
|
// Top-bar input styles
|
1450
1469
|
// $topbar-input-height: rem-calc(28);
|
@@ -1456,7 +1475,7 @@ $include-html-global-classes: $include-html-classes;
|
|
1456
1475
|
// Sticky Class
|
1457
1476
|
// $topbar-sticky-class: ".sticky";
|
1458
1477
|
// $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
|
1459
|
-
// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li//
|
1478
|
+
// $topbar-dropdown-arrows: true; //Set false to remove the \00bb >> text from dropdown subnavigation li//
|
1460
1479
|
|
1461
1480
|
// 36. Visibility Classes
|
1462
1481
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @variables
|
@@ -32,7 +32,7 @@ $accordion-content-active-bg-color: $white !default;
|
|
32
32
|
margin-bottom: 0;
|
33
33
|
}
|
34
34
|
|
35
|
-
// Mixin: accordion-navigation( $bg, $hover-bg, $active-bg, $padding, $active_class, $font-color, $font-size, $font-family){
|
35
|
+
// Mixin: accordion-navigation( $bg, $hover-bg, $active-bg, $padding, $active_class, $font-color, $font-size, $font-family) {
|
36
36
|
// @params $bg-color: [ color or string ]: Specify the background color for the navigation element
|
37
37
|
// @params $hover-bg-color [ color or string ]: Specify the background color for the navigation element when hovered
|
38
38
|
// @params $active-bg [ color or string ]: Specify the background color for the navigation element when clicked and not released.
|
@@ -41,7 +41,7 @@ $accordion-content-active-bg-color: $white !default;
|
|
41
41
|
// @params $font-size [ number ]: Specifiy the font-size of the text inside the navigation element
|
42
42
|
// @params $font-family [ string ]: Specify the font family for the text of the navigation of the accorion
|
43
43
|
|
44
|
-
@mixin accordion-navigation( $bg: $accordion-navigation-bg-color, $hover-bg: $accordion-navigation-hover-bg-color, $active-bg: $accordion-navigation-active-bg-color, $padding: $accordion-navigation-padding, $active_class: 'active', $font-color: $accordion-navigation-font-color, $font-size: $accordion-navigation-font-size, $font-family: $accordion-navigation-font-family ){
|
44
|
+
@mixin accordion-navigation( $bg: $accordion-navigation-bg-color, $hover-bg: $accordion-navigation-hover-bg-color, $active-bg: $accordion-navigation-active-bg-color, $padding: $accordion-navigation-padding, $active_class: 'active', $font-color: $accordion-navigation-font-color, $font-size: $accordion-navigation-font-size, $font-family: $accordion-navigation-font-family ) {
|
45
45
|
display: block;
|
46
46
|
margin-bottom: 0 !important;
|
47
47
|
@if type-of($active_class) != "string" {
|
@@ -98,7 +98,7 @@ $accordion-content-active-bg-color: $white !default;
|
|
98
98
|
// @params $bg [ color ]: Background color for the content when it's visible
|
99
99
|
// @params $active_class [ string ]: Class name used to keep track of which accordion tab should be visible.
|
100
100
|
|
101
|
-
@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active'){
|
101
|
+
@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active') {
|
102
102
|
display: none;
|
103
103
|
@if type-of($padding) != "number" {
|
104
104
|
@warn "#{$padding} was read as a #{type-of($padding)}";
|
@@ -118,8 +118,8 @@ $accordion-content-active-bg-color: $white !default;
|
|
118
118
|
}
|
119
119
|
@else {
|
120
120
|
&.#{$active_class} {
|
121
|
-
display: block;
|
122
121
|
background: $bg;
|
122
|
+
display: block;
|
123
123
|
}
|
124
124
|
}
|
125
125
|
}
|
@@ -136,10 +136,10 @@ $accordion-content-active-bg-color: $white !default;
|
|
136
136
|
> a {
|
137
137
|
background: $accordion-navigation-bg-color;
|
138
138
|
color: $accordion-navigation-font-color;
|
139
|
-
padding: $accordion-navigation-padding;
|
140
139
|
display: block;
|
141
140
|
font-family: $accordion-navigation-font-family;
|
142
141
|
font-size: $accordion-navigation-font-size;
|
142
|
+
padding: $accordion-navigation-padding;
|
143
143
|
&:hover { background: $accordion-navigation-hover-bg-color; }
|
144
144
|
}
|
145
145
|
|
@@ -147,8 +147,8 @@ $accordion-content-active-bg-color: $white !default;
|
|
147
147
|
display: none;
|
148
148
|
padding: $accordion-content-padding;
|
149
149
|
&.active {
|
150
|
-
display: block;
|
151
150
|
background: $accordion-content-active-bg-color;
|
151
|
+
display: block;
|
152
152
|
}
|
153
153
|
}
|
154
154
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// Alert Box Variables
|
@@ -35,8 +35,8 @@ $alert-close-color: $oil !default;
|
|
35
35
|
$alert-close-top: 50% !default;
|
36
36
|
$alert-close-position: rem-calc(4) !default;
|
37
37
|
$alert-close-font-size: rem-calc(22) !default;
|
38
|
-
$alert-close-opacity:
|
39
|
-
$alert-close-opacity-hover:
|
38
|
+
$alert-close-opacity: .3 !default;
|
39
|
+
$alert-close-opacity-hover: .5 !default;
|
40
40
|
$alert-close-padding: 0 6px 4px !default;
|
41
41
|
$alert-close-background: inherit !default;
|
42
42
|
|
@@ -55,11 +55,11 @@ $alert-transition-ease: ease-out !default;
|
|
55
55
|
border-style: $alert-border-style;
|
56
56
|
border-width: $alert-border-width;
|
57
57
|
display: block;
|
58
|
+
font-size: $alert-font-size;
|
58
59
|
font-weight: $alert-font-weight;
|
59
60
|
margin-bottom: $alert-bottom-margin;
|
60
|
-
position: relative;
|
61
61
|
padding: $alert-padding-top $alert-padding-opposite-direction $alert-padding-bottom $alert-padding-default-float;
|
62
|
-
|
62
|
+
position: relative;
|
63
63
|
@include single-transition(opacity, $alert-transition-speed, $alert-transition-ease)
|
64
64
|
}
|
65
65
|
|
@@ -83,16 +83,16 @@ $alert-transition-ease: ease-out !default;
|
|
83
83
|
|
84
84
|
// We use this to create the close button.
|
85
85
|
@mixin alert-close {
|
86
|
+
#{$opposite-direction}: $alert-close-position;
|
87
|
+
background: $alert-close-background;
|
88
|
+
color: $alert-close-color;
|
86
89
|
font-size: $alert-close-font-size;
|
87
|
-
padding: $alert-close-padding;
|
88
90
|
line-height: .9;
|
89
|
-
position: absolute;
|
90
|
-
top: $alert-close-top;
|
91
91
|
margin-top: -($alert-close-font-size / 2);
|
92
|
-
#{$opposite-direction}: $alert-close-position;
|
93
|
-
color: $alert-close-color;
|
94
92
|
opacity: $alert-close-opacity;
|
95
|
-
|
93
|
+
padding: $alert-close-padding;
|
94
|
+
position: absolute;
|
95
|
+
top: $alert-close-top;
|
96
96
|
&:hover,
|
97
97
|
&:focus { opacity: $alert-close-opacity-hover; }
|
98
98
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// Block Grid Variables
|
@@ -48,10 +48,10 @@ $block-grid-media-queries: true !default;
|
|
48
48
|
}
|
49
49
|
@include clearfix;
|
50
50
|
|
51
|
-
|
51
|
+
> li {
|
52
52
|
display: block;
|
53
|
-
height: auto;
|
54
53
|
float: $default-float;
|
54
|
+
height: auto;
|
55
55
|
@if $include-spacing {
|
56
56
|
padding: 0 ($spacing/2) $spacing;
|
57
57
|
}
|
@@ -59,12 +59,12 @@ $block-grid-media-queries: true !default;
|
|
59
59
|
}
|
60
60
|
|
61
61
|
@if $per-row {
|
62
|
-
|
63
|
-
|
62
|
+
> li {
|
63
|
+
list-style: none;
|
64
64
|
@if $include-spacing {
|
65
65
|
padding: 0 ($spacing/2) $spacing;
|
66
66
|
}
|
67
|
-
|
67
|
+
width: 100%/$per-row;
|
68
68
|
|
69
69
|
&:nth-of-type(1n) { clear: none; }
|
70
70
|
&:nth-of-type(#{$per-row}n+1) { clear: both; }
|
@@ -93,10 +93,10 @@ $block-grid-media-queries: true !default;
|
|
93
93
|
// Generate presentational markup for block grid.
|
94
94
|
//
|
95
95
|
// $size - Name of class to use, i.e. "large" will generate .large-block-grid-1, .large-block-grid-2, etc.
|
96
|
-
@mixin block-grid-html-classes($size
|
96
|
+
@mixin block-grid-html-classes($size, $include-spacing) {
|
97
97
|
@for $i from 1 through $block-grid-elements {
|
98
98
|
.#{$size}-block-grid-#{($i)} {
|
99
|
-
@include block-grid($i
|
99
|
+
@include block-grid($i, $block-grid-default-spacing, $include-spacing, false);
|
100
100
|
}
|
101
101
|
}
|
102
102
|
}
|
@@ -108,24 +108,24 @@ $block-grid-media-queries: true !default;
|
|
108
108
|
|
109
109
|
@if $block-grid-media-queries {
|
110
110
|
@media #{$small-up} {
|
111
|
-
@include block-grid-html-classes($size:small
|
111
|
+
@include block-grid-html-classes($size:small, $include-spacing:false);
|
112
112
|
}
|
113
113
|
|
114
114
|
@media #{$medium-up} {
|
115
|
-
@include block-grid-html-classes($size:medium
|
115
|
+
@include block-grid-html-classes($size:medium, $include-spacing:false);
|
116
116
|
}
|
117
117
|
|
118
118
|
@media #{$large-up} {
|
119
|
-
@include block-grid-html-classes($size:large
|
119
|
+
@include block-grid-html-classes($size:large, $include-spacing:false);
|
120
120
|
}
|
121
121
|
|
122
122
|
@if $include-xl-html-block-grid-classes {
|
123
123
|
@media #{$xlarge-up} {
|
124
|
-
@include block-grid-html-classes($size:xlarge
|
124
|
+
@include block-grid-html-classes($size:xlarge, $include-spacing:false);
|
125
125
|
}
|
126
126
|
|
127
127
|
@media #{$xxlarge-up} {
|
128
|
-
@include block-grid-html-classes($size:xxlarge
|
128
|
+
@include block-grid-html-classes($size:xxlarge, $include-spacing:false);
|
129
129
|
}
|
130
130
|
}
|
131
131
|
}
|