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,1350 @@
1
+ // ==========================================================================
2
+ // Specific styling and modules for marketing pages
3
+ // * VARIABLES
4
+ // * POTENTIAL GENERIC COMPONENTS
5
+ // * HOMEPAGE
6
+ // * PRICING PAGE
7
+ // * TEAM WNW PAGE
8
+ // ==========================================================================
9
+
10
+
11
+ /* VARIABLES
12
+ ------------------------------------------- */
13
+ $transition-timing-home: 500ms;
14
+ $transition-easiting-home: cubic-bezier(0.57, 0.07, 0.25, 0.98);
15
+
16
+ /* POTENTIAL GENERIC COMPONENTS
17
+ ------------------------------------------- */
18
+ .c-fillFA {
19
+ background-color: #fafafa !important;
20
+ }
21
+
22
+ .linethrough {
23
+ display: inline-block;
24
+ position: relative;
25
+ padding: 0 0.1em;
26
+ }
27
+
28
+ .linethrough::before {
29
+ display: block;
30
+ content: ' ';
31
+ position: absolute;
32
+ top: 45%; // eyeballed
33
+ left: 0;
34
+ height: 0;
35
+ width: 100%;
36
+ border-bottom: 4px solid #000;
37
+ @include transition(width $transition-timing-home $transition-easiting-home);
38
+ }
39
+
40
+ .linethrough--off {
41
+ color: #9b9b9b !important;
42
+ }
43
+
44
+ .linethrough--off::before {
45
+ width: 0;
46
+
47
+ }
48
+
49
+ .shadow--home {
50
+ box-shadow: 0 15px 20px 0 rgba(0,0,0,0.10);
51
+
52
+ @include _mq(map-get($breakpoints, bps)) {
53
+ box-shadow: 16px 23px 20px 0 rgba(0,0,0,0.10);
54
+ }
55
+ }
56
+
57
+
58
+
59
+ /* HOMEPAGE
60
+ ------------------------------------------- */
61
+
62
+ .homepage-hero {
63
+ height: 628px;
64
+
65
+ // background-image: image-url("home/posterframe_kidatfront_blur.jpg");
66
+ // background-position: 50% 50%;
67
+ // background-size: cover;
68
+
69
+ overflow: hidden;
70
+
71
+ @include _mq(map-get($breakpoints, bps)) {
72
+ @include align-items(flex-start);
73
+ height: 800px;
74
+ padding-left: 70px;
75
+ }
76
+ @include _mq(map-get($breakpoints, bpm)) {
77
+ height: 830px;
78
+ padding-left: 170px;
79
+ }
80
+
81
+ .hero__credits {
82
+ position: absolute;
83
+ right: 30px;
84
+ bottom: 30px;
85
+ opacity: 0.75;
86
+ line-height: 1.4;
87
+
88
+ @include _mq(map-get($breakpoints, bps)) {
89
+ bottom: 65px + 30px;
90
+ }
91
+ }
92
+ }
93
+
94
+ .hometabbar {
95
+ @include _mq(map-get($breakpoints, bps)) {
96
+ margin-top: -64px;
97
+ }
98
+ @include _mq(map-get($breakpoints, bpm)) {
99
+ margin-right: 170px;
100
+ margin-left: 170px;
101
+ }
102
+ }
103
+
104
+ // Home Mission
105
+ .homemission {
106
+ padding: _rem(100px) 0;
107
+
108
+ h2 {
109
+ max-width: 25em;
110
+ }
111
+
112
+ @include _mq(map-get($breakpoints, bpm)) {
113
+ padding: _rem(185px) 0;
114
+ }
115
+ }
116
+
117
+
118
+ // HOMEPAGE ROLES / CURATED COMMUNITY
119
+ // Roles module sizing & breakpoint:
120
+ // 375x470 -> 612x768: 1 up, maintain aspect ratio
121
+ // 612x768 -> 1080x768: 2.5 -> 4.5 up, maintain height
122
+ // 1080x662 -> 1332x768 -> 1440x830 -> ???, 6 up, maintain aspect ratio
123
+ $mq-homeroles-bp0: "(max-width: 611px)";
124
+ $mq-homeroles-bp1: "(min-width: 612px)";
125
+ $mq-homeroles-bp2: "(min-width: 1080px)";
126
+
127
+ // Rolls listing
128
+ .homeroles {
129
+ position: relative;
130
+ height: auto; // .homeroles__header + .homeroles__wrap
131
+ @media #{$mq-homeroles-bp1} {
132
+ // height: 768px;
133
+ height: 600px;
134
+ }
135
+ @media #{$mq-homeroles-bp2} {
136
+ // height: (662 / 1080 * 100vw);
137
+ height: (600 / 1080 * 100vw); // image aspect 800x1440
138
+ }
139
+ }
140
+
141
+ .homeroles--js {
142
+ position: relative;
143
+
144
+ }
145
+ .homeroles__header {
146
+ background: #fff;
147
+ color: #000;
148
+ padding: 1.25rem 0;
149
+
150
+ h3 {
151
+ margin-bottom: 1.25rem;
152
+ font-size: _rem(map-deep-get($type-scale, 9, size));
153
+ line-height: 1.11111;
154
+ }
155
+ p {
156
+ max-width: 30em;
157
+ }
158
+
159
+ @media #{$mq-homeroles-bp1} {
160
+ position: absolute;
161
+ top: 40px;
162
+ left: 0;
163
+ background: transparent;
164
+ color: #fff;
165
+ z-index: 6;
166
+ padding: 0;
167
+
168
+ h3 {
169
+ margin-bottom: 0;
170
+ font-size: _rem(map-deep-get($type-scale, 10, size));
171
+ line-height: 1;
172
+ }
173
+ p {
174
+ max-width: 40em;
175
+ }
176
+ }
177
+ @media #{$mq-homeroles-bp2} {
178
+ h3 {
179
+ font-size: _rem(map-deep-get($type-scale, 12, size));
180
+ }
181
+ }
182
+ }
183
+
184
+ .homeroles__wrap {
185
+ position: relative;
186
+ // height: (768 / 612 * 100vw);
187
+ height: (740 / 612 * 100vw);
188
+ width: 100%;
189
+ overflow: hidden;
190
+
191
+ @media #{$mq-homeroles-bp1} {
192
+ height: 100%;
193
+ overflow-x: auto;
194
+
195
+ .homeroles--js & {
196
+ overflow: hidden;
197
+ }
198
+ }
199
+ @media #{$mq-homeroles-bp2} {
200
+ overflow: hidden;
201
+ }
202
+ }
203
+ .homeroles__wrap > ul {
204
+ @include transition(transform $transition-timing-home $transition-easiting-home);
205
+ z-index: 5;
206
+
207
+ @media #{$mq-homeroles-bp1} {
208
+ position: absolute;
209
+ @include display(flex);
210
+ @include flex-wrap(wrap);
211
+ @include align-items(stretch);
212
+ width: 1440px;
213
+ height: 100%;
214
+ }
215
+ @media #{$mq-homeroles-bp2} {
216
+ width: 100%;
217
+ }
218
+ }
219
+
220
+ @mixin _homeroles_background($modifier) {
221
+ &.homeroles__background--#{$modifier} {
222
+ background-image: image-url("home/curated_#{$modifier}.jpg");
223
+ // @media #{$mq-homeroles-bp1} {
224
+ // background-image: image-url("home/curated_#{$modifier}_bp1.jpg");
225
+ // }
226
+ @media #{$mq-homeroles-bp1} {
227
+ background-image: image-url("home/curated_#{$modifier}_bp2.jpg");
228
+ }
229
+ }
230
+ }
231
+
232
+ .homeroles__background {
233
+ position: absolute;
234
+ top: 0;
235
+ left: 0;
236
+ width: 100%;
237
+ height: 100%;
238
+ background-size: cover;
239
+ background-position: center center;
240
+ z-index: 1;
241
+
242
+ @include _homeroles_background('advertising');
243
+ @include _homeroles_background('design');
244
+ @include _homeroles_background('technology');
245
+ @include _homeroles_background('production');
246
+ @include _homeroles_background('photography');
247
+ @include _homeroles_background('animation');
248
+
249
+ &.homeroles__background--animation {
250
+ background-position: right center;
251
+ }
252
+ }
253
+
254
+ .homeroles__credits {
255
+ position: absolute;
256
+ bottom: 0;
257
+ right: 0;
258
+ padding: 30px;
259
+ opacity: 0.75;
260
+ text-align: right;
261
+ line-height: 1.4;
262
+ }
263
+
264
+ .homeroles__category {
265
+ position: absolute;
266
+ bottom: 50 / 454 * 100%;
267
+ left: 0;
268
+ width: 100%;
269
+ min-height: 300px; // production with 13 roles
270
+ padding-top: 0;
271
+ padding-left: 40 / 375 * 100%;
272
+ z-index: 3;
273
+
274
+ @media #{$mq-homeroles-bp1} {
275
+ position: relative;
276
+ bottom: auto;
277
+ width: 240px;
278
+ height: 100%;
279
+ padding-top: 250px; // thx production
280
+ padding-left: 30px;
281
+ border-right: 1px solid rgba(155,155,155,0.5);
282
+ }
283
+
284
+ @media #{$mq-homeroles-bp2} {
285
+ position: relative;
286
+ @include flex-grow(1);
287
+ @include flex-shrink(1);
288
+ @include flex-basis(240px);
289
+ padding-top: 250px;
290
+ padding-top: 250 / 600 * 100 * 600vw / 1080; // ()% of height) * (aspect in vw)
291
+ padding-left: 30 / 240 * 100% / 6;
292
+ }
293
+
294
+ ul {
295
+ min-height: 260px; // thx production
296
+ }
297
+ }
298
+
299
+ .homeroles__prev,
300
+ .homeroles__next {
301
+ @include display(flex);
302
+ @include flex-wrap(wrap);
303
+ position: absolute;
304
+ top: 0;
305
+ height: 100%;
306
+ width: 48px;
307
+ @include align-items(center);
308
+ @include justify-content(center);
309
+ background: rgba(0,0,0,0.05);
310
+ cursor: pointer;
311
+ z-index: 6;
312
+
313
+ }
314
+ .homeroles__prev {
315
+ left: 0;
316
+ }
317
+ .homeroles__next {
318
+ right: 0;
319
+ }
320
+
321
+ // interactivity
322
+
323
+ @media #{$mq-homeroles-bp0} {
324
+ .homeroles__category {
325
+ opacity: 1;
326
+ @include transform(translate3d(0,0,0));
327
+ @include transition(all $transition-timing-home $transition-easiting-home);
328
+ }
329
+ .homeroles__category--staged {
330
+ opacity: 0;
331
+
332
+ &.homeroles__category--stageleft {
333
+ @include transform(translate3d(-30px,0,0));
334
+ }
335
+ &.homeroles__category--stageright {
336
+ @include transform(translate3d(30px,0,0));
337
+ }
338
+ }
339
+ .homeroles__background {
340
+ @include transition(opacity $transition-timing-home $transition-easiting-home);
341
+ opacity: 1;
342
+ }
343
+ .homeroles__background--staged {
344
+ opacity: 0;
345
+ }
346
+ }
347
+
348
+ @media #{$mq-homeroles-bp1} {
349
+ .homeroles__category {
350
+ h4,
351
+ ul {
352
+ @include transform(translate3d(0,0,0));
353
+ opacity: 1;
354
+ @include transition(all $transition-timing-home $transition-easiting-home);
355
+ }
356
+ }
357
+ .homeroles__category--staged {
358
+ h4 {
359
+ @include transform(translate3d(0,20px,0));
360
+ opacity: 0.6;
361
+ }
362
+ ul {
363
+ @include transform(translate3d(0,40px,0));
364
+ opacity: 0;
365
+ }
366
+ }
367
+
368
+ .homeroles__background {
369
+ @include transition(opacity $transition-timing-home $transition-easiting-home);
370
+ opacity: 1;
371
+ }
372
+ .homeroles__background--staged {
373
+ opacity: 0;
374
+ }
375
+ }
376
+ @media #{$mq-homeroles-bp2} {
377
+ .homeroles__prev,
378
+ .homeroles__next {
379
+ display: none;
380
+ }
381
+ }
382
+
383
+ // Home Generic Section
384
+ .homesection {
385
+ position: relative;
386
+ width: 100%;
387
+
388
+ @include _mq(map-get($breakpoints, bps)) {
389
+ @include display(flex);
390
+ @include flex-wrap(wrap);
391
+ @include justify-content(flex-end);
392
+ @include align-items(center);
393
+ height: 440px;
394
+ }
395
+ @include _mq(map-get($breakpoints, bpm)) {
396
+ height: 575px;
397
+ }
398
+ }
399
+ .homesection__content {
400
+ position: relative;
401
+ max-width: 30em;
402
+ margin: 0 auto;
403
+
404
+ @include _mq(map-get($breakpoints, bps)) {
405
+ z-index: 2;
406
+ }
407
+ @include _mq(map-get($breakpoints, bpm)) {
408
+ max-width: 40em;
409
+ width: 40%;
410
+ }
411
+
412
+ h3 {
413
+ // .t9 with modified line height
414
+ font-size: _rem(map-deep-get($type-scale, 9, size));
415
+ line-height: 0.9;
416
+
417
+ @include _mq(map-get($breakpoints, bps)) {
418
+ // .t10 with modified line height
419
+ font-size: _rem(map-deep-get($type-scale, 10, size));
420
+ line-height: 0.9;
421
+ }
422
+ }
423
+
424
+ }
425
+ .homesection__graphics {
426
+ position: relative;
427
+ // background: rgba(0,255,0,0.2);
428
+
429
+ @include _mq(map-get($breakpoints, bps)) {
430
+ position: absolute;
431
+ z-index: 1;
432
+ }
433
+ @include _mq(map-get($breakpoints, bpm)) {
434
+ }
435
+ }
436
+
437
+ // Right aligned home sections
438
+ // Home Availability
439
+ // Home UJB
440
+ .homesection--availability,
441
+ .homesection--ujb {
442
+ @include _mq(map-get($breakpoints, bpm)) {
443
+ @include justify-content(flex-end);
444
+ @include align-items(center);
445
+ }
446
+ .homesection__content {
447
+ @include _mq(map-get($breakpoints, bps)) {
448
+ margin-right: (70 / 768 * 100%);
449
+ }
450
+ @include _mq(map-get($breakpoints, bpm)) {
451
+ margin-right: (70 / 1440 * 100%);
452
+ }
453
+ }
454
+ }
455
+
456
+ // Left aligned home sections
457
+ // Home Arsenal
458
+ // Home Bar Is High
459
+ // Home Connect
460
+ .homesection--arsenal,
461
+ .homesection--barishigh,
462
+ .homesection--connect {
463
+ .homesection__content {
464
+ @include _mq(map-get($breakpoints, bps)) {
465
+ margin-left: (70 / 768 * 100%);
466
+ }
467
+ @include _mq(map-get($breakpoints, bpm)) {
468
+ margin-left: (70 / 1440 * 100%);
469
+ }
470
+ }
471
+ }
472
+
473
+ // Remain vertical home sections
474
+ // Home Companies
475
+ // Home Connecting Via
476
+ .homesection--companies,
477
+ .homesection--connectingvia {
478
+ height: auto;
479
+
480
+ @include _mq(map-get($breakpoints, bps)) {
481
+ display: block; // undo flex behaviors
482
+ }
483
+
484
+ .homesection__graphics {
485
+ @include _mq(map-get($breakpoints, bps)) {
486
+ position: relative;
487
+ }
488
+ }
489
+ }
490
+
491
+
492
+ // Home Community Not Commissions
493
+ .homenotcommisions__graphics {
494
+ position: relative;
495
+ min-height: 144px;
496
+ }
497
+ .homenotcommisions__logo {
498
+ height: 144px;
499
+ }
500
+ .homenotcommisions__btn {
501
+ position: absolute;
502
+ }
503
+
504
+ // Home Availabilty Customizations
505
+ $availgraphics_width: 333;
506
+ $availgraphics_width_bps: 288;
507
+ $availgraphics_width_bpm: 635;
508
+
509
+ .homesection--availability .homesection__graphics {
510
+ height: 412px;
511
+ width: #{$availgraphics_width}px;
512
+ margin: 0 auto;
513
+
514
+ @include _mq(map-get($breakpoints, bps)) {
515
+ top: 27px;
516
+ left: 24%; // left enough to always avoid text
517
+ width: #{$availgraphics_width_bps}px;
518
+ @include transform(translate3d(-50%, 0, 0));
519
+ }
520
+
521
+ @include _mq(map-get($breakpoints, bpm)) {
522
+ top: 90px;
523
+ left: 440 / 1440 * 100%;
524
+ height: 350px;
525
+ width: $availgraphics_width_bpm / 1440 * 100%;
526
+ max-width: #{$availgraphics_width_bpm}px;
527
+ }
528
+ }
529
+
530
+ .homeavailability__card {
531
+ position: absolute;
532
+ }
533
+
534
+ // working
535
+ .homeavailability__card--1 {
536
+ top: 31px;
537
+ left: 0;
538
+ width: 146px;
539
+ z-index: 1;
540
+
541
+ @include _mq(map-get($breakpoints, bps)) {
542
+ width: 126px;
543
+ }
544
+ @include _mq(map-get($breakpoints, bpm)) {
545
+ top: 37px;
546
+ width: 170px;
547
+ }
548
+ }
549
+ // fulltime
550
+ .homeavailability__card--2 {
551
+ top: 0;
552
+ left: 124 / $availgraphics_width_bps * 100%;
553
+ width: 146px;
554
+ z-index: 4;
555
+
556
+ @include _mq(map-get($breakpoints, bps)) {
557
+ width: 126px;
558
+ }
559
+ @include _mq(map-get($breakpoints, bpm)) {
560
+ left: 134 / $availgraphics_width_bpm * 100%;
561
+ width: 168px;
562
+ }
563
+ }
564
+ // soon
565
+ .homeavailability__card--3 {
566
+ top: 197px;
567
+ left: 36 / $availgraphics_width_bps * 100%;
568
+ width: 146px;
569
+ z-index: 2;
570
+
571
+ @include _mq(map-get($breakpoints, bps)) {
572
+ width: 126px;
573
+ }
574
+ @include _mq(map-get($breakpoints, bpm)) {
575
+ top: 55px;
576
+ left: 300 / $availgraphics_width_bpm * 100%;
577
+ width: 168px;
578
+ }
579
+ }
580
+ // available
581
+ .homeavailability__card--4 {
582
+ top: 161px;
583
+ right: 0;
584
+ width: 146px;
585
+ z-index: 3;
586
+
587
+ @include _mq(map-get($breakpoints, bps)) {
588
+ width: 126px;
589
+ }
590
+ @include _mq(map-get($breakpoints, bpm)) {
591
+ top: 88px;
592
+ width: 168px;
593
+ }
594
+ }
595
+
596
+
597
+ // Home Bar Is High Customizations
598
+ .homesection--barishigh {
599
+ @include _mq(map-get($breakpoints, bps)) {
600
+ height: 700px;
601
+ }
602
+
603
+ }
604
+
605
+ .homesection--barishigh .homesection__graphicsWrap {
606
+ // extra wrapper to create an overflowed box that the scaled homesection__graphics goes into
607
+ position: relative;
608
+ bottom: -40px;
609
+ height: 500px; //468px;
610
+ width: 100%;
611
+ overflow: hidden;
612
+ margin-top: -40px;
613
+
614
+ @include _mq(map-get($breakpoints, bps)) {
615
+ bottom: -80px;
616
+ height: 700px;
617
+ width: 60%;
618
+ margin-top: 0;
619
+ }
620
+ @include _mq(map-get($breakpoints, bpm)) {
621
+ }
622
+ }
623
+
624
+ .homesection--barishigh .homesection__graphics {
625
+ @include transform(scale(0.65) translate3d(-50%, -60px, 0)); // translate eyeballed
626
+
627
+ @include _mq(map-get($breakpoints, bps)) {
628
+ position: relative;
629
+ height: 745px;
630
+ width: 1150px;
631
+ @include transform(scale(0.53) translate3d(-40%, 20%, 0)); // translate eyeballed
632
+ }
633
+ @include _mq(map-get($breakpoints, bpm)) {
634
+ position: relative;
635
+ top: 0;
636
+ left: 0;
637
+ width: 1150px;
638
+ @include transform(scale(1) translate3d(2%, -2%, 0)); // translate eyeballed - don't want to go outside of overflow:hidden, but originally measured some negative positioning
639
+ }
640
+ }
641
+ .homebarishigh__image {
642
+ position: absolute;
643
+ height: auto;
644
+ }
645
+
646
+ .homebarishigh__image--1 {
647
+ top: 52px;
648
+ left: 391px;
649
+ width: 554px;
650
+ z-index: 6;
651
+ }
652
+ .homebarishigh__image--2 {
653
+ top: 224px;
654
+ left: 168px;
655
+ width: 432px;
656
+ z-index: 6;
657
+ }
658
+ .homebarishigh__image--3 {
659
+ top: 274px;
660
+ left: 497px;
661
+ width: 431px;
662
+ z-index: 6;
663
+ }
664
+ .homebarishigh__image--4 {
665
+ top: 159px;
666
+ left: 716px;
667
+ width: 442px;
668
+ z-index: 6;
669
+ }
670
+ .homebarishigh__image--5 {
671
+ top: 333px;
672
+ left: -20px;
673
+ width: 402px;
674
+ z-index: 6;
675
+ }
676
+ .homebarishigh__image--6 {
677
+ top: 264px;
678
+ left: 950px;
679
+ width: 420px;
680
+ z-index: 6;
681
+ }
682
+ .homebarishigh__image--7 {
683
+ top: 369px;
684
+ left: 682px;
685
+ width: 480px;
686
+ z-index: 6;
687
+ }
688
+ .homebarishigh__image--8 {
689
+ top: 383px;
690
+ left: 279px;
691
+ width: 430px;
692
+ z-index: 6;
693
+ }
694
+ .homebarishigh__image--9 {
695
+ top: 503px;
696
+ left: 446px;
697
+ width: 449px;
698
+ z-index: 6;
699
+ }
700
+ .homebarishigh__image--10 {
701
+ top: 482px;
702
+ left: 916px;
703
+ width: 447px;
704
+ z-index: 6;
705
+ }
706
+ .homebarishigh__image--11 {
707
+ top: 52px;
708
+ left: 391px;
709
+ width: 431px;
710
+ z-index: 6;
711
+ display: none;
712
+ }
713
+ .homebarishigh__image--12 {
714
+ top: 600px;
715
+ left: 693px;
716
+ width: 431px;
717
+ z-index: 6;
718
+
719
+ @include _mq(map-get($breakpoints, bpm)) {
720
+ display: none;
721
+ }
722
+ }
723
+
724
+ // Home Connect Customizations
725
+ .homesection--connect {
726
+ @include _mq(map-get($breakpoints, bps)) {
727
+ height: 750px;
728
+ @include justify-content(flex-start);
729
+ @include align-items(center);
730
+ }
731
+ }
732
+ .homesection--connect .homesection__graphics {
733
+ top: 40px;
734
+ width: 100%;
735
+ max-width: 584px;
736
+ height: 500px;
737
+ margin-left: auto;
738
+ overflow: hidden;
739
+
740
+ @include _mq(map-get($breakpoints, bps)) {
741
+ top: 100px;
742
+ right: 0;
743
+ width: 50.5%; // avoid overlay with text
744
+ height: 800px;
745
+ margin-left: 0;
746
+ }
747
+ @include _mq(map-get($breakpoints, bpm)) {
748
+ max-width: none;
749
+ width: 785 / 1440 * 100%;
750
+ }
751
+ }
752
+ .homeconnect__image {
753
+ background-color: rgba(0,0,0,0.10);
754
+ }
755
+ .homeconnect__image--mobile {
756
+ position: absolute;
757
+ top: 165px;
758
+ left: 17px;
759
+ width: 151px;
760
+ height: 307px;
761
+ z-index: 2;
762
+ border-radius: 22px;
763
+
764
+ @include _mq(map-get($breakpoints, bps)) {
765
+ top: 220px;
766
+ left: 50px;
767
+ width: 244px;
768
+ height: 497px;
769
+ border-radius: 37px;
770
+ }
771
+ }
772
+ .homeconnect__image--desktop {
773
+ position: absolute;
774
+ top: 0;
775
+ left: 30px;
776
+ width: 584px;
777
+ height: 461px;
778
+ z-index: 1;
779
+ border-radius: 6px;
780
+ max-width: none;
781
+
782
+ @include _mq(map-get($breakpoints, bps)) {
783
+ right: 0;
784
+ left: 94px;
785
+ width: 888px;
786
+ height: 701px;
787
+ }
788
+ }
789
+
790
+ // Home UJB Customizations
791
+ .homesection--ujb {
792
+ @include _mq(map-get($breakpoints, bps)) {
793
+ height: 675px;
794
+ }
795
+
796
+ sup {
797
+ font-size: 60%;
798
+ line-height: _rem(32.4px);
799
+ @include _mq(map-get($breakpoints, bps)) {
800
+ line-height: _rem(43.2px);
801
+ }
802
+ }
803
+ }
804
+ .homesection--ujb .homesection__graphics {
805
+ margin: 0 40px;
806
+
807
+ @include _mq(map-get($breakpoints, bps)) {
808
+ top: 50%;
809
+ left: 0;
810
+ height: 400px;
811
+ width: 600 / 1440 * 100%;
812
+ @include transform(translate3d(0, -50%, 0));
813
+ }
814
+ @include _mq(map-get($breakpoints, bpm)) {
815
+ left: 50px;
816
+ }
817
+ }
818
+ .homeujb__image {
819
+ width: 100%;
820
+ margin: 15px 0;
821
+
822
+ @include _mq(map-get($breakpoints, bpm)) {
823
+ max-width: 600px;
824
+ }
825
+ }
826
+
827
+
828
+ // Home Arsenal Customizations
829
+ .homesection--arsenal {
830
+ height: 660px;
831
+
832
+ @include _mq(map-get($breakpoints, bps)) {
833
+ height: 592px;
834
+ @include justify-content(flex-start);
835
+ @include align-items(center);
836
+ }
837
+ @include _mq(map-get($breakpoints, bpm)) {
838
+ height: 690px;
839
+ }
840
+ }
841
+ .homesection--arsenal .homesection__graphics {
842
+ top: -50px;
843
+ height: 509px;
844
+ overflow: hidden;
845
+
846
+ @include _mq(map-get($breakpoints, bps)) {
847
+ top: auto;
848
+ bottom: -120px;
849
+ right: 0;
850
+ width: 60%;
851
+ height: 509px;
852
+ margin-top: 0;
853
+ }
854
+ @include _mq(map-get($breakpoints, bpm)) {
855
+ max-width: 919px;
856
+ height: 693px;
857
+ }
858
+ }
859
+ .homearsenal__image {
860
+ position: absolute;
861
+ bottom: 0;
862
+ left: 0;
863
+ max-width: none;
864
+ }
865
+ .homearsenal__image--float {
866
+ bottom: 160px;
867
+ left: 80px;
868
+ width: 565px;
869
+ height: 323px;
870
+ z-index: 2;
871
+ @include _mq(map-get($breakpoints, bps)) {
872
+ left: 200px;
873
+ }
874
+ @include _mq(map-get($breakpoints, bpm)) {
875
+ bottom: 240px;
876
+ left: 270px;
877
+ width: 777px;
878
+ height: 428px;
879
+ }
880
+ }
881
+ .homearsenal__image--bg {
882
+ left: -120px;
883
+ width: 937px;
884
+ height: 509px;
885
+ z-index: 1;
886
+ @include _mq(map-get($breakpoints, bps)) {
887
+ left: 0;
888
+ }
889
+ @include _mq(map-get($breakpoints, bpm)) {
890
+ width: 1307px;
891
+ height: 693px;
892
+ }
893
+ }
894
+
895
+ // Home Collab Customizations
896
+ // note: keep mobile into bps
897
+
898
+ .homesection--collab {
899
+ @include _mq(map-get($breakpoints, bps)) {
900
+ display: block;
901
+ height: auto;
902
+ }
903
+ @include _mq(map-get($breakpoints, bpm)) {
904
+ @include display(flex);
905
+ @include flex-wrap(wrap);
906
+ height: 650px;
907
+ }
908
+
909
+ }
910
+ .homesection--collab .homesection__content {
911
+ @include _mq(map-get($breakpoints, bpm)) {
912
+ margin-right: (70 / 1440 * 100%);
913
+ }
914
+ }
915
+
916
+ .homesection--collab .homesection__graphics {
917
+ height: 450px;
918
+ width: 50%;
919
+
920
+ @include _mq(map-get($breakpoints, bps)) {
921
+ position: relative;
922
+ height: 520px;
923
+ width: 712px;
924
+ }
925
+
926
+ @include _mq(map-get($breakpoints, bpm)) {
927
+ position: absolute;
928
+ top: 90px;
929
+ left: 0;
930
+ height: 400px;
931
+ width: 50%;
932
+ max-width: 712px;
933
+ }
934
+ }
935
+
936
+ .homecollab__image--bg {
937
+ position: absolute;
938
+ top: 0;
939
+ right: 0;
940
+ width: 712px;
941
+ max-width: none;
942
+ }
943
+
944
+ .homecollab__bubble {
945
+ position: absolute;
946
+ @include display(flex);
947
+ @include flex-wrap(nowrap);
948
+ padding: 15px;
949
+ border-radius: 100px;
950
+ box-shadow: 0 4px 48px 0 rgba(0,0,0,0.10);
951
+ background: #fff;
952
+ text-align: left;
953
+
954
+
955
+ p {
956
+ @include display(flex);
957
+ @include flex-wrap(wrap);
958
+ @include flex-direction(column);
959
+ @include justify-content(center);
960
+ font-size: 12px;
961
+ line-height: 18px;
962
+ padding-left: 15px;
963
+ }
964
+ }
965
+
966
+ .homecollab__bubble--1 {
967
+ top: 0;
968
+ right: 0;
969
+ width: 370px;
970
+ @include transform(translate3d(45%, 0, 0));
971
+
972
+ @include _mq(map-get($breakpoints, bps)) {
973
+ top: -4px;
974
+ right: 87px;
975
+ @include transform(none);
976
+ }
977
+
978
+ p {
979
+ width: 245px;
980
+ }
981
+ }
982
+ .homecollab__bubble--2 {
983
+ top: 131px;
984
+ right: 0;
985
+ width: 327px;
986
+ text-align: right;
987
+ @include transform(translate3d(55%, 0, 0));
988
+
989
+ @include _mq(map-get($breakpoints, bps)) {
990
+ top: 170px;
991
+ right: -60px;
992
+ @include transform(none);
993
+ }
994
+
995
+ p {
996
+ width: 192px;
997
+ padding-left: 0;
998
+ padding-right: 15px;
999
+ }
1000
+ }
1001
+ .homecollab__bubble--3 {
1002
+ top: 282px;
1003
+ right: 0;
1004
+ width: 306px;
1005
+ @include transform(translate3d(45%, 0, 0));
1006
+
1007
+ @include _mq(map-get($breakpoints, bps)) {
1008
+ top: 360px;
1009
+ right: 45px;
1010
+ @include transform(none);
1011
+ }
1012
+
1013
+ p {
1014
+ width: 168px;
1015
+ }
1016
+ }
1017
+
1018
+ .homecollab__profile {
1019
+ width: 80px;
1020
+ height: 80px;
1021
+ @include flex-grow(nogrow);
1022
+ }
1023
+
1024
+ .homecollab__profile--1 {
1025
+
1026
+ }
1027
+
1028
+ .homecollab__profile--2 {
1029
+ width: 90px;
1030
+ height: 90px;
1031
+ margin-top: 5px;
1032
+ }
1033
+
1034
+
1035
+ // Home Companies Customizations
1036
+ .homecompanies__cell {
1037
+ @include display(flex);
1038
+ @include flex-wrap(wrap);
1039
+ min-height: 100px;
1040
+
1041
+ @include _mq(map-get($breakpoints, bpm)) {
1042
+ min-height: 150px;
1043
+ }
1044
+ }
1045
+
1046
+ .homecompanies__image {
1047
+ margin: auto;
1048
+ }
1049
+
1050
+
1051
+ // Home Remember Threat
1052
+ .homeremember {
1053
+ position: relative;
1054
+ overflow: hidden;
1055
+ height: 300px;
1056
+ }
1057
+ .homeremember__hdr {
1058
+ // art direction: max font size of 315px
1059
+ position: absolute;
1060
+ top: 50%;
1061
+ left: 50%;
1062
+ width: 100%;
1063
+ max-width: 1050px;
1064
+ margin: auto;
1065
+ font-size: 30vw;
1066
+ line-height: 1;
1067
+ text-align: center;
1068
+ opacity: 0.1;
1069
+ @include transform(translate3d(-50%, -50%, 0));
1070
+
1071
+ @media (min-width: 1050px) {
1072
+ font-size: 315px;
1073
+ }
1074
+ }
1075
+ .homeremember__body {
1076
+ max-width: 46em;
1077
+ }
1078
+
1079
+ // Home Connecting Via Customizations
1080
+ .homesection--connectingvia .homesection__graphics {
1081
+ position: relative;
1082
+ width: 100%;
1083
+ padding-top: 200%;
1084
+ margin: 0 auto;
1085
+
1086
+ @include _mq(map-get($breakpoints, bps)) {
1087
+ padding-top: 50%;
1088
+ }
1089
+
1090
+ // because padding % doesn't calcuate off max-width, but width
1091
+ @media (min-width: 1100px) {
1092
+ width: 1100px;
1093
+ padding-top: 550px;
1094
+ }
1095
+ }
1096
+ .homeconnectingvia__item {
1097
+ position: absolute;
1098
+ @include display(flex);
1099
+ @include flex-wrap(wrap);
1100
+ @include flex-direction(column);
1101
+ @include justify-content(space-around);
1102
+ background-size: cover;
1103
+ background-repeat: no-repeat;
1104
+ background-position: center center;
1105
+
1106
+ p {
1107
+ position: absolute;
1108
+ bottom: 30px;
1109
+ width: 100%;
1110
+ padding: 0 15%;
1111
+ text-align: center;
1112
+ }
1113
+ }
1114
+
1115
+ .homeconnectingvia__item--1 {
1116
+ top: 0;
1117
+ left: 0;
1118
+ width: 100%;
1119
+ height: 50%;
1120
+ background-image: image-url("home/overshare_bg.jpg");
1121
+
1122
+ @include _mq(map-get($breakpoints, bps)) {
1123
+ width: 50%;
1124
+ height: 100%;
1125
+ }
1126
+
1127
+ img {
1128
+ width: 198px;
1129
+ }
1130
+ }
1131
+ .homeconnectingvia__item--2 {
1132
+ top: 50%;
1133
+ left: 0;
1134
+ width: 100%;
1135
+ height: 25%;
1136
+ background-image: image-url("home/drinkingnotdrinking_bg.jpg");
1137
+
1138
+ @include _mq(map-get($breakpoints, bps)) {
1139
+ top: 0;
1140
+ left: 50%;
1141
+ width: 50%;
1142
+ height: 50%;
1143
+ }
1144
+
1145
+ img {
1146
+ width: 100px;
1147
+ }
1148
+ }
1149
+ .homeconnectingvia__item--3 {
1150
+ top: 75%;
1151
+ left: 0;
1152
+ width: 50%;
1153
+ height: 25%;
1154
+ background-image: image-url("home/freerange-profiles_bg.jpg");
1155
+ background-position: left center;
1156
+
1157
+ @include _mq(map-get($breakpoints, bps)) {
1158
+ top: 50%;
1159
+ left: 50%;
1160
+ width: 25%;
1161
+ height: 50%;
1162
+ }
1163
+ }
1164
+ .homeconnectingvia__item--4 {
1165
+ top: 75%;
1166
+ left: 50%;
1167
+ width: 50%;
1168
+ height: 25%;
1169
+ background-image: image-url("home/freerange-profiles_bg.jpg");
1170
+ background-position: right center;
1171
+
1172
+ @include _mq(map-get($breakpoints, bps)) {
1173
+ top: 50%;
1174
+ left: 75%;
1175
+ width: 25%;
1176
+ height: 50%;
1177
+ margin-left: 0;
1178
+ }
1179
+ }
1180
+
1181
+
1182
+
1183
+ /* PRICING PAGE
1184
+ ------------------------------------------- */
1185
+
1186
+ // PRICING - DOLLAR SYMBOL
1187
+ // TODO: future: could this be a generic .sup behavior?
1188
+ .dollarsymbol {
1189
+ font-size: 0.7em;
1190
+ line-height: 1.4; // visually aligned
1191
+ vertical-align: top;
1192
+ }
1193
+
1194
+ // PRICING - FEATURES LIST MULTICOLUMN
1195
+ // TODO: future: should this be an atomic multicolumn class, or are the media queries too specific?
1196
+ .c-fillPricing {
1197
+ background-color: rgb(250,250,250);
1198
+ }
1199
+
1200
+ .mtPricing {
1201
+ margin-top: -250px;
1202
+ padding-top: 250px;
1203
+ }
1204
+
1205
+ .pricingcard {
1206
+ // Not 33%, but middle item slightly wider
1207
+ @include _mq(map-get($breakpoints, bps)) {
1208
+ min-height: 430px;
1209
+ @include flex-basis(100% * 340 / (340 + 340 + 380) !important);
1210
+ max-width: 100% * 340 / (340 + 340 + 380); // IE11 fix
1211
+
1212
+ header {
1213
+ min-height: 110px;
1214
+ }
1215
+
1216
+ &:nth-child(2) {
1217
+ min-height: 540px;
1218
+ @include flex-basis(100% * 380 / (340 + 340 + 380) !important);
1219
+ max-width: 100% * 380 / (340 + 340 + 380); // IE11 fix
1220
+ box-shadow: 0 0 64px 0 rgba(0,0,0,0.16);
1221
+
1222
+ header {
1223
+ min-height: 140px;
1224
+ }
1225
+
1226
+ }
1227
+ }
1228
+ }
1229
+
1230
+ .pricing-t8_5 {
1231
+ font-size: _rem(32px);
1232
+ line-height: _rem(40px);
1233
+ }
1234
+
1235
+ .features {
1236
+ @include _mq(map-get($breakpoints, bps)) {
1237
+ @include column-count(2);
1238
+ }
1239
+ @include _mq(map-get($breakpoints, bpm)) {
1240
+ @include column-count(3);
1241
+ }
1242
+ }
1243
+
1244
+
1245
+ /* TEAM WNW PAGE
1246
+ ------------------------------------------- */
1247
+ // NOTE: Originated from 1.0 / compiled 1.0 sass file
1248
+ body.pages-teamwnw {
1249
+
1250
+ main {
1251
+ background-color: #1a1a1a;
1252
+ }
1253
+ footer {
1254
+ background-color: #000;
1255
+ }
1256
+ .static-wrap {
1257
+ padding-bottom: 0;
1258
+ }
1259
+
1260
+ #wrapper {
1261
+ width: 100%;
1262
+ margin-top: -22px;
1263
+ }
1264
+ #wrapper:before {
1265
+ background-image: none;
1266
+ }
1267
+
1268
+ .splash {
1269
+ background-color: #080808;
1270
+ background-position: 50% 0;
1271
+ background-repeat: no-repeat;
1272
+ background-size: cover;
1273
+ height: 60vw;
1274
+ max-height: 682px;
1275
+ }
1276
+
1277
+ .about-container {
1278
+ background-color: #eeeeee;
1279
+ padding: 60px;
1280
+ text-align: center;
1281
+ color: #333333;
1282
+ margin-top: -5px;
1283
+ }
1284
+ .about-container p {
1285
+ max-width: 620px;
1286
+ margin: 0 auto 1em;
1287
+ font-size: 16px;
1288
+ line-height: 1.5;
1289
+ }
1290
+ .about-container a {
1291
+ color: #4d79a6;
1292
+
1293
+ &:active,
1294
+ &:hover {
1295
+ color: #355372;
1296
+ }
1297
+ }
1298
+
1299
+ .team {
1300
+ background-color: #1a1a1a;
1301
+ max-width: 1024px;
1302
+ }
1303
+
1304
+ .team-member {
1305
+ position: relative;
1306
+ }
1307
+ .team-member .detail {
1308
+ width: 100%;
1309
+ height: 100%;
1310
+ position: absolute;
1311
+ top: 0;
1312
+ padding: 50px;
1313
+ background-color: rgba(0, 0, 0, 0.8);
1314
+ opacity: 0;
1315
+ @include transition(opacity 0.2s);
1316
+ }
1317
+
1318
+ .team-member .detail p {
1319
+ line-height: 1.3;
1320
+ color: #aaaaaa;
1321
+ }
1322
+ .team-member:hover .detail {
1323
+ opacity: 1;
1324
+ }
1325
+
1326
+ .press {
1327
+ padding: 140px 0 100px;
1328
+ margin-top: -140px;
1329
+ background-color: #0a0a0a;
1330
+
1331
+ > div {
1332
+ max-width: 1024px;
1333
+ }
1334
+ }
1335
+ .press .mention {
1336
+ box-sizing: border-box;
1337
+ width: 20%;
1338
+ display: block;
1339
+ float: left;
1340
+ opacity: 0.5;
1341
+ @include transition(opacity 0.2s);
1342
+ }
1343
+ .press .mention:hover {
1344
+ opacity: 0.8;
1345
+ }
1346
+ .press .mention a {
1347
+ outline: none;
1348
+ }
1349
+
1350
+ }