foundation-rails 5.2.2.0 → 5.2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/bower.json +2 -2
  3. data/lib/foundation/rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/foundation/foundation.abide.js +5 -5
  5. data/vendor/assets/javascripts/foundation/foundation.accordion.js +13 -8
  6. data/vendor/assets/javascripts/foundation/foundation.alert.js +2 -2
  7. data/vendor/assets/javascripts/foundation/foundation.clearing.js +36 -33
  8. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +15 -10
  9. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +12 -6
  10. data/vendor/assets/javascripts/foundation/foundation.interchange.js +3 -3
  11. data/vendor/assets/javascripts/foundation/foundation.joyride.js +9 -15
  12. data/vendor/assets/javascripts/foundation/foundation.js +30 -28
  13. data/vendor/assets/javascripts/foundation/foundation.magellan.js +36 -31
  14. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +72 -14
  15. data/vendor/assets/javascripts/foundation/foundation.orbit.js +19 -15
  16. data/vendor/assets/javascripts/foundation/foundation.reveal.js +26 -16
  17. data/vendor/assets/javascripts/foundation/foundation.slider.js +2 -3
  18. data/vendor/assets/javascripts/foundation/foundation.tab.js +8 -9
  19. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +30 -4
  20. data/vendor/assets/javascripts/foundation/foundation.topbar.js +22 -19
  21. data/vendor/assets/stylesheets/foundation/_settings.scss +50 -40
  22. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +8 -7
  23. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +2 -2
  24. data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +1 -1
  25. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +1 -1
  26. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +8 -8
  27. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +6 -6
  28. data/vendor/assets/stylesheets/foundation/components/_forms.scss +7 -5
  29. data/vendor/assets/stylesheets/foundation/components/_global.scss +67 -3
  30. data/vendor/assets/stylesheets/foundation/components/_grid.scss +1 -2
  31. data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +2 -1
  32. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +3 -3
  33. data/vendor/assets/stylesheets/foundation/components/_labels.scss +1 -1
  34. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +32 -58
  35. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +39 -31
  36. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +5 -5
  37. data/vendor/assets/stylesheets/foundation/components/_panels.scss +4 -5
  38. data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +5 -5
  39. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +2 -2
  40. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +2 -2
  41. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +26 -4
  42. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +7 -7
  43. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +2 -2
  44. data/vendor/assets/stylesheets/foundation/components/_switch.scss +2 -2
  45. data/vendor/assets/stylesheets/foundation/components/_tables.scss +44 -12
  46. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +9 -5
  47. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +4 -4
  48. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +30 -26
  49. data/vendor/assets/stylesheets/foundation/components/_type.scss +39 -21
  50. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +64 -1
  51. data/vendor/assets/stylesheets/normalize.scss +20 -18
  52. metadata +2 -2
@@ -12,6 +12,8 @@
12
12
  // Allows the use of rem-calc() or lower-bound() in your settings
13
13
  @import "foundation/functions";
14
14
 
15
+ // $experimental: true;
16
+
15
17
  // The default font-size is set to 100% of the browser style sheet (usually 16px)
16
18
  // for compatibility with browser-based text zoom or user-set defaults.
17
19
 
@@ -20,7 +22,7 @@
20
22
  // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
21
23
  // $base-font-size: 100%;
22
24
 
23
- // The $base-line-height is 100% while $base-font-size is 150%
25
+ // The $base-font-size is 100% while $base-line-height is 150%
24
26
  // $base-line-height: 150%;
25
27
 
26
28
  // We use this to control whether or not CSS classes come through in the gem files.
@@ -42,7 +44,7 @@
42
44
  // $body-bg: #fff;
43
45
  // $body-font-color: #222;
44
46
  // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
45
- // $body-font-weight: normal;
47
+ // $body-font-weight: $font-weight-normal;
46
48
  // $body-font-style: normal;
47
49
 
48
50
  // We use this to control font-smoothing
@@ -119,7 +121,7 @@
119
121
 
120
122
  // We use these to control header font styles
121
123
  // $header-font-family: $body-font-family;
122
- // $header-font-weight: normal;
124
+ // $header-font-weight: $font-weight-normal;
123
125
  // $header-font-style: normal;
124
126
  // $header-font-color: #222;
125
127
  // $header-line-height: 1.4;
@@ -138,7 +140,7 @@
138
140
  // These control how subheaders are styled.
139
141
  // $subheader-line-height: 1.4;
140
142
  // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
141
- // $subheader-font-weight: normal;
143
+ // $subheader-font-weight: $font-weight-normal;
142
144
  // $subheader-top-margin: .2rem;
143
145
  // $subheader-bottom-margin: .5rem;
144
146
 
@@ -148,7 +150,7 @@
148
150
 
149
151
  // We use these to style paragraphs
150
152
  // $paragraph-font-family: inherit;
151
- // $paragraph-font-weight: normal;
153
+ // $paragraph-font-weight: $font-weight-normal;
152
154
  // $paragraph-font-size: 1rem;
153
155
  // $paragraph-line-height: 1.6;
154
156
  // $paragraph-margin-bottom: rem-calc(20);
@@ -160,10 +162,11 @@
160
162
  // We use these to style <code> tags
161
163
  // $code-color: scale-color($alert-color, $lightness: -27%);
162
164
  // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
163
- // $code-font-weight: bold;
165
+ // $code-font-weight: $font-weight-bold;
164
166
 
165
167
  // We use these to style anchors
166
168
  // $anchor-text-decoration: none;
169
+ // $anchor-text-decoration-hover: none;
167
170
  // $anchor-font-color: $primary-color;
168
171
  // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
169
172
 
@@ -174,12 +177,16 @@
174
177
  // $hr-margin: rem-calc(20);
175
178
 
176
179
  // We use these to style lists
180
+ // $list-font-family: $paragraph-font-family;
181
+ // $list-font-size: $paragraph-font-size;
182
+ // $list-line-height: $paragraph-line-height;
183
+ // $list-margin-bottom: $paragraph-margin-bottom;
177
184
  // $list-style-position: outside;
178
185
  // $list-side-margin: 1.1rem;
179
186
  // $list-ordered-side-margin: 1.4rem;
180
187
  // $list-side-margin-no-bullet: 0;
181
188
  // $list-nested-margin: rem-calc(20);
182
- // $definition-list-header-weight: bold;
189
+ // $definition-list-header-weight: $font-weight-bold;
183
190
  // $definition-list-header-margin-bottom: .3rem;
184
191
  // $definition-list-margin-bottom: rem-calc(12);
185
192
 
@@ -204,17 +211,17 @@
204
211
  // $microformat-border-color: #ddd;
205
212
 
206
213
  // We use these to control full name font styles
207
- // $microformat-fullname-font-weight: bold;
214
+ // $microformat-fullname-font-weight: $font-weight-bold;
208
215
  // $microformat-fullname-font-size: rem-calc(15);
209
216
 
210
217
  // We use this to control the summary font styles
211
- // $microformat-summary-font-weight: bold;
218
+ // $microformat-summary-font-weight: $font-weight-bold;
212
219
 
213
220
  // We use this to control abbr padding
214
221
  // $microformat-abbr-padding: rem-calc(0 1);
215
222
 
216
223
  // We use this to control abbr font styles
217
- // $microformat-abbr-font-weight: bold;
224
+ // $microformat-abbr-font-weight: $font-weight-bold;
218
225
  // $microformat-abbr-font-decoration: none;
219
226
 
220
227
  // Accordion
@@ -243,7 +250,7 @@
243
250
  // $alert-padding-bottom: $alert-padding-top;
244
251
 
245
252
  // We use these to control text style.
246
- // $alert-font-weight: normal;
253
+ // $alert-font-weight: $font-weight-normal;
247
254
  // $alert-font-size: rem-calc(13);
248
255
  // $alert-font-color: #fff;
249
256
  // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
@@ -341,7 +348,7 @@
341
348
  // $button-font-sml: rem-calc(13);
342
349
  // $button-font-med: rem-calc(16);
343
350
  // $button-font-lrg: rem-calc(20);
344
- // $button-font-weight: normal;
351
+ // $button-font-weight: $font-weight-normal;
345
352
  // $button-font-align: center;
346
353
 
347
354
  // We use these to control various hover effects.
@@ -350,7 +357,7 @@
350
357
  // We use these to control button border styles.
351
358
  // $button-border-width: 0px;
352
359
  // $button-border-style: solid;
353
- // $bg: $primary-color;
360
+ // $button-bg: $primary-color;
354
361
  // $button-border-color: scale-color($bg, $lightness: $button-function-factor);
355
362
 
356
363
  // We use this to set the default radius used throughout the core.
@@ -502,7 +509,7 @@
502
509
  // We use these to style the labels in different ways
503
510
  // $form-label-pointer: pointer;
504
511
  // $form-label-font-size: rem-calc(14);
505
- // $form-label-font-weight: normal;
512
+ // $form-label-font-weight: $font-weight-normal;
506
513
  // $form-label-line-height: 1.5;
507
514
  // $form-label-font-color: scale-color(#000, $lightness: 30%);
508
515
  // $form-label-small-transform: capitalize;
@@ -530,7 +537,7 @@
530
537
 
531
538
  // We use these to style the legends when you use them
532
539
  // $legend-bg: #fff;
533
- // $legend-font-weight: bold;
540
+ // $legend-font-weight: $font-weight-bold;
534
541
  // $legend-padding: rem-calc(0 3);
535
542
 
536
543
  // We use these to style the prefix and postfix input elements
@@ -546,7 +553,7 @@
546
553
  // $input-error-message-padding: rem-calc(6 9 9);
547
554
  // $input-error-message-top: -1px;
548
555
  // $input-error-message-font-size: rem-calc(12);
549
- // $input-error-message-font-weight: normal;
556
+ // $input-error-message-font-weight: $font-weight-normal;
550
557
  // $input-error-message-font-style: italic;
551
558
  // $input-error-message-font-color: #fff;
552
559
  // $input-error-message-font-color-alt: #333;
@@ -568,6 +575,7 @@
568
575
  // $inline-list-opposite-margin: 0;
569
576
  // $inline-list-bottom-margin: rem-calc(17);
570
577
  // $inline-list-default-float-margin: rem-calc(-22);
578
+ // $inline-list-default-float-list-margin: rem-calc(22);
571
579
 
572
580
  // $inline-list-padding: 0;
573
581
 
@@ -595,7 +603,7 @@
595
603
  // Here, we're setting the tip dont styles
596
604
  // $joyride-tip-font-color: #fff;
597
605
  // $joyride-tip-font-size: rem-calc(14);
598
- // $joyride-tip-header-weight: bold;
606
+ // $joyride-tip-header-weight: $font-weight-bold;
599
607
 
600
608
  // This changes the nub size
601
609
  // $joyride-tip-nub-size: 10px;
@@ -608,7 +616,7 @@
608
616
  // This changes up the styles for the close button
609
617
  // $joyride-tip-close-color: #777;
610
618
  // $joyride-tip-close-size: 24px;
611
- // $joyride-tip-close-weight: normal;
619
+ // $joyride-tip-close-weight: $font-weight-normal;
612
620
 
613
621
  // When Joyride is filling the screen, we use this style for the bg
614
622
  // $joyride-screenfill: rgba(0,0,0,0.5);
@@ -644,7 +652,7 @@
644
652
 
645
653
  // We use these to style the label text
646
654
  // $label-font-sizing: rem-calc(11);
647
- // $label-font-weight: normal;
655
+ // $label-font-weight: $font-weight-normal;
648
656
  // $label-font-color: #333;
649
657
  // $label-font-color-alt: #fff;
650
658
  // $label-font-family: $body-font-family;
@@ -672,7 +680,7 @@
672
680
 
673
681
  // Off Canvas Tab Bar Headers
674
682
  // $tabbar-header-color: #fff;
675
- // $tabbar-header-weight: bold;
683
+ // $tabbar-header-weight: $font-weight-bold;
676
684
  // $tabbar-header-line-height: $tabbar-height;
677
685
  // $tabbar-header-margin: 0;
678
686
 
@@ -684,7 +692,7 @@
684
692
  // $off-canvas-label-padding: 0.3rem rem-calc(15);
685
693
  // $off-canvas-label-color: #999;
686
694
  // $off-canvas-label-text-transform: uppercase;
687
- // $off-canvas-label-font-weight: bold;
695
+ // $off-canvas-label-font-weight: $font-weight-bold;
688
696
  // $off-canvas-label-bg: #444;
689
697
  // $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%);
690
698
  // $off-canvas-label-border-bottom: none;
@@ -767,7 +775,7 @@
767
775
 
768
776
  // Pagination
769
777
 
770
- // $include-html-nav-classes: $include-html-classes;
778
+ // $include-pagination-classes: $include-html-classes;
771
779
 
772
780
  // We use these to control the pagination container
773
781
  // $pagination-height: rem-calc(24);
@@ -793,7 +801,7 @@
793
801
  // We use these for currently selected anchor links
794
802
  // $pagination-link-current-background: $primary-color;
795
803
  // $pagination-link-current-font-color: #fff;
796
- // $pagination-link-current-font-weight: bold;
804
+ // $pagination-link-current-font-weight: $font-weight-bold;
797
805
  // $pagination-link-current-cursor: default;
798
806
  // $pagination-link-current-active-bg: $primary-color;
799
807
 
@@ -836,7 +844,7 @@
836
844
  // $price-title-padding: rem-calc(15 20);
837
845
  // $price-title-align: center;
838
846
  // $price-title-color: #eee;
839
- // $price-title-weight: normal;
847
+ // $price-title-weight: $font-weight-normal;
840
848
  // $price-title-size: rem-calc(16);
841
849
  // $price-title-font-family: $body-font-family;
842
850
 
@@ -845,7 +853,7 @@
845
853
  // $price-money-padding: rem-calc(15 20);
846
854
  // $price-money-align: center;
847
855
  // $price-money-color: #333;
848
- // $price-money-weight: normal;
856
+ // $price-money-weight: $font-weight-normal;
849
857
  // $price-money-size: rem-calc(32);
850
858
  // $price-money-font-family: $body-font-family;
851
859
 
@@ -856,7 +864,7 @@
856
864
  // $price-desc-padding: rem-calc(15);
857
865
  // $price-desc-align: center;
858
866
  // $price-desc-font-size: rem-calc(12);
859
- // $price-desc-weight: normal;
867
+ // $price-desc-weight: $font-weight-normal;
860
868
  // $price-desc-line-height: 1.4;
861
869
  // $price-desc-bottom-border: dotted 1px #ddd;
862
870
 
@@ -865,7 +873,7 @@
865
873
  // $price-item-padding: rem-calc(15);
866
874
  // $price-item-align: center;
867
875
  // $price-item-font-size: rem-calc(14);
868
- // $price-item-weight: normal;
876
+ // $price-item-weight: $font-weight-normal;
869
877
  // $price-item-bottom-border: dotted 1px #ddd;
870
878
 
871
879
  // We use these to control the CTA area styles
@@ -917,7 +925,7 @@
917
925
  // $reveal-close-top: rem-calc(8);
918
926
  // $reveal-close-side: rem-calc(11);
919
927
  // $reveal-close-color: #aaa;
920
- // $reveal-close-weight: bold;
928
+ // $reveal-close-weight: $font-weight-bold;
921
929
 
922
930
  // We use this to set the default radius used throughout the core.
923
931
  // $reveal-radius: $global-radius;
@@ -948,7 +956,7 @@
948
956
  // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
949
957
  // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
950
958
  // $side-nav-font-size: rem-calc(14);
951
- // $side-nav-font-weight: normal;
959
+ // $side-nav-font-weight: $font-weight-normal;
952
960
  // $side-nav-font-weight-active: $side-nav-font-weight;
953
961
  // $side-nav-font-family: $body-font-family;
954
962
  // $side-nav-active-font-family: $side-nav-font-family;
@@ -1010,7 +1018,7 @@
1010
1018
  // $sub-nav-font-family: $body-font-family;
1011
1019
  // $sub-nav-font-size: rem-calc(14);
1012
1020
  // $sub-nav-font-color: #999;
1013
- // $sub-nav-font-weight: normal;
1021
+ // $sub-nav-font-weight: $font-weight-normal;
1014
1022
  // $sub-nav-text-decoration: none;
1015
1023
  // $sub-nav-padding: rem-calc(3 16);
1016
1024
  // $sub-nav-border-radius: 3px;
@@ -1018,7 +1026,7 @@
1018
1026
 
1019
1027
 
1020
1028
  // We use these to control the active item styles
1021
- // $sub-nav-active-font-weight: normal;
1029
+ // $sub-nav-active-font-weight: $font-weight-normal;
1022
1030
  // $sub-nav-active-bg: $primary-color;
1023
1031
  // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
1024
1032
  // $sub-nav-active-color: #fff;
@@ -1085,7 +1093,7 @@
1085
1093
  // $table-head-bg: #f5f5f5 ;
1086
1094
  // $table-head-font-size: rem-calc(14);
1087
1095
  // $table-head-font-color: #222;
1088
- // $table-head-font-weight: bold;
1096
+ // $table-head-font-weight: $font-weight-bold;
1089
1097
  // $table-head-padding: rem-calc(8 10 10);
1090
1098
 
1091
1099
  // These control the row padding and font styles
@@ -1109,6 +1117,7 @@
1109
1117
  // $tabs-navigation-active-bg-color: #fff;
1110
1118
  // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
1111
1119
  // $tabs-navigation-font-color: #222;
1120
+ // $tabs-navigation-active-font-color: $tabs-navigation-font-color;
1112
1121
  // $tabs-navigation-font-size: rem-calc(16);
1113
1122
  // $tabs-navigation-font-family: $body-font-family;
1114
1123
 
@@ -1141,7 +1150,7 @@
1141
1150
  // $include-html-tooltip-classes: $include-html-classes;
1142
1151
 
1143
1152
  // $has-tip-border-bottom: dotted 1px #ccc;
1144
- // $has-tip-font-weight: bold;
1153
+ // $has-tip-font-weight: $font-weight-bold;
1145
1154
  // $has-tip-font-color: #333;
1146
1155
  // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
1147
1156
  // $has-tip-font-color-hover: $primary-color;
@@ -1150,11 +1159,11 @@
1150
1159
  // $tooltip-padding: rem-calc(12);
1151
1160
  // $tooltip-bg: #333;
1152
1161
  // $tooltip-font-size: rem-calc(14);
1153
- // $tooltip-font-weight: normal;
1162
+ // $tooltip-font-weight: $font-weight-normal;
1154
1163
  // $tooltip-font-color: #fff;
1155
1164
  // $tooltip-line-height: 1.3;
1156
1165
  // $tooltip-close-font-size: rem-calc(10);
1157
- // $tooltip-close-font-weight: normal;
1166
+ // $tooltip-close-font-weight: $font-weight-normal;
1158
1167
  // $tooltip-close-font-color: #777;
1159
1168
  // $tooltip-font-size-sml: rem-calc(14);
1160
1169
  // $tooltip-radius: $global-radius;
@@ -1176,14 +1185,14 @@
1176
1185
  // $topbar-margin-bottom: 0;
1177
1186
 
1178
1187
  // Controlling the styles for the title in the top bar
1179
- // $topbar-title-weight: normal;
1188
+ // $topbar-title-weight: $font-weight-normal;
1180
1189
  // $topbar-title-font-size: rem-calc(17);
1181
1190
 
1182
1191
  // Style the top bar dropdown elements
1183
1192
  // $topbar-dropdown-bg: #333;
1184
1193
  // $topbar-dropdown-link-color: #fff;
1185
1194
  // $topbar-dropdown-link-bg: #333;
1186
- // $topbar-dropdown-link-weight: normal;
1195
+ // $topbar-dropdown-link-weight: $font-weight-normal;
1187
1196
  // $topbar-dropdown-toggle-size: 5px;
1188
1197
  // $topbar-dropdown-toggle-color: #fff;
1189
1198
  // $topbar-dropdown-toggle-alpha: 0.4;
@@ -1193,10 +1202,11 @@
1193
1202
  // $topbar-link-color-hover: #fff;
1194
1203
  // $topbar-link-color-active: #fff;
1195
1204
  // $topbar-link-color-active-hover: #fff;
1196
- // $topbar-link-weight: normal;
1205
+ // $topbar-link-weight: $font-weight-normal;
1197
1206
  // $topbar-link-font-size: rem-calc(13);
1198
1207
  // $topbar-link-hover-lightness: -10%; // Darken by 10%
1199
1208
  // $topbar-link-bg: $topbar-bg;
1209
+ // $topbar-link-bg-color-hover: #272727;
1200
1210
  // $topbar-link-bg-hover: #272727;
1201
1211
  // $topbar-link-bg-active: $primary-color;
1202
1212
  // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
@@ -1209,14 +1219,14 @@
1209
1219
 
1210
1220
  // $topbar-dropdown-label-color: #777;
1211
1221
  // $topbar-dropdown-label-text-transform: uppercase;
1212
- // $topbar-dropdown-label-font-weight: bold;
1222
+ // $topbar-dropdown-label-font-weight: $font-weight-bold;
1213
1223
  // $topbar-dropdown-label-font-size: rem-calc(10);
1214
1224
  // $topbar-dropdown-label-bg: #333;
1215
1225
 
1216
1226
  // Top menu icon styles
1217
1227
  // $topbar-menu-link-transform: uppercase;
1218
1228
  // $topbar-menu-link-font-size: rem-calc(13);
1219
- // $topbar-menu-link-weight: bold;
1229
+ // $topbar-menu-link-weight: $font-weight-bold;
1220
1230
  // $topbar-menu-link-color: #fff;
1221
1231
  // $topbar-menu-icon-color: #fff;
1222
1232
  // $topbar-menu-link-color-toggled: #888;
@@ -38,13 +38,14 @@ $accordion-content-active-bg-color: #fff !default;
38
38
  font-size: $accordion-navigation-font-size;
39
39
  &:hover { background: $accordion-navigation-hover-bg-color; }
40
40
  }
41
- }
42
- .content {
43
- display: none;
44
- padding: $accordion-content-padding;
45
- &.active {
46
- display: block;
47
- background: $accordion-content-active-bg-color;
41
+
42
+ > .content {
43
+ display: none;
44
+ padding: $accordion-content-padding;
45
+ &.active {
46
+ display: block;
47
+ background: $accordion-content-active-bg-color;
48
+ }
48
49
  }
49
50
  }
50
51
  }
@@ -16,7 +16,7 @@ $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10) !default;
16
16
  $alert-padding-bottom: $alert-padding-top !default;
17
17
 
18
18
  // We use these to control text style.
19
- $alert-font-weight: normal !default;
19
+ $alert-font-weight: $font-weight-normal !default;
20
20
  $alert-font-size: rem-calc(13) !default;
21
21
  $alert-font-color: #fff !default;
22
22
  $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default;
@@ -67,7 +67,7 @@ $alert-transition-ease: ease-out !default;
67
67
  // $bg - The background of the alert. Default: $primary-color.
68
68
  @mixin alert-style($bg:$primary-color) {
69
69
 
70
- // This find the lightness percentage of the background color.
70
+ // This finds the lightness percentage of the background color.
71
71
  $bg-lightness: lightness($bg);
72
72
 
73
73
  // We control which background color and border come through.
@@ -65,7 +65,7 @@ $block-grid-media-queries: true !default;
65
65
  }
66
66
  list-style: none;
67
67
 
68
- &:nth-of-type(n) { clear: none; }
68
+ &:nth-of-type(1n) { clear: none; }
69
69
  &:nth-of-type(#{$per-row}n+1) { clear: both; }
70
70
  @if $align-block-grid-to-grid {
71
71
  @include block-grid-aligned($per-row, $spacing);
@@ -90,7 +90,7 @@ $button-group-border-width: 1px !default;
90
90
  @if $include-html-button-classes {
91
91
  .button-group { @include button-group-container;
92
92
 
93
- li { @include button-group-style(); }
93
+ & > li { @include button-group-style(); }
94
94
 
95
95
  &.radius > * { @include button-group-style($radius:$button-radius, $float:null); }
96
96
  &.round > * { @include button-group-style($radius:$button-round, $float:null); }
@@ -27,7 +27,7 @@ $button-font-tny: rem-calc(11) !default;
27
27
  $button-font-sml: rem-calc(13) !default;
28
28
  $button-font-med: rem-calc(16) !default;
29
29
  $button-font-lrg: rem-calc(20) !default;
30
- $button-font-weight: normal !default;
30
+ $button-font-weight: $font-weight-normal !default;
31
31
  $button-font-align: center !default;
32
32
 
33
33
  // We use these to control various hover effects.
@@ -36,8 +36,8 @@ $button-function-factor: -20% !default;
36
36
  // We use these to control button border styles.
37
37
  $button-border-width: 0px !default;
38
38
  $button-border-style: solid !default;
39
- $bg: $primary-color !default;
40
- $button-border-color: scale-color($bg, $lightness: $button-function-factor) !default;
39
+ $button-bg: $primary-color !default;
40
+ $button-border-color: scale-color($button-bg, $lightness: $button-function-factor) !default;
41
41
 
42
42
  // We use this to set the default radius used throughout the core.
43
43
  $button-radius: $global-radius !default;
@@ -117,10 +117,10 @@ $button-disabled-opacity: 0.7 !default;
117
117
  //
118
118
  // We use this mixin to add button color styles
119
119
  //
120
- // $bg - Primary color set in settings file. Default: $primary-color.
120
+ // $bg - Primary color set in settings file. Default: $button-bg.
121
121
  // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: true
122
122
  // $disabled - We can set $disabled:true to create a disabled transparent button. Default: false
123
- @mixin button-style($bg:$primary-color, $radius:false, $disabled:false) {
123
+ @mixin button-style($bg:$button-bg, $radius:false, $disabled:false) {
124
124
 
125
125
  // We control which background styles are used,
126
126
  // these can be removed by setting $bg:false
@@ -166,13 +166,13 @@ $button-disabled-opacity: 0.7 !default;
166
166
  // We use this to quickly create buttons with a single mixin. As @jaredhardy puts it, "the kitchen sink mixin"
167
167
  //
168
168
  // $padding - Used to build padding for buttons Default: $button-med ||= rem-calc(12)
169
- // $bg - Primary color set in settings file. Default: $primary-color.
169
+ // $bg - Primary color set in settings file. Default: $button-bg.
170
170
  // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false.
171
171
  // $full-width - We can set $full-width:true to remove side padding extend width. Default:false.
172
172
  // $disabled - We can set $disabled:true to create a disabled transparent button. Default:false.
173
173
  // $is-input - <input>'s and <button>'s take on strange padding. We added this to help fix that. Default:false.
174
174
  // $is-prefix - Not used? Default:false.
175
- @mixin button($padding:$button-med, $bg:$primary-color, $radius:false, $full-width:false, $disabled:false, $is-prefix:false) {
175
+ @mixin button($padding:$button-med, $bg:$button-bg, $radius:false, $full-width:false, $disabled:false, $is-prefix:false) {
176
176
  @include button-base;
177
177
  @include button-size($padding, $full-width);
178
178
  @include button-style($bg, $radius, $disabled);
@@ -205,7 +205,7 @@ $button-disabled-opacity: 0.7 !default;
205
205
  &.radius { @include button-style($bg:false, $radius:true); }
206
206
  &.round { @include button-style($bg:false, $radius:$button-round); }
207
207
 
208
- &.disabled, &[disabled] { @include button-style($bg:$primary-color, $disabled:true);
208
+ &.disabled, &[disabled] { @include button-style($bg:$button-bg, $disabled:true);
209
209
  &.secondary { @include button-style($bg:$secondary-color, $disabled:true); }
210
210
  &.success { @include button-style($bg:$success-color, $disabled:true); }
211
211
  &.alert { @include button-style($bg:$alert-color, $disabled:true); }