@shift72/core-template 0.4.0 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +33 -3
- package/kibble.json +2 -2
- package/package.json +7 -4
- package/scripts/css-local-get.js +34 -0
- package/scripts/css-local-put.js +110 -0
- package/scripts/language-file-validator.js +16 -2
- package/site/ar_LB.all.json +22 -18
- package/site/ca_ES.all.json +16 -32
- package/site/da_DK.all.json +47 -32
- package/site/de_DE.all.json +130 -2
- package/site/ee_EE.all.json +90 -23
- package/site/el_EL.all.json +89 -18
- package/site/en_AU.all.json +27 -24
- package/site/es_ES.all.json +129 -3
- package/site/es_MX.all.json +165 -3
- package/site/fi_FI.all.json +164 -2
- package/site/fr_FR.all.json +131 -3
- package/site/hr_HR.all.json +64 -5
- package/site/hu_HU.all.json +90 -23
- package/site/it_IT.all.json +127 -3
- package/site/ja_JP.all.json +163 -3
- package/site/lt_LT.all.json +50 -15
- package/site/nl_BE.all.json +53 -16
- package/site/no_NO.all.json +87 -23
- package/site/pl_PL.all.json +162 -3
- package/site/pt_BR.all.json +24 -32
- package/site/pt_PT.all.json +93 -19
- package/site/ru_RU.all.json +85 -16
- package/site/se_SE.all.json +64 -31
- package/site/static/images/common/sponsors-md.png +0 -0
- package/site/static/images/common/sponsors-xs.png +0 -0
- package/site/static/images/common/sponsors-xxxs.png +0 -0
- package/site/styles/_awards.scss +6 -6
- package/site/styles/_bootstrap4.scss +90 -0
- package/site/styles/_buttons.scss +5 -4
- package/site/styles/_can-be-watched-button.scss +2 -0
- package/site/styles/_card.scss +2 -2
- package/site/styles/_carousel.scss +43 -28
- package/site/styles/_collections.scss +4 -4
- package/site/styles/_cookie-consent.scss +1 -1
- package/site/styles/_devices.scss +3 -3
- package/site/styles/_footer.scss +45 -2
- package/site/styles/_forms.scss +6 -6
- package/site/styles/_globals.scss +1 -1
- package/site/styles/_icons.scss +2 -2
- package/site/styles/_language-selector.scss +2 -2
- package/site/styles/_legacy.scss +3 -3
- package/site/styles/_meta-detail.scss +44 -24
- package/site/styles/_mixins.scss +2 -2
- package/site/styles/_nav.scss +40 -40
- package/site/styles/_pages.scss +12 -12
- package/site/styles/_pin-codes.scss +2 -2
- package/site/styles/_plans.scss +1 -1
- package/site/styles/_poster.scss +5 -4
- package/site/styles/_shift72.scss +22 -22
- package/site/styles/_shopping.scss +8 -8
- package/site/styles/_slider.scss +4 -10
- package/site/styles/_social-media-buttons.scss +20 -20
- package/site/styles/_swiper.scss +2 -2
- package/site/styles/_variables.scss +107 -82
- package/site/styles/_wishlist.scss +2 -2
- package/site/styles/main.scss +1 -3
- package/site/templates/application/application.jet +13 -1
- package/site/templates/application/footer/footer.jet +3 -0
- package/site/templates/application/footer/sponsor-banner.jet +9 -0
- package/site/templates/bundle/buttons.jet +2 -1
- package/site/templates/bundle/item.jet +1 -2
- package/site/templates/collection/carousel_item.jet +12 -13
- package/site/templates/common/awards/item.jet +1 -1
- package/site/templates/film/item.jet +36 -12
- package/site/templates/page/content.jet +3 -0
- package/site/templates/tv/detail.jet +7 -13
- package/site/tr_TR.all.json +88 -22
- package/site/uk_UA.all.json +50 -34
- package/site/zh_TW.all.json +19 -36
- package/site/styles/_functions.scss +0 -8
package/site/styles/_plans.scss
CHANGED
package/site/styles/_poster.scss
CHANGED
@@ -23,14 +23,15 @@
|
|
23
23
|
|
24
24
|
@extend .p-p5;
|
25
25
|
@extend .mw-100;
|
26
|
+
width: 100%;
|
26
27
|
|
27
28
|
z-index: 99;
|
28
|
-
width: 100%;
|
29
29
|
|
30
30
|
s72-availability-status {
|
31
|
-
position: unset; z-index: unset;
|
32
|
-
min-width: 0px;
|
33
31
|
@extend .pr-p5;
|
32
|
+
min-width: 0;
|
33
|
+
position: unset;
|
34
|
+
z-index: unset;
|
34
35
|
|
35
36
|
/* stylelint-disable selector-max-compound-selectors */
|
36
37
|
.availability-bg {
|
@@ -46,4 +47,4 @@
|
|
46
47
|
max-width: 100%;
|
47
48
|
position: relative;
|
48
49
|
width: 100%;
|
49
|
-
}
|
50
|
+
}
|
@@ -12,15 +12,15 @@
|
|
12
12
|
}
|
13
13
|
|
14
14
|
.s72-btn-search {
|
15
|
-
@extend .btn-primary;
|
15
|
+
@extend .btn-primary-override;
|
16
16
|
}
|
17
17
|
|
18
18
|
.s72-btn-purchase {
|
19
|
-
@extend .btn-primary;
|
19
|
+
@extend .btn-primary-override;
|
20
20
|
}
|
21
21
|
|
22
22
|
.s72-btn-rent {
|
23
|
-
@extend .btn-primary;
|
23
|
+
@extend .btn-primary-override;
|
24
24
|
}
|
25
25
|
|
26
26
|
.s72-btn-close {
|
@@ -28,47 +28,47 @@
|
|
28
28
|
}
|
29
29
|
|
30
30
|
.s72-btn-purchase-card {
|
31
|
-
@extend .btn-primary;
|
31
|
+
@extend .btn-primary-override;
|
32
32
|
}
|
33
33
|
|
34
34
|
.s72-btn-purchase-free {
|
35
|
-
@extend .btn-primary;
|
35
|
+
@extend .btn-primary-override;
|
36
36
|
}
|
37
37
|
|
38
38
|
.s72-btn-changepassword {
|
39
|
-
@extend .btn-primary;
|
39
|
+
@extend .btn-primary-override;
|
40
40
|
}
|
41
41
|
|
42
42
|
.s72-btn-updateaccount {
|
43
|
-
@extend .btn-primary;
|
43
|
+
@extend .btn-primary-override;
|
44
44
|
}
|
45
45
|
|
46
46
|
.s72-btn-signup {
|
47
|
-
@extend .btn-primary;
|
47
|
+
@extend .btn-primary-override;
|
48
48
|
}
|
49
49
|
|
50
50
|
.s72-btn-signin {
|
51
|
-
@extend .btn-primary;
|
51
|
+
@extend .btn-primary-override;
|
52
52
|
}
|
53
53
|
|
54
54
|
.s72-btn-signin-vip {
|
55
|
-
@extend .btn-primary;
|
55
|
+
@extend .btn-primary-override;
|
56
56
|
}
|
57
57
|
|
58
58
|
.s72-btn-forgotpassword {
|
59
|
-
@extend .btn-primary;
|
59
|
+
@extend .btn-primary-override;
|
60
60
|
}
|
61
61
|
|
62
62
|
.s72-btn-resetpassword {
|
63
|
-
@extend .btn-primary;
|
63
|
+
@extend .btn-primary-override;
|
64
64
|
}
|
65
65
|
|
66
66
|
.s72-btn-activatedevice {
|
67
|
-
@extend .btn-primary;
|
67
|
+
@extend .btn-primary-override;
|
68
68
|
}
|
69
69
|
|
70
70
|
.s72-btn-modal-action {
|
71
|
-
@extend .btn-primary;
|
71
|
+
@extend .btn-primary-override;
|
72
72
|
}
|
73
73
|
|
74
74
|
.s72-btn-modal-cancel {
|
@@ -76,19 +76,19 @@
|
|
76
76
|
}
|
77
77
|
|
78
78
|
.s72-btn-combined-auth {
|
79
|
-
@extend .btn-primary;
|
79
|
+
@extend .btn-primary-override;
|
80
80
|
}
|
81
81
|
|
82
82
|
.s72-btn-combined-auth-change {
|
83
|
-
@extend .btn-primary;
|
83
|
+
@extend .btn-primary-override;
|
84
84
|
}
|
85
85
|
|
86
86
|
.s72-btn-applydiscount {
|
87
|
-
@extend .btn-
|
87
|
+
@extend .btn-primary-override;
|
88
88
|
}
|
89
89
|
|
90
90
|
.s72-btn-next-page {
|
91
|
-
@extend .btn-
|
91
|
+
@extend .btn-primary-override;
|
92
92
|
@extend .btn-lg;
|
93
93
|
width: 100%;
|
94
94
|
}
|
@@ -181,7 +181,7 @@
|
|
181
181
|
}
|
182
182
|
|
183
183
|
.s72-dropdown-item {
|
184
|
-
@extend .dropdown-item;
|
184
|
+
@extend .dropdown-item-override;
|
185
185
|
}
|
186
186
|
|
187
187
|
// s72-sign-out { @extend li; }
|
@@ -224,7 +224,7 @@
|
|
224
224
|
@extend .form-control-plaintext;
|
225
225
|
|
226
226
|
.form-page & {
|
227
|
-
color:
|
227
|
+
color: var(--body-color);
|
228
228
|
}
|
229
229
|
}
|
230
230
|
|
@@ -322,7 +322,7 @@ s72-cant-be-watched {
|
|
322
322
|
@extend .position-relative;
|
323
323
|
&::after {
|
324
324
|
@extend .position-absolute;
|
325
|
-
background-color:
|
325
|
+
background-color: var(--primary);
|
326
326
|
bottom: 0 !important;
|
327
327
|
content: '';
|
328
328
|
height: 3px;
|
@@ -334,5 +334,5 @@ s72-cant-be-watched {
|
|
334
334
|
|
335
335
|
.s72-view-all-passes {
|
336
336
|
@extend .py-4;
|
337
|
-
background-color:
|
337
|
+
background-color: var(--body-bg-accent);
|
338
338
|
}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
.s72-btn-close {
|
15
15
|
background: transparent;
|
16
|
-
color:
|
16
|
+
color: var(--body-color);
|
17
17
|
display: block;
|
18
18
|
height: 30px;
|
19
19
|
line-height: 30px;
|
@@ -71,9 +71,9 @@
|
|
71
71
|
|
72
72
|
.s72-combined-auth-email {
|
73
73
|
@extend .d-flex;
|
74
|
-
background: rgba(
|
74
|
+
background: rgba(var(--body-color-rgb), 0.1);
|
75
75
|
border: 0 none;
|
76
|
-
color:
|
76
|
+
color: var(--body-color);
|
77
77
|
font-weight: $font-weight-normal;
|
78
78
|
justify-content: space-between;
|
79
79
|
padding-bottom: 0;
|
@@ -138,7 +138,7 @@
|
|
138
138
|
padding: 10px 0 0;
|
139
139
|
|
140
140
|
li {
|
141
|
-
color: rgba(
|
141
|
+
color: rgba(var(--body-color-rgb), 0.8);
|
142
142
|
font-size: 12px;
|
143
143
|
list-style-type: none;
|
144
144
|
text-align: left;
|
@@ -158,7 +158,7 @@
|
|
158
158
|
|
159
159
|
.s72-shopping-item-info {
|
160
160
|
p {
|
161
|
-
color:
|
161
|
+
color: var(--body-color);
|
162
162
|
font-size: 14px;
|
163
163
|
|
164
164
|
a {
|
@@ -191,7 +191,7 @@
|
|
191
191
|
.s72-shopping-done {
|
192
192
|
/* stylelint-disable-next-line */
|
193
193
|
div div p {
|
194
|
-
color:
|
194
|
+
color: var(--body-color);
|
195
195
|
font-size: 20px;
|
196
196
|
font-weight: $font-weight-bold;
|
197
197
|
margin-bottom: 5px;
|
@@ -205,7 +205,7 @@
|
|
205
205
|
}
|
206
206
|
|
207
207
|
div p {
|
208
|
-
color:
|
208
|
+
color: var(--body-color);
|
209
209
|
display: block;
|
210
210
|
font-size: 12px;
|
211
211
|
text-align: center;
|
@@ -289,7 +289,7 @@
|
|
289
289
|
}
|
290
290
|
|
291
291
|
.s72-icon {
|
292
|
-
color:
|
292
|
+
color: var(--primary);
|
293
293
|
}
|
294
294
|
}
|
295
295
|
}
|
package/site/styles/_slider.scss
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
s72-slider .s72-slider-control,
|
2
2
|
s72-userwishlist .s72-slider-control {
|
3
|
-
background-color:
|
4
|
-
border: 1px solid
|
3
|
+
background-color: var(--primary);
|
4
|
+
border: 1px solid var(--primary);
|
5
5
|
border-radius: 50%;
|
6
6
|
font-family: $font-family-base;
|
7
7
|
height: $slider-control-height;
|
@@ -31,12 +31,6 @@ s72-userwishlist .s72-slider-control {
|
|
31
31
|
top: 50%;
|
32
32
|
transform: translateX(-50%) translateY(-50%);
|
33
33
|
}
|
34
|
-
|
35
|
-
&:hover,
|
36
|
-
&:active,
|
37
|
-
&:focus {
|
38
|
-
background: darken($primary, 7.5%);
|
39
|
-
}
|
40
34
|
}
|
41
35
|
|
42
36
|
// make .slider-control be in the middle of the poster, not the middle of the item (which includes captions).
|
@@ -72,7 +66,7 @@ s72-slider.has-next.s72-slider-scroll::after {
|
|
72
66
|
/* stylelint-enable selector-no-qualifying-type */
|
73
67
|
|
74
68
|
.slider-fade-in {
|
75
|
-
@include gradient-x(rgba(
|
69
|
+
@include gradient-x(rgba(var(--body-bg-rgb), 0.9), transparent, 0%, 100%);
|
76
70
|
content: '';
|
77
71
|
display: block;
|
78
72
|
height: 100%;
|
@@ -86,7 +80,7 @@ s72-slider.has-next.s72-slider-scroll::after {
|
|
86
80
|
|
87
81
|
.slider-fade-out {
|
88
82
|
@extend .slider-fade-in;
|
89
|
-
@include gradient-x(transparent, rgba(
|
83
|
+
@include gradient-x(transparent, rgba(var(--body-bg-rgb), 0.9), 0%, 100%);
|
90
84
|
left: auto;
|
91
85
|
right: 0;
|
92
86
|
}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
h2,
|
14
14
|
h5 {
|
15
15
|
align-self: center;
|
16
|
-
color:
|
16
|
+
color: var(--body-color);
|
17
17
|
font-family: $font-family-base;
|
18
18
|
font-size: 12px;
|
19
19
|
font-weight: $font-weight-bold;
|
@@ -47,7 +47,7 @@
|
|
47
47
|
border-color: $facebook-color;
|
48
48
|
|
49
49
|
.fa {
|
50
|
-
color:
|
50
|
+
color: var(--body-bg);
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
border-color: $instagram-color;
|
57
57
|
|
58
58
|
.fa {
|
59
|
-
color:
|
59
|
+
color: var(--body-bg);
|
60
60
|
}
|
61
61
|
}
|
62
62
|
|
@@ -65,7 +65,7 @@
|
|
65
65
|
border-color: $twitter-color;
|
66
66
|
|
67
67
|
.fa {
|
68
|
-
color:
|
68
|
+
color: var(--body-bg);
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
border-color: $linkedin-color;
|
75
75
|
|
76
76
|
.fa {
|
77
|
-
color:
|
77
|
+
color: var(--body-bg);
|
78
78
|
}
|
79
79
|
}
|
80
80
|
|
@@ -83,7 +83,7 @@
|
|
83
83
|
border-color: $youtube-color;
|
84
84
|
|
85
85
|
.fa {
|
86
|
-
color:
|
86
|
+
color: var(--body-bg);
|
87
87
|
}
|
88
88
|
}
|
89
89
|
|
@@ -92,8 +92,8 @@
|
|
92
92
|
border-color: $letterboxd-color;
|
93
93
|
|
94
94
|
path {
|
95
|
-
fill:
|
96
|
-
stroke:
|
95
|
+
fill: var(--body-bg);
|
96
|
+
stroke: var(--body-bg);
|
97
97
|
stroke-width: 1;
|
98
98
|
}
|
99
99
|
}
|
@@ -102,8 +102,8 @@
|
|
102
102
|
&:active,
|
103
103
|
&:focus {
|
104
104
|
&.btn-social-facebook {
|
105
|
-
background-color:
|
106
|
-
border-color:
|
105
|
+
background-color: var(--primary);
|
106
|
+
border-color: var(--primary);
|
107
107
|
|
108
108
|
.fa {
|
109
109
|
color: $facebook-color;
|
@@ -111,8 +111,8 @@
|
|
111
111
|
}
|
112
112
|
|
113
113
|
&.btn-social-instagram {
|
114
|
-
background-color:
|
115
|
-
border-color:
|
114
|
+
background-color: var(--primary);
|
115
|
+
border-color: var(--primary);
|
116
116
|
|
117
117
|
.fa {
|
118
118
|
color: $instagram-color;
|
@@ -120,8 +120,8 @@
|
|
120
120
|
}
|
121
121
|
|
122
122
|
&.btn-social-twitter {
|
123
|
-
background-color:
|
124
|
-
border-color:
|
123
|
+
background-color: var(--primary);
|
124
|
+
border-color: var(--primary);
|
125
125
|
|
126
126
|
.fa {
|
127
127
|
color: $twitter-color;
|
@@ -129,8 +129,8 @@
|
|
129
129
|
}
|
130
130
|
|
131
131
|
&.btn-social-linkedin {
|
132
|
-
background-color:
|
133
|
-
border-color:
|
132
|
+
background-color: var(--primary);
|
133
|
+
border-color: var(--primary);
|
134
134
|
|
135
135
|
.fa {
|
136
136
|
color: $linkedin-color;
|
@@ -138,8 +138,8 @@
|
|
138
138
|
}
|
139
139
|
|
140
140
|
&.btn-social-youtube {
|
141
|
-
background-color:
|
142
|
-
border-color:
|
141
|
+
background-color: var(--primary);
|
142
|
+
border-color: var(--primary);
|
143
143
|
|
144
144
|
.fa {
|
145
145
|
color: $youtube-color;
|
@@ -147,8 +147,8 @@
|
|
147
147
|
}
|
148
148
|
|
149
149
|
&.btn-social-letterboxd {
|
150
|
-
background-color:
|
151
|
-
border-color:
|
150
|
+
background-color: var(--primary);
|
151
|
+
border-color: var(--primary);
|
152
152
|
|
153
153
|
path {
|
154
154
|
fill: $letterboxd-color;
|
package/site/styles/_swiper.scss
CHANGED
@@ -22,12 +22,12 @@
|
|
22
22
|
}
|
23
23
|
|
24
24
|
.swiper-button-next {
|
25
|
-
background: rgba(
|
25
|
+
background: rgba(var(--body-bg-rgb), 0.8) url('/images/icons/next.png') center center no-repeat;
|
26
26
|
right: 0;
|
27
27
|
}
|
28
28
|
|
29
29
|
.swiper-button-prev {
|
30
|
-
background: rgba(
|
30
|
+
background: rgba(var(--body-bg-rgb), 0.8) url('/images/icons/prev.png') center center no-repeat;
|
31
31
|
left: 0;
|
32
32
|
}
|
33
33
|
|
@@ -3,6 +3,59 @@
|
|
3
3
|
// This file contains any variables used by the site.
|
4
4
|
// These variables should be reasonably generic so that overrides are placed in main.scss.
|
5
5
|
|
6
|
+
:root {
|
7
|
+
--primary-rgb: 53, 160, 168;
|
8
|
+
--secondary-rgb: 76, 211, 221;
|
9
|
+
--body-color-rgb: 255, 255, 255;
|
10
|
+
--body-bg-rgb: 15, 15, 15;
|
11
|
+
--body-bg-accent-rgb: 25, 25, 25; // darken(body-bg, 10%) OR lighten(body-bg, 10%)
|
12
|
+
--link-color-hover-rgb: 217, 217, 217; // darken(body-color, 15%)
|
13
|
+
--input-focus-border-color-rgb: 131, 210, 216; // lighten(primary, 25%)
|
14
|
+
|
15
|
+
--primary: rgb(var(--primary-rgb));
|
16
|
+
--secondary: rgb(var(--secondary-rgb));
|
17
|
+
--body-color: rgb(var(--body-color-rgb));
|
18
|
+
--body-bg: rgb(var(--body-bg-rgb));
|
19
|
+
--body-bg-accent: rgb(var(--body-bg-accent-rgb));
|
20
|
+
--link-color: var(--body-color);
|
21
|
+
--link-color-hover: rgb(var(--link-color-hover-rgb));
|
22
|
+
--input-focus-border-color: rgb(var(--input-focus-border-color-rgb));
|
23
|
+
|
24
|
+
--navbar-brand-padding-y: 25px;
|
25
|
+
--navbar-brand-min-width: 126px;
|
26
|
+
--navbar-brand-min-width-md: 126px;
|
27
|
+
--navbar-brand-min-width-lg: 126px;
|
28
|
+
--navbar-brand-min-width-xl: 126px;
|
29
|
+
|
30
|
+
--carousel-height: 470px;
|
31
|
+
--carousel-height-sm: 470px;
|
32
|
+
--carousel-height-md: 620px;
|
33
|
+
--carousel-caption-top: 150px;
|
34
|
+
--carousel-caption-top-md: 175px;
|
35
|
+
|
36
|
+
--page-padding-top: 120px;
|
37
|
+
--page-padding-top-md: 120px;
|
38
|
+
--page-padding-top-lg: 180px;
|
39
|
+
--page-detail-padding-top: 120px;
|
40
|
+
--page-detail-padding-top-md: 120px;
|
41
|
+
--page-detail-padding-top-lg: 180px;
|
42
|
+
}
|
43
|
+
|
44
|
+
// Bootstrap 4 overrides START
|
45
|
+
$input-btn-focus-color: rgba(var(--primary-rgb), 0.25) !default;
|
46
|
+
$input-focus-border-color: var(--input-focus-border-color) !default;
|
47
|
+
$custom-control-indicator-checked-disabled-bg: rgba(var(--primary-rgb), 0.5) !default;
|
48
|
+
$progress-bar-bg: var(--primary) !default;
|
49
|
+
$body-color: var(--body-color) !default;
|
50
|
+
$body-bg: var(--body-bg) !default;
|
51
|
+
$body-bg-accent: var(--body-bg-accent) !default;
|
52
|
+
$error-color: var(--body-color) !default;
|
53
|
+
$error-background: rgba(var(--body-color-rgb), 0.1) !default;
|
54
|
+
$hr-border-color: rgba(var(--body-color-rgb), 0.5) !default;
|
55
|
+
$list-group-bg: var(--body-bg) !default;
|
56
|
+
$list-group-border-color: rgba(var(--body-color-rgb), 0.125) !default;
|
57
|
+
// Bootstrap 4 overrides END
|
58
|
+
|
6
59
|
// Bootstrap variables copied here, that some of the below are dependent on.
|
7
60
|
$grid-gutter-width-base: 30px !default;
|
8
61
|
|
@@ -36,76 +89,63 @@ $spacer: math.div(5, 8) * 1rem; // 10px
|
|
36
89
|
|
37
90
|
$spacers: (
|
38
91
|
'0': 0,
|
39
|
-
'p5':
|
40
|
-
|
41
|
-
'
|
42
|
-
|
43
|
-
'
|
44
|
-
|
45
|
-
'
|
46
|
-
|
92
|
+
'p5': $spacer * 0.5,
|
93
|
+
// 5px
|
94
|
+
'p75': $spacer * 0.75,
|
95
|
+
// 7.5px
|
96
|
+
'1': $spacer,
|
97
|
+
// 10px
|
98
|
+
'2': $spacer * 2,
|
99
|
+
// 20px
|
100
|
+
'2p5': $spacer * 2.5,
|
101
|
+
// 25px
|
102
|
+
'3': $spacer * 3,
|
103
|
+
// 30px
|
104
|
+
'4': $spacer * 4,
|
105
|
+
// 40px
|
106
|
+
'5': $spacer * 5,
|
107
|
+
// 50px
|
47
108
|
);
|
48
109
|
|
49
|
-
// Body / Core
|
50
|
-
// ------------------------------------
|
51
|
-
|
52
|
-
$primary: #35a0a8 !default;
|
53
|
-
$secondary: #4cd3dd !default;
|
54
|
-
$body-color: #fff !default;
|
55
|
-
$body-bg: #0f0f0f !default;
|
56
|
-
$body-bg-accent: get-accent-color($body-bg) !default;
|
57
|
-
$error-color: $body-color !default;
|
58
|
-
$error-background: rgba($body-color, 0.1) !default;
|
59
|
-
$hr-border-color: rgba($body-color, 0.5) !default;
|
60
|
-
$list-group-bg: $body-bg !default;
|
61
|
-
$list-group-border-color: rgba($body-color, 0.125) !default;
|
62
|
-
|
63
110
|
// Cookie Consent
|
64
111
|
$cookie-consent-color: #000;
|
65
|
-
$cookie-consent-link-color:
|
66
|
-
$cookie-consent-hover-link-color:
|
112
|
+
$cookie-consent-link-color: var(--primary);
|
113
|
+
$cookie-consent-hover-link-color: var(--secondary);
|
67
114
|
|
68
115
|
// Nav
|
69
116
|
// ------------------------------------
|
70
117
|
$navbar-background-color: transparent !default;
|
71
|
-
$navbar-show-background-color:
|
72
|
-
$navbar-dark-active-color:
|
118
|
+
$navbar-show-background-color: var(--body-bg-accent) !default;
|
119
|
+
$navbar-dark-active-color: var(--primary) !default;
|
73
120
|
$navbar-nav-link-padding-x: 1em !default;
|
74
121
|
$navbar-nav-link-padding-y: 1em !default;
|
75
|
-
$navbar-search-background-color:
|
122
|
+
$navbar-search-background-color: var(--body-bg-accent) !default;
|
76
123
|
|
77
124
|
// Uses navbar-dark theme so we can use variables for colouring
|
78
125
|
$navbar-dark-active-color: #fd4766 !default;
|
79
|
-
$navbar-dark-color:
|
126
|
+
$navbar-dark-color: var(--body-color) !default;
|
80
127
|
$navbar-dark-hover-color: #fd4766 !default;
|
81
128
|
|
82
|
-
// Navbar Logo (Brand)
|
83
|
-
$navbar-brand-padding-y: 25px !default;
|
84
|
-
$navbar-brand-min-width: 126px !default;
|
85
|
-
$navbar-brand-min-width-md: 126px !default;
|
86
|
-
$navbar-brand-min-width-lg: 126px !default;
|
87
|
-
$navbar-brand-min-width-xl: 126px !default;
|
88
|
-
|
89
129
|
// Sub Navivgation
|
90
|
-
$subnav-nav-item-color:
|
91
|
-
$subnav-nav-item-hover-background-color:
|
92
|
-
$subnav-nav-item-active-background-color:
|
93
|
-
$subnav-dropdown-background:
|
130
|
+
$subnav-nav-item-color: var(--body-color) !default;
|
131
|
+
$subnav-nav-item-hover-background-color: var(--primary) !default;
|
132
|
+
$subnav-nav-item-active-background-color: var(--primary) !default;
|
133
|
+
$subnav-dropdown-background: var(--body-bg-accent) !default;
|
94
134
|
|
95
135
|
// Buttons
|
96
|
-
$button-text-color:
|
97
|
-
$button-text-color-hover:
|
98
|
-
$button-background:
|
99
|
-
$button-background-hover:
|
100
|
-
$trailer-button-text-color:
|
101
|
-
$mobile-nav-link-color:
|
102
|
-
|
103
|
-
$signin-text-color:
|
104
|
-
$signin-text-color-hover:
|
136
|
+
$button-text-color: var(--body-color) !default;
|
137
|
+
$button-text-color-hover: var(--body-color) !default;
|
138
|
+
$button-background: var(--primary) !default;
|
139
|
+
$button-background-hover: var(--secondary) !default;
|
140
|
+
$trailer-button-text-color: var(--body-color) !default;
|
141
|
+
$mobile-nav-link-color: var(--body-color) !default;
|
142
|
+
|
143
|
+
$signin-text-color: var(--body-color) !default;
|
144
|
+
$signin-text-color-hover: var(--primary) !default;
|
105
145
|
$signin-border-color: transparent !default;
|
106
146
|
$signin-border-color-hover: transparent !default;
|
107
|
-
$signin-background: rgba(
|
108
|
-
$signin-background-hover: rgba(
|
147
|
+
$signin-background: rgba(var(--body-color-rgb), 0.1) !default;
|
148
|
+
$signin-background-hover: rgba(var(--body-color-rgb), 0.2) !default;
|
109
149
|
$signin-background-lg: transparent !default;
|
110
150
|
$signin-background-hover-lg: transparent !default;
|
111
151
|
|
@@ -116,54 +156,39 @@ $signup-border-color-hover: transparent !default;
|
|
116
156
|
$signup-background: $button-background !default;
|
117
157
|
$signup-background-hover: $button-background-hover !default;
|
118
158
|
|
119
|
-
$signout-background: rgba(
|
120
|
-
$signout-background-hover: rgba(
|
121
|
-
$signout-text-color:
|
122
|
-
$signout-text-color-hover:
|
123
|
-
|
124
|
-
$link-color: $body-color !default;
|
159
|
+
$signout-background: rgba(var(--body-color-rgb), 0.1) !default;
|
160
|
+
$signout-background-hover: rgba(var(--body-color-rgb), 0.2) !default;
|
161
|
+
$signout-text-color: var(--body-color) !default;
|
162
|
+
$signout-text-color-hover: var(--body-color) !default;
|
125
163
|
|
126
164
|
// Image Gradient Overlays
|
127
|
-
$top-gradient-color:
|
128
|
-
$right-gradient-bg-color:
|
129
|
-
$bottom-gradient-bg-color:
|
130
|
-
$left-gradient-bg-color:
|
165
|
+
$top-gradient-color: var(--body-bg-rgb) !default;
|
166
|
+
$right-gradient-bg-color: var(--body-bg-rgb) !default;
|
167
|
+
$bottom-gradient-bg-color: var(--body-bg-rgb) !default;
|
168
|
+
$left-gradient-bg-color: var(--body-bg-rgb) !default;
|
131
169
|
|
132
170
|
// Carousel
|
133
|
-
$carousel-bg-color:
|
134
|
-
$carousel-height: 470px !default;
|
135
|
-
$carousel-height-sm: 470px !default;
|
136
|
-
$carousel-height-md: 620px !default;
|
137
|
-
$carousel-caption-top: 150px !default;
|
138
|
-
$carousel-caption-top-md: 175px !default;
|
139
|
-
|
140
|
-
// Pages
|
141
|
-
$page-padding-top: 120px !default;
|
142
|
-
$page-padding-top-md: 120px !default;
|
143
|
-
$page-padding-top-lg: 180px !default;
|
144
|
-
$page-detail-padding-top: 120px !default;
|
145
|
-
$page-detail-padding-top-md: 120px !default;
|
146
|
-
$page-detail-padding-top-lg: 180px !default;
|
171
|
+
$carousel-bg-color: var(--body-bg) !default;
|
147
172
|
|
148
173
|
// Footer
|
149
174
|
$footer-brand-min-width: 100px !default;
|
150
175
|
$footer-brand-min-width-md: 100px !default;
|
151
|
-
$footer-bar-background-color:
|
176
|
+
$footer-bar-background-color: var(--body-bg-accent) !default;
|
152
177
|
|
153
178
|
// Social
|
154
179
|
// ------------------------------------
|
155
|
-
$facebook-color:
|
156
|
-
$instagram-color:
|
157
|
-
$twitter-color:
|
158
|
-
$youtube-color:
|
159
|
-
$linkedin-color:
|
160
|
-
$letterboxd-color:
|
180
|
+
$facebook-color: var(--body-color) !default;
|
181
|
+
$instagram-color: var(--body-color) !default;
|
182
|
+
$twitter-color: var(--body-color) !default;
|
183
|
+
$youtube-color: var(--body-color) !default;
|
184
|
+
$linkedin-color: var(--body-color) !default;
|
185
|
+
$letterboxd-color: var(--body-color) !default;
|
161
186
|
|
162
187
|
// Meta Items
|
163
188
|
// ------------------------------------
|
164
189
|
$meta-item-border-radius: 3px !default;
|
165
190
|
$featured-meta-item-body-padding: 10px !default;
|
166
|
-
$meta-item-body-color:
|
191
|
+
$meta-item-body-color: var(--body-color) !default;
|
167
192
|
$meta-item-tagline-classification-border-radius: $meta-item-border-radius !default;
|
168
193
|
$meta-item-availability-tag-margin: 5px !default;
|
169
194
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
@extend .btn;
|
29
29
|
font-size: 12px;
|
30
30
|
font-weight: $font-weight-bold;
|
31
|
-
margin-right:
|
31
|
+
margin-right: 0.5rem;
|
32
32
|
padding-bottom: 3px;
|
33
33
|
padding-left: 0;
|
34
34
|
padding-top: 3px;
|
@@ -50,4 +50,4 @@
|
|
50
50
|
.poster .s72-userwishlist-buttons .s72-btn-wishlist {
|
51
51
|
margin: 0;
|
52
52
|
padding: 0;
|
53
|
-
}
|
53
|
+
}
|
package/site/styles/main.scss
CHANGED