foundation-rails 5.1.1.0 → 5.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +52 -7
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +3 -6
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +5 -4
- data/vendor/assets/javascripts/foundation/foundation.alert.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +70 -34
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +121 -28
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +6 -6
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +34 -25
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +4 -8
- data/vendor/assets/javascripts/foundation/foundation.js +94 -78
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +3 -4
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +19 -1
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +151 -102
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +43 -15
- data/vendor/assets/javascripts/foundation/foundation.slider.js +187 -0
- data/vendor/assets/javascripts/foundation/foundation.tab.js +116 -18
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +112 -60
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +47 -14
- data/vendor/assets/javascripts/vendor/modernizr.js +3 -3
- data/vendor/assets/stylesheets/foundation.scss +7 -0
- data/vendor/assets/stylesheets/foundation/_functions.scss +4 -0
- data/vendor/assets/stylesheets/foundation/_settings.scss +11 -2
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +5 -1
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +44 -12
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +7 -5
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +100 -11
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +25 -21
- data/vendor/assets/stylesheets/foundation/components/_global.scss +79 -44
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +6 -2
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +5 -1
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +51 -59
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +97 -14
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +7 -2
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +5 -1
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +148 -0
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +36 -7
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +8 -3
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +6 -2
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +12 -6
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +4 -0
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +9 -0
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +52 -25
- data/vendor/assets/stylesheets/foundation/components/_type.scss +132 -75
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +198 -538
- data/vendor/assets/stylesheets/normalize.scss +179 -166
- metadata +4 -2
@@ -1,7 +1,26 @@
|
|
1
|
-
/*! normalize.css
|
1
|
+
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* 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
|
5
24
|
========================================================================== */
|
6
25
|
|
7
26
|
/**
|
@@ -20,17 +39,20 @@ main,
|
|
20
39
|
nav,
|
21
40
|
section,
|
22
41
|
summary {
|
23
|
-
|
42
|
+
display: block;
|
24
43
|
}
|
25
44
|
|
26
45
|
/**
|
27
|
-
* Correct `inline-block` display not defined in IE 8/9.
|
46
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
47
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
28
48
|
*/
|
29
49
|
|
30
50
|
audio,
|
31
51
|
canvas,
|
52
|
+
progress,
|
32
53
|
video {
|
33
|
-
|
54
|
+
display: inline-block; /* 1 */
|
55
|
+
vertical-align: baseline; /* 2 */
|
34
56
|
}
|
35
57
|
|
36
58
|
/**
|
@@ -39,8 +61,8 @@ video {
|
|
39
61
|
*/
|
40
62
|
|
41
63
|
audio:not([controls]) {
|
42
|
-
|
43
|
-
|
64
|
+
display: none;
|
65
|
+
height: 0;
|
44
66
|
}
|
45
67
|
|
46
68
|
/**
|
@@ -50,39 +72,10 @@ audio:not([controls]) {
|
|
50
72
|
|
51
73
|
[hidden],
|
52
74
|
template {
|
53
|
-
|
54
|
-
}
|
55
|
-
|
56
|
-
script {
|
57
|
-
display: none !important;
|
58
|
-
}
|
59
|
-
|
60
|
-
/* ==========================================================================
|
61
|
-
Base
|
62
|
-
========================================================================== */
|
63
|
-
|
64
|
-
/**
|
65
|
-
* 1. Set default font family to sans-serif.
|
66
|
-
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
67
|
-
* user zoom.
|
68
|
-
*/
|
69
|
-
|
70
|
-
html {
|
71
|
-
font-family: sans-serif; /* 1 */
|
72
|
-
-ms-text-size-adjust: 100%; /* 2 */
|
73
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
74
|
-
}
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Remove default margin.
|
78
|
-
*/
|
79
|
-
|
80
|
-
body {
|
81
|
-
margin: 0;
|
75
|
+
display: none;
|
82
76
|
}
|
83
77
|
|
84
|
-
/*
|
85
|
-
Links
|
78
|
+
/* Links
|
86
79
|
========================================================================== */
|
87
80
|
|
88
81
|
/**
|
@@ -90,15 +83,7 @@ body {
|
|
90
83
|
*/
|
91
84
|
|
92
85
|
a {
|
93
|
-
|
94
|
-
}
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Address `outline` inconsistency between Chrome and other browsers.
|
98
|
-
*/
|
99
|
-
|
100
|
-
a:focus {
|
101
|
-
outline: thin dotted;
|
86
|
+
background: transparent;
|
102
87
|
}
|
103
88
|
|
104
89
|
/**
|
@@ -107,29 +92,18 @@ a:focus {
|
|
107
92
|
|
108
93
|
a:active,
|
109
94
|
a:hover {
|
110
|
-
|
95
|
+
outline: 0;
|
111
96
|
}
|
112
97
|
|
113
|
-
/*
|
114
|
-
Typography
|
98
|
+
/* Text-level semantics
|
115
99
|
========================================================================== */
|
116
100
|
|
117
|
-
/**
|
118
|
-
* Address variable `h1` font-size and margin within `section` and `article`
|
119
|
-
* contexts in Firefox 4+, Safari 5, and Chrome.
|
120
|
-
*/
|
121
|
-
|
122
|
-
h1 {
|
123
|
-
font-size: 2em;
|
124
|
-
margin: 0.67em 0;
|
125
|
-
}
|
126
|
-
|
127
101
|
/**
|
128
102
|
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
129
103
|
*/
|
130
104
|
|
131
105
|
abbr[title] {
|
132
|
-
|
106
|
+
border-bottom: 1px dotted;
|
133
107
|
}
|
134
108
|
|
135
109
|
/**
|
@@ -138,7 +112,7 @@ abbr[title] {
|
|
138
112
|
|
139
113
|
b,
|
140
114
|
strong {
|
141
|
-
|
115
|
+
font-weight: bold;
|
142
116
|
}
|
143
117
|
|
144
118
|
/**
|
@@ -146,17 +120,17 @@ strong {
|
|
146
120
|
*/
|
147
121
|
|
148
122
|
dfn {
|
149
|
-
|
123
|
+
font-style: italic;
|
150
124
|
}
|
151
125
|
|
152
126
|
/**
|
153
|
-
* Address
|
127
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
128
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
154
129
|
*/
|
155
130
|
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
height: 0;
|
131
|
+
h1 {
|
132
|
+
font-size: 2em;
|
133
|
+
margin: 0.67em 0;
|
160
134
|
}
|
161
135
|
|
162
136
|
/**
|
@@ -164,36 +138,8 @@ hr {
|
|
164
138
|
*/
|
165
139
|
|
166
140
|
mark {
|
167
|
-
|
168
|
-
|
169
|
-
}
|
170
|
-
|
171
|
-
/**
|
172
|
-
* Correct font family set oddly in Safari 5 and Chrome.
|
173
|
-
*/
|
174
|
-
|
175
|
-
code,
|
176
|
-
kbd,
|
177
|
-
pre,
|
178
|
-
samp {
|
179
|
-
font-family: monospace, serif;
|
180
|
-
font-size: 1em;
|
181
|
-
}
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Improve readability of pre-formatted text in all browsers.
|
185
|
-
*/
|
186
|
-
|
187
|
-
pre {
|
188
|
-
white-space: pre-wrap;
|
189
|
-
}
|
190
|
-
|
191
|
-
/**
|
192
|
-
* Set consistent quote types.
|
193
|
-
*/
|
194
|
-
|
195
|
-
q {
|
196
|
-
quotes: "\201C" "\201D" "\2018" "\2019";
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
197
143
|
}
|
198
144
|
|
199
145
|
/**
|
@@ -201,7 +147,7 @@ q {
|
|
201
147
|
*/
|
202
148
|
|
203
149
|
small {
|
204
|
-
|
150
|
+
font-size: 80%;
|
205
151
|
}
|
206
152
|
|
207
153
|
/**
|
@@ -210,22 +156,21 @@ small {
|
|
210
156
|
|
211
157
|
sub,
|
212
158
|
sup {
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
159
|
+
font-size: 75%;
|
160
|
+
line-height: 0;
|
161
|
+
position: relative;
|
162
|
+
vertical-align: baseline;
|
217
163
|
}
|
218
164
|
|
219
165
|
sup {
|
220
|
-
|
166
|
+
top: -0.5em;
|
221
167
|
}
|
222
168
|
|
223
169
|
sub {
|
224
|
-
|
170
|
+
bottom: -0.25em;
|
225
171
|
}
|
226
172
|
|
227
|
-
/*
|
228
|
-
Embedded content
|
173
|
+
/* Embedded content
|
229
174
|
========================================================================== */
|
230
175
|
|
231
176
|
/**
|
@@ -233,7 +178,7 @@ sub {
|
|
233
178
|
*/
|
234
179
|
|
235
180
|
img {
|
236
|
-
|
181
|
+
border: 0;
|
237
182
|
}
|
238
183
|
|
239
184
|
/**
|
@@ -241,11 +186,10 @@ img {
|
|
241
186
|
*/
|
242
187
|
|
243
188
|
svg:not(:root) {
|
244
|
-
|
189
|
+
overflow: hidden;
|
245
190
|
}
|
246
191
|
|
247
|
-
/*
|
248
|
-
Figures
|
192
|
+
/* Grouping content
|
249
193
|
========================================================================== */
|
250
194
|
|
251
195
|
/**
|
@@ -253,68 +197,82 @@ svg:not(:root) {
|
|
253
197
|
*/
|
254
198
|
|
255
199
|
figure {
|
256
|
-
|
200
|
+
margin: 1em 40px;
|
257
201
|
}
|
258
202
|
|
259
|
-
|
260
|
-
|
261
|
-
|
203
|
+
/**
|
204
|
+
* Address differences between Firefox and other browsers.
|
205
|
+
*/
|
206
|
+
|
207
|
+
hr {
|
208
|
+
-moz-box-sizing: content-box;
|
209
|
+
box-sizing: content-box;
|
210
|
+
height: 0;
|
211
|
+
}
|
262
212
|
|
263
213
|
/**
|
264
|
-
*
|
214
|
+
* Contain overflow in all browsers.
|
265
215
|
*/
|
266
216
|
|
267
|
-
|
268
|
-
|
269
|
-
margin: 0 2px;
|
270
|
-
padding: 0.35em 0.625em 0.75em;
|
217
|
+
pre {
|
218
|
+
overflow: auto;
|
271
219
|
}
|
272
220
|
|
273
221
|
/**
|
274
|
-
*
|
275
|
-
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
222
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
276
223
|
*/
|
277
224
|
|
278
|
-
|
279
|
-
|
280
|
-
|
225
|
+
code,
|
226
|
+
kbd,
|
227
|
+
pre,
|
228
|
+
samp {
|
229
|
+
font-family: monospace, monospace;
|
230
|
+
font-size: 1em;
|
281
231
|
}
|
282
232
|
|
233
|
+
/* Forms
|
234
|
+
========================================================================== */
|
235
|
+
|
283
236
|
/**
|
284
|
-
*
|
285
|
-
*
|
237
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
238
|
+
* styling of `select`, unless a `border` property is set.
|
239
|
+
*/
|
240
|
+
|
241
|
+
/**
|
242
|
+
* 1. Correct color not being inherited.
|
243
|
+
* Known issue: affects color of disabled elements.
|
244
|
+
* 2. Correct font properties not being inherited.
|
286
245
|
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
287
246
|
*/
|
288
247
|
|
289
248
|
button,
|
290
249
|
input,
|
250
|
+
optgroup,
|
291
251
|
select,
|
292
252
|
textarea {
|
293
|
-
|
294
|
-
|
295
|
-
|
253
|
+
color: inherit; /* 1 */
|
254
|
+
font: inherit; /* 2 */
|
255
|
+
margin: 0; /* 3 */
|
296
256
|
}
|
297
257
|
|
298
258
|
/**
|
299
|
-
* Address
|
300
|
-
* the UA stylesheet.
|
259
|
+
* Address `overflow` set to `hidden` in IE 8/9/10.
|
301
260
|
*/
|
302
261
|
|
303
|
-
button
|
304
|
-
|
305
|
-
line-height: normal;
|
262
|
+
button {
|
263
|
+
overflow: visible;
|
306
264
|
}
|
307
265
|
|
308
266
|
/**
|
309
267
|
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
310
268
|
* All other form control elements do not inherit `text-transform` values.
|
311
|
-
* Correct `button` style inheritance in
|
312
|
-
* Correct `select` style inheritance in Firefox
|
269
|
+
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
270
|
+
* Correct `select` style inheritance in Firefox.
|
313
271
|
*/
|
314
272
|
|
315
273
|
button,
|
316
274
|
select {
|
317
|
-
|
275
|
+
text-transform: none;
|
318
276
|
}
|
319
277
|
|
320
278
|
/**
|
@@ -329,8 +287,8 @@ button,
|
|
329
287
|
html input[type="button"], /* 1 */
|
330
288
|
input[type="reset"],
|
331
289
|
input[type="submit"] {
|
332
|
-
|
333
|
-
|
290
|
+
-webkit-appearance: button; /* 2 */
|
291
|
+
cursor: pointer; /* 3 */
|
334
292
|
}
|
335
293
|
|
336
294
|
/**
|
@@ -339,18 +297,51 @@ input[type="submit"] {
|
|
339
297
|
|
340
298
|
button[disabled],
|
341
299
|
html input[disabled] {
|
342
|
-
|
300
|
+
cursor: default;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Remove inner padding and border in Firefox 4+.
|
305
|
+
*/
|
306
|
+
|
307
|
+
button::-moz-focus-inner,
|
308
|
+
input::-moz-focus-inner {
|
309
|
+
border: 0;
|
310
|
+
padding: 0;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
315
|
+
* the UA stylesheet.
|
316
|
+
*/
|
317
|
+
|
318
|
+
input {
|
319
|
+
line-height: normal;
|
343
320
|
}
|
344
321
|
|
345
322
|
/**
|
346
|
-
*
|
347
|
-
*
|
323
|
+
* It's recommended that you don't attempt to style these elements.
|
324
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
325
|
+
*
|
326
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
327
|
+
* 2. Remove excess padding in IE 8/9/10.
|
348
328
|
*/
|
349
329
|
|
350
330
|
input[type="checkbox"],
|
351
331
|
input[type="radio"] {
|
352
|
-
|
353
|
-
|
332
|
+
box-sizing: border-box; /* 1 */
|
333
|
+
padding: 0; /* 2 */
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
338
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
339
|
+
* decrement button to change from `default` to `text`.
|
340
|
+
*/
|
341
|
+
|
342
|
+
input[type="number"]::-webkit-inner-spin-button,
|
343
|
+
input[type="number"]::-webkit-outer-spin-button {
|
344
|
+
height: auto;
|
354
345
|
}
|
355
346
|
|
356
347
|
/**
|
@@ -360,44 +351,61 @@ input[type="radio"] {
|
|
360
351
|
*/
|
361
352
|
|
362
353
|
input[type="search"] {
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
354
|
+
-webkit-appearance: textfield; /* 1 */
|
355
|
+
-moz-box-sizing: content-box;
|
356
|
+
-webkit-box-sizing: content-box; /* 2 */
|
357
|
+
box-sizing: content-box;
|
367
358
|
}
|
368
359
|
|
369
360
|
/**
|
370
|
-
* Remove inner padding and search cancel button in Safari
|
371
|
-
*
|
361
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
362
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
363
|
+
* padding (and `textfield` appearance).
|
372
364
|
*/
|
373
365
|
|
374
366
|
input[type="search"]::-webkit-search-cancel-button,
|
375
367
|
input[type="search"]::-webkit-search-decoration {
|
376
|
-
|
368
|
+
-webkit-appearance: none;
|
377
369
|
}
|
378
370
|
|
379
371
|
/**
|
380
|
-
*
|
372
|
+
* Define consistent border, margin, and padding.
|
381
373
|
*/
|
382
374
|
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
375
|
+
fieldset {
|
376
|
+
border: 1px solid #c0c0c0;
|
377
|
+
margin: 0 2px;
|
378
|
+
padding: 0.35em 0.625em 0.75em;
|
387
379
|
}
|
388
380
|
|
389
381
|
/**
|
390
|
-
* 1.
|
391
|
-
* 2.
|
382
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
383
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
384
|
+
*/
|
385
|
+
|
386
|
+
legend {
|
387
|
+
border: 0; /* 1 */
|
388
|
+
padding: 0; /* 2 */
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Remove default vertical scrollbar in IE 8/9.
|
392
393
|
*/
|
393
394
|
|
394
395
|
textarea {
|
395
|
-
|
396
|
-
|
396
|
+
overflow: auto;
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
401
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
402
|
+
*/
|
403
|
+
|
404
|
+
optgroup {
|
405
|
+
font-weight: bold;
|
397
406
|
}
|
398
407
|
|
399
|
-
/*
|
400
|
-
Tables
|
408
|
+
/* Tables
|
401
409
|
========================================================================== */
|
402
410
|
|
403
411
|
/**
|
@@ -405,6 +413,11 @@ textarea {
|
|
405
413
|
*/
|
406
414
|
|
407
415
|
table {
|
408
|
-
|
409
|
-
|
416
|
+
border-collapse: collapse;
|
417
|
+
border-spacing: 0;
|
418
|
+
}
|
419
|
+
|
420
|
+
td,
|
421
|
+
th {
|
422
|
+
padding: 0;
|
410
423
|
}
|