va_common 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -4
  3. data/app/assets/js/va_common_main.js +16 -1
  4. data/lib/va_common/version.rb +1 -1
  5. data/lib/va_common.rb +4 -0
  6. data/va_common.gemspec +15 -0
  7. metadata +200 -177
  8. data/app/assets/js/foundation/foundation.abide.js +0 -408
  9. data/app/assets/js/foundation/foundation.accordion.js +0 -88
  10. data/app/assets/js/foundation/foundation.alert.js +0 -43
  11. data/app/assets/js/foundation/foundation.clearing.js +0 -586
  12. data/app/assets/js/foundation/foundation.dropdown.js +0 -463
  13. data/app/assets/js/foundation/foundation.equalizer.js +0 -104
  14. data/app/assets/js/foundation/foundation.interchange.js +0 -359
  15. data/app/assets/js/foundation/foundation.joyride.js +0 -932
  16. data/app/assets/js/foundation/foundation.js +0 -725
  17. data/app/assets/js/foundation/foundation.magellan.js +0 -215
  18. data/app/assets/js/foundation/foundation.offcanvas.js +0 -152
  19. data/app/assets/js/foundation/foundation.orbit.js +0 -476
  20. data/app/assets/js/foundation/foundation.reveal.js +0 -498
  21. data/app/assets/js/foundation/foundation.slider.js +0 -281
  22. data/app/assets/js/foundation/foundation.tab.js +0 -249
  23. data/app/assets/js/foundation/foundation.tooltip.js +0 -339
  24. data/app/assets/js/foundation/foundation.topbar.js +0 -458
  25. data/app/assets/js/foundation.min.js +0 -6376
  26. data/app/assets/js/vendor/html5shiv.js +0 -8
  27. data/app/assets/js/vendor/jquery-1.11.0.min.js +0 -4
  28. data/app/assets/js/vendor/jquery.js +0 -9789
  29. data/app/assets/js/vendor/jquery.smooth-scroll.js +0 -255
  30. data/app/assets/js/vendor/jquery.stellar.js +0 -651
  31. data/app/assets/js/vendor/jquery.tipsy.js +0 -258
  32. data/app/assets/js/vendor/menu.js +0 -40
  33. data/app/assets/js/vendor/modernizr.custom.js +0 -4
  34. data/app/assets/js/vendor/respond.min.js +0 -6
  35. data/app/assets/js/vendor/selectivizr-1.0.3b.js +0 -560
  36. data/app/assets/js/vendor/tota11y.min.js +0 -28
  37. data/app/assets/js/vendor/wow.min.js +0 -2
  38. data/app/assets/stylesheets/foundation/_functions.scss +0 -146
  39. data/app/assets/stylesheets/foundation/_settings.scss +0 -1467
  40. data/app/assets/stylesheets/foundation/_variables.scss +0 -1286
  41. data/app/assets/stylesheets/foundation/components/_accordion.scss +0 -157
  42. data/app/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  43. data/app/assets/stylesheets/foundation/components/_block-grid.scss +0 -132
  44. data/app/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  45. data/app/assets/stylesheets/foundation/components/_button-groups.scss +0 -200
  46. data/app/assets/stylesheets/foundation/components/_buttons.scss +0 -259
  47. data/app/assets/stylesheets/foundation/components/_clearing.scss +0 -256
  48. data/app/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -131
  49. data/app/assets/stylesheets/foundation/components/_dropdown.scss +0 -262
  50. data/app/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
  51. data/app/assets/stylesheets/foundation/components/_forms.scss +0 -570
  52. data/app/assets/stylesheets/foundation/components/_global.scss +0 -481
  53. data/app/assets/stylesheets/foundation/components/_grid.scss +0 -289
  54. data/app/assets/stylesheets/foundation/components/_icon-bar.scss +0 -358
  55. data/app/assets/stylesheets/foundation/components/_inline-lists.scss +0 -57
  56. data/app/assets/stylesheets/foundation/components/_joyride.scss +0 -222
  57. data/app/assets/stylesheets/foundation/components/_keystrokes.scss +0 -61
  58. data/app/assets/stylesheets/foundation/components/_labels.scss +0 -106
  59. data/app/assets/stylesheets/foundation/components/_magellan.scss +0 -34
  60. data/app/assets/stylesheets/foundation/components/_offcanvas.scss +0 -515
  61. data/app/assets/stylesheets/foundation/components/_orbit.scss +0 -368
  62. data/app/assets/stylesheets/foundation/components/_pagination.scss +0 -162
  63. data/app/assets/stylesheets/foundation/components/_panels.scss +0 -101
  64. data/app/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  65. data/app/assets/stylesheets/foundation/components/_progress-bars.scss +0 -79
  66. data/app/assets/stylesheets/foundation/components/_range-slider.scss +0 -169
  67. data/app/assets/stylesheets/foundation/components/_reveal.scss +0 -202
  68. data/app/assets/stylesheets/foundation/components/_side-nav.scss +0 -116
  69. data/app/assets/stylesheets/foundation/components/_split-buttons.scss +0 -199
  70. data/app/assets/stylesheets/foundation/components/_sub-nav.scss +0 -123
  71. data/app/assets/stylesheets/foundation/components/_switches.scss +0 -238
  72. data/app/assets/stylesheets/foundation/components/_tables.scss +0 -135
  73. data/app/assets/stylesheets/foundation/components/_tabs.scss +0 -123
  74. data/app/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
  75. data/app/assets/stylesheets/foundation/components/_toolbar.scss +0 -70
  76. data/app/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
  77. data/app/assets/stylesheets/foundation/components/_top-bar.scss +0 -691
  78. data/app/assets/stylesheets/foundation/components/_type.scss +0 -525
  79. data/app/assets/stylesheets/foundation/components/_visibility.scss +0 -408
  80. data/app/assets/stylesheets/lib/_normalize.scss +0 -427
  81. data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
  82. data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +0 -87
  83. data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +0 -26
  84. data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +0 -48
  85. data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +0 -25
  86. data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +0 -25
  87. data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +0 -64
  88. data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +0 -25
  89. data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +0 -30
  90. data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +0 -31
  91. data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +0 -27
  92. data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +0 -26
  93. data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +0 -26
  94. data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +0 -48
  95. data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +0 -66
  96. data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +0 -25
  97. data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +0 -51
  98. data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +0 -112
  99. data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +0 -34
  100. data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +0 -63
  101. data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +0 -29
  102. data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +0 -43
  103. data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +0 -3
  104. data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +0 -3
  105. data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +0 -42
  106. data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +0 -55
  107. data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +0 -59
  108. data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +0 -4
  109. data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +0 -47
  110. data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +0 -4
  111. data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +0 -287
  112. data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +0 -24
  113. data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +0 -4
  114. data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +0 -10
  115. data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +0 -4
  116. data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +0 -14
  117. data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +0 -36
  118. data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +0 -38
  119. data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +0 -8
  120. data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +0 -8
  121. data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +0 -39
  122. data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +0 -42
  123. data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +0 -19
  124. data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +0 -15
  125. data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +0 -71
  126. data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +0 -3
  127. data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +0 -11
  128. data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +0 -20
  129. data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +0 -26
  130. data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +0 -11
  131. data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +0 -21
  132. data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +0 -11
  133. data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +0 -13
  134. data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +0 -69
  135. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +0 -13
  136. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +0 -15
  137. data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +0 -24
  138. data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +0 -17
  139. data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +0 -24
  140. data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +0 -22
  141. data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +0 -27
  142. data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +0 -21
  143. data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +0 -96
  144. data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +0 -43
  145. data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  146. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +0 -25
  147. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  148. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +0 -61
  149. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  150. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +0 -69
  151. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  152. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +0 -18
  153. data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +0 -26
  154. data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +0 -10
  155. data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +0 -50
  156. data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +0 -7
  157. data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +0 -9
  158. data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +0 -1
  159. data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +0 -8
  160. data/app/assets/stylesheets/lib/neat/_neat.scss +0 -23
  161. data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +0 -49
  162. data/app/assets/stylesheets/lib/neat/functions/_private.scss +0 -114
  163. data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +0 -15
  164. data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +0 -33
  165. data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +0 -28
  166. data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +0 -22
  167. data/app/assets/stylesheets/lib/neat/grid/_media.scss +0 -92
  168. data/app/assets/stylesheets/lib/neat/grid/_omega.scss +0 -87
  169. data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +0 -38
  170. data/app/assets/stylesheets/lib/neat/grid/_pad.scss +0 -25
  171. data/app/assets/stylesheets/lib/neat/grid/_private.scss +0 -35
  172. data/app/assets/stylesheets/lib/neat/grid/_row.scss +0 -52
  173. data/app/assets/stylesheets/lib/neat/grid/_shift.scss +0 -50
  174. data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +0 -94
  175. data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +0 -97
  176. data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +0 -42
  177. data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +0 -13
  178. data/app/assets/stylesheets/lib/neat/settings/_grid.scss +0 -51
  179. data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +0 -27
  180. data/app/assets/stylesheets/va_common_main.css.scss +0 -18
  181. /data/app/assets/js/{vendor/scroll-settings.js → scroll-settings.js} +0 -0
  182. /data/app/assets/js/{vendor/stellar-settings.js → stellar-settings.js} +0 -0
@@ -1,408 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // Foundation Visibility Classes
9
- //
10
- $include-html-visibility-classes: $include-html-classes !default;
11
- $include-accessibility-classes: true !default;
12
- $include-table-visibility-classes: true !default;
13
- $include-legacy-visibility-classes: true !default;
14
-
15
- //
16
- // Media Class Names
17
- //
18
- // Visibility Breakpoints
19
- $visibility-breakpoint-sizes:
20
- small,
21
- medium,
22
- large,
23
- xlarge,
24
- xxlarge;
25
-
26
- $visibility-breakpoint-queries:
27
- unquote($small-up),
28
- unquote($medium-up),
29
- unquote($large-up),
30
- unquote($xlarge-up),
31
- unquote($xxlarge-up);
32
-
33
- @mixin visibility-loop {
34
- @each $current-visibility-breakpoint in $visibility-breakpoint-sizes {
35
- $visibility-inherit-list: ();
36
- $visibility-none-list: ();
37
-
38
- $visibility-visible-list: ();
39
- $visibility-hidden-list: ();
40
-
41
- $visibility-table-list: ();
42
- $visibility-table-header-group-list: ();
43
- $visibility-table-row-group-list: ();
44
- $visibility-table-row-list: ();
45
- $visibility-table-cell-list: ();
46
-
47
- @each $visibility-comparison-breakpoint in $visibility-breakpoint-sizes {
48
- @if index($visibility-breakpoint-sizes, $visibility-comparison-breakpoint) < index($visibility-breakpoint-sizes, $current-visibility-breakpoint) {
49
- // Smaller than current breakpoint
50
-
51
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
52
- '.hide-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
53
- ), comma);
54
- $visibility-none-list: append($visibility-none-list, unquote(
55
- '.show-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
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);
63
- $visibility-table-list: append($visibility-table-list, unquote(
64
- 'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
65
- ), comma);
66
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
67
- 'thead.hide-for-#{$visibility-comparison-breakpoint}-only, thead.show-for-#{$visibility-comparison-breakpoint}-up'
68
- ), comma);
69
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
70
- 'tbody.hide-for-#{$visibility-comparison-breakpoint}-only, tbody.show-for-#{$visibility-comparison-breakpoint}-up'
71
- ), comma);
72
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
73
- 'tr.hide-for-#{$visibility-comparison-breakpoint}-only, tr.show-for-#{$visibility-comparison-breakpoint}-up'
74
- ), comma);
75
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
76
- 'th.hide-for-#{$visibility-comparison-breakpoint}-only, td.hide-for-#{$visibility-comparison-breakpoint}-only, th.show-for-#{$visibility-comparison-breakpoint}-up, td.show-for-#{$visibility-comparison-breakpoint}-up'
77
- ), comma);
78
-
79
- // Foundation 4 compatibility:
80
- // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
81
- // for small, medium, and large breakpoints only
82
- @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
83
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
84
- '.hide-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
85
- ), comma);
86
- $visibility-none-list: append($visibility-none-list, unquote(
87
- '.show-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
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);
95
- $visibility-table-list: append($visibility-table-list, unquote(
96
- 'table.hide-for-#{$visibility-comparison-breakpoint}, table.hide-for-#{$visibility-comparison-breakpoint}-down'
97
- ), comma);
98
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
99
- 'thead.hide-for-#{$visibility-comparison-breakpoint}, thead.hide-for-#{$visibility-comparison-breakpoint}-down'
100
- ), comma);
101
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
102
- 'tbody.hide-for-#{$visibility-comparison-breakpoint}, tbody.hide-for-#{$visibility-comparison-breakpoint}-down'
103
- ), comma);
104
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
105
- 'tr.hide-for-#{$visibility-comparison-breakpoint}, tr.hide-for-#{$visibility-comparison-breakpoint}-down'
106
- ), comma);
107
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
108
- 'th.hide-for-#{$visibility-comparison-breakpoint}, td.hide-for-#{$visibility-comparison-breakpoint}, th.hide-for-#{$visibility-comparison-breakpoint}-down, td.hide-for-#{$visibility-comparison-breakpoint}-down'
109
- ), comma);
110
- }
111
-
112
- } @else if index($visibility-breakpoint-sizes, $visibility-comparison-breakpoint) > index($visibility-breakpoint-sizes, $current-visibility-breakpoint) {
113
- // Larger than current breakpoint
114
-
115
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
116
- '.hide-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
117
- ), comma);
118
- $visibility-none-list: append($visibility-none-list, unquote(
119
- '.show-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
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);
127
- $visibility-table-list: append($visibility-table-list, unquote(
128
- 'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.hide-for-#{$visibility-comparison-breakpoint}-up'
129
- ), comma);
130
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
131
- 'thead.hide-for-#{$visibility-comparison-breakpoint}-only, thead.hide-for-#{$visibility-comparison-breakpoint}-up'
132
- ), comma);
133
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
134
- 'tbody.hide-for-#{$visibility-comparison-breakpoint}-only, tbody.hide-for-#{$visibility-comparison-breakpoint}-up'
135
- ), comma);
136
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
137
- 'tr.hide-for-#{$visibility-comparison-breakpoint}-only, tr.hide-for-#{$visibility-comparison-breakpoint}-up'
138
- ), comma);
139
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
140
- 'th.hide-for-#{$visibility-comparison-breakpoint}-only, td.hide-for-#{$visibility-comparison-breakpoint}-only, th.hide-for-#{$visibility-comparison-breakpoint}-up, td.hide-for-#{$visibility-comparison-breakpoint}-up'
141
- ), comma);
142
-
143
- // Foundation 4 compatibility:
144
- // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
145
- // for small, medium, and large breakpoints only
146
- @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
147
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
148
- '.hide-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
149
- ), comma);
150
- $visibility-none-list: append($visibility-none-list, unquote(
151
- '.show-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
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);
159
- $visibility-table-list: append($visibility-table-list, unquote(
160
- 'table.hide-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
161
- ), comma);
162
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
163
- 'thead.hide-for-#{$visibility-comparison-breakpoint}, thead.show-for-#{$visibility-comparison-breakpoint}-down'
164
- ), comma);
165
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
166
- 'tbody.hide-for-#{$visibility-comparison-breakpoint}, tbody.show-for-#{$visibility-comparison-breakpoint}-down'
167
- ), comma);
168
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
169
- 'tr.hide-for-#{$visibility-comparison-breakpoint}, tr.show-for-#{$visibility-comparison-breakpoint}-down'
170
- ), comma);
171
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
172
- 'th.hide-for-#{$visibility-comparison-breakpoint}, td.hide-for-#{$visibility-comparison-breakpoint}, th.show-for-#{$visibility-comparison-breakpoint}-down, td.show-for-#{$visibility-comparison-breakpoint}-down'
173
- ), comma);
174
- }
175
-
176
- } @else {
177
- // Current breakpoint
178
-
179
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
180
- '.show-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
181
- ), comma);
182
- $visibility-none-list: append($visibility-none-list, unquote(
183
- '.hide-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
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);
191
- $visibility-table-list: append($visibility-table-list, unquote(
192
- 'table.show-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
193
- ), comma);
194
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
195
- 'thead.show-for-#{$visibility-comparison-breakpoint}-only, thead.show-for-#{$visibility-comparison-breakpoint}-up'
196
- ), comma);
197
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
198
- 'tbody.show-for-#{$visibility-comparison-breakpoint}-only, tbody.show-for-#{$visibility-comparison-breakpoint}-up'
199
- ), comma);
200
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
201
- 'tr.show-for-#{$visibility-comparison-breakpoint}-only, tr.show-for-#{$visibility-comparison-breakpoint}-up'
202
- ), comma);
203
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
204
- 'th.show-for-#{$visibility-comparison-breakpoint}-only, td.show-for-#{$visibility-comparison-breakpoint}-only, th.show-for-#{$visibility-comparison-breakpoint}-up, td.show-for-#{$visibility-comparison-breakpoint}-up'
205
- ), comma);
206
-
207
- // Foundation 4 compatibility:
208
- // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
209
- // for small, medium, and large breakpoints only
210
- @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
211
- $visibility-inherit-list: append($visibility-inherit-list, unquote(
212
- '.show-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
213
- ), comma);
214
- $visibility-none-list: append($visibility-none-list, unquote(
215
- '.hide-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
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);
223
- $visibility-table-list: append($visibility-table-list, unquote(
224
- 'table.show-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
225
- ), comma);
226
- $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
227
- 'thead.show-for-#{$visibility-comparison-breakpoint}, thead.show-for-#{$visibility-comparison-breakpoint}-down'
228
- ), comma);
229
- $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
230
- 'tbody.show-for-#{$visibility-comparison-breakpoint}, tbody.show-for-#{$visibility-comparison-breakpoint}-down'
231
- ), comma);
232
- $visibility-table-row-list: append($visibility-table-row-list, unquote(
233
- 'tr.show-for-#{$visibility-comparison-breakpoint}, tr.show-for-#{$visibility-comparison-breakpoint}-down'
234
- ), comma);
235
- $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
236
- 'th.show-for-#{$visibility-comparison-breakpoint}, td.show-for-#{$visibility-comparison-breakpoint}, th.show-for-#{$visibility-comparison-breakpoint}-down, td.show-for-#{$visibility-comparison-breakpoint}-down'
237
- ), comma);
238
- }
239
- }
240
- }
241
-
242
- /* #{$current-visibility-breakpoint} displays */
243
- @media #{nth($visibility-breakpoint-queries, index($visibility-breakpoint-sizes, $current-visibility-breakpoint))} {
244
- #{$visibility-inherit-list} {
245
- display: inherit !important;
246
- }
247
- #{$visibility-none-list} {
248
- display: none !important;
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
- }
258
- @if $include-table-visibility-classes != false {
259
- #{$visibility-table-list} {
260
- display: table !important;
261
- }
262
- #{$visibility-table-header-group-list} {
263
- display: table-header-group !important;
264
- }
265
- #{$visibility-table-row-group-list} {
266
- display: table-row-group !important;
267
- }
268
- #{$visibility-table-row-list} {
269
- display: table-row !important;
270
- }
271
- #{$visibility-table-cell-list} {
272
- display: table-cell !important;
273
- }
274
- }
275
- }
276
- }
277
- }
278
-
279
-
280
- @if $include-html-visibility-classes != false {
281
-
282
- @include visibility-loop;
283
-
284
- /* Orientation targeting */
285
- .show-for-landscape,
286
- .hide-for-portrait { display: inherit !important; }
287
- .hide-for-landscape,
288
- .show-for-portrait { display: none !important; }
289
-
290
- /* Specific visibility for tables */
291
- table {
292
- &.hide-for-landscape,
293
- &.show-for-portrait { display: table !important; }
294
- }
295
- thead {
296
- &.hide-for-landscape,
297
- &.show-for-portrait { display: table-header-group !important; }
298
- }
299
- tbody {
300
- &.hide-for-landscape,
301
- &.show-for-portrait { display: table-row-group !important; }
302
- }
303
- tr {
304
- &.hide-for-landscape,
305
- &.show-for-portrait { display: table-row !important; }
306
- }
307
- td,
308
- th {
309
- &.hide-for-landscape,
310
- &.show-for-portrait { display: table-cell !important; }
311
- }
312
-
313
- @media #{$landscape} {
314
- .show-for-landscape,
315
- .hide-for-portrait { display: inherit !important; }
316
- .hide-for-landscape,
317
- .show-for-portrait { display: none !important; }
318
-
319
- /* Specific visibility for tables */
320
- table {
321
- &.show-for-landscape,
322
- &.hide-for-portrait { display: table !important; }
323
- }
324
- thead {
325
- &.show-for-landscape,
326
- &.hide-for-portrait { display: table-header-group !important; }
327
- }
328
- tbody {
329
- &.show-for-landscape,
330
- &.hide-for-portrait { display: table-row-group !important; }
331
- }
332
- tr {
333
- &.show-for-landscape,
334
- &.hide-for-portrait { display: table-row !important; }
335
- }
336
- td,
337
- th {
338
- &.show-for-landscape,
339
- &.hide-for-portrait { display: table-cell !important; }
340
- }
341
- }
342
-
343
- @media #{$portrait} {
344
- .show-for-portrait,
345
- .hide-for-landscape { display: inherit !important; }
346
- .hide-for-portrait,
347
- .show-for-landscape { display: none !important; }
348
-
349
- /* Specific visibility for tables */
350
- table {
351
- &.show-for-portrait,
352
- &.hide-for-landscape { display: table !important; }
353
- }
354
- thead {
355
- &.show-for-portrait,
356
- &.hide-for-landscape { display: table-header-group !important; }
357
- }
358
- tbody {
359
- &.show-for-portrait,
360
- &.hide-for-landscape { display: table-row-group !important; }
361
- }
362
- tr {
363
- &.show-for-portrait,
364
- &.hide-for-landscape { display: table-row !important; }
365
- }
366
- td,
367
- th {
368
- &.show-for-portrait,
369
- &.hide-for-landscape { display: table-cell !important; }
370
- }
371
- }
372
-
373
- /* Touch-enabled device targeting */
374
- .show-for-touch { display: none !important; }
375
- .hide-for-touch { display: inherit !important; }
376
- .touch .show-for-touch { display: inherit !important; }
377
- .touch .hide-for-touch { display: none !important; }
378
-
379
- /* Specific visibility for tables */
380
- table.hide-for-touch { display: table !important; }
381
- .touch table.show-for-touch { display: table !important; }
382
- thead.hide-for-touch { display: table-header-group !important; }
383
- .touch thead.show-for-touch { display: table-header-group !important; }
384
- tbody.hide-for-touch { display: table-row-group !important; }
385
- .touch tbody.show-for-touch { display: table-row-group !important; }
386
- tr.hide-for-touch { display: table-row !important; }
387
- .touch tr.show-for-touch { display: table-row !important; }
388
- td.hide-for-touch { display: table-cell !important; }
389
- .touch td.show-for-touch { display: table-cell !important; }
390
- th.hide-for-touch { display: table-cell !important; }
391
- .touch th.show-for-touch { display: table-cell !important; }
392
-
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 !important; }
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
- }