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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/CHANGELOG.md +39 -6
  2. package/kibble.json +1 -1
  3. package/package.json +1 -1
  4. package/site/ar_LB.all.json +27 -12
  5. package/site/ca_ES.all.json +28 -13
  6. package/site/da_DK.all.json +28 -13
  7. package/site/de_DE.all.json +27 -12
  8. package/site/el_EL.all.json +28 -13
  9. package/site/en_AU.all.json +27 -12
  10. package/site/es_ES.all.json +28 -13
  11. package/site/es_MX.all.json +27 -12
  12. package/site/et_ET.all.json +27 -12
  13. package/site/fi_FI.all.json +28 -13
  14. package/site/fr_FR.all.json +28 -13
  15. package/site/hr_HR.all.json +28 -13
  16. package/site/hu_HU.all.json +28 -13
  17. package/site/it_IT.all.json +26 -11
  18. package/site/ja_JP.all.json +27 -12
  19. package/site/lt_LT.all.json +28 -13
  20. package/site/manifest.json.jet +2 -2
  21. package/site/nl_BE.all.json +27 -12
  22. package/site/no_NO.all.json +28 -13
  23. package/site/pl_PL.all.json +28 -13
  24. package/site/plans.html.jet +1 -1
  25. package/site/pt_BR.all.json +28 -13
  26. package/site/pt_PT.all.json +28 -13
  27. package/site/ru_RU.all.json +28 -13
  28. package/site/sr_SR.all.json +28 -13
  29. package/site/static/fonts/fa-s72.woff +0 -0
  30. package/site/static/js/main.js +0 -1
  31. package/site/static/scripts/main.js.map +1 -1
  32. package/site/styles/_availability-tags.scss +1 -3
  33. package/site/styles/_awards.scss +16 -10
  34. package/site/styles/_buttons.scss +19 -95
  35. package/site/styles/_can-be-watched-button.scss +1 -1
  36. package/site/styles/_carousel.scss +41 -28
  37. package/site/styles/_collections.scss +17 -33
  38. package/site/styles/_cta-buttons.scss +3 -75
  39. package/site/styles/_footer.scss +5 -9
  40. package/site/styles/_forms.scss +7 -4
  41. package/site/styles/_icons.scss +22 -9
  42. package/site/styles/_meta-detail.scss +44 -56
  43. package/site/styles/_meta-item-tagline.scss +2 -6
  44. package/site/styles/_meta-item.scss +0 -4
  45. package/site/styles/_meta-sub-item.scss +0 -4
  46. package/site/styles/_mixins.scss +17 -15
  47. package/site/styles/_pages.scss +21 -49
  48. package/site/styles/_plans.scss +4 -0
  49. package/site/styles/_search.scss +0 -2
  50. package/site/styles/_share-modal.scss +0 -4
  51. package/site/styles/_shopping.scss +0 -5
  52. package/site/styles/_tooltips.scss +13 -0
  53. package/site/styles/_typography.scss +87 -0
  54. package/site/styles/_variables.scss +14 -4
  55. package/site/styles/_wishlist.scss +8 -14
  56. package/site/styles/main.scss +1 -0
  57. package/site/templates/application/footer/brand.jet +4 -4
  58. package/site/templates/application/footer/copyright-statement.jet +1 -1
  59. package/site/templates/application/nav/nav.jet +2 -2
  60. package/site/templates/collection/carousel/item/synopsis.jet +5 -3
  61. package/site/templates/collection/carousel/item.jet +8 -5
  62. package/site/templates/common/awards/item.jet +2 -2
  63. package/site/templates/common/cta_buttons.jet +4 -12
  64. package/site/templates/film/item.jet +3 -3
  65. package/site/templates/items/meta_item.jet +20 -6
  66. package/site/templates/items/tagline.jet +25 -50
  67. package/site/templates/tv/detail.jet +1 -1
  68. package/site/tr_TR.all.json +28 -13
  69. package/site/uk_UA.all.json +28 -13
  70. package/site/zh_TW.all.json +27 -12
@@ -1,27 +1,33 @@
1
1
  .meta-awards {
2
- @extend .d-flex;
3
- @extend .align-items-center;
4
- margin-left: -25px;
5
- margin-right: -25px;
2
+ margin-bottom: 24px;
6
3
 
7
4
  &.meta-awards-all {
8
- @extend .align-items-start;
5
+ display: grid;
6
+ gap: 30px 104px;
7
+ grid-auto-rows: 1fr;
8
+ margin-bottom: 51px;
9
+
10
+ @include media-breakpoint-up(md) {
11
+ grid-template-columns: repeat(2, minmax(0, 320px));
12
+ }
13
+
14
+ @include media-breakpoint-up(lg) {
15
+ margin-bottom: 69px;
16
+ }
9
17
  }
10
18
 
11
19
  .meta-award-nomination {
12
- @extend .d-flex;
20
+ display: flex;
13
21
  max-width: 370px;
14
- padding-left: 25px;
15
- padding-right: 25px;
16
22
  }
17
23
 
18
24
  .meta-award-nomination-icon {
19
25
  @extend .fa;
20
26
  @extend .fa-star; // for now
21
27
 
22
- font-size: 1.25rem;
28
+ font-size: 1.5rem;
23
29
  line-height: 1.5rem;
24
- padding-right: 0.5rem;
30
+ margin-right: 0.75rem;
25
31
  }
26
32
  }
27
33
 
@@ -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
+ }
@@ -18,7 +18,7 @@
18
18
  .verb {
19
19
  color: $button-text-color;
20
20
  font-size: 18px;
21
- font-weight: $font-weight-bold;
21
+ font-weight: $font-weight-normal;
22
22
  }
23
23
  }
24
24
 
@@ -2,6 +2,8 @@ s72-carousel {
2
2
  display: flex;
3
3
  height: var(--carousel-height);
4
4
  margin-bottom: 30px;
5
+ max-height: 800px;
6
+ min-height: 530px;
5
7
  width: 100%;
6
8
 
7
9
  @include media-breakpoint-up(sm) {
@@ -32,7 +34,7 @@ s72-carousel {
32
34
  }
33
35
 
34
36
  .carousel-item-link > s72-image {
35
- height: 100%;
37
+ height: 90%;
36
38
  position: absolute;
37
39
  top: 0;
38
40
  width: 100%;
@@ -40,8 +42,15 @@ s72-carousel {
40
42
  img {
41
43
  height: 100%;
42
44
  object-fit: cover;
45
+ object-position: var(--carousel-image-object-position);
43
46
  width: 100%;
44
47
  z-index: -1;
48
+ @include media-breakpoint-up(sm) {
49
+ object-position: var(--carousel-image-object-position-sm);
50
+ }
51
+ @include media-breakpoint-up(lg) {
52
+ object-position: var(--carousel-image-object-position-lg);
53
+ }
45
54
  }
46
55
  }
47
56
 
@@ -85,6 +94,7 @@ s72-carousel {
85
94
 
86
95
  .carousel-item-caption {
87
96
  @extend .carousel-bottom-gradient;
97
+
88
98
  bottom: 0;
89
99
  display: flex;
90
100
  flex-direction: column;
@@ -94,27 +104,45 @@ s72-carousel {
94
104
  width: 100%;
95
105
  z-index: 999;
96
106
 
107
+ @include media-breakpoint-up(sm) {
108
+ padding: var(--carousel-bottom-gradient-height-sm) 20px 1px;
109
+ }
110
+
97
111
  @include media-breakpoint-up(lg) {
98
112
  flex-direction: row;
99
- padding: var(--carousel-bottom-gradient-height) 50px 1px;
113
+ padding: var(--carousel-bottom-gradient-height-lg) 50px 1px;
100
114
  }
101
115
 
102
- .sponsor {
116
+ .meta-awards {
103
117
  @include media-breakpoint-up(lg) {
104
- align-self: flex-end;
118
+ justify-content: end;
105
119
  margin-bottom: 8px;
120
+ }
121
+ }
122
+
123
+ .sponsor-awards-wrapper {
124
+ color: var(--body-color);
125
+
126
+ @include media-breakpoint-up(lg) {
127
+ align-self: flex-end;
128
+ flex-shrink: 0;
106
129
  margin-left: auto;
107
130
  order: 1;
108
131
  }
109
132
  }
110
133
 
134
+ .sponsor {
135
+ @include media-breakpoint-up(lg) {
136
+ text-align: right;
137
+ }
138
+ }
139
+
111
140
  .availability-bg {
112
- margin-bottom: 10px;
141
+ margin-bottom: 8px;
113
142
  }
114
143
 
115
144
  .availability-state {
116
145
  color: var(--body-color);
117
- font-size: 12px;
118
146
  margin-bottom: 0 !important; // >:(
119
147
  text-transform: none;
120
148
  }
@@ -124,24 +152,15 @@ s72-carousel {
124
152
  }
125
153
 
126
154
  h3 {
127
- color: var(--body-color);
128
- font-size: 28px;
129
- font-weight: $font-weight-normal;
130
- margin-bottom: 8px;
155
+ @include heading-1-style;
131
156
  max-width: 930px;
132
- padding-bottom: 0;
133
-
134
- @include media-breakpoint-up(md) {
135
- font-size: 38px;
136
- }
137
-
138
- @include media-breakpoint-up(lg) {
139
- font-size: 46px;
140
- }
141
157
 
142
- @include media-breakpoint-up(xxxl) {
143
- font-size: 46px;
144
- }
158
+ /* stylelint-disable */
159
+ display: -webkit-box;
160
+ overflow: hidden;
161
+ -webkit-line-clamp: 3;
162
+ -webkit-box-orient: vertical;
163
+ /* stylelint-enable */
145
164
  }
146
165
 
147
166
  h4 {
@@ -171,8 +190,6 @@ s72-carousel {
171
190
 
172
191
  .meta-item-synopsis {
173
192
  display: none;
174
- font-size: 16px;
175
- font-weight: $font-weight-normal;
176
193
  margin-bottom: 8px;
177
194
  max-width: 600px;
178
195
  padding-top: 0;
@@ -181,10 +198,6 @@ s72-carousel {
181
198
  display: block;
182
199
  }
183
200
  }
184
-
185
- .meta-item-synopsis p {
186
- margin-bottom: 0;
187
- }
188
201
  }
189
202
 
190
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
  }
@@ -10,14 +10,13 @@
10
10
  }
11
11
 
12
12
  > * {
13
- &:not(.extra-buttons) {
14
- animation: fadein 2s;
15
- }
16
-
17
13
  @include media-breakpoint-up(xs) {
18
14
  grid-column: auto;
19
15
  grid-row: 1;
20
16
  }
17
+ &:not(.extra-buttons) {
18
+ animation: fadein 2s;
19
+ }
21
20
  }
22
21
 
23
22
  .s72-pricing-button-container {
@@ -186,77 +185,6 @@
186
185
  grid-column: auto;
187
186
  grid-row: 1;
188
187
  }
189
-
190
- /*#region ICON HACKS. TODO: CLEAN THIS MESS UP! */
191
- // This region exists to override styles for the trailer button, wishlist button, and share modal button.
192
- // Once the new icons have been committed to core-template, this region should be deleted from this file,
193
- // and the new CSS for these icons should live in _buttons.scss (probably).
194
- .s72-btn-play {
195
- background: transparent;
196
- border: 0;
197
- height: 42px;
198
- margin: 0;
199
- padding: 0;
200
- width: 42px;
201
-
202
- @include hover-focus {
203
- background: transparent;
204
-
205
- circle {
206
- fill: var(--primary);
207
- stroke: var(--primary);
208
- stroke-width: 3px;
209
- }
210
-
211
- path {
212
- fill: #000;
213
- stroke: #000;
214
- }
215
- }
216
-
217
- circle {
218
- fill: transparent;
219
- stroke: var(--primary);
220
- stroke-width: 3px;
221
- }
222
-
223
- path {
224
- fill: var(--body-color);
225
- stroke: var(--body-color);
226
- }
227
-
228
- .verb {
229
- display: none;
230
- }
231
- }
232
-
233
- .s72-userwishlist-buttons {
234
- .s72-btn-wishlist {
235
- height: 42px;
236
- margin: 0;
237
- padding: 0;
238
- width: 42px;
239
- }
240
-
241
- i {
242
- margin: 0;
243
- padding: 0;
244
- }
245
-
246
- span {
247
- font-size: 0;
248
- }
249
- }
250
-
251
- .social-media-buttons {
252
- .s72-btn {
253
- border: 0;
254
- height: 42px;
255
- padding: 0;
256
- width: 42px;
257
- }
258
- }
259
- /*#endregion */
260
188
  }
261
189
  }
262
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
+ }
@@ -50,35 +50,35 @@
50
50
  }
51
51
 
52
52
  .fa-cc-visa::before {
53
- content: '\e000';
53
+ content: '\e027';
54
54
  }
55
55
 
56
56
  .fa-cc-stripe::before {
57
- content: '\e001';
57
+ content: '\e026';
58
58
  }
59
59
 
60
60
  .fa-cc-paypal::before {
61
- content: '\e002';
61
+ content: '\e025';
62
62
  }
63
63
 
64
64
  .fa-cc-mastercard::before {
65
- content: '\e003';
65
+ content: '\e024';
66
66
  }
67
67
 
68
68
  .fa-cc-jcb::before {
69
- content: '\e004';
69
+ content: '\e023';
70
70
  }
71
71
 
72
72
  .fa-cc-discover::before {
73
- content: '\e005';
73
+ content: '\e022';
74
74
  }
75
75
 
76
76
  .fa-cc-diners-club::before {
77
- content: '\e006';
77
+ content: '\e000';
78
78
  }
79
79
 
80
80
  .fa-cc-amex::before {
81
- content: '\e007';
81
+ content: '\e002';
82
82
  }
83
83
 
84
84
  .fa-twitter::before {
@@ -154,7 +154,7 @@
154
154
  }
155
155
 
156
156
  .fa-circle::before {
157
- content: '\e01c';
157
+ content: '\e001';
158
158
  }
159
159
 
160
160
  .fa-warning::before,
@@ -163,6 +163,10 @@
163
163
  content: '\e01b';
164
164
  }
165
165
 
166
+ .existing-card-icon {
167
+ font-size: 1.2rem;
168
+ }
169
+
166
170
  s72-availability-label .availability-state::before {
167
171
  content: '\e01b';
168
172
  }
@@ -208,3 +212,12 @@ s72-availability-label .availability-state::before {
208
212
  .alert svg {
209
213
  fill: var(--primary);
210
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
+ }