@shift72/core-template 1.1.0 → 1.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +24 -10
  2. package/kibble.json +1 -1
  3. package/package.json +1 -1
  4. package/site/ar_LB.all.json +9 -6
  5. package/site/ca_ES.all.json +10 -7
  6. package/site/da_DK.all.json +10 -7
  7. package/site/de_DE.all.json +10 -7
  8. package/site/el_EL.all.json +10 -7
  9. package/site/en_AU.all.json +10 -7
  10. package/site/es_ES.all.json +10 -7
  11. package/site/es_MX.all.json +10 -7
  12. package/site/et_ET.all.json +10 -7
  13. package/site/fi_FI.all.json +11 -8
  14. package/site/fr_FR.all.json +10 -7
  15. package/site/hr_HR.all.json +10 -7
  16. package/site/hu_HU.all.json +10 -7
  17. package/site/it_IT.all.json +9 -6
  18. package/site/ja_JP.all.json +10 -7
  19. package/site/lt_LT.all.json +10 -7
  20. package/site/nl_BE.all.json +9 -6
  21. package/site/no_NO.all.json +10 -7
  22. package/site/pl_PL.all.json +10 -7
  23. package/site/plans.html.jet +1 -1
  24. package/site/pt_BR.all.json +10 -7
  25. package/site/pt_PT.all.json +10 -7
  26. package/site/ru_RU.all.json +10 -7
  27. package/site/sr_SR.all.json +10 -7
  28. package/site/static/js/main.js +0 -1
  29. package/site/static/scripts/main.js.map +1 -1
  30. package/site/styles/_availability-tags.scss +1 -3
  31. package/site/styles/_awards.scss +15 -9
  32. package/site/styles/_buttons.scss +19 -95
  33. package/site/styles/_carousel.scss +20 -27
  34. package/site/styles/_collections.scss +17 -33
  35. package/site/styles/_cta-buttons.scss +0 -71
  36. package/site/styles/_footer.scss +5 -9
  37. package/site/styles/_forms.scss +7 -4
  38. package/site/styles/_icons.scss +9 -0
  39. package/site/styles/_meta-detail.scss +25 -50
  40. package/site/styles/_meta-item-tagline.scss +2 -6
  41. package/site/styles/_meta-item.scss +0 -4
  42. package/site/styles/_meta-sub-item.scss +0 -4
  43. package/site/styles/_pages.scss +21 -49
  44. package/site/styles/_plans.scss +4 -0
  45. package/site/styles/_search.scss +0 -2
  46. package/site/styles/_share-modal.scss +0 -4
  47. package/site/styles/_shopping.scss +0 -5
  48. package/site/styles/_tooltips.scss +13 -0
  49. package/site/styles/_typography.scss +87 -0
  50. package/site/styles/_variables.scss +5 -0
  51. package/site/styles/_wishlist.scss +8 -14
  52. package/site/styles/main.scss +1 -0
  53. package/site/templates/collection/carousel/item/synopsis.jet +5 -3
  54. package/site/templates/collection/carousel/item.jet +8 -5
  55. package/site/templates/common/awards/item.jet +2 -2
  56. package/site/templates/common/cta_buttons.jet +4 -12
  57. package/site/templates/film/item.jet +3 -3
  58. package/site/templates/items/tagline.jet +25 -50
  59. package/site/templates/tv/detail.jet +1 -1
  60. package/site/tr_TR.all.json +10 -7
  61. package/site/uk_UA.all.json +10 -7
  62. package/site/zh_TW.all.json +10 -7
@@ -94,6 +94,7 @@ s72-carousel {
94
94
 
95
95
  .carousel-item-caption {
96
96
  @extend .carousel-bottom-gradient;
97
+
97
98
  bottom: 0;
98
99
  display: flex;
99
100
  flex-direction: column;
@@ -112,22 +113,36 @@ s72-carousel {
112
113
  padding: var(--carousel-bottom-gradient-height-lg) 50px 1px;
113
114
  }
114
115
 
115
- .sponsor {
116
- margin-bottom: 8px;
116
+ .meta-awards {
117
+ @include media-breakpoint-up(lg) {
118
+ justify-content: end;
119
+ margin-bottom: 8px;
120
+ }
121
+ }
122
+
123
+ .sponsor-awards-wrapper {
124
+ color: var(--body-color);
125
+
117
126
  @include media-breakpoint-up(lg) {
118
127
  align-self: flex-end;
128
+ flex-shrink: 0;
119
129
  margin-left: auto;
120
130
  order: 1;
121
131
  }
122
132
  }
123
133
 
134
+ .sponsor {
135
+ @include media-breakpoint-up(lg) {
136
+ text-align: right;
137
+ }
138
+ }
139
+
124
140
  .availability-bg {
125
- margin-bottom: 10px;
141
+ margin-bottom: 8px;
126
142
  }
127
143
 
128
144
  .availability-state {
129
145
  color: var(--body-color);
130
- font-size: 12px;
131
146
  margin-bottom: 0 !important; // >:(
132
147
  text-transform: none;
133
148
  }
@@ -137,12 +152,8 @@ s72-carousel {
137
152
  }
138
153
 
139
154
  h3 {
140
- color: var(--body-color);
141
- font-size: 28px;
142
- font-weight: $font-weight-normal;
143
- margin-bottom: 8px;
155
+ @include heading-1-style;
144
156
  max-width: 930px;
145
- padding-bottom: 0;
146
157
 
147
158
  /* stylelint-disable */
148
159
  display: -webkit-box;
@@ -150,18 +161,6 @@ s72-carousel {
150
161
  -webkit-line-clamp: 3;
151
162
  -webkit-box-orient: vertical;
152
163
  /* stylelint-enable */
153
-
154
- @include media-breakpoint-up(md) {
155
- font-size: 38px;
156
- }
157
-
158
- @include media-breakpoint-up(lg) {
159
- font-size: 46px;
160
- }
161
-
162
- @include media-breakpoint-up(xxxl) {
163
- font-size: 46px;
164
- }
165
164
  }
166
165
 
167
166
  h4 {
@@ -191,8 +190,6 @@ s72-carousel {
191
190
 
192
191
  .meta-item-synopsis {
193
192
  display: none;
194
- font-size: 16px;
195
- font-weight: $font-weight-normal;
196
193
  margin-bottom: 8px;
197
194
  max-width: 600px;
198
195
  padding-top: 0;
@@ -201,10 +198,6 @@ s72-carousel {
201
198
  display: block;
202
199
  }
203
200
  }
204
-
205
- .meta-item-synopsis p {
206
- margin-bottom: 0;
207
- }
208
201
  }
209
202
 
210
203
  .s72-carousel-pagination {
@@ -1,5 +1,9 @@
1
1
  .page-collection {
2
2
  @extend .clearfix;
3
+
4
+ h2 {
5
+ @include heading-3-style;
6
+ }
3
7
  }
4
8
 
5
9
  .page-collection-slider {
@@ -21,21 +25,8 @@
21
25
  position: relative;
22
26
  z-index: 8;
23
27
  @include media-breakpoint-up(md) {
24
- padding-bottom: $grid-gutter-width / 4;
25
28
  padding-left: 0;
26
29
  }
27
-
28
- h2,
29
- h3 {
30
- font-size: 16px;
31
- font-weight: $font-weight-bold;
32
- @include media-breakpoint-up(md) {
33
- font-size: 18px;
34
- }
35
- @include media-breakpoint-up(lg) {
36
- font-size: 20px;
37
- }
38
- }
39
30
  }
40
31
 
41
32
  .page-collection-list-title {
@@ -56,6 +47,16 @@
56
47
  &:first-child {
57
48
  margin-left: -5px;
58
49
  }
50
+
51
+ h2 {
52
+ @include subtitle-1-style;
53
+ }
54
+
55
+ .title {
56
+ @include subtitle-1-style;
57
+ line-height: 1.2;
58
+ }
59
+
59
60
  > a {
60
61
  .poster {
61
62
  .hover {
@@ -253,18 +254,6 @@
253
254
 
254
255
  .caption {
255
256
  padding: 4px 0;
256
- @include media-breakpoint-up(md) {
257
- padding: 8px 0;
258
- }
259
-
260
- .title,
261
- .runtime {
262
- font-size: 12px;
263
- font-weight: $font-weight-bold;
264
- @include media-breakpoint-up(md) {
265
- font-size: 14px;
266
- }
267
- }
268
257
 
269
258
  .crumb {
270
259
  @extend .d-flex;
@@ -283,12 +272,7 @@
283
272
 
284
273
  .meta-item-tagline {
285
274
  .meta-item-tagline-item {
286
- font-size: 12px;
287
- font-weight: $font-weight-normal;
288
275
  text-transform: uppercase;
289
- @include media-breakpoint-up(md) {
290
- font-size: 12px;
291
- }
292
276
  }
293
277
  }
294
278
  }
@@ -320,7 +304,7 @@
320
304
  @extend .col-6;
321
305
  @extend .col-md-4;
322
306
  @extend .col-lg-3;
323
- padding: 0 5px;
307
+ padding: 5px 5px 10px;
324
308
  }
325
309
 
326
310
  .page-collection-list-item-landscape {
@@ -328,7 +312,7 @@
328
312
  @extend .col-6;
329
313
  @extend .col-md-4;
330
314
  @extend .col-lg-3;
331
- padding: 0 5px;
315
+ padding: 5px 5px 10px;
332
316
  }
333
317
  }
334
318
 
@@ -338,7 +322,7 @@
338
322
  @extend .col-md-3;
339
323
  @extend .col-lg-3;
340
324
  @extend .col-xl-2;
341
- padding: 0 5px;
325
+ padding: 5px 5px 10px;
342
326
  }
343
327
  }
344
328
  }
@@ -185,77 +185,6 @@
185
185
  grid-column: auto;
186
186
  grid-row: 1;
187
187
  }
188
-
189
- /*#region ICON HACKS. TODO: CLEAN THIS MESS UP! */
190
- // This region exists to override styles for the trailer button, wishlist button, and share modal button.
191
- // Once the new icons have been committed to core-template, this region should be deleted from this file,
192
- // and the new CSS for these icons should live in _buttons.scss (probably).
193
- .s72-btn-play {
194
- background: transparent;
195
- border: 0;
196
- height: 42px;
197
- margin: 0;
198
- padding: 0;
199
- width: 42px;
200
-
201
- @include hover-focus {
202
- background: transparent;
203
-
204
- circle {
205
- fill: var(--primary);
206
- stroke: var(--primary);
207
- stroke-width: 3px;
208
- }
209
-
210
- path {
211
- fill: #000;
212
- stroke: #000;
213
- }
214
- }
215
-
216
- circle {
217
- fill: transparent;
218
- stroke: var(--primary);
219
- stroke-width: 3px;
220
- }
221
-
222
- path {
223
- fill: var(--body-color);
224
- stroke: var(--body-color);
225
- }
226
-
227
- .verb {
228
- display: none;
229
- }
230
- }
231
-
232
- .s72-userwishlist-buttons {
233
- .s72-btn-wishlist {
234
- height: 42px;
235
- margin: 0;
236
- padding: 0;
237
- width: 42px;
238
- }
239
-
240
- i {
241
- margin: 0;
242
- padding: 0;
243
- }
244
-
245
- span {
246
- font-size: 0;
247
- }
248
- }
249
-
250
- .social-media-buttons {
251
- .s72-btn {
252
- border: 0;
253
- height: 42px;
254
- padding: 0;
255
- width: 42px;
256
- }
257
- }
258
- /*#endregion */
259
188
  }
260
189
  }
261
190
  /* stylelint-enable selector-max-compound-selectors, max-nesting-depth */
@@ -62,9 +62,8 @@ footer {
62
62
  }
63
63
 
64
64
  .copyright-statement {
65
- font-size: 12px;
65
+ @include body-2-style;
66
66
  margin: 0 0 7px;
67
- opacity: 0.8;
68
67
  text-align: center;
69
68
 
70
69
  @include media-breakpoint-up(xl) {
@@ -73,14 +72,12 @@ footer {
73
72
  }
74
73
 
75
74
  .powered-by {
76
- color: rgba(var(--body-color-rgb), 0.8);
77
- font-size: 12px;
78
- font-weight: $font-weight-normal;
75
+ @include body-2-style;
79
76
  margin: 0;
80
77
  text-align: center;
81
78
 
82
79
  a {
83
- font-weight: $font-weight-bold;
80
+ @include caption-1-style;
84
81
  }
85
82
  }
86
83
 
@@ -98,9 +95,8 @@ footer {
98
95
  }
99
96
 
100
97
  .app-badge-title {
101
- font-size: 16px;
102
- font-weight: $font-weight-normal;
103
- margin-bottom: 12px;
98
+ @include body-1-style;
99
+ margin-bottom: 20px;
104
100
  text-align: center;
105
101
  }
106
102
 
@@ -1,5 +1,5 @@
1
1
  label {
2
- font-size: 1rem;
2
+ @include subtitle-1-style;
3
3
  margin-bottom: 0.25rem;
4
4
  }
5
5
 
@@ -61,11 +61,10 @@ s72-activatedevice-form,
61
61
  }
62
62
  // Error Messaging
63
63
  .s72-error-message {
64
+ @include body-2-style;
64
65
  background: $error-background;
65
66
  border-radius: $border-radius;
66
67
  color: $error-color;
67
- font-size: 0.875rem;
68
- letter-spacing: 0.02em;
69
68
  margin-top: 10px;
70
69
  padding: 4px 8px;
71
70
  position: relative;
@@ -98,7 +97,6 @@ s72-activatedevice-form,
98
97
  }
99
98
  // Form Control Default
100
99
  .s72-form-control {
101
- font-weight: $font-weight-normal;
102
100
  height: var(--input-height);
103
101
 
104
102
  /* stylelint-disable-next-line */
@@ -266,3 +264,8 @@ s72-signup-form {
266
264
  /* stylelint-enable selector-no-qualifying-type */
267
265
  }
268
266
  }
267
+
268
+ .s72-form-check-label,
269
+ .s72-form-control {
270
+ @include body-1-style;
271
+ }
@@ -212,3 +212,12 @@ s72-availability-label .availability-state::before {
212
212
  .alert svg {
213
213
  fill: var(--primary);
214
214
  }
215
+
216
+ .fa-play-trailer::before,
217
+ .fa-share-alt::before {
218
+ font-size: 23px;
219
+ }
220
+
221
+ .fa-play-trailer::before {
222
+ content: '\e01d';
223
+ }
@@ -182,36 +182,16 @@ s72-element-switcher,
182
182
 
183
183
  h1 {
184
184
  animation: fadein 2s;
185
- font-size: 28px;
186
- font-weight: $font-weight-bold;
187
185
  margin-bottom: 0;
188
186
  max-width: 728px;
189
187
  text-shadow: none;
190
188
 
191
- @include media-breakpoint-up(md) {
192
- font-size: 34px;
193
- }
194
- @include media-breakpoint-up(lg) {
195
- font-size: 38px;
196
- }
197
189
  @include media-breakpoint-up(xxxl) {
198
- font-size: 54px;
199
190
  max-width: 1100px;
200
191
  }
201
-
202
- small {
203
- font-size: 24px;
204
- }
205
192
  }
206
193
 
207
194
  .meta-item-tagline {
208
- color: rgba(var(--body-color-rgb), 0.8);
209
- font-size: 14px;
210
- font-weight: $font-weight-normal;
211
- @include media-breakpoint-up(xxxl) {
212
- font-size: 18px;
213
- }
214
-
215
195
  .meta-item-tagline-item,
216
196
  .meta-item-tagline-divider {
217
197
  animation: fadein 2s;
@@ -231,14 +211,6 @@ s72-element-switcher,
231
211
 
232
212
  p {
233
213
  animation: fadein 2s;
234
- font-size: 12px;
235
- font-weight: $font-weight-normal;
236
- @include media-breakpoint-up(lg) {
237
- font-size: 14px;
238
- }
239
- @include media-breakpoint-up(xxxl) {
240
- font-size: 18px;
241
- }
242
214
  }
243
215
 
244
216
  a {
@@ -257,30 +229,15 @@ s72-element-switcher,
257
229
  h4 {
258
230
  animation: fadein 2s;
259
231
  color: var(--body-color);
260
- font-size: 8px;
261
- font-weight: $font-weight-bold;
262
- margin-bottom: 0;
263
- padding-bottom: 0;
264
- @include media-breakpoint-up(md) {
265
- font-size: 12px;
266
- }
267
232
  }
268
233
 
269
234
  p {
270
235
  animation: fadein 2s;
271
236
  color: var(--body-color);
272
- font-size: 12px;
273
- font-weight: $font-weight-light;
274
- margin-bottom: 0;
275
- @include media-breakpoint-up(md) {
276
- font-size: 12px;
277
- }
278
237
  }
279
238
 
280
239
  a {
281
- @include a;
282
240
  animation: fadein 2s;
283
- font-size: 12px;
284
241
  }
285
242
  }
286
243
  }
@@ -417,12 +374,15 @@ s72-element-switcher,
417
374
  margin-bottom: 40px;
418
375
 
419
376
  h2 {
420
- font-size: 18px;
421
- margin-bottom: 15px;
377
+ @include heading-3-style;
378
+ }
422
379
 
423
- @include media-breakpoint-up(sm) {
424
- font-size: 22px;
425
- }
380
+ h3 {
381
+ @include subtitle-1-style;
382
+ }
383
+
384
+ .runtime {
385
+ @include subtitle-2-style;
426
386
  }
427
387
  }
428
388
 
@@ -442,8 +402,12 @@ s72-element-switcher,
442
402
  }
443
403
 
444
404
  .sponsor {
445
- margin-bottom: 25px;
405
+ margin-bottom: 24px;
446
406
  max-width: 250px;
407
+
408
+ div {
409
+ margin-bottom: 4px;
410
+ }
447
411
  }
448
412
 
449
413
  .meta-detail-content .sponsor {
@@ -452,7 +416,10 @@ s72-element-switcher,
452
416
  }
453
417
 
454
418
  s72-element-switcher {
455
- margin-bottom: 50px;
419
+ margin-bottom: 60px;
420
+ @include media-breakpoint-up(sm) {
421
+ margin-bottom: 100px;
422
+ }
456
423
  }
457
424
 
458
425
  .meta-detail-info {
@@ -463,4 +430,12 @@ s72-element-switcher {
463
430
  @include media-breakpoint-up(lg) {
464
431
  grid-template-columns: repeat(2, 1fr);
465
432
  }
433
+
434
+ p {
435
+ margin-bottom: 0;
436
+ }
437
+
438
+ h2 {
439
+ @include caption-1-style;
440
+ }
466
441
  }
@@ -1,10 +1,6 @@
1
1
  .meta-item-tagline {
2
2
  @extend .list-inline;
3
- font-size: 12px;
4
- @include media-breakpoint-up(md) {
5
- font-size: 14px;
6
- }
7
-
3
+ @include overline-style;
8
4
  .meta-item-tagline-item,
9
5
  .meta-item-tagline-divider {
10
6
  @extend .d-inline;
@@ -57,5 +53,5 @@
57
53
  align-items: center;
58
54
  display: flex !important;
59
55
  padding-bottom: 14px;
60
- padding-top: 8px;
56
+ padding-top: 5px;
61
57
  }
@@ -83,14 +83,10 @@
83
83
  }
84
84
 
85
85
  .meta-item-synopsis {
86
- color: $meta-item-body-color;
87
86
  display: none;
88
- font-size: 12px;
89
- font-weight: $font-weight-normal;
90
87
 
91
88
  @include media-breakpoint-up(lg) {
92
89
  display: block;
93
- font-size: 12px;
94
90
  padding-top: 10px;
95
91
  }
96
92
  }
@@ -13,9 +13,6 @@
13
13
 
14
14
  h3 {
15
15
  color: var(--body-color);
16
- font-size: 16px;
17
- font-weight: $font-weight-normal;
18
- letter-spacing: 0.4px;
19
16
  margin-bottom: 15px;
20
17
 
21
18
  @include media-breakpoint-up(sm) {
@@ -59,7 +56,6 @@
59
56
  }
60
57
 
61
58
  .runtime {
62
- font-size: 14px;
63
59
  line-height: 14px;
64
60
  }
65
61
 
@@ -1,5 +1,6 @@
1
1
  .page {
2
2
  flex: 1 0 auto;
3
+
3
4
  @include media-breakpoint-up(md) {
4
5
  padding-bottom: $grid-gutter-width;
5
6
  }
@@ -12,38 +13,13 @@
12
13
  }
13
14
 
14
15
  .page-header {
16
+ padding-bottom: 30px;
15
17
  padding-left: 20px;
16
18
  padding-right: 20px;
17
19
  @include media-breakpoint-up(lg) {
18
- padding-bottom: 20px;
19
20
  padding-left: 50px;
20
21
  padding-right: 50px;
21
22
  }
22
-
23
- h1 {
24
- font-size: 20px;
25
- font-weight: $font-weight-bold;
26
- margin-bottom: 0;
27
- @include media-breakpoint-up(md) {
28
- font-size: 28px;
29
- }
30
- @include media-breakpoint-up(xl) {
31
- font-size: 38px;
32
- }
33
- }
34
-
35
- p {
36
- font-size: 14px;
37
- font-weight: normal;
38
- padding-top: 5px;
39
- @include media-breakpoint-up(md) {
40
- font-size: 16px;
41
- }
42
-
43
- a {
44
- @include a;
45
- }
46
- }
47
23
  }
48
24
 
49
25
  .page-content {
@@ -76,6 +52,10 @@
76
52
  @include media-breakpoint-up(lg) {
77
53
  padding: var(--page-padding-top-lg) 0 0 0;
78
54
  }
55
+
56
+ h1 {
57
+ @include heading-2-style;
58
+ }
79
59
  }
80
60
 
81
61
  .form-page {
@@ -85,11 +65,13 @@
85
65
  .page-header {
86
66
  h1,
87
67
  p {
88
- margin: 0 auto;
68
+ margin-left: auto;
69
+ margin-right: auto;
89
70
  max-width: 400px;
90
- @include media-breakpoint-up(md) {
91
- text-align: center;
92
- }
71
+ text-align: center;
72
+ }
73
+ p {
74
+ @include heading-4-style;
93
75
  }
94
76
  }
95
77
 
@@ -107,18 +89,12 @@
107
89
  padding: 20px 50px 0;
108
90
  }
109
91
 
110
- h4,
111
- h5 {
112
- font-size: 16px;
113
- }
114
-
115
92
  p {
116
- font-size: 14px;
117
93
  word-wrap: break-word;
118
94
  }
119
95
 
120
96
  strong {
121
- font-weight: $font-weight-bold;
97
+ @include caption-1-style;
122
98
  }
123
99
 
124
100
  a:not(.signup-link) {
@@ -173,7 +149,6 @@
173
149
  @extend .col-4;
174
150
  @extend .col-md-3;
175
151
  @extend .col-xl-2;
176
- padding: 0 5px 10px;
177
152
  }
178
153
  }
179
154
 
@@ -191,6 +166,10 @@
191
166
  h1 {
192
167
  margin-bottom: $headings-margin-bottom;
193
168
  }
169
+
170
+ p {
171
+ @include heading-4-style;
172
+ }
194
173
  }
195
174
 
196
175
  .s72-plans,
@@ -297,18 +276,11 @@
297
276
  max-width: 660px;
298
277
 
299
278
  h2 {
300
- font-size: 24px;
301
279
  text-align: center;
302
- @include media-breakpoint-up(md) {
303
- font-size: 2rem;
304
- }
305
- }
306
-
307
- p {
308
- font-size: 12px;
309
- @include media-breakpoint-up(md) {
310
- font-size: 16px;
311
- }
312
280
  }
313
281
  }
314
282
  }
283
+
284
+ .acceptinvite-invalid-token {
285
+ @include heading-4-style;
286
+ }
@@ -30,6 +30,10 @@ s72-plan-label {
30
30
  p {
31
31
  @extend .mb-p75;
32
32
  }
33
+
34
+ h2 {
35
+ @include heading-3-style;
36
+ }
33
37
  }
34
38
 
35
39
  s72-plan-label {