foundation-rails 5.2.2.0 → 5.2.3.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.
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
@@ -20,14 +20,14 @@ $topbar-height: 45px !default;
20
20
  $topbar-margin-bottom: 0 !default;
21
21
 
22
22
  // Controlling the styles for the title in the top bar
23
- $topbar-title-weight: normal !default;
23
+ $topbar-title-weight: $font-weight-normal !default;
24
24
  $topbar-title-font-size: rem-calc(17) !default;
25
25
 
26
26
  // Style the top bar dropdown elements
27
27
  $topbar-dropdown-bg: #333 !default;
28
28
  $topbar-dropdown-link-color: #fff !default;
29
29
  $topbar-dropdown-link-bg: #333 !default;
30
- $topbar-dropdown-link-weight: normal !default;
30
+ $topbar-dropdown-link-weight: $font-weight-normal !default;
31
31
  $topbar-dropdown-toggle-size: 5px !default;
32
32
  $topbar-dropdown-toggle-color: #fff !default;
33
33
  $topbar-dropdown-toggle-alpha: 0.4 !default;
@@ -37,7 +37,7 @@ $topbar-link-color: #fff !default;
37
37
  $topbar-link-color-hover: #fff !default;
38
38
  $topbar-link-color-active: #fff !default;
39
39
  $topbar-link-color-active-hover: #fff !default;
40
- $topbar-link-weight: normal !default;
40
+ $topbar-link-weight: $font-weight-normal !default;
41
41
  $topbar-link-font-size: rem-calc(13) !default;
42
42
  $topbar-link-hover-lightness: -10% !default; // Darken by 10%
43
43
  $topbar-link-bg: $topbar-bg !default;
@@ -53,14 +53,14 @@ $topbar-button-top: 7px !default;
53
53
 
54
54
  $topbar-dropdown-label-color: #777 !default;
55
55
  $topbar-dropdown-label-text-transform: uppercase !default;
56
- $topbar-dropdown-label-font-weight: bold !default;
56
+ $topbar-dropdown-label-font-weight: $font-weight-bold !default;
57
57
  $topbar-dropdown-label-font-size: rem-calc(10) !default;
58
58
  $topbar-dropdown-label-bg: #333 !default;
59
59
 
60
60
  // Top menu icon styles
61
61
  $topbar-menu-link-transform: uppercase !default;
62
62
  $topbar-menu-link-font-size: rem-calc(13) !default;
63
- $topbar-menu-link-weight: bold !default;
63
+ $topbar-menu-link-weight: $font-weight-bold !default;
64
64
  $topbar-menu-link-color: #fff !default;
65
65
  $topbar-menu-icon-color: #fff !default;
66
66
  $topbar-menu-link-color-toggled: #888 !default;
@@ -73,7 +73,7 @@ $topbar-breakpoint: #{lower-bound($medium-range)} !default; // Change to 9999px
73
73
  $topbar-media-query: $medium-up !default;
74
74
 
75
75
  // Divider Styles
76
- $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
76
+ $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
77
77
  $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
78
78
 
79
79
  // Sticky Class
@@ -228,22 +228,23 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
228
228
  height: 34px;
229
229
  line-height: 33px;
230
230
  padding: 0;
231
- padding-right: 25px;
232
231
  color: $topbar-menu-link-color;
233
232
  position: relative;
234
233
 
235
234
  &::after {
236
- content:"";
237
- position: absolute;
235
+ // @include hamburger icon
236
+ //
237
+ // We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
238
+ // $width - Width of hamburger icon
239
+ // $left - If false, icon will be centered horizontally || explicitly set value in rem
240
+ // $top - If false, icon will be centered vertically || explicitly set value in rem
241
+ // $thickness - thickness of lines in hamburger icon, set value in px
242
+ // $gap - spacing between the lines in hamburger icon, set value in px
243
+ // $color - icon color
244
+ // $hover-color - icon color during hover, here it is set the same as $color because the values are changed on line 264
245
+ // $offcanvas - Set to false of @include in topbar
246
+ @include hamburger(16px, false, 0, 1px, 6px, $topbar-menu-icon-color, $topbar-menu-icon-color, false );
238
247
  #{$opposite-direction}: 0;
239
- display: block;
240
- width: 16px;
241
- top:0;
242
- height: 0;
243
- // Shh, don't tell, but box-shadows create the menu icon :)
244
- box-shadow: 0 10px 0 1px $topbar-menu-icon-color,
245
- 0 16px 0 1px $topbar-menu-icon-color,
246
- 0 22px 0 1px $topbar-menu-icon-color;
247
248
  }
248
249
  }
249
250
  }
@@ -280,10 +281,10 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
280
281
  @include single-transition($default-float, $topbar-transition-speed);
281
282
 
282
283
  ul {
284
+ padding: 0;
283
285
  width: 100%;
284
286
  height: auto;
285
287
  display: block;
286
- background: $topbar-dropdown-bg;
287
288
  font-size: $rem-base;
288
289
  margin: 0;
289
290
  }
@@ -297,6 +298,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
297
298
  }
298
299
 
299
300
  ul li {
301
+ background: $topbar-dropdown-bg;
300
302
  & > a {
301
303
  display: block;
302
304
  width: 100%;
@@ -307,7 +309,6 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
307
309
  font-size: $topbar-link-font-size;
308
310
  font-weight: $topbar-link-weight;
309
311
  text-transform: $topbar-link-text-transform;
310
- background: $topbar-dropdown-bg;
311
312
 
312
313
 
313
314
  &.button {
@@ -317,8 +318,8 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
317
318
  @include button-style($bg:$primary-color);
318
319
  }
319
320
  &.button.secondary { @include button-style($bg:$secondary-color); }
320
- &.button.success { @include button-style($bg:$success-color); }
321
- &.button.alert { @include button-style($bg:$alert-color); }
321
+ &.button.success { @include button-style($bg:$success-color); }
322
+ &.button.alert { @include button-style($bg:$alert-color); }
322
323
  }
323
324
 
324
325
  > button {
@@ -328,8 +329,8 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
328
329
  @include button-style($bg:$primary-color);
329
330
 
330
331
  &.secondary { @include button-style($bg:$secondary-color); }
331
- &.success { @include button-style($bg:$success-color); }
332
- &.alert { @include button-style($bg:$alert-color); }
332
+ &.success { @include button-style($bg:$success-color); }
333
+ &.alert { @include button-style($bg:$alert-color); }
333
334
  }
334
335
 
335
336
  // Apply the hover link color when it has that class
@@ -383,6 +384,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
383
384
 
384
385
  // Styling elements inside of dropdowns
385
386
  .dropdown {
387
+ padding: 0;
386
388
  position: absolute;
387
389
  #{$default-float}: 100%;
388
390
  top: 0;
@@ -401,7 +403,9 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
401
403
  }
402
404
  }
403
405
 
404
- &.title h5 { margin-bottom: 0;
406
+ &.title h5 {
407
+ margin-bottom: 0;
408
+ margin-top: 0;
405
409
  a {
406
410
  color: $topbar-link-color;
407
411
  line-height: $topbar-height / 2;
@@ -547,7 +551,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
547
551
  li {
548
552
  a {
549
553
  color: $topbar-dropdown-link-color;
550
- line-height: 1;
554
+ line-height: $topbar-height;
551
555
  white-space: nowrap;
552
556
  padding: 12px $topbar-link-padding;
553
557
  background: $topbar-dropdown-link-bg;
@@ -555,7 +559,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
555
559
 
556
560
  &:not(.has-form) a:not(.button) {
557
561
  color: $topbar-dropdown-link-color;
558
- background: $topbar-dropdown-link-bg;
562
+ background: $topbar-dropdown-link-bg;
559
563
  }
560
564
  &:not(.has-form):hover > a:not(.button) {
561
565
  color: $topbar-link-color-hover;
@@ -8,8 +8,8 @@ $include-html-type-classes: $include-html-classes !default;
8
8
 
9
9
  // We use these to control header font styles
10
10
  $header-font-family: $body-font-family !default;
11
- $header-font-weight: normal !default;
12
- $header-font-style: normal !default;
11
+ $header-font-weight: $font-weight-normal !default;
12
+ $header-font-style: $font-weight-normal !default;
13
13
  $header-font-color: #222 !default;
14
14
  $header-line-height: 1.4 !default;
15
15
  $header-top-margin: .2rem !default;
@@ -24,10 +24,18 @@ $h4-font-size: rem-calc(23) !default;
24
24
  $h5-font-size: rem-calc(18) !default;
25
25
  $h6-font-size: 1rem !default;
26
26
 
27
+ // We use these to control header size reduction on small screens
28
+ $h1-font-reduction: rem-calc(10) !default;
29
+ $h2-font-reduction: rem-calc(10) !default;
30
+ $h3-font-reduction: rem-calc(5) !default;
31
+ $h4-font-reduction: rem-calc(5) !default;
32
+ $h5-font-reduction: 0 !default;
33
+ $h6-font-reduction: 0 !default;
34
+
27
35
  // These control how subheaders are styled.
28
36
  $subheader-line-height: 1.4 !default;
29
37
  $subheader-font-color: scale-color($header-font-color, $lightness: 35%) !default;
30
- $subheader-font-weight: normal !default;
38
+ $subheader-font-weight: $font-weight-normal !default;
31
39
  $subheader-top-margin: .2rem !default;
32
40
  $subheader-bottom-margin: .5rem !default;
33
41
 
@@ -37,7 +45,7 @@ $small-font-color: scale-color($header-font-color, $lightness: 35%) !default;
37
45
 
38
46
  // We use these to style paragraphs
39
47
  $paragraph-font-family: inherit !default;
40
- $paragraph-font-weight: normal !default;
48
+ $paragraph-font-weight: $font-weight-normal !default;
41
49
  $paragraph-font-size: 1rem !default;
42
50
  $paragraph-line-height: 1.6 !default;
43
51
  $paragraph-margin-bottom: rem-calc(20) !default;
@@ -49,10 +57,11 @@ $paragraph-text-rendering: optimizeLegibility !default;
49
57
  // We use these to style <code> tags
50
58
  $code-color: scale-color($alert-color, $lightness: -27%) !default;
51
59
  $code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
52
- $code-font-weight: bold !default;
60
+ $code-font-weight: $font-weight-bold !default;
53
61
 
54
62
  // We use these to style anchors
55
63
  $anchor-text-decoration: none !default;
64
+ $anchor-text-decoration-hover: none !default;
56
65
  $anchor-font-color: $primary-color !default;
57
66
  $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%) !default;
58
67
 
@@ -63,12 +72,16 @@ $hr-border-color: #ddd !default;
63
72
  $hr-margin: rem-calc(20) !default;
64
73
 
65
74
  // We use these to style lists
75
+ $list-font-family: $paragraph-font-family !default;
76
+ $list-font-size: $paragraph-font-size !default;
77
+ $list-line-height: $paragraph-line-height !default;
78
+ $list-margin-bottom: $paragraph-margin-bottom !default;
66
79
  $list-style-position: outside !default;
67
80
  $list-side-margin: 1.1rem !default;
68
81
  $list-ordered-side-margin: 1.4rem !default;
69
82
  $list-side-margin-no-bullet: 0 !default;
70
83
  $list-nested-margin: rem-calc(20) !default;
71
- $definition-list-header-weight: bold !default;
84
+ $definition-list-header-weight: $font-weight-bold !default;
72
85
  $definition-list-header-margin-bottom: .3rem !default;
73
86
  $definition-list-margin-bottom: rem-calc(12) !default;
74
87
 
@@ -93,17 +106,17 @@ $microformat-border-style: solid !default;
93
106
  $microformat-border-color: #ddd !default;
94
107
 
95
108
  // We use these to control full name font styles
96
- $microformat-fullname-font-weight: bold !default;
109
+ $microformat-fullname-font-weight: $font-weight-bold !default;
97
110
  $microformat-fullname-font-size: rem-calc(15) !default;
98
111
 
99
112
  // We use this to control the summary font styles
100
- $microformat-summary-font-weight: bold !default;
113
+ $microformat-summary-font-weight: $font-weight-bold !default;
101
114
 
102
115
  // We use this to control abbr padding
103
116
  $microformat-abbr-padding: rem-calc(0 1) !default;
104
117
 
105
118
  // We use this to control abbr font styles
106
- $microformat-abbr-font-weight: bold !default;
119
+ $microformat-abbr-font-weight: $font-weight-bold !default;
107
120
  $microformat-abbr-font-decoration: none !default;
108
121
 
109
122
  // Text alignment class names
@@ -202,7 +215,12 @@ $align-class-breakpoints:
202
215
  line-height: inherit;
203
216
 
204
217
  &:hover,
205
- &:focus { color: $anchor-font-color-hover; }
218
+ &:focus {
219
+ color: $anchor-font-color-hover;
220
+ @if $anchor-text-decoration-hover != $anchor-text-decoration {
221
+ text-decoration: $anchor-text-decoration-hover;
222
+ }
223
+ }
206
224
 
207
225
  img { border:none; }
208
226
  }
@@ -243,12 +261,12 @@ $align-class-breakpoints:
243
261
  }
244
262
  }
245
263
 
246
- h1 { font-size: $h1-font-size - rem-calc(10); }
247
- h2 { font-size: $h2-font-size - rem-calc(10); }
248
- h3 { font-size: $h3-font-size - rem-calc(5); }
249
- h4 { font-size: $h4-font-size - rem-calc(5); }
250
- h5 { font-size: $h5-font-size; }
251
- h6 { font-size: $h6-font-size; }
264
+ h1 { font-size: $h1-font-size - $h1-font-reduction; }
265
+ h2 { font-size: $h2-font-size - $h2-font-reduction; }
266
+ h3 { font-size: $h3-font-size - $h3-font-reduction; }
267
+ h4 { font-size: $h4-font-size - $h4-font-reduction; }
268
+ h5 { font-size: $h5-font-size - $h5-font-reduction; }
269
+ h6 { font-size: $h6-font-size - $h6-font-reduction; }
252
270
 
253
271
  .subheader { @include subheader; }
254
272
 
@@ -269,7 +287,7 @@ $align-class-breakpoints:
269
287
 
270
288
  strong,
271
289
  b {
272
- font-weight: bold;
290
+ font-weight: $font-weight-bold;
273
291
  line-height: inherit;
274
292
  }
275
293
 
@@ -288,11 +306,11 @@ $align-class-breakpoints:
288
306
  ul,
289
307
  ol,
290
308
  dl {
291
- font-size: $paragraph-font-size;
292
- line-height: $paragraph-line-height;
293
- margin-bottom: $paragraph-margin-bottom;
309
+ font-size: $list-font-size;
310
+ line-height: $list-line-height;
311
+ margin-bottom: $list-margin-bottom;
294
312
  list-style-position: $list-style-position;
295
- font-family: $paragraph-font-family;
313
+ font-family: $list-font-family;
296
314
  }
297
315
 
298
316
  ul {
@@ -8,6 +8,7 @@
8
8
  // Foundation Visibility Classes
9
9
  //
10
10
  $include-html-visibility-classes: $include-html-classes !default;
11
+ $include-accessibility-classes: true !default;
11
12
  $include-table-visibility-classes: true !default;
12
13
  $include-legacy-visibility-classes: true !default;
13
14
 
@@ -34,6 +35,9 @@ $visibility-breakpoint-queries:
34
35
  $visibility-inherit-list: ();
35
36
  $visibility-none-list: ();
36
37
 
38
+ $visibility-visible-list: ();
39
+ $visibility-hidden-list: ();
40
+
37
41
  $visibility-table-list: ();
38
42
  $visibility-table-header-group-list: ();
39
43
  $visibility-table-row-group-list: ();
@@ -50,6 +54,12 @@ $visibility-breakpoint-queries:
50
54
  $visibility-none-list: append($visibility-none-list, unquote(
51
55
  '.show-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
52
56
  ), comma);
57
+ $visibility-visible-list: append($visibility-visible-list, unquote(
58
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
59
+ ), comma);
60
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
61
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
62
+ ), comma);
53
63
  $visibility-table-list: append($visibility-table-list, unquote(
54
64
  'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
55
65
  ), comma);
@@ -76,6 +86,12 @@ $visibility-breakpoint-queries:
76
86
  $visibility-none-list: append($visibility-none-list, unquote(
77
87
  '.show-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
78
88
  ), comma);
89
+ $visibility-visible-list: append($visibility-visible-list, unquote(
90
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
91
+ ), comma);
92
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
93
+ '.visible-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
94
+ ), comma);
79
95
  $visibility-table-list: append($visibility-table-list, unquote(
80
96
  'table.hide-for-#{$visibility-comparison-breakpoint}, table.hide-for-#{$visibility-comparison-breakpoint}-down'
81
97
  ), comma);
@@ -102,6 +118,12 @@ $visibility-breakpoint-queries:
102
118
  $visibility-none-list: append($visibility-none-list, unquote(
103
119
  '.show-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
104
120
  ), comma);
121
+ $visibility-visible-list: append($visibility-visible-list, unquote(
122
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
123
+ ), comma);
124
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
125
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
126
+ ), comma);
105
127
  $visibility-table-list: append($visibility-table-list, unquote(
106
128
  'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.hide-for-#{$visibility-comparison-breakpoint}-up'
107
129
  ), comma);
@@ -128,6 +150,12 @@ $visibility-breakpoint-queries:
128
150
  $visibility-none-list: append($visibility-none-list, unquote(
129
151
  '.show-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
130
152
  ), comma);
153
+ $visibility-visible-list: append($visibility-visible-list, unquote(
154
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
155
+ ), comma);
156
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
157
+ '.visible-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
158
+ ), comma);
131
159
  $visibility-table-list: append($visibility-table-list, unquote(
132
160
  'table.hide-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
133
161
  ), comma);
@@ -154,6 +182,12 @@ $visibility-breakpoint-queries:
154
182
  $visibility-none-list: append($visibility-none-list, unquote(
155
183
  '.hide-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
156
184
  ), comma);
185
+ $visibility-visible-list: append($visibility-visible-list, unquote(
186
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
187
+ ), comma);
188
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
189
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
190
+ ), comma);
157
191
  $visibility-table-list: append($visibility-table-list, unquote(
158
192
  'table.show-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
159
193
  ), comma);
@@ -180,6 +214,12 @@ $visibility-breakpoint-queries:
180
214
  $visibility-none-list: append($visibility-none-list, unquote(
181
215
  '.hide-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
182
216
  ), comma);
217
+ $visibility-visible-list: append($visibility-visible-list, unquote(
218
+ '.visible-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
219
+ ), comma);
220
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
221
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
222
+ ), comma);
183
223
  $visibility-table-list: append($visibility-table-list, unquote(
184
224
  'table.show-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
185
225
  ), comma);
@@ -207,6 +247,14 @@ $visibility-breakpoint-queries:
207
247
  #{$visibility-none-list} {
208
248
  display: none !important;
209
249
  }
250
+ @if $include-accessibility-classes != false {
251
+ #{$visibility-visible-list} {
252
+ @include element-invisible-off;
253
+ }
254
+ #{$visibility-hidden-list} {
255
+ @include element-invisible;
256
+ }
257
+ }
210
258
  @if $include-table-visibility-classes != false {
211
259
  #{$visibility-table-list} {
212
260
  display: table;
@@ -342,4 +390,19 @@ $visibility-breakpoint-queries:
342
390
  th.hide-for-touch { display: table-cell !important; }
343
391
  .touch th.show-for-touch { display: table-cell !important; }
344
392
 
345
- }
393
+
394
+ /* Print visibility */
395
+ @media print {
396
+ .show-for-print { display: block; }
397
+ .hide-for-print { display: none; }
398
+
399
+ table.show-for-print { display: table; }
400
+ thead.show-for-print { display: table-header-group !important; }
401
+ tbody.show-for-print { display: table-row-group !important; }
402
+ tr.show-for-print { display: table-row !important; }
403
+ td.show-for-print { display: table-cell !important; }
404
+ th.show-for-print { display: table-cell !important; }
405
+
406
+ }
407
+
408
+ }
@@ -1,4 +1,4 @@
1
- /*! normalize.css v3.0.0 | MIT License | git.io/normalize */
1
+ /*! normalize.css v3.0.1 | MIT License | git.io/normalize */
2
2
 
3
3
  /**
4
4
  * 1. Set default font family to sans-serif.
@@ -24,7 +24,9 @@ body {
24
24
  ========================================================================== */
25
25
 
26
26
  /**
27
- * Correct `block` display not defined in IE 8/9.
27
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
28
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
29
+ * Correct `block` display not defined for `main` in IE 11.
28
30
  */
29
31
 
30
32
  article,
@@ -66,8 +68,8 @@ audio:not([controls]) {
66
68
  }
67
69
 
68
70
  /**
69
- * Address `[hidden]` styling not present in IE 8/9.
70
- * Hide the `template` element in IE, Safari, and Firefox < 22.
71
+ * Address `[hidden]` styling not present in IE 8/9/10.
72
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
71
73
  */
72
74
 
73
75
  [hidden],
@@ -99,7 +101,7 @@ a:hover {
99
101
  ========================================================================== */
100
102
 
101
103
  /**
102
- * Address styling not present in IE 8/9, Safari 5, and Chrome.
104
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
103
105
  */
104
106
 
105
107
  abbr[title] {
@@ -107,7 +109,7 @@ abbr[title] {
107
109
  }
108
110
 
109
111
  /**
110
- * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
112
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
111
113
  */
112
114
 
113
115
  b,
@@ -116,7 +118,7 @@ strong {
116
118
  }
117
119
 
118
120
  /**
119
- * Address styling not present in Safari 5 and Chrome.
121
+ * Address styling not present in Safari and Chrome.
120
122
  */
121
123
 
122
124
  dfn {
@@ -125,7 +127,7 @@ dfn {
125
127
 
126
128
  /**
127
129
  * Address variable `h1` font-size and margin within `section` and `article`
128
- * contexts in Firefox 4+, Safari 5, and Chrome.
130
+ * contexts in Firefox 4+, Safari, and Chrome.
129
131
  */
130
132
 
131
133
  h1 {
@@ -174,7 +176,7 @@ sub {
174
176
  ========================================================================== */
175
177
 
176
178
  /**
177
- * Remove border when inside `a` element in IE 8/9.
179
+ * Remove border when inside `a` element in IE 8/9/10.
178
180
  */
179
181
 
180
182
  img {
@@ -182,7 +184,7 @@ img {
182
184
  }
183
185
 
184
186
  /**
185
- * Correct overflow displayed oddly in IE 9.
187
+ * Correct overflow not hidden in IE 9/10/11.
186
188
  */
187
189
 
188
190
  svg:not(:root) {
@@ -193,7 +195,7 @@ svg:not(:root) {
193
195
  ========================================================================== */
194
196
 
195
197
  /**
196
- * Address margin not present in IE 8/9 and Safari 5.
198
+ * Address margin not present in IE 8/9 and Safari.
197
199
  */
198
200
 
199
201
  figure {
@@ -242,7 +244,7 @@ samp {
242
244
  * 1. Correct color not being inherited.
243
245
  * Known issue: affects color of disabled elements.
244
246
  * 2. Correct font properties not being inherited.
245
- * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
247
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
246
248
  */
247
249
 
248
250
  button,
@@ -256,7 +258,7 @@ textarea {
256
258
  }
257
259
 
258
260
  /**
259
- * Address `overflow` set to `hidden` in IE 8/9/10.
261
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
260
262
  */
261
263
 
262
264
  button {
@@ -266,7 +268,7 @@ button {
266
268
  /**
267
269
  * Address inconsistent `text-transform` inheritance for `button` and `select`.
268
270
  * All other form control elements do not inherit `text-transform` values.
269
- * Correct `button` style inheritance in Firefox, IE 8+, and Opera
271
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
270
272
  * Correct `select` style inheritance in Firefox.
271
273
  */
272
274
 
@@ -345,8 +347,8 @@ input[type="number"]::-webkit-outer-spin-button {
345
347
  }
346
348
 
347
349
  /**
348
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
349
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
350
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
351
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
350
352
  * (include `-moz` to future-proof).
351
353
  */
352
354
 
@@ -379,7 +381,7 @@ fieldset {
379
381
  }
380
382
 
381
383
  /**
382
- * 1. Correct `color` not being inherited in IE 8/9.
384
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
383
385
  * 2. Remove padding so people aren't caught out if they zero out fieldsets.
384
386
  */
385
387
 
@@ -389,7 +391,7 @@ legend {
389
391
  }
390
392
 
391
393
  /**
392
- * Remove default vertical scrollbar in IE 8/9.
394
+ * Remove default vertical scrollbar in IE 8/9/10/11.
393
395
  */
394
396
 
395
397
  textarea {