english_tea 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +37 -0
- data/Rakefile +10 -0
- data/app/assets/stylesheets/english_tea/all.scss +154 -0
- data/app/assets/stylesheets/english_tea/border/_index.scss +77 -0
- data/app/assets/stylesheets/english_tea/buttons/_index.scss +44 -0
- data/app/assets/stylesheets/english_tea/color/_border.scss +32 -0
- data/app/assets/stylesheets/english_tea/color/_buttons.scss +182 -0
- data/app/assets/stylesheets/english_tea/color/_index.scss +57 -0
- data/app/assets/stylesheets/english_tea/color/_jobs.scss +46 -0
- data/app/assets/stylesheets/english_tea/color/_social.scss +21 -0
- data/app/assets/stylesheets/english_tea/color/_status.scss +25 -0
- data/app/assets/stylesheets/english_tea/dimension/_margin.scss +196 -0
- data/app/assets/stylesheets/english_tea/dimension/_padding.scss +166 -0
- data/app/assets/stylesheets/english_tea/dimension/_position.scss +80 -0
- data/app/assets/stylesheets/english_tea/forms/_autocomplete.scss +67 -0
- data/app/assets/stylesheets/english_tea/forms/_choices.scss +204 -0
- data/app/assets/stylesheets/english_tea/forms/_datepicker.scss +142 -0
- data/app/assets/stylesheets/english_tea/forms/_index.scss +246 -0
- data/app/assets/stylesheets/english_tea/forms/_media.scss +61 -0
- data/app/assets/stylesheets/english_tea/forms/_numeric.scss +47 -0
- data/app/assets/stylesheets/english_tea/forms/_range.scss +124 -0
- data/app/assets/stylesheets/english_tea/forms/_select.scss +398 -0
- data/app/assets/stylesheets/english_tea/forms/_text.scss +51 -0
- data/app/assets/stylesheets/english_tea/forms/_uploader.scss +51 -0
- data/app/assets/stylesheets/english_tea/layout/_alignment.scss +89 -0
- data/app/assets/stylesheets/english_tea/layout/_clearfix.scss +15 -0
- data/app/assets/stylesheets/english_tea/layout/_display.scss +93 -0
- data/app/assets/stylesheets/english_tea/layout/_flex.scss +266 -0
- data/app/assets/stylesheets/english_tea/layout/_float.scss +33 -0
- data/app/assets/stylesheets/english_tea/layout/_grid.scss +210 -0
- data/app/assets/stylesheets/english_tea/layout/_layers.scss +11 -0
- data/app/assets/stylesheets/english_tea/layout/_position.scss +36 -0
- data/app/assets/stylesheets/english_tea/layout/_sizing.scss +264 -0
- data/app/assets/stylesheets/english_tea/layout/_visibility.scss +121 -0
- data/app/assets/stylesheets/english_tea/marketing/_double_login.scss +10 -0
- data/app/assets/stylesheets/english_tea/marketing/_index.scss +1350 -0
- data/app/assets/stylesheets/english_tea/media/_icons.scss +61 -0
- data/app/assets/stylesheets/english_tea/modules/_avatars.scss +40 -0
- data/app/assets/stylesheets/english_tea/modules/_billing.scss +60 -0
- data/app/assets/stylesheets/english_tea/modules/_box-shadow.scss +11 -0
- data/app/assets/stylesheets/english_tea/modules/_bubbles.scss +36 -0
- data/app/assets/stylesheets/english_tea/modules/_celebrate.scss +27 -0
- data/app/assets/stylesheets/english_tea/modules/_cursors.scss +51 -0
- data/app/assets/stylesheets/english_tea/modules/_fadein.scss +38 -0
- data/app/assets/stylesheets/english_tea/modules/_index.scss +224 -0
- data/app/assets/stylesheets/english_tea/modules/_job_posts.scss +303 -0
- data/app/assets/stylesheets/english_tea/modules/_listings.scss +32 -0
- data/app/assets/stylesheets/english_tea/modules/_menu.scss +57 -0
- data/app/assets/stylesheets/english_tea/modules/_modal.scss +37 -0
- data/app/assets/stylesheets/english_tea/modules/_navigation.scss +94 -0
- data/app/assets/stylesheets/english_tea/modules/_notification.scss +8 -0
- data/app/assets/stylesheets/english_tea/modules/_notifications_stream.scss +18 -0
- data/app/assets/stylesheets/english_tea/modules/_overlay.scss +49 -0
- data/app/assets/stylesheets/english_tea/modules/_profile.scss +239 -0
- data/app/assets/stylesheets/english_tea/modules/_projects.scss +55 -0
- data/app/assets/stylesheets/english_tea/modules/_stickybanner.scss +46 -0
- data/app/assets/stylesheets/english_tea/modules/_tabs.scss +14 -0
- data/app/assets/stylesheets/english_tea/modules/_tiles.scss +401 -0
- data/app/assets/stylesheets/english_tea/modules/_tooltips.scss +53 -0
- data/app/assets/stylesheets/english_tea/setup/_config.scss +515 -0
- data/app/assets/stylesheets/english_tea/setup/_default.scss +286 -0
- data/app/assets/stylesheets/english_tea/setup/_functions.scss +110 -0
- data/app/assets/stylesheets/english_tea/setup/_mixins.scss +258 -0
- data/app/assets/stylesheets/english_tea/setup/_normalize.scss +427 -0
- data/app/assets/stylesheets/english_tea/transition/_index.scss +97 -0
- data/app/assets/stylesheets/english_tea/typography/_fonts.scss +41 -0
- data/app/assets/stylesheets/english_tea/typography/_hierarchy.scss +40 -0
- data/app/assets/stylesheets/english_tea/typography/_style.scss +126 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/english_tea.gemspec +28 -0
- data/lib/english_tea/rails/engine.rb +6 -0
- data/lib/english_tea/version.rb +3 -0
- data/lib/english_tea.rb +5 -0
- data/vendor/assets/stylesheets/snapper.scss +83 -0
- metadata +179 -0
@@ -0,0 +1,427 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Normalization of elements across browsers
|
3
|
+
// normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css
|
4
|
+
// ==========================================================================
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Set default font family to sans-serif.
|
8
|
+
* 2. Prevent iOS and IE text size adjust after device orientation change,
|
9
|
+
* without disabling user zoom.
|
10
|
+
*/
|
11
|
+
|
12
|
+
html {
|
13
|
+
font-family: sans-serif; /* 1 */
|
14
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
15
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
16
|
+
}
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Remove default margin.
|
20
|
+
*/
|
21
|
+
|
22
|
+
body {
|
23
|
+
margin: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* HTML5 display definitions
|
27
|
+
========================================================================== */
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
31
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
32
|
+
* and Firefox.
|
33
|
+
* Correct `block` display not defined for `main` in IE 11.
|
34
|
+
*/
|
35
|
+
|
36
|
+
article,
|
37
|
+
aside,
|
38
|
+
details,
|
39
|
+
figcaption,
|
40
|
+
figure,
|
41
|
+
footer,
|
42
|
+
header,
|
43
|
+
hgroup,
|
44
|
+
main,
|
45
|
+
menu,
|
46
|
+
nav,
|
47
|
+
section,
|
48
|
+
summary {
|
49
|
+
display: block;
|
50
|
+
}
|
51
|
+
|
52
|
+
/**
|
53
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
54
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
55
|
+
*/
|
56
|
+
|
57
|
+
audio,
|
58
|
+
canvas,
|
59
|
+
progress,
|
60
|
+
video {
|
61
|
+
display: inline-block; /* 1 */
|
62
|
+
vertical-align: baseline; /* 2 */
|
63
|
+
}
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
67
|
+
* Remove excess height in iOS 5 devices.
|
68
|
+
*/
|
69
|
+
|
70
|
+
audio:not([controls]) {
|
71
|
+
display: none;
|
72
|
+
height: 0;
|
73
|
+
}
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
77
|
+
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
78
|
+
*/
|
79
|
+
|
80
|
+
[hidden],
|
81
|
+
template {
|
82
|
+
display: none;
|
83
|
+
}
|
84
|
+
|
85
|
+
/* Links
|
86
|
+
========================================================================== */
|
87
|
+
|
88
|
+
/**
|
89
|
+
* Remove the gray background color from active links in IE 10.
|
90
|
+
*/
|
91
|
+
|
92
|
+
a {
|
93
|
+
background-color: transparent;
|
94
|
+
}
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Improve readability of focused elements when they are also in an
|
98
|
+
* active/hover state.
|
99
|
+
*/
|
100
|
+
|
101
|
+
a:active,
|
102
|
+
a:hover {
|
103
|
+
outline: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
/* Text-level semantics
|
107
|
+
========================================================================== */
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
111
|
+
*/
|
112
|
+
|
113
|
+
abbr[title] {
|
114
|
+
border-bottom: 1px dotted;
|
115
|
+
}
|
116
|
+
|
117
|
+
/**
|
118
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
119
|
+
*/
|
120
|
+
|
121
|
+
b,
|
122
|
+
strong {
|
123
|
+
font-weight: bold;
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Address styling not present in Safari and Chrome.
|
128
|
+
*/
|
129
|
+
|
130
|
+
dfn {
|
131
|
+
font-style: italic;
|
132
|
+
}
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
136
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
137
|
+
*/
|
138
|
+
|
139
|
+
h1 {
|
140
|
+
font-size: 2em;
|
141
|
+
margin: 0.67em 0;
|
142
|
+
}
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Address styling not present in IE 8/9.
|
146
|
+
*/
|
147
|
+
|
148
|
+
mark {
|
149
|
+
background: #ff0;
|
150
|
+
color: #000;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Address inconsistent and variable font size in all browsers.
|
155
|
+
*/
|
156
|
+
|
157
|
+
small {
|
158
|
+
font-size: 80%;
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
163
|
+
*/
|
164
|
+
|
165
|
+
sub,
|
166
|
+
sup {
|
167
|
+
font-size: 75%;
|
168
|
+
line-height: 0;
|
169
|
+
position: relative;
|
170
|
+
vertical-align: baseline;
|
171
|
+
}
|
172
|
+
|
173
|
+
sup {
|
174
|
+
top: -0.5em;
|
175
|
+
}
|
176
|
+
|
177
|
+
sub {
|
178
|
+
bottom: -0.25em;
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Embedded content
|
182
|
+
========================================================================== */
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
186
|
+
*/
|
187
|
+
|
188
|
+
img {
|
189
|
+
border: 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
/**
|
193
|
+
* Correct overflow not hidden in IE 9/10/11.
|
194
|
+
*/
|
195
|
+
|
196
|
+
svg:not(:root) {
|
197
|
+
overflow: hidden;
|
198
|
+
}
|
199
|
+
|
200
|
+
/* Grouping content
|
201
|
+
========================================================================== */
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Address margin not present in IE 8/9 and Safari.
|
205
|
+
*/
|
206
|
+
|
207
|
+
figure {
|
208
|
+
margin: 1em 40px;
|
209
|
+
}
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Address differences between Firefox and other browsers.
|
213
|
+
*/
|
214
|
+
|
215
|
+
hr {
|
216
|
+
box-sizing: content-box;
|
217
|
+
height: 0;
|
218
|
+
}
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Contain overflow in all browsers.
|
222
|
+
*/
|
223
|
+
|
224
|
+
pre {
|
225
|
+
overflow: auto;
|
226
|
+
}
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
230
|
+
*/
|
231
|
+
|
232
|
+
code,
|
233
|
+
kbd,
|
234
|
+
pre,
|
235
|
+
samp {
|
236
|
+
font-family: monospace, monospace;
|
237
|
+
font-size: 1em;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Forms
|
241
|
+
========================================================================== */
|
242
|
+
|
243
|
+
/**
|
244
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
245
|
+
* styling of `select`, unless a `border` property is set.
|
246
|
+
*/
|
247
|
+
|
248
|
+
/**
|
249
|
+
* 1. Correct color not being inherited.
|
250
|
+
* Known issue: affects color of disabled elements.
|
251
|
+
* 2. Correct font properties not being inherited.
|
252
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
253
|
+
*/
|
254
|
+
|
255
|
+
button,
|
256
|
+
input,
|
257
|
+
optgroup,
|
258
|
+
select,
|
259
|
+
textarea {
|
260
|
+
color: inherit; /* 1 */
|
261
|
+
font: inherit; /* 2 */
|
262
|
+
margin: 0; /* 3 */
|
263
|
+
}
|
264
|
+
|
265
|
+
/**
|
266
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
267
|
+
*/
|
268
|
+
|
269
|
+
button {
|
270
|
+
overflow: visible;
|
271
|
+
}
|
272
|
+
|
273
|
+
/**
|
274
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
275
|
+
* All other form control elements do not inherit `text-transform` values.
|
276
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
277
|
+
* Correct `select` style inheritance in Firefox.
|
278
|
+
*/
|
279
|
+
|
280
|
+
button,
|
281
|
+
select {
|
282
|
+
text-transform: none;
|
283
|
+
}
|
284
|
+
|
285
|
+
/**
|
286
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
287
|
+
* and `video` controls.
|
288
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
289
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
290
|
+
* `input` and others.
|
291
|
+
*/
|
292
|
+
|
293
|
+
button,
|
294
|
+
html input[type="button"], /* 1 */
|
295
|
+
input[type="reset"],
|
296
|
+
input[type="submit"] {
|
297
|
+
-webkit-appearance: button; /* 2 */
|
298
|
+
cursor: pointer; /* 3 */
|
299
|
+
}
|
300
|
+
|
301
|
+
/**
|
302
|
+
* Re-set default cursor for disabled elements.
|
303
|
+
*/
|
304
|
+
|
305
|
+
button[disabled],
|
306
|
+
html input[disabled] {
|
307
|
+
cursor: default;
|
308
|
+
}
|
309
|
+
|
310
|
+
/**
|
311
|
+
* Remove inner padding and border in Firefox 4+.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button::-moz-focus-inner,
|
315
|
+
input::-moz-focus-inner {
|
316
|
+
border: 0;
|
317
|
+
padding: 0;
|
318
|
+
}
|
319
|
+
|
320
|
+
/**
|
321
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
322
|
+
* the UA stylesheet.
|
323
|
+
*/
|
324
|
+
|
325
|
+
input {
|
326
|
+
line-height: normal;
|
327
|
+
}
|
328
|
+
|
329
|
+
/**
|
330
|
+
* It's recommended that you don't attempt to style these elements.
|
331
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
332
|
+
*
|
333
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
334
|
+
* 2. Remove excess padding in IE 8/9/10.
|
335
|
+
*/
|
336
|
+
|
337
|
+
input[type="checkbox"],
|
338
|
+
input[type="radio"] {
|
339
|
+
box-sizing: border-box; /* 1 */
|
340
|
+
padding: 0; /* 2 */
|
341
|
+
}
|
342
|
+
|
343
|
+
/**
|
344
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
345
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
346
|
+
* decrement button to change from `default` to `text`.
|
347
|
+
*/
|
348
|
+
|
349
|
+
input[type="number"]::-webkit-inner-spin-button,
|
350
|
+
input[type="number"]::-webkit-outer-spin-button {
|
351
|
+
height: auto;
|
352
|
+
}
|
353
|
+
|
354
|
+
/**
|
355
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
356
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
357
|
+
*/
|
358
|
+
|
359
|
+
input[type="search"] {
|
360
|
+
-webkit-appearance: textfield; /* 1 */
|
361
|
+
box-sizing: content-box; /* 2 */
|
362
|
+
}
|
363
|
+
|
364
|
+
/**
|
365
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
366
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
367
|
+
* padding (and `textfield` appearance).
|
368
|
+
*/
|
369
|
+
|
370
|
+
input[type="search"]::-webkit-search-cancel-button,
|
371
|
+
input[type="search"]::-webkit-search-decoration {
|
372
|
+
-webkit-appearance: none;
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Define consistent border, margin, and padding.
|
377
|
+
*/
|
378
|
+
|
379
|
+
fieldset {
|
380
|
+
border: 1px solid #c0c0c0;
|
381
|
+
margin: 0 2px;
|
382
|
+
padding: 0.35em 0.625em 0.75em;
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
387
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
388
|
+
*/
|
389
|
+
|
390
|
+
legend {
|
391
|
+
border: 0; /* 1 */
|
392
|
+
padding: 0; /* 2 */
|
393
|
+
}
|
394
|
+
|
395
|
+
/**
|
396
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
397
|
+
*/
|
398
|
+
|
399
|
+
textarea {
|
400
|
+
overflow: auto;
|
401
|
+
}
|
402
|
+
|
403
|
+
/**
|
404
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
405
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
406
|
+
*/
|
407
|
+
|
408
|
+
optgroup {
|
409
|
+
font-weight: bold;
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Tables
|
413
|
+
========================================================================== */
|
414
|
+
|
415
|
+
/**
|
416
|
+
* Remove most spacing between table cells.
|
417
|
+
*/
|
418
|
+
|
419
|
+
table {
|
420
|
+
border-collapse: collapse;
|
421
|
+
border-spacing: 0;
|
422
|
+
}
|
423
|
+
|
424
|
+
td,
|
425
|
+
th {
|
426
|
+
padding: 0;
|
427
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Transition and animation utility classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
// ---
|
6
|
+
// TRANSITION BASE
|
7
|
+
// ---
|
8
|
+
|
9
|
+
.xtn
|
10
|
+
{
|
11
|
+
@include transition(all 0.25s $transition-easing-base);
|
12
|
+
}
|
13
|
+
|
14
|
+
.xtn-xfm
|
15
|
+
{
|
16
|
+
@include transition(transform 0.25s $transition-easing-base);
|
17
|
+
}
|
18
|
+
|
19
|
+
.xtn1
|
20
|
+
{
|
21
|
+
@include transition(all 0.125s $transition-easing-base);
|
22
|
+
}
|
23
|
+
|
24
|
+
.xtn1-xfm
|
25
|
+
{
|
26
|
+
@include transition(transform 0.125s $transition-easing-base);
|
27
|
+
}
|
28
|
+
|
29
|
+
// ---
|
30
|
+
// TRANSITION: DIMENSIONS
|
31
|
+
// ---
|
32
|
+
|
33
|
+
@include _bp-prefixer(xtn)
|
34
|
+
{
|
35
|
+
&-h0
|
36
|
+
{
|
37
|
+
height: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
&-hauto
|
41
|
+
{
|
42
|
+
height: auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
&-w0
|
46
|
+
{
|
47
|
+
max-width: 0; // Make safari behave
|
48
|
+
width: 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
&-wauto
|
52
|
+
{
|
53
|
+
width: auto;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// ---
|
58
|
+
// TRANSITION: TRANSFORMS
|
59
|
+
// Translations
|
60
|
+
// ---
|
61
|
+
|
62
|
+
.xfm-tpush
|
63
|
+
{
|
64
|
+
@include transform(translate3d(0, 100%, 0) !important);
|
65
|
+
}
|
66
|
+
|
67
|
+
.xfm-rpush
|
68
|
+
{
|
69
|
+
@include transform(translate3d(-100%, 0, 0) !important);
|
70
|
+
}
|
71
|
+
|
72
|
+
.xfm-rpush5
|
73
|
+
{
|
74
|
+
@include transform(translate3d(-5%, 0, 0) !important);
|
75
|
+
}
|
76
|
+
|
77
|
+
.xfm-bpush
|
78
|
+
{
|
79
|
+
@include transform(translate3d(0, -100%, 0) !important);
|
80
|
+
}
|
81
|
+
|
82
|
+
.xfm-lpush
|
83
|
+
{
|
84
|
+
@include transform(translate3d(100%, 0, 0) !important);
|
85
|
+
}
|
86
|
+
|
87
|
+
// Scaling on hover
|
88
|
+
|
89
|
+
.xfm-hov-scale1
|
90
|
+
{
|
91
|
+
@include transform(translate3d(0, 0, 0));
|
92
|
+
|
93
|
+
&:hover
|
94
|
+
{
|
95
|
+
@include transform(scale(1.125));
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Shorthand font family declaration classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
.f
|
6
|
+
{
|
7
|
+
font-family: $type-font-body;
|
8
|
+
font-weight: $type-weight-normal;
|
9
|
+
letter-spacing: normal;
|
10
|
+
}
|
11
|
+
|
12
|
+
.f-title
|
13
|
+
{
|
14
|
+
font-family: $type-font-title;
|
15
|
+
font-weight: $type-weight-medium;
|
16
|
+
letter-spacing: $type-kerning-title;
|
17
|
+
text-transform: uppercase;
|
18
|
+
}
|
19
|
+
|
20
|
+
.f-status
|
21
|
+
{
|
22
|
+
font-family: $type-font-status;
|
23
|
+
font-weight: $type-weight-semibold;
|
24
|
+
letter-spacing: $type-kerning-status;
|
25
|
+
text-transform: uppercase;
|
26
|
+
}
|
27
|
+
|
28
|
+
.f-desc
|
29
|
+
{
|
30
|
+
font-family: $type-font-description;
|
31
|
+
font-style: $type-style-description;
|
32
|
+
font-weight: $type-weight-normal;
|
33
|
+
letter-spacing: $type-kerning-desc;
|
34
|
+
}
|
35
|
+
|
36
|
+
.f-code
|
37
|
+
{
|
38
|
+
color: map-get(map-get($colors-status, stat-a), std);
|
39
|
+
font-family: $type-font-code;
|
40
|
+
font-weight: $type-weight-normal;
|
41
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Typographic hierarchy & rhythm classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
// Font sizes and proportional line heights as defined in `$type-scale`
|
6
|
+
@include _bp-prefixer(t)
|
7
|
+
{
|
8
|
+
@each $key, $val in $type-scale
|
9
|
+
{
|
10
|
+
&#{$key}
|
11
|
+
{
|
12
|
+
font-size: _rem(map-get($val, size)) !important;
|
13
|
+
line-height: _decimal-ceil(map-get($val, line-height) / map-get($val, size), 3) !important;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
// Line heights in fixed 10px REM increments
|
19
|
+
@include _bp-prefixer(lh)
|
20
|
+
{
|
21
|
+
@each $key, $val in $gutter-scale
|
22
|
+
{
|
23
|
+
&#{$key}
|
24
|
+
{
|
25
|
+
line-height: _rem($val) !important;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Line heights in fixed REM increments as defined in `$type-scale`
|
31
|
+
@include _bp-prefixer(tlh)
|
32
|
+
{
|
33
|
+
@each $key, $val in $type-scale
|
34
|
+
{
|
35
|
+
&#{$key}
|
36
|
+
{
|
37
|
+
line-height: _rem(map-get($val, line-height)) !important;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Typographic styling classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
// ---
|
6
|
+
// WEIGHTS
|
7
|
+
// ---
|
8
|
+
|
9
|
+
.light
|
10
|
+
{
|
11
|
+
font-weight: $type-weight-light !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
.normal
|
15
|
+
{
|
16
|
+
font-weight: $type-weight-normal !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
.medium
|
20
|
+
{
|
21
|
+
font-weight: $type-weight-medium !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
.bold
|
25
|
+
{
|
26
|
+
font-weight: $type-weight-bold !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
// ---
|
30
|
+
// STYLES
|
31
|
+
// ---
|
32
|
+
|
33
|
+
.italic
|
34
|
+
{
|
35
|
+
font-style: italic !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.roman
|
39
|
+
{
|
40
|
+
font-style: normal !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
.underline
|
44
|
+
{
|
45
|
+
text-decoration: underline !important;
|
46
|
+
}
|
47
|
+
|
48
|
+
.no-underline
|
49
|
+
{
|
50
|
+
text-decoration: none !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.caps
|
54
|
+
{
|
55
|
+
text-transform: uppercase !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
.title
|
59
|
+
{
|
60
|
+
text-transform: capitalize !important;
|
61
|
+
}
|
62
|
+
|
63
|
+
.strike
|
64
|
+
{
|
65
|
+
text-decoration: line-through !important;
|
66
|
+
}
|
67
|
+
|
68
|
+
// ---
|
69
|
+
// KERNING
|
70
|
+
// ---
|
71
|
+
|
72
|
+
@each $key, $val in $kerning-scale
|
73
|
+
{
|
74
|
+
.kern#{$key}
|
75
|
+
{
|
76
|
+
letter-spacing: $val !important;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// ---
|
81
|
+
// EFFECTS
|
82
|
+
// ---
|
83
|
+
|
84
|
+
.wrap
|
85
|
+
{
|
86
|
+
white-space: normal !important;
|
87
|
+
}
|
88
|
+
|
89
|
+
.nowrap
|
90
|
+
{
|
91
|
+
white-space: nowrap !important;
|
92
|
+
}
|
93
|
+
|
94
|
+
.break
|
95
|
+
{
|
96
|
+
word-wrap: break-word !important;
|
97
|
+
}
|
98
|
+
|
99
|
+
.truncate
|
100
|
+
{
|
101
|
+
max-width: 100%;
|
102
|
+
overflow: hidden;
|
103
|
+
text-overflow: ellipsis;
|
104
|
+
white-space: nowrap;
|
105
|
+
}
|
106
|
+
|
107
|
+
// ---
|
108
|
+
// TYPOGRAPHIC ELEMENTS
|
109
|
+
// ---
|
110
|
+
|
111
|
+
// <ul>
|
112
|
+
.list
|
113
|
+
{
|
114
|
+
list-style: disc outside !important;
|
115
|
+
|
116
|
+
> li
|
117
|
+
{
|
118
|
+
margin-left: _rem(($base-rhythm * 2) + $base-rhythm-half);
|
119
|
+
padding-left: _rem($base-rhythm-half);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.nums
|
124
|
+
{
|
125
|
+
list-style: decimal inside !important;
|
126
|
+
}
|