@shift72/core-template 1.1.0 → 1.3.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 +37 -10
  2. package/kibble.json +1 -1
  3. package/package.json +1 -1
  4. package/site/ar_LB.all.json +50 -6
  5. package/site/ca_ES.all.json +35 -7
  6. package/site/da_DK.all.json +35 -7
  7. package/site/de_DE.all.json +35 -7
  8. package/site/el_EL.all.json +35 -7
  9. package/site/en_AU.all.json +35 -7
  10. package/site/es_ES.all.json +39 -7
  11. package/site/es_MX.all.json +39 -7
  12. package/site/et_ET.all.json +35 -7
  13. package/site/fi_FI.all.json +36 -8
  14. package/site/fr_FR.all.json +39 -7
  15. package/site/hr_HR.all.json +39 -7
  16. package/site/hu_HU.all.json +35 -7
  17. package/site/it_IT.all.json +38 -6
  18. package/site/ja_JP.all.json +31 -7
  19. package/site/lt_LT.all.json +43 -7
  20. package/site/nl_BE.all.json +34 -6
  21. package/site/no_NO.all.json +35 -7
  22. package/site/pl_PL.all.json +43 -7
  23. package/site/plans.html.jet +1 -1
  24. package/site/pt_BR.all.json +39 -7
  25. package/site/pt_PT.all.json +39 -7
  26. package/site/ru_RU.all.json +43 -7
  27. package/site/sr_SR.all.json +39 -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 +16 -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 +10 -0
  39. package/site/styles/_meta-detail.scss +26 -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 +137 -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 +35 -7
  61. package/site/uk_UA.all.json +43 -7
  62. package/site/zh_TW.all.json +31 -7
@@ -65,9 +65,6 @@
65
65
  background: $button-background;
66
66
  border: 3px solid $button-background;
67
67
  justify-content: center;
68
- padding-bottom: 3px;
69
- padding-left: 0;
70
- padding-top: 3px;
71
68
  @include hover-focus {
72
69
  background: $button-background-hover;
73
70
  border: 3px solid $button-background-hover;
@@ -108,66 +105,6 @@
108
105
  }
109
106
  }
110
107
 
111
- .s72-btn-trailer .s72-btn-play {
112
- background: transparent;
113
- border: 0 none;
114
-
115
- @include hover-focus {
116
- background: transparent;
117
-
118
- circle {
119
- fill: var(--primary);
120
- stroke: var(--primary);
121
- stroke-width: 3px;
122
- }
123
-
124
- path {
125
- fill: #000;
126
- stroke: #000;
127
- }
128
- }
129
-
130
- .verb {
131
- background: transparent;
132
- color: var(--primary);
133
- }
134
-
135
- circle {
136
- fill: transparent;
137
- stroke: var(--primary);
138
- stroke-width: 3px;
139
- }
140
-
141
- path {
142
- fill: var(--body-color);
143
- stroke: var(--body-color);
144
- }
145
-
146
- .s72-btn-play-icon {
147
- display: inline-block;
148
- height: 32px;
149
- margin-right: 0;
150
- width: 32px;
151
- }
152
-
153
- .s72-btn-play-label {
154
- background: transparent;
155
- border-width: 0;
156
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
157
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
158
- font-size: 12px;
159
- font-weight: $font-weight-bold;
160
- margin-left: 0;
161
- padding-bottom: 0;
162
- padding-left: 8px;
163
- padding-top: 0;
164
-
165
- &::before {
166
- display: none;
167
- }
168
- }
169
- }
170
-
171
108
  .s72-btn-rent,
172
109
  .s72-btn-purchase,
173
110
  .s72-btn-subscribe {
@@ -198,38 +135,6 @@
198
135
  @extend .btn-primary;
199
136
  }
200
137
 
201
- .btn-wishlist {
202
- p {
203
- margin: 0;
204
- }
205
-
206
- .btn-wishlist-quick {
207
- left: 10px;
208
- position: absolute;
209
- top: 0;
210
- // One more than the availability label
211
- z-index: 100;
212
- }
213
-
214
- .s72-btn-wishlist {
215
- background: transparent;
216
- border: 0 none;
217
- color: var(--body-color);
218
- font-size: 14px;
219
-
220
- .s72-icon-loading,
221
- .s72-icon-errored {
222
- display: none;
223
- }
224
- }
225
-
226
- .s72-icon {
227
- font-size: 16px !important;
228
- margin-left: 0;
229
- margin-right: 5px;
230
- }
231
- }
232
-
233
138
  .btn-block .s72-btn {
234
139
  @extend .btn-block;
235
140
  }
@@ -284,3 +189,22 @@ s72-userwishlist-button {
284
189
  display: none;
285
190
  }
286
191
  }
192
+
193
+ .extra-buttons {
194
+ .s72-btn-trailer,
195
+ s72-share-modal .s72-btn,
196
+ .s72-btn-wishlist {
197
+ height: 42px;
198
+ padding: 0;
199
+ width: 42px;
200
+ &:hover {
201
+ color: var(--main-content-icon-hover);
202
+ }
203
+
204
+ /* stylelint-disable selector-max-compound-selectors, max-nesting-depth */
205
+ i {
206
+ margin: 0;
207
+ }
208
+ /* stylelint-enable selector-max-compound-selectors, max-nesting-depth */
209
+ }
210
+ }
@@ -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
+ }
@@ -6,6 +6,7 @@
6
6
  }
7
7
 
8
8
  .fa {
9
+ display: inline-block;
9
10
  font-family: 'fa-s72' !important;
10
11
  font-style: normal !important;
11
12
  font-variant: normal !important;
@@ -212,3 +213,12 @@ s72-availability-label .availability-state::before {
212
213
  .alert svg {
213
214
  fill: var(--primary);
214
215
  }
216
+
217
+ .fa-play-trailer::before,
218
+ .fa-share-alt::before {
219
+ font-size: 23px;
220
+ }
221
+
222
+ .fa-play-trailer::before {
223
+ content: '\e01d';
224
+ }
@@ -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,13 @@ s72-element-switcher,
442
402
  }
443
403
 
444
404
  .sponsor {
445
- margin-bottom: 25px;
405
+ @include body-1-style();
406
+ margin-bottom: 24px;
446
407
  max-width: 250px;
408
+
409
+ div {
410
+ margin-bottom: 4px;
411
+ }
447
412
  }
448
413
 
449
414
  .meta-detail-content .sponsor {
@@ -452,7 +417,10 @@ s72-element-switcher,
452
417
  }
453
418
 
454
419
  s72-element-switcher {
455
- margin-bottom: 50px;
420
+ margin-bottom: 60px;
421
+ @include media-breakpoint-up(sm) {
422
+ margin-bottom: 100px;
423
+ }
456
424
  }
457
425
 
458
426
  .meta-detail-info {
@@ -463,4 +431,12 @@ s72-element-switcher {
463
431
  @include media-breakpoint-up(lg) {
464
432
  grid-template-columns: repeat(2, 1fr);
465
433
  }
434
+
435
+ p {
436
+ margin-bottom: 0;
437
+ }
438
+
439
+ h2 {
440
+ @include caption-1-style;
441
+ }
466
442
  }
@@ -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