english_tea 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +37 -0
  6. data/Rakefile +10 -0
  7. data/app/assets/stylesheets/english_tea/all.scss +154 -0
  8. data/app/assets/stylesheets/english_tea/border/_index.scss +77 -0
  9. data/app/assets/stylesheets/english_tea/buttons/_index.scss +44 -0
  10. data/app/assets/stylesheets/english_tea/color/_border.scss +32 -0
  11. data/app/assets/stylesheets/english_tea/color/_buttons.scss +182 -0
  12. data/app/assets/stylesheets/english_tea/color/_index.scss +57 -0
  13. data/app/assets/stylesheets/english_tea/color/_jobs.scss +46 -0
  14. data/app/assets/stylesheets/english_tea/color/_social.scss +21 -0
  15. data/app/assets/stylesheets/english_tea/color/_status.scss +25 -0
  16. data/app/assets/stylesheets/english_tea/dimension/_margin.scss +196 -0
  17. data/app/assets/stylesheets/english_tea/dimension/_padding.scss +166 -0
  18. data/app/assets/stylesheets/english_tea/dimension/_position.scss +80 -0
  19. data/app/assets/stylesheets/english_tea/forms/_autocomplete.scss +67 -0
  20. data/app/assets/stylesheets/english_tea/forms/_choices.scss +204 -0
  21. data/app/assets/stylesheets/english_tea/forms/_datepicker.scss +142 -0
  22. data/app/assets/stylesheets/english_tea/forms/_index.scss +246 -0
  23. data/app/assets/stylesheets/english_tea/forms/_media.scss +61 -0
  24. data/app/assets/stylesheets/english_tea/forms/_numeric.scss +47 -0
  25. data/app/assets/stylesheets/english_tea/forms/_range.scss +124 -0
  26. data/app/assets/stylesheets/english_tea/forms/_select.scss +398 -0
  27. data/app/assets/stylesheets/english_tea/forms/_text.scss +51 -0
  28. data/app/assets/stylesheets/english_tea/forms/_uploader.scss +51 -0
  29. data/app/assets/stylesheets/english_tea/layout/_alignment.scss +89 -0
  30. data/app/assets/stylesheets/english_tea/layout/_clearfix.scss +15 -0
  31. data/app/assets/stylesheets/english_tea/layout/_display.scss +93 -0
  32. data/app/assets/stylesheets/english_tea/layout/_flex.scss +266 -0
  33. data/app/assets/stylesheets/english_tea/layout/_float.scss +33 -0
  34. data/app/assets/stylesheets/english_tea/layout/_grid.scss +210 -0
  35. data/app/assets/stylesheets/english_tea/layout/_layers.scss +11 -0
  36. data/app/assets/stylesheets/english_tea/layout/_position.scss +36 -0
  37. data/app/assets/stylesheets/english_tea/layout/_sizing.scss +264 -0
  38. data/app/assets/stylesheets/english_tea/layout/_visibility.scss +121 -0
  39. data/app/assets/stylesheets/english_tea/marketing/_double_login.scss +10 -0
  40. data/app/assets/stylesheets/english_tea/marketing/_index.scss +1350 -0
  41. data/app/assets/stylesheets/english_tea/media/_icons.scss +61 -0
  42. data/app/assets/stylesheets/english_tea/modules/_avatars.scss +40 -0
  43. data/app/assets/stylesheets/english_tea/modules/_billing.scss +60 -0
  44. data/app/assets/stylesheets/english_tea/modules/_box-shadow.scss +11 -0
  45. data/app/assets/stylesheets/english_tea/modules/_bubbles.scss +36 -0
  46. data/app/assets/stylesheets/english_tea/modules/_celebrate.scss +27 -0
  47. data/app/assets/stylesheets/english_tea/modules/_cursors.scss +51 -0
  48. data/app/assets/stylesheets/english_tea/modules/_fadein.scss +38 -0
  49. data/app/assets/stylesheets/english_tea/modules/_index.scss +224 -0
  50. data/app/assets/stylesheets/english_tea/modules/_job_posts.scss +303 -0
  51. data/app/assets/stylesheets/english_tea/modules/_listings.scss +32 -0
  52. data/app/assets/stylesheets/english_tea/modules/_menu.scss +57 -0
  53. data/app/assets/stylesheets/english_tea/modules/_modal.scss +37 -0
  54. data/app/assets/stylesheets/english_tea/modules/_navigation.scss +94 -0
  55. data/app/assets/stylesheets/english_tea/modules/_notification.scss +8 -0
  56. data/app/assets/stylesheets/english_tea/modules/_notifications_stream.scss +18 -0
  57. data/app/assets/stylesheets/english_tea/modules/_overlay.scss +49 -0
  58. data/app/assets/stylesheets/english_tea/modules/_profile.scss +239 -0
  59. data/app/assets/stylesheets/english_tea/modules/_projects.scss +55 -0
  60. data/app/assets/stylesheets/english_tea/modules/_stickybanner.scss +46 -0
  61. data/app/assets/stylesheets/english_tea/modules/_tabs.scss +14 -0
  62. data/app/assets/stylesheets/english_tea/modules/_tiles.scss +401 -0
  63. data/app/assets/stylesheets/english_tea/modules/_tooltips.scss +53 -0
  64. data/app/assets/stylesheets/english_tea/setup/_config.scss +515 -0
  65. data/app/assets/stylesheets/english_tea/setup/_default.scss +286 -0
  66. data/app/assets/stylesheets/english_tea/setup/_functions.scss +110 -0
  67. data/app/assets/stylesheets/english_tea/setup/_mixins.scss +258 -0
  68. data/app/assets/stylesheets/english_tea/setup/_normalize.scss +427 -0
  69. data/app/assets/stylesheets/english_tea/transition/_index.scss +97 -0
  70. data/app/assets/stylesheets/english_tea/typography/_fonts.scss +41 -0
  71. data/app/assets/stylesheets/english_tea/typography/_hierarchy.scss +40 -0
  72. data/app/assets/stylesheets/english_tea/typography/_style.scss +126 -0
  73. data/bin/console +14 -0
  74. data/bin/setup +8 -0
  75. data/english_tea.gemspec +28 -0
  76. data/lib/english_tea/rails/engine.rb +6 -0
  77. data/lib/english_tea/version.rb +3 -0
  78. data/lib/english_tea.rb +5 -0
  79. data/vendor/assets/stylesheets/snapper.scss +83 -0
  80. metadata +179 -0
@@ -0,0 +1,515 @@
1
+ // ==========================================================================
2
+ // Global variable configuration
3
+ // ==========================================================================
4
+
5
+ // ---
6
+ // BASE VALUES
7
+ // ---
8
+
9
+ $base-font-size: 16px;
10
+ $base-line-height: 1.25;
11
+
12
+ $base-rhythm: 10px;
13
+ $base-rhythm-half: $base-rhythm / 2;
14
+
15
+ $base-gutter: 15px;
16
+ $base-gutter-large: 30px;
17
+
18
+ $max-measure-callout: 800px;
19
+ $max-measure-type: 750px;
20
+ $max-measure-form: 600px;
21
+ $max-width: 1160px;
22
+
23
+ // ---
24
+ // BREAKPOINTS, GRID & TILES
25
+ // ---
26
+
27
+ $breakpoints:
28
+ (
29
+ none: 0px,
30
+ bps: 768px,
31
+ bpm: 1024px,
32
+ bpl: 1440px,
33
+ bpxl: 1680px
34
+ );
35
+
36
+ $grid-scale:
37
+ (
38
+ small:
39
+ (
40
+ bp: none,
41
+ cols: 3,
42
+ gutter: $base-gutter
43
+ ),
44
+ medium:
45
+ (
46
+ bp: bps,
47
+ cols: 6,
48
+ gutter: $base-gutter-large
49
+ ),
50
+ large:
51
+ (
52
+ bp: bpm,
53
+ cols: 8,
54
+ gutter: $base-gutter-large
55
+ ),
56
+ xlarge:
57
+ (
58
+ bp: bpm,
59
+ cols: 10,
60
+ gutter: $base-gutter-large
61
+ )
62
+ );
63
+
64
+ $tiles-scale:
65
+ (
66
+ small:
67
+ (
68
+ bp: none,
69
+ gutter: $base-gutter,
70
+ tiles: 2,
71
+ tiles-alt: 1,
72
+ tiles-full: 2
73
+ ),
74
+ medium:
75
+ (
76
+ bp: bps,
77
+ gutter: $base-gutter-large,
78
+ tiles: 2,
79
+ tiles-alt: 1,
80
+ tiles-full: 2
81
+ ),
82
+ large:
83
+ (
84
+ bp: bpm,
85
+ gutter: $base-gutter-large,
86
+ tiles: 3,
87
+ tiles-alt: 2,
88
+ tiles-full: 4
89
+ ),
90
+ xlarge:
91
+ (
92
+ bp: bpl,
93
+ gutter: $base-gutter-large,
94
+ tiles: 4,
95
+ tiles-alt: 3,
96
+ tiles-full: 5
97
+ ),
98
+ xxlarge:
99
+ (
100
+ bp: bpxl,
101
+ gutter: $base-gutter-large,
102
+ tiles: 5,
103
+ tiles-alt: 3,
104
+ tiles-full: 6
105
+ )
106
+ );
107
+
108
+ // ---
109
+ // FIXED WIDTHS
110
+ // ---
111
+
112
+ $fixed-widths:
113
+ (
114
+ 0: 40px,
115
+ 1: 120px,
116
+ 2: 150px,
117
+ 3: 200px,
118
+ 4: 250px,
119
+ 5: 300px,
120
+ 6: 350px,
121
+ 7: 400px,
122
+ 8: 450px,
123
+ 9: 500px,
124
+ 10: 550px
125
+ );
126
+
127
+ // ---
128
+ // ORDERING
129
+ // ---
130
+
131
+ $order-scale:
132
+ (
133
+ before: -1,
134
+ normal: 1,
135
+ after: 10,
136
+ last: 100
137
+ );
138
+
139
+ // ---
140
+ // TYPOGRAPHIC SCALE
141
+ // ---
142
+
143
+ $type-scale:
144
+ (
145
+ 15:
146
+ (
147
+ size: 146px,
148
+ line-height: 150px
149
+ ),
150
+ 14:
151
+ (
152
+ size: 132px,
153
+ line-height: 140px
154
+ ),
155
+ 13:
156
+ (
157
+ size: 96px,
158
+ line-height: 100px
159
+ ),
160
+ 12:
161
+ (
162
+ size: 72px,
163
+ line-height: 80px
164
+ ),
165
+ 11:
166
+ (
167
+ size: 60px,
168
+ line-height: 60px
169
+ ),
170
+ 10:
171
+ (
172
+ size: 48px,
173
+ line-height: 50px
174
+ ),
175
+ 9:
176
+ (
177
+ size: 36px,
178
+ line-height: 40px
179
+ ),
180
+ 8: //new 08/11
181
+ (
182
+ size: 28px,
183
+ line-height: 30px
184
+ ),
185
+ 7:
186
+ (
187
+ size: 24px,
188
+ line-height: 35px
189
+ ),
190
+ 6:
191
+ (
192
+ size: 22px,
193
+ line-height: 30px
194
+ ),
195
+ 5:
196
+ (
197
+ size: 20px,
198
+ line-height: 25px
199
+ ),
200
+ 4: //new 08/11
201
+ (
202
+ size: 18px,
203
+ line-height: 25px
204
+ ),
205
+ 3:
206
+ (
207
+ size: 16px,
208
+ line-height: 25px
209
+ ),
210
+ 2:
211
+ (
212
+ size: 14px,
213
+ line-height: 25px
214
+ ),
215
+ 1:
216
+ (
217
+ size: 12px,
218
+ line-height: 20px
219
+ ),
220
+ 0:
221
+ (
222
+ size: 10px,
223
+ line-height: 10px
224
+ )
225
+ );
226
+
227
+ $kerning-scale:
228
+ (
229
+ 0: 0,
230
+ 1: 0.0125em,
231
+ 2: 0.025em,
232
+ 3: 0.0375em,
233
+ 4: 0.05em,
234
+ 5: 0.0625em,
235
+ 6: 0.075em,
236
+ 7: 0.0875em,
237
+ 8: 0.1em,
238
+ 9: 0.25em,
239
+ 10: 0.5em
240
+ );
241
+
242
+ // ---
243
+ // TYPOGRAPHIC STYLE
244
+ // ---
245
+
246
+ $type-font-title: 'Tungsten A', 'Tungsten B', sans-serif;
247
+ $type-font-status: 'Tungsten Narrow A', 'Tungsten Narrow B', sans-serif;
248
+ $type-font-body: 'Gotham A', 'Gotham B', sans-serif;
249
+ $type-font-description: 'Chronicle Display A', 'Chronicle Display B', serif;
250
+ $type-font-code: Monaco, monospace;
251
+
252
+ $type-style-title: normal;
253
+ $type-style-body: normal;
254
+ $type-style-description: italic;
255
+
256
+ $type-kerning-title: map-get($kerning-scale, 1);
257
+ $type-kerning-status: 0; //-0.0125em;
258
+ $type-kerning-desc: map-get($kerning-scale, 2);
259
+
260
+ $type-weight-light: 300;
261
+ $type-weight-normal: 400;
262
+ $type-weight-medium: 500;
263
+ $type-weight-semibold: 600;
264
+ $type-weight-bold: 700;
265
+
266
+ // ---
267
+ // GUTTER SPACES
268
+ // 0px -> 50px (5px increments)
269
+ // ---
270
+
271
+ $gutter-scale:
272
+ (
273
+ 0: $base-rhythm * 0,
274
+ 1: $base-rhythm * 1,
275
+ 2: $base-rhythm * 2,
276
+ 3: $base-rhythm * 3,
277
+ 4: $base-rhythm * 4,
278
+ 5: $base-rhythm * 5,
279
+ 6: $base-rhythm * 6,
280
+ 7: $base-rhythm * 7,
281
+ 8: $base-rhythm * 8,
282
+ 9: $base-rhythm * 9,
283
+ 10: $base-rhythm * 10,
284
+ 11: $base-rhythm * 11,
285
+ 12: $base-rhythm * 12,
286
+ 13: $base-rhythm * 13,
287
+ 14: $base-rhythm * 14,
288
+ 15: $base-rhythm * 15,
289
+ 16: $base-rhythm * 16
290
+ );
291
+
292
+ // ---
293
+ // COLORS
294
+ // ---
295
+
296
+ $colors:
297
+ (
298
+ 1: #fff,
299
+ 2: #eee,
300
+ 3: #ccc,
301
+ 4: #9e9e9e,
302
+ 5: #888,
303
+ 6: #666,
304
+ 7: #333,
305
+ 8: #222,
306
+ 9: #111,
307
+ 10: #000,
308
+ 11: #efece4,
309
+ 12: #2b2b2b
310
+ );
311
+
312
+ $colors-status:
313
+ (
314
+ stat-a: // Available
315
+ (
316
+ 1: #26f599,
317
+ 2: #1be68c,
318
+ 3: #13cb79,
319
+ 4: #24ba72 // Hover
320
+ ),
321
+ stat-as: // Available Soon
322
+ (
323
+ 1: #fdeb46,
324
+ 2: #f9e52d,
325
+ 3: #dcc914,
326
+ 4: #ccb92c // Hover
327
+ ),
328
+ stat-na: // Not Available
329
+ (
330
+ 1: #ff6452,
331
+ 2: #fb4530,
332
+ 3: #d34121,
333
+ 4: #c23d27 // Hover
334
+ ),
335
+ stat-ft: // Fulltime
336
+ (
337
+ 1: #0120f9,
338
+ 2: #0a21c4,
339
+ 3: #071ba7,
340
+ 4: #061b88 // Hover
341
+ ),
342
+ stat-ooo: // Out of Office
343
+ (
344
+ 1: #ffbf2b,
345
+ 2: #ff9a1a,
346
+ 3: #e77c00,
347
+ 4: #d07100 // Hover
348
+ ),
349
+ stat-edu: // Student
350
+ (
351
+ 1: #444,
352
+ 2: #333,
353
+ 3: #222,
354
+ 4: #000 // Hover
355
+ )
356
+ );
357
+
358
+ $colors-job-statuses:
359
+ (
360
+ open: map-get($colors-status, stat-a),
361
+ opened: map-get($colors-status, stat-a),
362
+ closed: map-get($colors-status, stat-na),
363
+
364
+ hired: map-get($colors-status, stat-a),
365
+ interested: map-get($colors-status, stat-a),
366
+ not_interested: map-get($colors-status, stat-na)
367
+ );
368
+
369
+ $colors-job-types:
370
+ (
371
+ fulltime:
372
+ (
373
+ 1: #4a78ff,
374
+ 2: #0a21c4,
375
+ 3: #071ba7,
376
+ 4: #061b88 // Hover
377
+ ),
378
+ freelance:
379
+ (
380
+ 1: #ffccc7,
381
+ 2: #fb4530,
382
+ 3: #d34121,
383
+ 4: #c23d27 // Hover
384
+ )
385
+ );
386
+
387
+ $colors-social:
388
+ (
389
+ twitter: #1dabed,
390
+ facebook: #4e73bf,
391
+ instagram: #4090dc,
392
+ linkedin: #167fbc,
393
+ behance: #1a9bf6,
394
+ dribbble: #135ffc,
395
+ github: #000,
396
+ pinterest: #d43939,
397
+ vimeo: #1eb4ea,
398
+ etsy: #f4621f,
399
+ blog: #000,
400
+ medium: #1b1a18,
401
+ codepen: #000
402
+ );
403
+
404
+ $color-border-base: map-get($colors, 2);
405
+ $color-fill-base: map-get($colors, 1);
406
+ $color-text-base: map-get($colors, 10);
407
+ $color-shadow-base: map-get($colors, 4);
408
+
409
+ $color-fill-shade: #f7f7f7;
410
+ $color-fill-progress: #0076ff;
411
+
412
+ $color-validation-error: map-get(map-get($colors-status, stat-na), 3);
413
+ $color-validation-success: map-get(map-get($colors-status, stat-a), 3);
414
+
415
+ // ---
416
+ // BORDERS
417
+ // ---
418
+
419
+ $border-width: 1px;
420
+ $border-style: solid;
421
+
422
+ $border-radius-base: 0;
423
+ $border-radius-rounded: 2px;
424
+ $border-radius-pill: 100px;
425
+ $border-radius-circle: 100%;
426
+
427
+ // ---
428
+ // LAYERING
429
+ // ---
430
+
431
+ $layer-scale:
432
+ (
433
+ 0: -1,
434
+ 1: 0,
435
+ 2: 1,
436
+ 3: 10,
437
+ 4: 100,
438
+ 5: 1000
439
+ );
440
+
441
+ // ---
442
+ // BUTTONS
443
+ // ---
444
+
445
+ $button-scale:
446
+ (
447
+ 1: // 30px
448
+ (
449
+ padding-x: 15px,
450
+ padding-y: 5px
451
+ ),
452
+ 2: // 40px
453
+ (
454
+ padding-x: 20px,
455
+ padding-y: 10px
456
+ ),
457
+ 3: // 50px
458
+ (
459
+ padding-x: 25px,
460
+ padding-y: 15px
461
+ ),
462
+ 4: // 60px
463
+ (
464
+ padding-x: 25px,
465
+ padding-y: 20px
466
+ ),
467
+ 5: // 70px
468
+ (
469
+ padding-x: 30px,
470
+ padding-y: 25px
471
+ )
472
+ );
473
+
474
+ // ---
475
+ // ICONS
476
+ // ---
477
+
478
+ $icon-scale:
479
+ (
480
+ base: 20px,
481
+ tiny: 15px,
482
+ large: 25px,
483
+ huge: 30px,
484
+ massive: 40px,
485
+ enormous: 50px
486
+ );
487
+
488
+ // ---
489
+ // OPACITY
490
+ // ---
491
+
492
+ $opacity-scale:
493
+ (
494
+ 0: 0,
495
+ 1: 0.25,
496
+ 2: 0.375,
497
+ 3: 0.5,
498
+ 4: 0.625,
499
+ 5: 0.75,
500
+ 6: 1
501
+ );
502
+
503
+ // ---
504
+ // TRANSITION VALUES
505
+ // ---
506
+
507
+ $transition-easing-base: cubic-bezier(0.4, 0, 0.2, 1);
508
+ $transition-easing-border: $transition-easing-base;
509
+ $transition-easing-text: $transition-easing-base;
510
+ $transition-easing-button: $transition-easing-base;
511
+
512
+ $transition-timing-base: 0.125s;
513
+ $transition-timing-border: $transition-timing-base;
514
+ $transition-timing-text: $transition-timing-base;
515
+ $transition-timing-button: $transition-timing-base;