polar-express 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +19 -0
- data/README.md +37 -0
- data/lib/generators/inuitcss/install/USAGE +9 -0
- data/lib/generators/inuitcss/install/install_generator.rb +9 -0
- data/lib/generators/inuitcss/install/templates/inuit.css.scss +99 -0
- data/lib/polar-express.rb +6 -0
- data/vendor/assets/stylesheets/CHANGELOG.md +26 -0
- data/vendor/assets/stylesheets/CONTRIBUTING.md +42 -0
- data/vendor/assets/stylesheets/LICENSE +13 -0
- data/vendor/assets/stylesheets/README.md +367 -0
- data/vendor/assets/stylesheets/_defaults.scss +225 -0
- data/vendor/assets/stylesheets/_inuit.scss +213 -0
- data/vendor/assets/stylesheets/base/_code.scss +63 -0
- data/vendor/assets/stylesheets/base/_forms.scss +174 -0
- data/vendor/assets/stylesheets/base/_headings.scss +60 -0
- data/vendor/assets/stylesheets/base/_images.scss +73 -0
- data/vendor/assets/stylesheets/base/_lists.scss +19 -0
- data/vendor/assets/stylesheets/base/_main.scss +8 -0
- data/vendor/assets/stylesheets/base/_paragraphs.scss +11 -0
- data/vendor/assets/stylesheets/base/_quotes.scss +96 -0
- data/vendor/assets/stylesheets/base/_smallprint.scss +13 -0
- data/vendor/assets/stylesheets/base/_tables.scss +163 -0
- data/vendor/assets/stylesheets/component.json +5 -0
- data/vendor/assets/stylesheets/generic/_brand.scss +18 -0
- data/vendor/assets/stylesheets/generic/_clearfix.scss +15 -0
- data/vendor/assets/stylesheets/generic/_debug.scss +168 -0
- data/vendor/assets/stylesheets/generic/_helper.scss +184 -0
- data/vendor/assets/stylesheets/generic/_mixins.scss +328 -0
- data/vendor/assets/stylesheets/generic/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/generic/_pull.scss +147 -0
- data/vendor/assets/stylesheets/generic/_push.scss +147 -0
- data/vendor/assets/stylesheets/generic/_reset.scss +80 -0
- data/vendor/assets/stylesheets/generic/_shared.scss +61 -0
- data/vendor/assets/stylesheets/generic/_widths.scss +158 -0
- data/vendor/assets/stylesheets/objects/_arrows.scss +147 -0
- data/vendor/assets/stylesheets/objects/_beautons.scss +226 -0
- data/vendor/assets/stylesheets/objects/_block-list.scss +44 -0
- data/vendor/assets/stylesheets/objects/_breadcrumb.scss +63 -0
- data/vendor/assets/stylesheets/objects/_columns.scss +22 -0
- data/vendor/assets/stylesheets/objects/_flexbox.scss +55 -0
- data/vendor/assets/stylesheets/objects/_flyout.scss +63 -0
- data/vendor/assets/stylesheets/objects/_greybox.scss +58 -0
- data/vendor/assets/stylesheets/objects/_grids.scss +69 -0
- data/vendor/assets/stylesheets/objects/_icon-text.scss +40 -0
- data/vendor/assets/stylesheets/objects/_island.scss +38 -0
- data/vendor/assets/stylesheets/objects/_link-complex.scss +32 -0
- data/vendor/assets/stylesheets/objects/_lozenges.scss +46 -0
- data/vendor/assets/stylesheets/objects/_marginalia.scss +52 -0
- data/vendor/assets/stylesheets/objects/_matrix.scss +89 -0
- data/vendor/assets/stylesheets/objects/_media.scss +60 -0
- data/vendor/assets/stylesheets/objects/_nav.scss +155 -0
- data/vendor/assets/stylesheets/objects/_options.scss +45 -0
- data/vendor/assets/stylesheets/objects/_pagination.scss +50 -0
- data/vendor/assets/stylesheets/objects/_rules.scss +65 -0
- data/vendor/assets/stylesheets/objects/_split.scss +39 -0
- data/vendor/assets/stylesheets/objects/_sprite.scss +98 -0
- data/vendor/assets/stylesheets/objects/_stats.scss +52 -0
- data/vendor/assets/stylesheets/objects/_this-or-this.scss +38 -0
- data/vendor/assets/stylesheets/style.scss +26 -0
- metadata +122 -0
@@ -0,0 +1,396 @@
|
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/* ==========================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/*
|
8
|
+
* Correct `block` display not defined in IE 8/9.
|
9
|
+
*/
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Correct `inline-block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
/*
|
37
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
* Remove excess height in iOS 5 devices.
|
39
|
+
*/
|
40
|
+
|
41
|
+
audio:not([controls]) {
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
/*
|
47
|
+
* Address styling not present in IE 8/9.
|
48
|
+
*/
|
49
|
+
|
50
|
+
[hidden] {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* ==========================================================================
|
55
|
+
Base
|
56
|
+
========================================================================== */
|
57
|
+
|
58
|
+
/*
|
59
|
+
* 1. Set default font family to sans-serif.
|
60
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
61
|
+
* user zoom.
|
62
|
+
*/
|
63
|
+
|
64
|
+
html {
|
65
|
+
font-family: sans-serif; /* 1 */
|
66
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
67
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
68
|
+
}
|
69
|
+
|
70
|
+
/*
|
71
|
+
* Remove default margin.
|
72
|
+
*/
|
73
|
+
|
74
|
+
body {
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* ==========================================================================
|
79
|
+
Links
|
80
|
+
========================================================================== */
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
84
|
+
*/
|
85
|
+
|
86
|
+
a:focus {
|
87
|
+
outline: thin dotted;
|
88
|
+
}
|
89
|
+
|
90
|
+
/*
|
91
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
92
|
+
*/
|
93
|
+
|
94
|
+
a:active,
|
95
|
+
a:hover {
|
96
|
+
outline: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* ==========================================================================
|
100
|
+
Typography
|
101
|
+
========================================================================== */
|
102
|
+
|
103
|
+
/*
|
104
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
105
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
106
|
+
*/
|
107
|
+
|
108
|
+
h1 {
|
109
|
+
font-size: 2em;
|
110
|
+
margin: 0.67em 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
/*
|
114
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
115
|
+
*/
|
116
|
+
|
117
|
+
abbr[title] {
|
118
|
+
border-bottom: 1px dotted;
|
119
|
+
}
|
120
|
+
|
121
|
+
/*
|
122
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
123
|
+
*/
|
124
|
+
|
125
|
+
b,
|
126
|
+
strong {
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
/*
|
131
|
+
* Address styling not present in Safari 5 and Chrome.
|
132
|
+
*/
|
133
|
+
|
134
|
+
dfn {
|
135
|
+
font-style: italic;
|
136
|
+
}
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Address differences between Firefox and other browsers.
|
140
|
+
*/
|
141
|
+
|
142
|
+
hr {
|
143
|
+
-moz-box-sizing: content-box;
|
144
|
+
box-sizing: content-box;
|
145
|
+
height: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
/*
|
149
|
+
* Address styling not present in IE 8/9.
|
150
|
+
*/
|
151
|
+
|
152
|
+
mark {
|
153
|
+
background: #ff0;
|
154
|
+
color: #000;
|
155
|
+
}
|
156
|
+
|
157
|
+
/*
|
158
|
+
* Correct font family set oddly in Safari 5 and Chrome.
|
159
|
+
*/
|
160
|
+
|
161
|
+
code,
|
162
|
+
kbd,
|
163
|
+
pre,
|
164
|
+
samp {
|
165
|
+
font-family: monospace, serif;
|
166
|
+
font-size: 1em;
|
167
|
+
}
|
168
|
+
|
169
|
+
/*
|
170
|
+
* Improve readability of pre-formatted text in all browsers.
|
171
|
+
*/
|
172
|
+
|
173
|
+
pre {
|
174
|
+
white-space: pre-wrap;
|
175
|
+
}
|
176
|
+
|
177
|
+
/*
|
178
|
+
* Set consistent quote types.
|
179
|
+
*/
|
180
|
+
|
181
|
+
q {
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
183
|
+
}
|
184
|
+
|
185
|
+
/*
|
186
|
+
* Address inconsistent and variable font size in all browsers.
|
187
|
+
*/
|
188
|
+
|
189
|
+
small {
|
190
|
+
font-size: 80%;
|
191
|
+
}
|
192
|
+
|
193
|
+
/*
|
194
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
195
|
+
*/
|
196
|
+
|
197
|
+
sub,
|
198
|
+
sup {
|
199
|
+
font-size: 75%;
|
200
|
+
line-height: 0;
|
201
|
+
position: relative;
|
202
|
+
vertical-align: baseline;
|
203
|
+
}
|
204
|
+
|
205
|
+
sup {
|
206
|
+
top: -0.5em;
|
207
|
+
}
|
208
|
+
|
209
|
+
sub {
|
210
|
+
bottom: -0.25em;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* ==========================================================================
|
214
|
+
Embedded content
|
215
|
+
========================================================================== */
|
216
|
+
|
217
|
+
/*
|
218
|
+
* Remove border when inside `a` element in IE 8/9.
|
219
|
+
*/
|
220
|
+
|
221
|
+
img {
|
222
|
+
border: 0;
|
223
|
+
}
|
224
|
+
|
225
|
+
/*
|
226
|
+
* Correct overflow displayed oddly in IE 9.
|
227
|
+
*/
|
228
|
+
|
229
|
+
svg:not(:root) {
|
230
|
+
overflow: hidden;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* ==========================================================================
|
234
|
+
Figures
|
235
|
+
========================================================================== */
|
236
|
+
|
237
|
+
/*
|
238
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
239
|
+
*/
|
240
|
+
|
241
|
+
figure {
|
242
|
+
margin: 0;
|
243
|
+
}
|
244
|
+
|
245
|
+
/* ==========================================================================
|
246
|
+
Forms
|
247
|
+
========================================================================== */
|
248
|
+
|
249
|
+
/*
|
250
|
+
* Define consistent border, margin, and padding.
|
251
|
+
*/
|
252
|
+
|
253
|
+
fieldset {
|
254
|
+
border: 1px solid #c0c0c0;
|
255
|
+
margin: 0 2px;
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
257
|
+
}
|
258
|
+
|
259
|
+
/*
|
260
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
261
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
262
|
+
*/
|
263
|
+
|
264
|
+
legend {
|
265
|
+
border: 0; /* 1 */
|
266
|
+
padding: 0; /* 2 */
|
267
|
+
}
|
268
|
+
|
269
|
+
/*
|
270
|
+
* 1. Correct font family not being inherited in all browsers.
|
271
|
+
* 2. Correct font size not being inherited in all browsers.
|
272
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
273
|
+
*/
|
274
|
+
|
275
|
+
button,
|
276
|
+
input,
|
277
|
+
select,
|
278
|
+
textarea {
|
279
|
+
font-family: inherit; /* 1 */
|
280
|
+
font-size: 100%; /* 2 */
|
281
|
+
margin: 0; /* 3 */
|
282
|
+
}
|
283
|
+
|
284
|
+
/*
|
285
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
286
|
+
* the UA stylesheet.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
290
|
+
input {
|
291
|
+
line-height: normal;
|
292
|
+
}
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
296
|
+
* All other form control elements do not inherit `text-transform` values.
|
297
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
298
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
299
|
+
*/
|
300
|
+
|
301
|
+
button,
|
302
|
+
select {
|
303
|
+
text-transform: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
/*
|
307
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
308
|
+
* and `video` controls.
|
309
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
310
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
311
|
+
* `input` and others.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button,
|
315
|
+
html input[type="button"], /* 1 */
|
316
|
+
input[type="reset"],
|
317
|
+
input[type="submit"] {
|
318
|
+
-webkit-appearance: button; /* 2 */
|
319
|
+
cursor: pointer; /* 3 */
|
320
|
+
}
|
321
|
+
|
322
|
+
/*
|
323
|
+
* Re-set default cursor for disabled elements.
|
324
|
+
*/
|
325
|
+
|
326
|
+
button[disabled],
|
327
|
+
html input[disabled] {
|
328
|
+
cursor: default;
|
329
|
+
}
|
330
|
+
|
331
|
+
/*
|
332
|
+
* 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
+
* 2. Remove excess padding in IE 8/9.
|
334
|
+
*/
|
335
|
+
|
336
|
+
input[type="checkbox"],
|
337
|
+
input[type="radio"] {
|
338
|
+
box-sizing: border-box; /* 1 */
|
339
|
+
padding: 0; /* 2 */
|
340
|
+
}
|
341
|
+
|
342
|
+
/*
|
343
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
344
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
345
|
+
* (include `-moz` to future-proof).
|
346
|
+
*/
|
347
|
+
|
348
|
+
input[type="search"] {
|
349
|
+
-webkit-appearance: textfield; /* 1 */
|
350
|
+
-moz-box-sizing: content-box;
|
351
|
+
-webkit-box-sizing: content-box; /* 2 */
|
352
|
+
box-sizing: content-box;
|
353
|
+
}
|
354
|
+
|
355
|
+
/*
|
356
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
357
|
+
* on OS X.
|
358
|
+
*/
|
359
|
+
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
362
|
+
-webkit-appearance: none;
|
363
|
+
}
|
364
|
+
|
365
|
+
/*
|
366
|
+
* Remove inner padding and border in Firefox 4+.
|
367
|
+
*/
|
368
|
+
|
369
|
+
button::-moz-focus-inner,
|
370
|
+
input::-moz-focus-inner {
|
371
|
+
border: 0;
|
372
|
+
padding: 0;
|
373
|
+
}
|
374
|
+
|
375
|
+
/*
|
376
|
+
* 1. Remove default vertical scrollbar in IE 8/9.
|
377
|
+
* 2. Improve readability and alignment in all browsers.
|
378
|
+
*/
|
379
|
+
|
380
|
+
textarea {
|
381
|
+
overflow: auto; /* 1 */
|
382
|
+
vertical-align: top; /* 2 */
|
383
|
+
}
|
384
|
+
|
385
|
+
/* ==========================================================================
|
386
|
+
Tables
|
387
|
+
========================================================================== */
|
388
|
+
|
389
|
+
/*
|
390
|
+
* Remove most spacing between table cells.
|
391
|
+
*/
|
392
|
+
|
393
|
+
table {
|
394
|
+
border-collapse: collapse;
|
395
|
+
border-spacing: 0;
|
396
|
+
}
|
@@ -0,0 +1,147 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$PULL
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Pull classes, to move grid items over to the right by certain amounts.
|
6
|
+
*/
|
7
|
+
|
8
|
+
@mixin pull-setup($namespace: "") {
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Whole
|
12
|
+
*/
|
13
|
+
.pull--#{$namespace}one-whole { right:100%; }
|
14
|
+
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Halves
|
18
|
+
*/
|
19
|
+
.pull--#{$namespace}one-half { right:50%; }
|
20
|
+
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Thirds
|
24
|
+
*/
|
25
|
+
.pull--#{$namespace}one-third { right:33.333%; }
|
26
|
+
.pull--#{$namespace}two-thirds { right:66.666%; }
|
27
|
+
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Quarters
|
31
|
+
*/
|
32
|
+
.pull--#{$namespace}one-quarter { right:25%; }
|
33
|
+
.pull--#{$namespace}two-quarters { @extend .pull--#{$namespace}one-half; }
|
34
|
+
.pull--#{$namespace}three-quarters { right:75%; }
|
35
|
+
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Fifths
|
39
|
+
*/
|
40
|
+
.pull--#{$namespace}one-fifth { right:20%; }
|
41
|
+
.pull--#{$namespace}two-fifths { right:40%; }
|
42
|
+
.pull--#{$namespace}three-fifths { right:60%; }
|
43
|
+
.pull--#{$namespace}four-fifths { right:80%; }
|
44
|
+
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Sixths
|
48
|
+
*/
|
49
|
+
.pull--#{$namespace}one-sixth { right:16.666%; }
|
50
|
+
.pull--#{$namespace}two-sixths { @extend .pull--#{$namespace}one-third; }
|
51
|
+
.pull--#{$namespace}three-sixths { @extend .pull--#{$namespace}one-half; }
|
52
|
+
.pull--#{$namespace}four-sixths { @extend .pull--#{$namespace}two-thirds; }
|
53
|
+
.pull--#{$namespace}five-sixths { right:83.333%; }
|
54
|
+
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Eighths
|
58
|
+
*/
|
59
|
+
.pull--#{$namespace}one-eighth { right:12.5%; }
|
60
|
+
.pull--#{$namespace}two-eighths { @extend .pull--#{$namespace}one-quarter; }
|
61
|
+
.pull--#{$namespace}three-eighths { right:37.5%; }
|
62
|
+
.pull--#{$namespace}four-eighths { @extend .pull--#{$namespace}one-half; }
|
63
|
+
.pull--#{$namespace}five-eighths { right:62.5%; }
|
64
|
+
.pull--#{$namespace}six-eighths { @extend .pull--#{$namespace}three-quarters; }
|
65
|
+
.pull--#{$namespace}seven-eighths { right:87.5%; }
|
66
|
+
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Tenths
|
70
|
+
*/
|
71
|
+
.pull--#{$namespace}one-tenth { right:10%; }
|
72
|
+
.pull--#{$namespace}two-tenths { @extend .pull--#{$namespace}one-fifth; }
|
73
|
+
.pull--#{$namespace}three-tenths { right:30%; }
|
74
|
+
.pull--#{$namespace}four-tenths { @extend .pull--#{$namespace}two-fifths; }
|
75
|
+
.pull--#{$namespace}five-tenths { @extend .pull--#{$namespace}one-half; }
|
76
|
+
.pull--#{$namespace}six-tenths { @extend .pull--#{$namespace}three-fifths; }
|
77
|
+
.pull--#{$namespace}seven-tenths { right:70%; }
|
78
|
+
.pull--#{$namespace}eight-tenths { @extend .pull--#{$namespace}four-fifths; }
|
79
|
+
.pull--#{$namespace}nine-tenths { right:90%; }
|
80
|
+
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Twelfths
|
84
|
+
*/
|
85
|
+
.pull--#{$namespace}one-twelfth { right:8.333%; }
|
86
|
+
.pull--#{$namespace}two-twelfths { @extend .pull--#{$namespace}one-sixth; }
|
87
|
+
.pull--#{$namespace}three-twelfths { @extend .pull--#{$namespace}one-quarter; }
|
88
|
+
.pull--#{$namespace}four-twelfths { @extend .pull--#{$namespace}one-third; }
|
89
|
+
.pull--#{$namespace}five-twelfths { right:41.666% }
|
90
|
+
.pull--#{$namespace}six-twelfths { @extend .pull--#{$namespace}one-half; }
|
91
|
+
.pull--#{$namespace}seven-twelfths { right:58.333%; }
|
92
|
+
.pull--#{$namespace}eight-twelfths { @extend .pull--#{$namespace}two-thirds; }
|
93
|
+
.pull--#{$namespace}nine-twelfths { @extend .pull--#{$namespace}three-quarters; }
|
94
|
+
.pull--#{$namespace}ten-twelfths { @extend .pull--#{$namespace}five-sixths; }
|
95
|
+
.pull--#{$namespace}eleven-twelfths { right:91.666%; }
|
96
|
+
}
|
97
|
+
|
98
|
+
@if $pull == true{
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Not a particularly great selector, but the DRYest way to do things.
|
102
|
+
*/
|
103
|
+
[class*="pull--"]{ position:relative; }
|
104
|
+
|
105
|
+
@include pull-setup();
|
106
|
+
|
107
|
+
@if $palm-pull == true{
|
108
|
+
|
109
|
+
@include media-query(palm){
|
110
|
+
@include pull-setup("palm-");
|
111
|
+
}
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
@if $lap-pull == true{
|
116
|
+
|
117
|
+
@include media-query(lap){
|
118
|
+
@include pull-setup("lap-");
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
@if $lap-and-up-pull == true{
|
124
|
+
|
125
|
+
@include media-query(lap-and-up){
|
126
|
+
@include pull-setup("lap-and-up-");
|
127
|
+
}
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
@if $portable-pull == true{
|
132
|
+
|
133
|
+
@include media-query(portable){
|
134
|
+
@include pull-setup("portable-");
|
135
|
+
}
|
136
|
+
|
137
|
+
}
|
138
|
+
|
139
|
+
@if $desk-pull == true{
|
140
|
+
|
141
|
+
@include media-query(desk){
|
142
|
+
@include pull-setup("desk-");
|
143
|
+
}
|
144
|
+
|
145
|
+
}
|
146
|
+
|
147
|
+
}//endif
|
@@ -0,0 +1,147 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$PUSH
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Push classes, to move grid items over to the right by certain amounts.
|
6
|
+
*/
|
7
|
+
|
8
|
+
@mixin push-setup($namespace: "") {
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Whole
|
12
|
+
*/
|
13
|
+
.push--#{$namespace}one-whole { left:100%; }
|
14
|
+
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Halves
|
18
|
+
*/
|
19
|
+
.push--#{$namespace}one-half { left:50%; }
|
20
|
+
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Thirds
|
24
|
+
*/
|
25
|
+
.push--#{$namespace}one-third { left:33.333%; }
|
26
|
+
.push--#{$namespace}two-thirds { left:66.666%; }
|
27
|
+
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Quarters
|
31
|
+
*/
|
32
|
+
.push--#{$namespace}one-quarter { left:25%; }
|
33
|
+
.push--#{$namespace}two-quarters { @extend .push--#{$namespace}one-half; }
|
34
|
+
.push--#{$namespace}three-quarters { left:75%; }
|
35
|
+
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Fifths
|
39
|
+
*/
|
40
|
+
.push--#{$namespace}one-fifth { left:20%; }
|
41
|
+
.push--#{$namespace}two-fifths { left:40%; }
|
42
|
+
.push--#{$namespace}three-fifths { left:60%; }
|
43
|
+
.push--#{$namespace}four-fifths { left:80%; }
|
44
|
+
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Sixths
|
48
|
+
*/
|
49
|
+
.push--#{$namespace}one-sixth { left:16.666%; }
|
50
|
+
.push--#{$namespace}two-sixths { @extend .push--#{$namespace}one-third; }
|
51
|
+
.push--#{$namespace}three-sixths { @extend .push--#{$namespace}one-half; }
|
52
|
+
.push--#{$namespace}four-sixths { @extend .push--#{$namespace}two-thirds; }
|
53
|
+
.push--#{$namespace}five-sixths { left:83.333%; }
|
54
|
+
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Eighths
|
58
|
+
*/
|
59
|
+
.push--#{$namespace}one-eighth { left:12.5%; }
|
60
|
+
.push--#{$namespace}two-eighths { @extend .push--#{$namespace}one-quarter; }
|
61
|
+
.push--#{$namespace}three-eighths { left:37.5%; }
|
62
|
+
.push--#{$namespace}four-eighths { @extend .push--#{$namespace}one-half; }
|
63
|
+
.push--#{$namespace}five-eighths { left:62.5%; }
|
64
|
+
.push--#{$namespace}six-eighths { @extend .push--#{$namespace}three-quarters; }
|
65
|
+
.push--#{$namespace}seven-eighths { left:87.5%; }
|
66
|
+
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Tenths
|
70
|
+
*/
|
71
|
+
.push--#{$namespace}one-tenth { left:10%; }
|
72
|
+
.push--#{$namespace}two-tenths { @extend .push--#{$namespace}one-fifth; }
|
73
|
+
.push--#{$namespace}three-tenths { left:30%; }
|
74
|
+
.push--#{$namespace}four-tenths { @extend .push--#{$namespace}two-fifths; }
|
75
|
+
.push--#{$namespace}five-tenths { @extend .push--#{$namespace}one-half; }
|
76
|
+
.push--#{$namespace}six-tenths { @extend .push--#{$namespace}three-fifths; }
|
77
|
+
.push--#{$namespace}seven-tenths { left:70%; }
|
78
|
+
.push--#{$namespace}eight-tenths { @extend .push--#{$namespace}four-fifths; }
|
79
|
+
.push--#{$namespace}nine-tenths { left:90%; }
|
80
|
+
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Twelfths
|
84
|
+
*/
|
85
|
+
.push--#{$namespace}one-twelfth { left:8.333%; }
|
86
|
+
.push--#{$namespace}two-twelfths { @extend .push--#{$namespace}one-sixth; }
|
87
|
+
.push--#{$namespace}three-twelfths { @extend .push--#{$namespace}one-quarter; }
|
88
|
+
.push--#{$namespace}four-twelfths { @extend .push--#{$namespace}one-third; }
|
89
|
+
.push--#{$namespace}five-twelfths { left:41.666% }
|
90
|
+
.push--#{$namespace}six-twelfths { @extend .push--#{$namespace}one-half; }
|
91
|
+
.push--#{$namespace}seven-twelfths { left:58.333%; }
|
92
|
+
.push--#{$namespace}eight-twelfths { @extend .push--#{$namespace}two-thirds; }
|
93
|
+
.push--#{$namespace}nine-twelfths { @extend .push--#{$namespace}three-quarters; }
|
94
|
+
.push--#{$namespace}ten-twelfths { @extend .push--#{$namespace}five-sixths; }
|
95
|
+
.push--#{$namespace}eleven-twelfths { left:91.666%; }
|
96
|
+
}
|
97
|
+
|
98
|
+
@if $push == true{
|
99
|
+
|
100
|
+
@include push-setup();
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Not a particularly great selector, but the DRYest way to do things.
|
104
|
+
*/
|
105
|
+
[class*="push--"]{ position:relative; }
|
106
|
+
|
107
|
+
@if $palm-push == true{
|
108
|
+
|
109
|
+
@include media-query(palm){
|
110
|
+
@include push-setup("palm-");
|
111
|
+
}
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
@if $lap-push == true{
|
116
|
+
|
117
|
+
@include media-query(lap){
|
118
|
+
@include push-setup("lap-");
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
@if $lap-and-up-push == true{
|
124
|
+
|
125
|
+
@include media-query(lap-and-up){
|
126
|
+
@include push-setup("lap-and-up-");
|
127
|
+
}
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
@if $portable-push == true{
|
132
|
+
|
133
|
+
@include media-query(portable){
|
134
|
+
@include push-setup("portable-");
|
135
|
+
}
|
136
|
+
|
137
|
+
}
|
138
|
+
|
139
|
+
@if $desk-push == true{
|
140
|
+
|
141
|
+
@include media-query(desk){
|
142
|
+
@include push-setup("desk-");
|
143
|
+
}
|
144
|
+
|
145
|
+
}
|
146
|
+
|
147
|
+
}//endif
|