foundation-rails 5.5.3.2 → 6.1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/README.md +2 -8
  4. data/Rakefile +23 -0
  5. data/app/views/foundation/rails/styleguide/show.html.erb +2 -5
  6. data/bower.json +2 -2
  7. data/lib/foundation/rails/version.rb +1 -1
  8. data/lib/generators/foundation/install_generator.rb +6 -3
  9. data/lib/generators/foundation/templates/_settings.scss +546 -0
  10. data/lib/generators/foundation/templates/application.html.erb +0 -1
  11. data/lib/generators/foundation/templates/application.html.haml +0 -2
  12. data/lib/generators/foundation/templates/application.html.slim +0 -2
  13. data/lib/generators/foundation/templates/foundation_and_overrides.scss +51 -0
  14. data/vendor/assets/js/foundation.abide.js +418 -0
  15. data/vendor/assets/js/foundation.accordion.js +229 -0
  16. data/vendor/assets/js/foundation.accordionMenu.js +262 -0
  17. data/vendor/assets/js/foundation.core.js +378 -0
  18. data/vendor/assets/js/foundation.drilldown.js +321 -0
  19. data/vendor/assets/js/foundation.dropdown.js +390 -0
  20. data/vendor/assets/js/foundation.dropdownMenu.js +391 -0
  21. data/vendor/assets/js/foundation.equalizer.js +274 -0
  22. data/vendor/assets/js/foundation.interchange.js +184 -0
  23. data/vendor/assets/js/foundation.js +28 -0
  24. data/vendor/assets/js/foundation.magellan.js +212 -0
  25. data/vendor/assets/js/foundation.offcanvas.js +371 -0
  26. data/vendor/assets/js/foundation.orbit.js +419 -0
  27. data/vendor/assets/js/foundation.responsiveMenu.js +145 -0
  28. data/vendor/assets/js/foundation.responsiveToggle.js +106 -0
  29. data/vendor/assets/js/foundation.reveal.js +478 -0
  30. data/vendor/assets/js/foundation.slider.js +484 -0
  31. data/vendor/assets/js/foundation.sticky.js +436 -0
  32. data/vendor/assets/js/foundation.tabs.js +306 -0
  33. data/vendor/assets/js/foundation.toggler.js +147 -0
  34. data/vendor/assets/js/foundation.tooltip.js +429 -0
  35. data/vendor/assets/js/foundation.util.box.js +169 -0
  36. data/vendor/assets/js/foundation.util.keyboard.js +115 -0
  37. data/vendor/assets/js/foundation.util.mediaQuery.js +210 -0
  38. data/vendor/assets/js/foundation.util.motion.js +89 -0
  39. data/vendor/assets/js/foundation.util.nest.js +64 -0
  40. data/vendor/assets/js/foundation.util.timerAndImageLoader.js +78 -0
  41. data/vendor/assets/js/foundation.util.touch.js +339 -0
  42. data/vendor/assets/js/foundation.util.triggers.js +222 -0
  43. data/vendor/assets/scss/_global.scss +626 -0
  44. data/vendor/assets/scss/components/_accordion-menu.scss +32 -0
  45. data/vendor/assets/scss/components/_accordion.scss +113 -0
  46. data/vendor/assets/scss/components/_badge.scss +55 -0
  47. data/vendor/assets/scss/components/_breadcrumbs.scss +94 -0
  48. data/vendor/assets/scss/components/_button-group.scss +130 -0
  49. data/vendor/assets/scss/components/_button.scss +265 -0
  50. data/vendor/assets/scss/components/_callout.scss +105 -0
  51. data/vendor/assets/scss/components/_close-button.scss +61 -0
  52. data/vendor/assets/scss/components/_drilldown.scss +75 -0
  53. data/vendor/assets/scss/components/_dropdown-menu.scss +148 -0
  54. data/vendor/assets/scss/components/_dropdown.scss +64 -0
  55. data/vendor/assets/scss/components/_flex-video.scss +63 -0
  56. data/vendor/assets/scss/components/_float.scss +27 -0
  57. data/vendor/assets/scss/components/_label.scss +56 -0
  58. data/vendor/assets/scss/components/_media-object.scss +74 -0
  59. data/vendor/assets/scss/components/_menu.scss +209 -0
  60. data/vendor/assets/scss/components/_off-canvas.scss +180 -0
  61. data/vendor/assets/scss/components/_orbit.scss +193 -0
  62. data/vendor/assets/scss/components/_pagination.scss +158 -0
  63. data/vendor/assets/scss/components/_progress-bar.scss +83 -0
  64. data/vendor/assets/scss/components/_reveal.scss +156 -0
  65. data/vendor/assets/scss/components/_slider.scss +158 -0
  66. data/vendor/assets/scss/components/_sticky.scss +38 -0
  67. data/vendor/assets/scss/components/_switch.scss +232 -0
  68. data/vendor/assets/scss/components/_table.scss +213 -0
  69. data/vendor/assets/scss/components/_tabs.scss +170 -0
  70. data/vendor/assets/scss/components/_thumbnail.scss +54 -0
  71. data/vendor/assets/scss/components/_title-bar.scss +68 -0
  72. data/vendor/assets/scss/components/_tooltip.scss +100 -0
  73. data/vendor/assets/scss/components/_top-bar.scss +89 -0
  74. data/vendor/assets/scss/components/_visibility.scss +131 -0
  75. data/vendor/assets/scss/forms/_checkbox.scss +36 -0
  76. data/vendor/assets/scss/forms/_error.scss +82 -0
  77. data/vendor/assets/scss/forms/_fieldset.scss +53 -0
  78. data/vendor/assets/scss/forms/_forms.scss +32 -0
  79. data/vendor/assets/scss/forms/_help-text.scss +30 -0
  80. data/vendor/assets/scss/forms/_input-group.scss +91 -0
  81. data/vendor/assets/scss/forms/_label.scss +48 -0
  82. data/vendor/assets/scss/forms/_select.scss +63 -0
  83. data/vendor/assets/scss/forms/_text.scss +154 -0
  84. data/vendor/assets/scss/foundation.scss +91 -0
  85. data/vendor/assets/scss/grid/_classes.scss +153 -0
  86. data/vendor/assets/scss/grid/_column.scss +124 -0
  87. data/vendor/assets/scss/grid/_flex-grid.scss +281 -0
  88. data/vendor/assets/scss/grid/_grid.scss +48 -0
  89. data/vendor/assets/scss/grid/_gutter.scss +34 -0
  90. data/vendor/assets/scss/grid/_layout.scss +33 -0
  91. data/vendor/assets/scss/grid/_position.scss +72 -0
  92. data/vendor/assets/scss/grid/_row.scss +97 -0
  93. data/vendor/assets/scss/grid/_size.scss +24 -0
  94. data/vendor/assets/scss/settings/_settings.scss +547 -0
  95. data/vendor/assets/scss/typography/_alignment.scss +22 -0
  96. data/vendor/assets/scss/typography/_base.scss +439 -0
  97. data/vendor/assets/scss/typography/_helpers.scss +77 -0
  98. data/vendor/assets/scss/typography/_print.scss +73 -0
  99. data/vendor/assets/scss/typography/_typography.scss +28 -0
  100. data/vendor/assets/scss/util/_breakpoint.scss +266 -0
  101. data/vendor/assets/scss/util/_color.scss +41 -0
  102. data/vendor/assets/scss/util/_mixins.scss +223 -0
  103. data/vendor/assets/scss/util/_selector.scss +40 -0
  104. data/vendor/assets/scss/util/_unit.scss +90 -0
  105. data/vendor/assets/scss/util/_util.scss +15 -0
  106. data/vendor/assets/scss/util/_value.scss +126 -0
  107. metadata +97 -64
  108. data/update-gem.sh +0 -20
  109. data/vendor/assets/javascripts/foundation.js +0 -17
  110. data/vendor/assets/javascripts/foundation/foundation.abide.js +0 -426
  111. data/vendor/assets/javascripts/foundation/foundation.accordion.js +0 -125
  112. data/vendor/assets/javascripts/foundation/foundation.alert.js +0 -43
  113. data/vendor/assets/javascripts/foundation/foundation.clearing.js +0 -586
  114. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +0 -468
  115. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +0 -104
  116. data/vendor/assets/javascripts/foundation/foundation.interchange.js +0 -360
  117. data/vendor/assets/javascripts/foundation/foundation.joyride.js +0 -935
  118. data/vendor/assets/javascripts/foundation/foundation.js +0 -732
  119. data/vendor/assets/javascripts/foundation/foundation.magellan.js +0 -214
  120. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +0 -225
  121. data/vendor/assets/javascripts/foundation/foundation.orbit.js +0 -476
  122. data/vendor/assets/javascripts/foundation/foundation.reveal.js +0 -522
  123. data/vendor/assets/javascripts/foundation/foundation.slider.js +0 -296
  124. data/vendor/assets/javascripts/foundation/foundation.tab.js +0 -247
  125. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +0 -348
  126. data/vendor/assets/javascripts/foundation/foundation.topbar.js +0 -458
  127. data/vendor/assets/javascripts/vendor/modernizr.js +0 -1406
  128. data/vendor/assets/stylesheets/foundation.scss +0 -42
  129. data/vendor/assets/stylesheets/foundation/_functions.scss +0 -156
  130. data/vendor/assets/stylesheets/foundation/_settings.scss +0 -1489
  131. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +0 -161
  132. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  133. data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +0 -133
  134. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  135. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +0 -208
  136. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +0 -261
  137. data/vendor/assets/stylesheets/foundation/components/_clearing.scss +0 -260
  138. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
  139. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +0 -269
  140. data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
  141. data/vendor/assets/stylesheets/foundation/components/_forms.scss +0 -607
  142. data/vendor/assets/stylesheets/foundation/components/_global.scss +0 -566
  143. data/vendor/assets/stylesheets/foundation/components/_grid.scss +0 -292
  144. data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +0 -460
  145. data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +0 -58
  146. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +0 -220
  147. data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +0 -60
  148. data/vendor/assets/stylesheets/foundation/components/_labels.scss +0 -106
  149. data/vendor/assets/stylesheets/foundation/components/_magellan.scss +0 -34
  150. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +0 -606
  151. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +0 -388
  152. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +0 -163
  153. data/vendor/assets/stylesheets/foundation/components/_panels.scss +0 -107
  154. data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  155. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +0 -85
  156. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +0 -177
  157. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +0 -212
  158. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +0 -120
  159. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +0 -203
  160. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +0 -125
  161. data/vendor/assets/stylesheets/foundation/components/_switches.scss +0 -241
  162. data/vendor/assets/stylesheets/foundation/components/_tables.scss +0 -135
  163. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +0 -142
  164. data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
  165. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
  166. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +0 -745
  167. data/vendor/assets/stylesheets/foundation/components/_type.scss +0 -525
  168. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +0 -425
  169. data/vendor/assets/stylesheets/normalize.scss +0 -424
@@ -1,425 +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;
270
- }
271
- #{$visibility-table-cell-list} {
272
- display: table-cell !important;
273
- }
274
- }
275
- }
276
- }
277
- }
278
-
279
- @include exports("visibility"){
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
- /* Screen reader-specific classes */
394
- .show-for-sr {
395
- @include element-invisible;
396
- }
397
- .show-on-focus {
398
- @include element-invisible;
399
-
400
- &:focus,
401
- &:active {
402
- @include element-invisible-off;
403
- }
404
- }
405
-
406
- /* Print visibility */
407
- @if $include-print-styles {
408
- .print-only,
409
- .show-for-print { display: none !important; }
410
- @media print {
411
- .print-only,
412
- .show-for-print { display: block !important; }
413
- .hide-on-print,
414
- .hide-for-print { display: none !important; }
415
-
416
- table.show-for-print { display: table !important; }
417
- thead.show-for-print { display: table-header-group !important; }
418
- tbody.show-for-print { display: table-row-group !important; }
419
- tr.show-for-print { display: table-row !important; }
420
- td.show-for-print { display: table-cell !important; }
421
- th.show-for-print { display: table-cell !important; }
422
- }
423
- }
424
- }
425
- }
@@ -1,424 +0,0 @@
1
- /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
2
-
3
- /**
4
- * 1. Set default font family to sans-serif.
5
- * 2. Prevent iOS and IE text size adjust after device orientation change,
6
- * without disabling user zoom.
7
- */
8
-
9
- html {
10
- font-family: sans-serif; /* 1 */
11
- -ms-text-size-adjust: 100%; /* 2 */
12
- -webkit-text-size-adjust: 100%; /* 2 */
13
- }
14
-
15
- /**
16
- * Remove default margin.
17
- */
18
-
19
- body {
20
- margin: 0;
21
- }
22
-
23
- /* HTML5 display definitions
24
- ========================================================================== */
25
-
26
- /**
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
29
- * and Firefox.
30
- * Correct `block` display not defined for `main` in IE 11.
31
- */
32
-
33
- article,
34
- aside,
35
- details,
36
- figcaption,
37
- figure,
38
- footer,
39
- header,
40
- hgroup,
41
- main,
42
- menu,
43
- nav,
44
- section,
45
- summary {
46
- display: block;
47
- }
48
-
49
- /**
50
- * 1. Correct `inline-block` display not defined in IE 8/9.
51
- * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52
- */
53
-
54
- audio,
55
- canvas,
56
- progress,
57
- video {
58
- display: inline-block; /* 1 */
59
- vertical-align: baseline; /* 2 */
60
- }
61
-
62
- /**
63
- * Prevent modern browsers from displaying `audio` without controls.
64
- * Remove excess height in iOS 5 devices.
65
- */
66
-
67
- audio:not([controls]) {
68
- display: none;
69
- height: 0;
70
- }
71
-
72
- /**
73
- * Address `[hidden]` styling not present in IE 8/9/10.
74
- * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
75
- */
76
-
77
- [hidden],
78
- template {
79
- display: none;
80
- }
81
-
82
- /* Links
83
- ========================================================================== */
84
-
85
- /**
86
- * Remove the gray background color from active links in IE 10.
87
- */
88
-
89
- a {
90
- background-color: transparent;
91
- }
92
-
93
- /**
94
- * Improve readability of focused elements when they are also in an
95
- * active/hover state.
96
- */
97
-
98
- a:active,
99
- a:hover {
100
- outline: 0;
101
- }
102
-
103
- /* Text-level semantics
104
- ========================================================================== */
105
-
106
- /**
107
- * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
108
- */
109
-
110
- abbr[title] {
111
- border-bottom: 1px dotted;
112
- }
113
-
114
- /**
115
- * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
116
- */
117
-
118
- b,
119
- strong {
120
- font-weight: bold;
121
- }
122
-
123
- /**
124
- * Address styling not present in Safari and Chrome.
125
- */
126
-
127
- dfn {
128
- font-style: italic;
129
- }
130
-
131
- /**
132
- * Address variable `h1` font-size and margin within `section` and `article`
133
- * contexts in Firefox 4+, Safari, and Chrome.
134
- */
135
-
136
- h1 {
137
- font-size: 2em;
138
- margin: 0.67em 0;
139
- }
140
-
141
- /**
142
- * Address styling not present in IE 8/9.
143
- */
144
-
145
- mark {
146
- background: #ff0;
147
- color: #000;
148
- }
149
-
150
- /**
151
- * Address inconsistent and variable font size in all browsers.
152
- */
153
-
154
- small {
155
- font-size: 80%;
156
- }
157
-
158
- /**
159
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
160
- */
161
-
162
- sub,
163
- sup {
164
- font-size: 75%;
165
- line-height: 0;
166
- position: relative;
167
- vertical-align: baseline;
168
- }
169
-
170
- sup {
171
- top: -0.5em;
172
- }
173
-
174
- sub {
175
- bottom: -0.25em;
176
- }
177
-
178
- /* Embedded content
179
- ========================================================================== */
180
-
181
- /**
182
- * Remove border when inside `a` element in IE 8/9/10.
183
- */
184
-
185
- img {
186
- border: 0;
187
- }
188
-
189
- /**
190
- * Correct overflow not hidden in IE 9/10/11.
191
- */
192
-
193
- svg:not(:root) {
194
- overflow: hidden;
195
- }
196
-
197
- /* Grouping content
198
- ========================================================================== */
199
-
200
- /**
201
- * Address margin not present in IE 8/9 and Safari.
202
- */
203
-
204
- figure {
205
- margin: 1em 40px;
206
- }
207
-
208
- /**
209
- * Address differences between Firefox and other browsers.
210
- */
211
-
212
- hr {
213
- box-sizing: content-box;
214
- height: 0;
215
- }
216
-
217
- /**
218
- * Contain overflow in all browsers.
219
- */
220
-
221
- pre {
222
- overflow: auto;
223
- }
224
-
225
- /**
226
- * Address odd `em`-unit font size rendering in all browsers.
227
- */
228
-
229
- code,
230
- kbd,
231
- pre,
232
- samp {
233
- font-family: monospace, monospace;
234
- font-size: 1em;
235
- }
236
-
237
- /* Forms
238
- ========================================================================== */
239
-
240
- /**
241
- * Known limitation: by default, Chrome and Safari on OS X allow very limited
242
- * styling of `select`, unless a `border` property is set.
243
- */
244
-
245
- /**
246
- * 1. Correct color not being inherited.
247
- * Known issue: affects color of disabled elements.
248
- * 2. Correct font properties not being inherited.
249
- * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250
- */
251
-
252
- button,
253
- input,
254
- optgroup,
255
- select,
256
- textarea {
257
- color: inherit; /* 1 */
258
- font: inherit; /* 2 */
259
- margin: 0; /* 3 */
260
- }
261
-
262
- /**
263
- * Address `overflow` set to `hidden` in IE 8/9/10/11.
264
- */
265
-
266
- button {
267
- overflow: visible;
268
- }
269
-
270
- /**
271
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
272
- * All other form control elements do not inherit `text-transform` values.
273
- * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274
- * Correct `select` style inheritance in Firefox.
275
- */
276
-
277
- button,
278
- select {
279
- text-transform: none;
280
- }
281
-
282
- /**
283
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284
- * and `video` controls.
285
- * 2. Correct inability to style clickable `input` types in iOS.
286
- * 3. Improve usability and consistency of cursor style between image-type
287
- * `input` and others.
288
- */
289
-
290
- button,
291
- html input[type="button"], /* 1 */
292
- input[type="reset"],
293
- input[type="submit"] {
294
- -webkit-appearance: button; /* 2 */
295
- cursor: pointer; /* 3 */
296
- }
297
-
298
- /**
299
- * Re-set default cursor for disabled elements.
300
- */
301
-
302
- button[disabled],
303
- html input[disabled] {
304
- cursor: default;
305
- }
306
-
307
- /**
308
- * Remove inner padding and border in Firefox 4+.
309
- */
310
-
311
- button::-moz-focus-inner,
312
- input::-moz-focus-inner {
313
- border: 0;
314
- padding: 0;
315
- }
316
-
317
- /**
318
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319
- * the UA stylesheet.
320
- */
321
-
322
- input {
323
- line-height: normal;
324
- }
325
-
326
- /**
327
- * It's recommended that you don't attempt to style these elements.
328
- * Firefox's implementation doesn't respect box-sizing, padding, or width.
329
- *
330
- * 1. Address box sizing set to `content-box` in IE 8/9/10.
331
- * 2. Remove excess padding in IE 8/9/10.
332
- */
333
-
334
- input[type="checkbox"],
335
- input[type="radio"] {
336
- box-sizing: border-box; /* 1 */
337
- padding: 0; /* 2 */
338
- }
339
-
340
- /**
341
- * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342
- * `font-size` values of the `input`, it causes the cursor style of the
343
- * decrement button to change from `default` to `text`.
344
- */
345
-
346
- input[type="number"]::-webkit-inner-spin-button,
347
- input[type="number"]::-webkit-outer-spin-button {
348
- height: auto;
349
- }
350
-
351
- /**
352
- * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
354
- */
355
-
356
- input[type="search"] {
357
- -webkit-appearance: textfield; /* 1 */
358
- box-sizing: content-box; /* 2 */
359
- }
360
-
361
- /**
362
- * Remove inner padding and search cancel button in Safari and Chrome on OS X.
363
- * Safari (but not Chrome) clips the cancel button when the search input has
364
- * padding (and `textfield` appearance).
365
- */
366
-
367
- input[type="search"]::-webkit-search-cancel-button,
368
- input[type="search"]::-webkit-search-decoration {
369
- -webkit-appearance: none;
370
- }
371
-
372
- /**
373
- * Define consistent border, margin, and padding.
374
- */
375
-
376
- fieldset {
377
- border: 1px solid #c0c0c0;
378
- margin: 0 2px;
379
- padding: 0.35em 0.625em 0.75em;
380
- }
381
-
382
- /**
383
- * 1. Correct `color` not being inherited in IE 8/9/10/11.
384
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
385
- */
386
-
387
- legend {
388
- border: 0; /* 1 */
389
- padding: 0; /* 2 */
390
- }
391
-
392
- /**
393
- * Remove default vertical scrollbar in IE 8/9/10/11.
394
- */
395
-
396
- textarea {
397
- overflow: auto;
398
- }
399
-
400
- /**
401
- * Don't inherit the `font-weight` (applied by a rule above).
402
- * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
403
- */
404
-
405
- optgroup {
406
- font-weight: bold;
407
- }
408
-
409
- /* Tables
410
- ========================================================================== */
411
-
412
- /**
413
- * Remove most spacing between table cells.
414
- */
415
-
416
- table {
417
- border-collapse: collapse;
418
- border-spacing: 0;
419
- }
420
-
421
- td,
422
- th {
423
- padding: 0;
424
- }