zurb-foundation 3.2.5 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. data/.gitignore +6 -2
  2. data/CHANGELOG.md +1 -26
  3. data/CONTRIBUTING.md +18 -0
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +5 -6
  7. data/{Capfile → docs/Capfile} +0 -1
  8. data/docs/Gemfile +8 -0
  9. data/docs/Gemfile.lock +43 -0
  10. data/docs/Procfile +2 -0
  11. data/docs/README.md +1 -0
  12. data/docs/_sidebar-components.html.erb +109 -0
  13. data/docs/_sidebar.html.erb +109 -0
  14. data/docs/_zurb-jobs.html.erb +5 -0
  15. data/docs/changelog.html.erb +185 -0
  16. data/docs/compile.rb +43 -0
  17. data/docs/components/alert-boxes.html.erb +202 -0
  18. data/docs/components/block-grid.html.erb +118 -0
  19. data/docs/components/breadcrumbs.html.erb +146 -0
  20. data/docs/components/button-groups.html.erb +174 -0
  21. data/docs/components/buttons.html.erb +220 -0
  22. data/docs/components/clearing.html.erb +152 -0
  23. data/docs/components/custom-forms.html.erb +306 -0
  24. data/docs/components/dropdown-buttons.html.erb +233 -0
  25. data/docs/components/dropdown.html.erb +186 -0
  26. data/docs/components/flex-video.html.erb +93 -0
  27. data/docs/components/forms.html.erb +468 -0
  28. data/docs/components/grid.html.erb +355 -0
  29. data/docs/components/inline-lists.html.erb +89 -0
  30. data/docs/components/joyride.html.erb +178 -0
  31. data/docs/components/keystrokes.html.erb +74 -0
  32. data/docs/components/labels.html.erb +98 -0
  33. data/docs/components/magellan.html.erb +84 -0
  34. data/docs/components/orbit.html.erb +262 -0
  35. data/docs/components/pagination.html.erb +181 -0
  36. data/docs/components/panels.html.erb +121 -0
  37. data/docs/components/pricing-tables.html.erb +154 -0
  38. data/docs/components/progress-bars.html.erb +120 -0
  39. data/docs/components/reveal.html.erb +147 -0
  40. data/docs/components/section.html.erb +156 -0
  41. data/docs/components/side-nav.html.erb +122 -0
  42. data/docs/components/split-buttons.html.erb +218 -0
  43. data/docs/components/sub-nav.html.erb +120 -0
  44. data/docs/components/switch.html.erb +288 -0
  45. data/docs/components/tables.html.erb +123 -0
  46. data/docs/components/thumbnails.html.erb +87 -0
  47. data/docs/components/tooltips.html.erb +73 -0
  48. data/docs/components/top-bar.html.erb +219 -0
  49. data/docs/components/type.html.erb +359 -0
  50. data/docs/components/visibility.html.erb +102 -0
  51. data/docs/config.ru +12 -0
  52. data/docs/config/deploy.rb +33 -0
  53. data/docs/controller.rb +43 -0
  54. data/docs/css/_coderay.scss +116 -0
  55. data/docs/css/_settings.scss +1 -0
  56. data/docs/css/docs.scss +174 -0
  57. data/docs/css/normalize.scss +396 -0
  58. data/docs/css/qunit-composite.css +13 -0
  59. data/docs/css/qunit.css +235 -0
  60. data/docs/faq.html.erb +61 -0
  61. data/docs/img/demos/demo1-th.png +0 -0
  62. data/docs/img/demos/demo1.png +0 -0
  63. data/docs/img/demos/demo2-th.png +0 -0
  64. data/docs/img/demos/demo2.png +0 -0
  65. data/docs/img/demos/demo3-th.png +0 -0
  66. data/docs/img/demos/demo3.png +0 -0
  67. data/docs/img/demos/demo4-th.png +0 -0
  68. data/docs/img/demos/demo4.png +0 -0
  69. data/docs/img/demos/demo5-th.png +0 -0
  70. data/docs/img/demos/demo5.png +0 -0
  71. data/docs/index.html.erb +299 -0
  72. data/docs/javascript.html.erb +133 -0
  73. data/docs/js/docs.js +3 -0
  74. data/docs/js/qunit-composite.js +105 -0
  75. data/docs/js/qunit.js +1977 -0
  76. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  77. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  78. data/docs/js/tests/tooltips/tooltips.html +39 -0
  79. data/docs/js/tests/tooltips/tooltips.js +11 -0
  80. data/docs/layout.html.erb +99 -0
  81. data/docs/rails.html.erb +66 -0
  82. data/docs/sass.html.erb +299 -0
  83. data/docs/support.html.erb +134 -0
  84. data/foundation.gemspec +2 -4
  85. data/index.html +3 -23
  86. data/js/foundation/foundation.alerts.js +50 -0
  87. data/js/foundation/foundation.clearing.js +478 -0
  88. data/{vendor/assets/javascripts/foundation/jquery.cookie.js → js/foundation/foundation.cookie.js} +3 -1
  89. data/js/foundation/foundation.dropdown.js +122 -0
  90. data/js/foundation/foundation.forms.js +403 -0
  91. data/js/foundation/foundation.joyride.js +613 -0
  92. data/js/foundation/foundation.js +331 -0
  93. data/js/foundation/foundation.magellan.js +130 -0
  94. data/js/foundation/foundation.orbit.js +355 -0
  95. data/{vendor/assets/javascripts/foundation/jquery.placeholder.js → js/foundation/foundation.placeholder.js} +4 -2
  96. data/js/foundation/foundation.reveal.js +264 -0
  97. data/js/foundation/foundation.section.js +180 -0
  98. data/js/foundation/foundation.tooltips.js +195 -0
  99. data/js/foundation/foundation.topbar.js +187 -0
  100. data/js/foundation/index.js +16 -0
  101. data/{vendor/assets/javascripts/foundation/modernizr.foundation.js → js/vendor/custom.modernizr.js} +0 -0
  102. data/js/vendor/jquery.js +9597 -0
  103. data/js/vendor/zepto.js +1782 -0
  104. data/lib/foundation/engine.rb +8 -1
  105. data/lib/foundation/generators/install_generator.rb +24 -1
  106. data/lib/foundation/generators/templates/application.html.erb +20 -6
  107. data/lib/foundation/generators/templates/application.html.haml +2 -6
  108. data/lib/foundation/generators/templates/application.html.slim +2 -5
  109. data/lib/foundation/version.rb +1 -1
  110. data/lib/zurb-foundation.rb +7 -9
  111. data/package.json +9 -0
  112. data/scss/foundation.scss +42 -15
  113. data/scss/foundation/_foundation-global.scss +226 -0
  114. data/scss/foundation/components/_alert-boxes.scss +106 -0
  115. data/scss/foundation/components/_block-grid.scss +63 -0
  116. data/scss/foundation/components/_breadcrumbs.scss +117 -0
  117. data/scss/foundation/components/_button-groups.scss +59 -0
  118. data/scss/foundation/components/_buttons.scss +217 -0
  119. data/scss/foundation/components/_clearing.scss +209 -0
  120. data/scss/foundation/components/_custom-forms.scss +232 -0
  121. data/scss/foundation/components/_dropdown-buttons.scss +114 -0
  122. data/scss/foundation/components/_dropdown.scss +137 -0
  123. data/scss/foundation/components/_flex-video.scss +45 -0
  124. data/scss/foundation/components/_forms.scss +309 -0
  125. data/scss/foundation/components/_grid.scss +149 -71
  126. data/scss/foundation/components/_inline-lists.scss +47 -0
  127. data/scss/foundation/components/_joyride.scss +193 -0
  128. data/scss/foundation/components/_keystrokes.scss +56 -0
  129. data/scss/foundation/components/_labels.scss +81 -0
  130. data/scss/foundation/components/_magellan.scss +15 -0
  131. data/scss/foundation/components/_orbit.scss +193 -0
  132. data/scss/foundation/components/_pagination.scss +99 -0
  133. data/scss/foundation/components/_panels.scss +76 -0
  134. data/scss/foundation/components/_pricing-tables.scss +130 -0
  135. data/scss/foundation/components/_progress-bars.scss +68 -0
  136. data/scss/foundation/components/_reveal.scss +131 -0
  137. data/scss/foundation/components/_section.scss +194 -0
  138. data/scss/foundation/components/_side-nav.scss +68 -0
  139. data/scss/foundation/components/_split-buttons.scss +159 -0
  140. data/scss/foundation/components/_sub-nav.scss +67 -0
  141. data/scss/foundation/components/_switch.scss +242 -0
  142. data/scss/foundation/components/_tables.scss +80 -0
  143. data/scss/foundation/components/_thumbs.scss +45 -0
  144. data/scss/foundation/components/_tooltips.scss +113 -0
  145. data/scss/foundation/components/_top-bar.scss +443 -0
  146. data/scss/foundation/components/_type.scss +411 -0
  147. data/scss/foundation/components/_visibility.scss +117 -0
  148. data/scss/normalize.scss +396 -0
  149. data/templates/project/config.rb +26 -0
  150. data/templates/project/index.html +28 -43
  151. data/templates/project/manifest.rb +21 -28
  152. data/templates/project/scss/_settings.scss +4 -243
  153. data/templates/project/scss/app.scss +37 -44
  154. data/templates/project/scss/normalize.scss +396 -0
  155. data/test/stylesheets/styles.css +955 -0
  156. metadata +144 -153
  157. data/config/deploy.rb +0 -42
  158. data/lib/foundation/generators/layout_generator.rb +0 -28
  159. data/scss/foundation/_settings.scss +0 -281
  160. data/scss/foundation/common/_base.scss +0 -4
  161. data/scss/foundation/common/_forms.scss +0 -117
  162. data/scss/foundation/common/_globals.scss +0 -35
  163. data/scss/foundation/common/_ratios.scss +0 -19
  164. data/scss/foundation/common/_typography.scss +0 -104
  165. data/scss/foundation/components/modules/_all.scss +0 -10
  166. data/scss/foundation/components/modules/_buttons.scss +0 -178
  167. data/scss/foundation/components/modules/_clearing.scss +0 -61
  168. data/scss/foundation/components/modules/_joyride.scss +0 -33
  169. data/scss/foundation/components/modules/_mqueries.scss +0 -458
  170. data/scss/foundation/components/modules/_navbar.scss +0 -74
  171. data/scss/foundation/components/modules/_offcanvas.scss +0 -55
  172. data/scss/foundation/components/modules/_orbit.scss +0 -90
  173. data/scss/foundation/components/modules/_reveal.scss +0 -34
  174. data/scss/foundation/components/modules/_tabs.scss +0 -67
  175. data/scss/foundation/components/modules/_topbar.scss +0 -167
  176. data/scss/foundation/components/modules/_ui.scss +0 -292
  177. data/scss/foundation/functions/_all.scss +0 -2
  178. data/scss/foundation/functions/_convert-number-to-word.scss +0 -10
  179. data/scss/foundation/functions/_grid-calc.scss +0 -5
  180. data/scss/foundation/functions/modular-scale.scss +0 -3
  181. data/scss/foundation/mixins/_all.scss +0 -5
  182. data/scss/foundation/mixins/_clearfix.scss +0 -13
  183. data/scss/foundation/mixins/_css-triangle.scss +0 -22
  184. data/scss/foundation/mixins/_font-size.scss +0 -13
  185. data/scss/foundation/mixins/_respond-to.scss +0 -11
  186. data/scss/foundation/mixins/_semantic-grid.scss +0 -66
  187. data/test/buttons.html +0 -189
  188. data/test/clearing.html +0 -85
  189. data/test/config.rb +0 -11
  190. data/test/elements.html +0 -490
  191. data/test/forms.html +0 -371
  192. data/test/grid.html +0 -543
  193. data/test/images/orbit-demo/demo1.jpeg +0 -0
  194. data/test/images/orbit-demo/demo2.jpeg +0 -0
  195. data/test/images/orbit-demo/demo3.jpeg +0 -0
  196. data/test/images/orbit-demo/slider-background.jpeg +0 -0
  197. data/test/index.html +0 -83
  198. data/test/joyride.html +0 -127
  199. data/test/magellan.html +0 -112
  200. data/test/navigation.html +0 -269
  201. data/test/orbit.html +0 -112
  202. data/test/reveal.html +0 -91
  203. data/test/scss/_settings.scss +0 -245
  204. data/test/scss/styles.scss +0 -50
  205. data/test/tabs.html +0 -197
  206. data/test/template.html +0 -52
  207. data/test/topbar-login.html +0 -194
  208. data/test/topbar.html +0 -139
  209. data/test/type.html +0 -188
  210. data/vendor/assets/images/foundation/orbit/bullets.jpg +0 -0
  211. data/vendor/assets/images/foundation/orbit/left-arrow-small.png +0 -0
  212. data/vendor/assets/images/foundation/orbit/left-arrow.png +0 -0
  213. data/vendor/assets/images/foundation/orbit/loading.gif +0 -0
  214. data/vendor/assets/images/foundation/orbit/mask-black.png +0 -0
  215. data/vendor/assets/images/foundation/orbit/pause-black.png +0 -0
  216. data/vendor/assets/images/foundation/orbit/right-arrow-small.png +0 -0
  217. data/vendor/assets/images/foundation/orbit/right-arrow.png +0 -0
  218. data/vendor/assets/images/foundation/orbit/rotator-black.png +0 -0
  219. data/vendor/assets/images/foundation/orbit/timer-black.png +0 -0
  220. data/vendor/assets/javascripts/foundation/app.js +0 -41
  221. data/vendor/assets/javascripts/foundation/index.js +0 -19
  222. data/vendor/assets/javascripts/foundation/jquery.event.move.js +0 -580
  223. data/vendor/assets/javascripts/foundation/jquery.event.swipe.js +0 -130
  224. data/vendor/assets/javascripts/foundation/jquery.foundation.accordion.js +0 -47
  225. data/vendor/assets/javascripts/foundation/jquery.foundation.alerts.js +0 -20
  226. data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +0 -83
  227. data/vendor/assets/javascripts/foundation/jquery.foundation.clearing.js +0 -413
  228. data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +0 -502
  229. data/vendor/assets/javascripts/foundation/jquery.foundation.joyride.js +0 -639
  230. data/vendor/assets/javascripts/foundation/jquery.foundation.magellan.js +0 -96
  231. data/vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js +0 -27
  232. data/vendor/assets/javascripts/foundation/jquery.foundation.navigation.js +0 -55
  233. data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +0 -919
  234. data/vendor/assets/javascripts/foundation/jquery.foundation.reveal.js +0 -794
  235. data/vendor/assets/javascripts/foundation/jquery.foundation.tabs.js +0 -66
  236. data/vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js +0 -211
  237. data/vendor/assets/javascripts/foundation/jquery.foundation.topbar.js +0 -174
  238. data/vendor/assets/javascripts/foundation/jquery.js +0 -9555
  239. data/vendor/assets/javascripts/foundation/jquery.offcanvas.js +0 -50
@@ -0,0 +1,411 @@
1
+ //
2
+ // Typography Variables
3
+ //
4
+
5
+ // We use these to control header font styles
6
+ $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
7
+ $header-font-weight: bold !default;
8
+ $header-font-style: normal !default;
9
+ $header-font-color: #222 !default;
10
+ $header-line-height: 1.4 !default;
11
+ $header-top-margin: .2em !default;
12
+ $header-bottom-margin: .5em !default;
13
+ $header-text-rendering: optimizeLegibility !default;
14
+
15
+ // We use these to control header font sizes
16
+ $h1-font-size: emCalc(44px) !default;
17
+ $h2-font-size: emCalc(37px) !default;
18
+ $h3-font-size: emCalc(27px) !default;
19
+ $h4-font-size: emCalc(23px) !default;
20
+ $h5-font-size: emCalc(18px) !default;
21
+ $h6-font-size: 1em !default;
22
+
23
+ // These control how subheaders are styled.
24
+ $subheader-line-height: 1.4 !default;
25
+ $subheader-font-color: lighten($header-font-color, 30%) !default;
26
+ $subheader-font-weight: 300 !default;
27
+ $subheader-top-margin: .2em !default;
28
+ $subheader-bottom-margin: .5em !default;
29
+
30
+ // A general <small> styling
31
+ $small-font-size: 60% !default;
32
+ $small-font-color: lighten($header-font-color, 30%) !default;
33
+
34
+ // We use these to style paragraphs
35
+ $paragraph-font-family: inherit !default;
36
+ $paragraph-font-weight: normal !default;
37
+ $paragraph-font-size: 1em !default;
38
+ $paragraph-line-height: 1.6 !default;
39
+ $paragraph-margin-bottom: emCalc(20px) !default;
40
+ $paragraph-aside-font-size: emCalc(14px) !default;
41
+ $paragraph-aside-line-height: 1.35 !default;
42
+ $paragraph-aside-font-style: italic !default;
43
+
44
+ // We use these to style <code> tags
45
+ $code-color: darken($alert-color, 15%) !default;
46
+ $code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
47
+ $code-font-weight: bold !default;
48
+
49
+ // We use these to style anchors
50
+ $anchor-text-decoration: none !default;
51
+ $anchor-font-color: $primary-color !default;
52
+ $anchor-font-color-hover: darken($primary-color, 5%) !default;
53
+
54
+ // We use these to style the <hr> element
55
+ $hr-border-width: 1px !default;
56
+ $hr-border-style: solid !default;
57
+ $hr-border-color: #ddd !default;
58
+ $hr-margin: emCalc(20px) !default;
59
+
60
+ // We use these to style lists
61
+ $list-style-position: outside !default;
62
+ $list-side-margin: emCalc(18px) !default;
63
+ $definition-list-header-weight: bold !default;
64
+ $definition-list-header-margin-bottom: .3em !default;
65
+ $definition-list-margin-bottom: emCalc(12px) !default;
66
+
67
+ // We use these to style blockquotes
68
+ $blockquote-font-color: lighten($header-font-color, 30%) !default;
69
+ $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px) !default;
70
+ $blockquote-border: 1px solid #ddd !default;
71
+ $blockquote-cite-font-size: emCalc(13px) !default;
72
+ $blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
73
+ $blockquote-cite-link-color: $blockquote-cite-font-color !default;
74
+
75
+ // Acronym styles
76
+ $acronym-underline: 1px dotted #ddd !default;
77
+
78
+ // We use these to control padding and margin
79
+ $microformat-padding: emCalc(10px) emCalc(12px) !default;
80
+ $microformat-margin: 0 0 emCalc(20px) 0 !default;
81
+
82
+ // We use these to control the border styles
83
+ $microformat-border-width: 1px !default;
84
+ $microformat-border-style: solid !default;
85
+ $microformat-border-color: #ddd !default;
86
+
87
+ // We use these to control full name font styles
88
+ $microformat-fullname-font-weight: bold !default;
89
+ $microformat-fullname-font-size: emCalc(15px) !default;
90
+
91
+ // We use this to control the summary font styles
92
+ $microformat-summary-font-weight: bold !default;
93
+
94
+ // We use this to control abbr padding
95
+ $microformat-abbr-padding: 0 emCalc(1px) !default;
96
+
97
+ // We use this to control abbr font styles
98
+ $microformat-abbr-font-weight: bold !default;
99
+ $microformat-abbr-font-decoration: none !default;
100
+
101
+
102
+ //
103
+ // Typography Placeholders
104
+ //
105
+
106
+ %lead {
107
+ font-size: $paragraph-font-size + emCalc(3.5px);
108
+ line-height: 1.6;
109
+ }
110
+
111
+ %subheader {
112
+ line-height: $subheader-line-height;
113
+ color: $subheader-font-color;
114
+ font-weight: $subheader-font-weight;
115
+ margin-top: $header-top-margin;
116
+ margin-bottom: $header-bottom-margin;
117
+ }
118
+
119
+
120
+ /* Typography resets */
121
+ div,
122
+ dl,
123
+ dt,
124
+ dd,
125
+ ul,
126
+ ol,
127
+ li,
128
+ h1,
129
+ h2,
130
+ h3,
131
+ h4,
132
+ h5,
133
+ h6,
134
+ pre,
135
+ form,
136
+ p,
137
+ blockquote,
138
+ th,
139
+ td {
140
+ margin:0;
141
+ padding:0;
142
+ direction: $text-direction;
143
+ }
144
+
145
+ /* Default Link Styles */
146
+ a {
147
+ color: $anchor-font-color;
148
+ text-decoration: $anchor-text-decoration;
149
+ line-height: inherit;
150
+
151
+ &:hover,
152
+ &:focus { color: $anchor-font-color-hover; }
153
+
154
+ img { border:none; }
155
+ }
156
+
157
+ /* Default paragraph styles */
158
+ p {
159
+ font-family: $paragraph-font-family;
160
+ font-weight: $paragraph-font-weight;
161
+ font-size: $paragraph-font-size;
162
+ line-height: $paragraph-line-height;
163
+ margin-bottom: $paragraph-margin-bottom;
164
+
165
+ &.lead { @extend %lead; }
166
+
167
+ & aside {
168
+ font-size: $paragraph-aside-font-size;
169
+ line-height: $paragraph-aside-line-height;
170
+ font-style: $paragraph-aside-font-style;
171
+ }
172
+ }
173
+
174
+ /* Default header styles */
175
+ h1, h2, h3, h4, h5, h6 {
176
+ font-family: $header-font-family;
177
+ font-weight: $header-font-weight;
178
+ font-style: $header-font-style;
179
+ color: $header-font-color;
180
+ text-rendering: $header-text-rendering;
181
+ line-height: $header-line-height;
182
+ margin-top: $header-top-margin;
183
+ margin-bottom: $header-bottom-margin;
184
+
185
+ small {
186
+ font-size: $small-font-size;
187
+ color: $small-font-color;
188
+ line-height: 0;
189
+ }
190
+ }
191
+
192
+ h1 { font-size: $h1-font-size; }
193
+ h2 { font-size: $h2-font-size; }
194
+ h3 { font-size: $h3-font-size; }
195
+ h4 { font-size: $h4-font-size; }
196
+ h5 { font-size: $h5-font-size; }
197
+ h6 { font-size: $h6-font-size; }
198
+
199
+ .subheader { @extend %subheader; }
200
+
201
+ hr {
202
+ border: $hr-border-style $hr-border-color;
203
+ border-width: $hr-border-width 0 0;
204
+ clear: both;
205
+ margin: $hr-margin 0 ($hr-margin - emCalc(1px));
206
+ height: 0;
207
+ }
208
+
209
+ /* Helpful Typography Defaults */
210
+ em,
211
+ i {
212
+ font-style: italic;
213
+ line-height: inherit;
214
+ }
215
+
216
+ strong,
217
+ b {
218
+ font-weight: bold;
219
+ line-height: inherit;
220
+ }
221
+
222
+ small {
223
+ font-size: $small-font-size;
224
+ line-height: inherit;
225
+ }
226
+
227
+ code {
228
+ font-family: $code-font-family;
229
+ font-weight: $code-font-weight;
230
+ color: $code-color;
231
+ }
232
+
233
+ /* Lists */
234
+ ul,
235
+ ol,
236
+ dl {
237
+ font-size: $paragraph-font-size;
238
+ line-height: $paragraph-line-height;
239
+ margin-bottom: $paragraph-margin-bottom;
240
+ list-style-position: $list-style-position;
241
+ }
242
+
243
+ /* Unordered Lists */
244
+ ul {
245
+ li {
246
+ ul,
247
+ ol {
248
+ margin-#{$default-float}: $list-side-margin;
249
+ margin-bottom: 0;
250
+ font-size: 1em; /* Override nested font-size change */
251
+ }
252
+ }
253
+ &.square,
254
+ &.circle,
255
+ &.disc { margin-#{$default-float}: $list-side-margin;
256
+ li ul { list-style: inherit; }
257
+ }
258
+
259
+ &.square { list-style-type: square; }
260
+ &.circle { list-style-type: circle; }
261
+ &.disc { list-style-type: disc; }
262
+ &.no-bullet { list-style: none; }
263
+ }
264
+
265
+ /* Ordered Lists */
266
+ ol { margin-#{$default-float}: $list-side-margin;
267
+ li {
268
+ ul,
269
+ ol {
270
+ margin-#{$default-float}: $list-side-margin;
271
+ margin-bottom: 0;
272
+ }
273
+ }
274
+ }
275
+
276
+ /* Definition Lists */
277
+ dl {
278
+ dt {
279
+ margin-bottom: $definition-list-header-margin-bottom;
280
+ font-weight: $definition-list-header-weight;
281
+ }
282
+ dd { margin-bottom: $definition-list-margin-bottom; }
283
+ }
284
+
285
+ /* Abbreviations */
286
+ abbr,
287
+ acronym {
288
+ text-transform: uppercase;
289
+ font-size: 90%;
290
+ color: $body-font-color;
291
+ border-bottom: $acronym-underline;
292
+ cursor: help;
293
+ }
294
+ abbr {
295
+ text-transform: none;
296
+ }
297
+
298
+ /* Blockquotes */
299
+ blockquote {
300
+ margin: 0 0 $paragraph-margin-bottom;
301
+ padding: $blockquote-padding;
302
+ border-#{$default-float}: $blockquote-border;
303
+
304
+ cite {
305
+ display: block;
306
+ font-size: $blockquote-cite-font-size;
307
+ color: $blockquote-cite-font-color;
308
+ &:before {
309
+ content: "\2014 \0020";
310
+ }
311
+
312
+ a,
313
+ a:visited {
314
+ color: $blockquote-cite-link-color;
315
+ }
316
+ }
317
+ }
318
+ blockquote,
319
+ blockquote p {
320
+ line-height: $paragraph-line-height;
321
+ color: $blockquote-font-color;
322
+ }
323
+
324
+ /* Microformats */
325
+ .vcard {
326
+ display: inline-block;
327
+ margin: $microformat-margin;
328
+ border: $microformat-border-width $microformat-border-style $microformat-border-color;
329
+ padding: $microformat-padding;
330
+
331
+ li {
332
+ margin: 0;
333
+ display: block;
334
+ }
335
+ .fn {
336
+ font-weight: $microformat-fullname-font-weight;
337
+ font-size: $microformat-fullname-font-size;
338
+ }
339
+ }
340
+
341
+ .vevent {
342
+ .summary { font-weight: $microformat-summary-font-weight; }
343
+
344
+ abbr {
345
+ cursor: default;
346
+ text-decoration: $microformat-abbr-font-decoration;
347
+ font-weight: $microformat-abbr-font-weight;
348
+ border: none;
349
+ padding: $microformat-abbr-padding;
350
+ }
351
+ }
352
+
353
+ // Only include these styles if you want them.
354
+ @if $include-print-styles {
355
+ /*
356
+ * Print styles.
357
+ *
358
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
359
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
360
+ */
361
+ .print-only { display: none !important; }
362
+ @media print {
363
+ * {
364
+ background: transparent !important;
365
+ color: #000 !important; /* Black prints faster: h5bp.com/s */
366
+ box-shadow: none !important;
367
+ text-shadow: none !important;
368
+ }
369
+
370
+ a,
371
+ a:visited { text-decoration: underline;}
372
+ a[href]:after { content: " (" attr(href) ")"; }
373
+
374
+ abbr[title]:after { content: " (" attr(title) ")"; }
375
+
376
+ // Don't show links for images, or javascript/internal links
377
+ .ir a:after,
378
+ a[href^="javascript:"]:after,
379
+ a[href^="#"]:after { content: ""; }
380
+
381
+ pre,
382
+ blockquote {
383
+ border: 1px solid #999;
384
+ page-break-inside: avoid;
385
+ }
386
+
387
+ thead { display: table-header-group; /* h5bp.com/t */ }
388
+
389
+ tr,
390
+ img { page-break-inside: avoid; }
391
+
392
+ img { max-width: 100% !important; }
393
+
394
+ @page { margin: 0.5cm; }
395
+
396
+ p,
397
+ h2,
398
+ h3 {
399
+ orphans: 3;
400
+ widows: 3;
401
+ }
402
+
403
+ h2,
404
+ h3 { page-break-after: avoid; }
405
+
406
+ .hide-on-print { display: none !important; }
407
+ .print-only { display: block !important; }
408
+ .hide-for-print { display: none !important; }
409
+ .show-for-print { display: inherit !important; }
410
+ }
411
+ }
@@ -0,0 +1,117 @@
1
+ //
2
+ // Foundation Visibility Classes
3
+ //
4
+
5
+ /* Foundation Visibility HTML Classes */
6
+ @media only screen {
7
+ .show-for-small,
8
+ .show-for-medium-down,
9
+ .show-for-large-down { display: inherit !important; }
10
+
11
+ .show-for-medium,
12
+ .show-for-medium-up,
13
+ .show-for-large,
14
+ .show-for-large-up,
15
+ .show-for-xlarge { display: none !important; }
16
+
17
+ .hide-for-medium,
18
+ .hide-for-medium-up,
19
+ .hide-for-large,
20
+ .hide-for-large-up,
21
+ .hide-for-xlarge { display: inherit !important; }
22
+
23
+ .hide-for-small,
24
+ .hide-for-medium-down,
25
+ .hide-for-large-down { display: none !important; }
26
+ }
27
+
28
+ /* Medium Displays: 768px - 1279px */
29
+ @media #{$small} {
30
+ .show-for-medium,
31
+ .show-for-medium-down,
32
+ .show-for-medium-up,
33
+ .show-for-large-down { display: inherit !important; }
34
+
35
+ .show-for-small,
36
+ .show-for-large,
37
+ .show-for-large-up { display: none !important; }
38
+
39
+ .hide-for-small,
40
+ .hide-for-large,
41
+ .hide-for-large-up { display: inherit !important; }
42
+
43
+ .hide-for-medium,
44
+ .hide-for-medium-down,
45
+ .hide-for-medium-up,
46
+ .hide-for-large-down { display: none !important; }
47
+ }
48
+
49
+ /* Large Displays: 1280px - 1440px */
50
+ @media #{$medium} {
51
+ .show-for-medium-down,
52
+ .show-for-medium-up,
53
+ .show-for-large,
54
+ .show-for-large-down,
55
+ .show-for-large-up { display: inherit !important; }
56
+
57
+ .show-for-small,
58
+ .show-for-medium { display: none !important; }
59
+
60
+ .hide-for-small,
61
+ .hide-for-medium { display: inherit !important; }
62
+
63
+ .hide-for-medium-down,
64
+ .hide-for-medium-up,
65
+ .hide-for-large,
66
+ .hide-for-large-down,
67
+ .hide-for-large-up { display: none !important; }
68
+
69
+ }
70
+
71
+ /* X-Large Displays: 1400px and up */
72
+ @media #{$large} {
73
+ .show-for-medium-down,
74
+ .show-for-medium-up,
75
+ .show-for-large-down,
76
+ .show-for-large-up { display: inherit !important; }
77
+
78
+ .show-for-small,
79
+ .show-for-medium,
80
+ .show-for-large { display: none !important; }
81
+
82
+ .hide-for-small,
83
+ .hide-for-medium,
84
+ .hide-for-large { display: inherit !important; }
85
+
86
+ .hide-for-medium-down,
87
+ .hide-for-medium-up,
88
+ .hide-for-large-down,
89
+ .hide-for-large-up { display: none !important; }
90
+ }
91
+
92
+
93
+ /* Orientation targeting */
94
+ .show-for-landscape,
95
+ .hide-for-portrait { display: inherit !important; }
96
+ .hide-for-landscape,
97
+ .show-for-portrait { display: none !important; }
98
+
99
+ @media screen and (orientation: landscape) {
100
+ .show-for-landscape,
101
+ .hide-for-portrait { display: inherit !important; }
102
+ .hide-for-landscape,
103
+ .show-for-portrait { display: none !important; }
104
+ }
105
+
106
+ @media screen and (orientation: portrait) {
107
+ .show-for-portrait,
108
+ .hide-for-landscape { display: inherit !important; }
109
+ .hide-for-portrait,
110
+ .show-for-landscape { display: none !important; }
111
+ }
112
+
113
+ /* Touch-enabled device targeting */
114
+ .show-for-touch { display: none !important; }
115
+ .hide-for-touch { display: inherit !important; }
116
+ .touch .show-for-touch { display: inherit !important; }
117
+ .touch .hide-for-touch { display: none !important; }