@shift72/core-template 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +38 -1
- package/kibble.json +3 -3
- package/package.json +2 -2
- package/scripts/core-template-version.js +4 -4
- package/scripts/css-local-get.js +12 -5
- package/scripts/css-local-put.js +3 -3
- package/scripts/language-file-validator.js +1 -1
- package/scripts/translate.mjs +2 -3
- package/site/ar_LB.all.json +124 -10
- package/site/ca_ES.all.json +78 -8
- package/site/da_DK.all.json +80 -10
- package/site/de_DE.all.json +78 -8
- package/site/el_EL.all.json +83 -4
- package/site/en_AU.all.json +83 -4
- package/site/es_ES.all.json +87 -4
- package/site/es_MX.all.json +89 -6
- package/site/et_ET.all.json +77 -7
- package/site/fi_FI.all.json +81 -2
- package/site/fr_FR.all.json +88 -5
- package/site/hr_HR.all.json +93 -9
- package/site/hu_HU.all.json +77 -7
- package/site/it_IT.all.json +87 -4
- package/site/ja_JP.all.json +71 -0
- package/site/lt_LT.all.json +104 -3
- package/site/manifest.json.jet +4 -2
- package/site/nl_BE.all.json +79 -0
- package/site/no_NO.all.json +84 -5
- package/site/pl_PL.all.json +104 -3
- package/site/plans.html.jet +12 -2
- package/site/pt_BR.all.json +87 -4
- package/site/pt_PT.all.json +86 -3
- package/site/ru_RU.all.json +105 -4
- package/site/search.html.jet +3 -1
- package/site/sr_SR.all.json +93 -3
- package/site/static/js/main.js +1 -0
- package/site/static/scripts/main.js.map +1 -1
- package/site/styles/_awards.scss +1 -0
- package/site/styles/_buttons.scss +20 -10
- package/site/styles/_carousel.scss +7 -3
- package/site/styles/_cookie-consent.scss +1 -0
- package/site/styles/_footer.scss +10 -31
- package/site/styles/_forms.scss +11 -0
- package/site/styles/_icons.scss +1 -0
- package/site/styles/_meta-detail.scss +27 -28
- package/site/styles/_mixins.scss +23 -1
- package/site/styles/_nav.scss +49 -65
- package/site/styles/_share-modal.scss +12 -7
- package/site/styles/_shopping.scss +5 -0
- package/site/styles/_typography.scss +72 -14
- package/site/styles/_variables.scss +93 -46
- package/site/subscriptions.html.jet +1 -1
- package/site/templates/application/application.jet +10 -12
- package/site/templates/application/brand/logo.jet +11 -0
- package/site/templates/application/brand/sponsors.jet +11 -0
- package/site/templates/application/footer/brand.jet +3 -1
- package/site/templates/application/footer/sponsor-banner.jet +3 -3
- package/site/templates/application/head/seo.jet +1 -1
- package/site/templates/application/nav/nav.jet +5 -4
- package/site/templates/collection/carousel/carousel.jet +4 -1
- package/site/templates/collection/carousel/item.jet +3 -1
- package/site/tr_TR.all.json +83 -4
- package/site/uk_UA.all.json +105 -4
- package/site/zh_TW.all.json +73 -2
@@ -33,25 +33,18 @@
|
|
33
33
|
top: 0;
|
34
34
|
width: 100%;
|
35
35
|
z-index: -1;
|
36
|
-
@include media-breakpoint-up(
|
36
|
+
@include media-breakpoint-up(xs) {
|
37
37
|
height: 700px;
|
38
38
|
opacity: 1;
|
39
39
|
}
|
40
|
-
@include media-breakpoint-up(
|
41
|
-
height:
|
42
|
-
left: 0;
|
43
|
-
margin-left: auto;
|
44
|
-
margin-right: auto;
|
45
|
-
right: 0;
|
40
|
+
@include media-breakpoint-up(lg) {
|
41
|
+
height: auto;
|
46
42
|
}
|
47
43
|
|
48
44
|
s72-image {
|
49
45
|
display: block;
|
50
46
|
position: relative;
|
51
47
|
width: 100%;
|
52
|
-
@include media-breakpoint-up(lg) {
|
53
|
-
width: 1600px;
|
54
|
-
}
|
55
48
|
|
56
49
|
&::before {
|
57
50
|
@extend .left-gradient-bg;
|
@@ -63,37 +56,29 @@
|
|
63
56
|
top: 0;
|
64
57
|
width: 60%;
|
65
58
|
z-index: 8;
|
66
|
-
@include media-breakpoint-up(
|
67
|
-
|
59
|
+
@include media-breakpoint-up(lg) {
|
60
|
+
display: none;
|
68
61
|
}
|
69
62
|
}
|
70
63
|
|
71
64
|
img {
|
72
65
|
animation: fadein 2s;
|
73
|
-
height:
|
74
|
-
|
75
|
-
width: auto;
|
76
|
-
@include media-breakpoint-up(md) {
|
77
|
-
float: right;
|
78
|
-
height: 700px;
|
79
|
-
margin-left: 0;
|
80
|
-
}
|
81
|
-
@include media-breakpoint-up(xl) {
|
82
|
-
float: right;
|
83
|
-
height: auto;
|
84
|
-
}
|
66
|
+
min-height: 100%;
|
67
|
+
object-fit: cover;
|
85
68
|
}
|
86
69
|
}
|
87
70
|
|
88
71
|
&::after {
|
89
72
|
@extend .bottom-gradient-bg;
|
90
|
-
bottom: 0;
|
91
73
|
content: '';
|
92
74
|
height: 350px;
|
93
|
-
left: 0;
|
94
75
|
position: absolute;
|
95
76
|
width: 100%;
|
96
77
|
z-index: 8;
|
78
|
+
@include media-breakpoint-up(lg) {
|
79
|
+
@include detail-page-gradient-lg;
|
80
|
+
height: 100%;
|
81
|
+
}
|
97
82
|
}
|
98
83
|
}
|
99
84
|
|
@@ -238,6 +223,10 @@ s72-element-switcher,
|
|
238
223
|
|
239
224
|
a {
|
240
225
|
animation: fadein 2s;
|
226
|
+
|
227
|
+
&:hover {
|
228
|
+
text-decoration: none;
|
229
|
+
}
|
241
230
|
}
|
242
231
|
}
|
243
232
|
}
|
@@ -387,21 +376,24 @@ s72-element-switcher,
|
|
387
376
|
}
|
388
377
|
|
389
378
|
.element-switcher-wrapper {
|
390
|
-
display:
|
379
|
+
display: grid;
|
391
380
|
gap: 50px;
|
392
|
-
|
381
|
+
grid-template-columns: auto auto;
|
393
382
|
width: 100%;
|
394
383
|
|
395
384
|
.sponsor {
|
396
385
|
display: none;
|
397
386
|
padding-top: 10px;
|
387
|
+
|
398
388
|
@include media-breakpoint-up(lg) {
|
399
389
|
display: block;
|
390
|
+
margin-left: auto;
|
400
391
|
}
|
401
392
|
}
|
402
393
|
}
|
403
394
|
|
404
395
|
.sponsor {
|
396
|
+
@include body-1-style();
|
405
397
|
margin-bottom: 24px;
|
406
398
|
max-width: 250px;
|
407
399
|
|
@@ -417,9 +409,16 @@ s72-element-switcher,
|
|
417
409
|
|
418
410
|
s72-element-switcher {
|
419
411
|
margin-bottom: 60px;
|
412
|
+
|
420
413
|
@include media-breakpoint-up(sm) {
|
421
414
|
margin-bottom: 100px;
|
422
415
|
}
|
416
|
+
|
417
|
+
.s72-toggle {
|
418
|
+
&:hover {
|
419
|
+
color: var(--body-color-hover);
|
420
|
+
}
|
421
|
+
}
|
423
422
|
}
|
424
423
|
|
425
424
|
.meta-detail-info {
|
package/site/styles/_mixins.scss
CHANGED
@@ -71,6 +71,28 @@
|
|
71
71
|
);
|
72
72
|
}
|
73
73
|
|
74
|
+
@mixin detail-page-gradient-lg() {
|
75
|
+
background: linear-gradient(
|
76
|
+
to bottom,
|
77
|
+
rgba(var(--body-bg-rgb), 0) 0%,
|
78
|
+
rgba(var(--body-bg-rgb), 0.068) 15.9%,
|
79
|
+
rgba(var(--body-bg-rgb), 0.138) 28%,
|
80
|
+
rgba(var(--body-bg-rgb), 0.211) 36.9%,
|
81
|
+
rgba(var(--body-bg-rgb), 0.285) 43.1%,
|
82
|
+
rgba(var(--body-bg-rgb), 0.359) 47.3%,
|
83
|
+
rgba(var(--body-bg-rgb), 0.434) 49.9%,
|
84
|
+
rgba(var(--body-bg-rgb), 0.508) 51.6%,
|
85
|
+
rgba(var(--body-bg-rgb), 0.581) 52.9%,
|
86
|
+
rgba(var(--body-bg-rgb), 0.652) 54.4%,
|
87
|
+
rgba(var(--body-bg-rgb), 0.721) 56.7%,
|
88
|
+
rgba(var(--body-bg-rgb), 0.786) 60.4%,
|
89
|
+
rgba(var(--body-bg-rgb), 0.847) 66%,
|
90
|
+
rgba(var(--body-bg-rgb), 0.86) 74.1%,
|
91
|
+
rgba(var(--body-bg-rgb), 0.86) 85.2%,
|
92
|
+
rgba(var(--body-bg-rgb)) 100%
|
93
|
+
);
|
94
|
+
}
|
95
|
+
|
74
96
|
@mixin a {
|
75
97
|
background-color: transparent;
|
76
98
|
color: var(--link-color);
|
@@ -78,7 +100,7 @@
|
|
78
100
|
|
79
101
|
&:hover,
|
80
102
|
&:focus {
|
81
|
-
color: var(--link-color);
|
103
|
+
color: var(--link-color-hover);
|
82
104
|
text-decoration: none;
|
83
105
|
}
|
84
106
|
}
|
package/site/styles/_nav.scss
CHANGED
@@ -154,7 +154,7 @@
|
|
154
154
|
align-items: center;
|
155
155
|
display: flex;
|
156
156
|
flex-shrink: 0;
|
157
|
-
height:
|
157
|
+
height: var(--navbar-brand-height);
|
158
158
|
position: relative;
|
159
159
|
width: 24px;
|
160
160
|
z-index: 10;
|
@@ -220,37 +220,12 @@
|
|
220
220
|
}
|
221
221
|
}
|
222
222
|
|
223
|
-
.navbar-brand {
|
224
|
-
|
225
|
-
|
226
|
-
background: url('../images/common/logo.png') left center / contain no-repeat;
|
227
|
-
margin-right: auto;
|
228
|
-
min-width: var(--navbar-brand-min-width);
|
229
|
-
padding-bottom: var(--navbar-brand-padding-y);
|
230
|
-
padding-top: var(--navbar-brand-padding-y);
|
223
|
+
.navbar-brand-logo {
|
224
|
+
height: var(--navbar-brand-height);
|
231
225
|
z-index: 9;
|
232
226
|
|
233
|
-
|
234
|
-
|
235
|
-
padding-bottom: var(--navbar-brand-padding-y);
|
236
|
-
padding-top: var(--navbar-brand-padding-y);
|
237
|
-
z-index: 13;
|
238
|
-
}
|
239
|
-
|
240
|
-
@media only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
|
241
|
-
background: url('../images/common/logo@2x.png') left center / contain no-repeat;
|
242
|
-
}
|
243
|
-
|
244
|
-
@include media-breakpoint-up(md) {
|
245
|
-
min-width: var(--navbar-brand-min-width-md);
|
246
|
-
}
|
247
|
-
|
248
|
-
@include media-breakpoint-up(lg) {
|
249
|
-
min-width: var(--navbar-brand-min-width-lg);
|
250
|
-
}
|
251
|
-
|
252
|
-
@include media-breakpoint-up(xl) {
|
253
|
-
min-width: var(--navbar-brand-min-width-xl);
|
227
|
+
img {
|
228
|
+
height: inherit;
|
254
229
|
}
|
255
230
|
}
|
256
231
|
|
@@ -268,7 +243,7 @@
|
|
268
243
|
align-items: center;
|
269
244
|
border-bottom: 1px solid transparent;
|
270
245
|
display: flex;
|
271
|
-
height:
|
246
|
+
height: var(--navbar-brand-height);
|
272
247
|
margin-right: 20px;
|
273
248
|
position: relative;
|
274
249
|
transition: none;
|
@@ -311,7 +286,7 @@
|
|
311
286
|
}
|
312
287
|
|
313
288
|
&::placeholder {
|
314
|
-
color:
|
289
|
+
color: var(--body-color-hover);
|
315
290
|
font-weight: $font-weight-normal;
|
316
291
|
opacity: 0;
|
317
292
|
transition: 0.25s ease-out;
|
@@ -357,7 +332,7 @@
|
|
357
332
|
|
358
333
|
/* stylelint-disable-next-line */
|
359
334
|
@include media-breakpoint-up(lg) {
|
360
|
-
color: var(--
|
335
|
+
color: var(--body-color-hover);
|
361
336
|
}
|
362
337
|
}
|
363
338
|
}
|
@@ -396,7 +371,7 @@
|
|
396
371
|
background: transparent;
|
397
372
|
border: 0;
|
398
373
|
border-radius: 50%;
|
399
|
-
color:
|
374
|
+
color: var(--body-color);
|
400
375
|
font-size: 24px;
|
401
376
|
line-height: 0;
|
402
377
|
opacity: 0;
|
@@ -414,14 +389,14 @@
|
|
414
389
|
&:hover,
|
415
390
|
&:focus,
|
416
391
|
&:active {
|
417
|
-
color:
|
392
|
+
color: var(--body-color-hover);
|
418
393
|
outline: 0;
|
419
394
|
}
|
420
395
|
}
|
421
396
|
|
422
397
|
&.search-show {
|
423
|
-
background-color:
|
424
|
-
height: calc(
|
398
|
+
background-color: var(--navbar-search-background-color);
|
399
|
+
height: calc(var(--navbar-brand-height) + 20px);
|
425
400
|
margin: 0;
|
426
401
|
position: absolute;
|
427
402
|
right: 0;
|
@@ -448,7 +423,7 @@
|
|
448
423
|
}
|
449
424
|
|
450
425
|
.form-control-search {
|
451
|
-
border-bottom: 1px solid var(--
|
426
|
+
border-bottom: 1px solid var(--primary);
|
452
427
|
box-shadow: none;
|
453
428
|
padding-left: 32px;
|
454
429
|
padding-right: 32px;
|
@@ -478,11 +453,17 @@ s72-dropdown,
|
|
478
453
|
.s72-language-selector {
|
479
454
|
position: relative;
|
480
455
|
|
481
|
-
&:hover
|
456
|
+
&:hover {
|
457
|
+
.s72-dropdown-toggle,
|
458
|
+
.dropdown-caret {
|
459
|
+
color: var(--body-color-hover);
|
460
|
+
}
|
461
|
+
}
|
462
|
+
|
482
463
|
&:focus-within {
|
483
464
|
.s72-dropdown-toggle,
|
484
465
|
.dropdown-caret {
|
485
|
-
color: var(--
|
466
|
+
color: var(--body-color);
|
486
467
|
}
|
487
468
|
}
|
488
469
|
|
@@ -499,8 +480,8 @@ s72-dropdown,
|
|
499
480
|
width: 100%;
|
500
481
|
|
501
482
|
@include media-breakpoint-up(lg) {
|
502
|
-
background-color:
|
503
|
-
border: 4px solid
|
483
|
+
background-color: var(--navbar-dropdown-background);
|
484
|
+
border: 4px solid var(--navbar-dropdown-background);
|
504
485
|
box-shadow: 0 0 0 1px rgba(var(--body-color-rgb), 0.12);
|
505
486
|
max-height: 330px;
|
506
487
|
max-width: 243px;
|
@@ -515,7 +496,7 @@ s72-dropdown,
|
|
515
496
|
}
|
516
497
|
|
517
498
|
&::-webkit-scrollbar-track {
|
518
|
-
background:
|
499
|
+
background: var(--navbar-dropdown-background);
|
519
500
|
}
|
520
501
|
|
521
502
|
&::-webkit-scrollbar-thumb {
|
@@ -536,16 +517,17 @@ s72-dropdown,
|
|
536
517
|
color: var(--body-color);
|
537
518
|
font-size: 16px;
|
538
519
|
font-weight: $font-weight-normal;
|
539
|
-
|
520
|
+
margin: 3px 5px;
|
521
|
+
padding: 5px 10px;
|
522
|
+
|
540
523
|
@include media-breakpoint-up(lg) {
|
541
|
-
margin: 3px 5px;
|
542
|
-
padding: 5px 15px 5px 10px;
|
543
524
|
width: auto;
|
544
525
|
}
|
545
526
|
|
546
527
|
@include hover-focus {
|
547
|
-
background-color:
|
548
|
-
|
528
|
+
background-color: var(--hover-background);
|
529
|
+
border-radius: 4px;
|
530
|
+
color: var(--body-color-hover);
|
549
531
|
}
|
550
532
|
}
|
551
533
|
}
|
@@ -592,6 +574,8 @@ s72-dropdown,
|
|
592
574
|
margin-top: auto;
|
593
575
|
|
594
576
|
.btn-sign-out {
|
577
|
+
@extend .animate-this;
|
578
|
+
|
595
579
|
background-color: transparent;
|
596
580
|
border: 0;
|
597
581
|
color: var(--body-color);
|
@@ -606,20 +590,14 @@ s72-dropdown,
|
|
606
590
|
margin: 3px 5px;
|
607
591
|
padding: 0;
|
608
592
|
}
|
609
|
-
}
|
610
593
|
|
611
|
-
.btn-sign-out {
|
612
|
-
@extend .animate-this;
|
613
594
|
@include hover-focus {
|
614
|
-
color: var(--
|
615
|
-
text-decoration: none;
|
595
|
+
color: var(--body-color-hover);
|
616
596
|
}
|
617
597
|
}
|
618
598
|
|
619
599
|
.btn-sign-out-desktop {
|
620
|
-
|
621
|
-
color: var(--primary);
|
622
|
-
}
|
600
|
+
text-decoration: none;
|
623
601
|
|
624
602
|
@include media-breakpoint-up(lg) {
|
625
603
|
padding: 5px 15px 5px 10px;
|
@@ -628,16 +606,18 @@ s72-dropdown,
|
|
628
606
|
}
|
629
607
|
|
630
608
|
.btn-sign-out-mobile {
|
631
|
-
background-color:
|
609
|
+
background-color: var(--signout-background);
|
632
610
|
border-radius: 4px;
|
633
|
-
color:
|
611
|
+
color: var(--signout-text-color);
|
634
612
|
padding: 8px 56px;
|
635
613
|
text-align: center;
|
636
614
|
width: 100%;
|
615
|
+
|
637
616
|
@include hover-focus {
|
638
|
-
background-color:
|
639
|
-
color:
|
617
|
+
background-color: var(--signout-background-hover);
|
618
|
+
color: var(--signout-text-color-hover);
|
640
619
|
}
|
620
|
+
|
641
621
|
@include media-breakpoint-up(lg) {
|
642
622
|
display: none;
|
643
623
|
}
|
@@ -730,7 +710,7 @@ s72-dropdown,
|
|
730
710
|
path {
|
731
711
|
@extend .animate-this;
|
732
712
|
|
733
|
-
fill: var(--
|
713
|
+
fill: var(--body-color-hover);
|
734
714
|
}
|
735
715
|
}
|
736
716
|
}
|
@@ -843,17 +823,21 @@ s72-dropdown,
|
|
843
823
|
font-weight: $font-weight-normal;
|
844
824
|
|
845
825
|
&.active .nav-link {
|
846
|
-
color:
|
826
|
+
color: var(--body-color);
|
847
827
|
opacity: 1;
|
848
828
|
|
849
829
|
@include media-breakpoint-up(lg) {
|
850
|
-
border-bottom: 3px solid
|
830
|
+
border-bottom: 3px solid var(--primary);
|
831
|
+
}
|
832
|
+
|
833
|
+
&:hover {
|
834
|
+
color: var(--navbar-link-hover-color);
|
851
835
|
}
|
852
836
|
}
|
853
837
|
}
|
854
838
|
|
855
839
|
.nav-link {
|
856
|
-
color:
|
840
|
+
color: var(--navbar-link-color);
|
857
841
|
font-size: 16px;
|
858
842
|
padding: 10px 0;
|
859
843
|
transition: color 0.25s ease-out;
|
@@ -864,7 +848,7 @@ s72-dropdown,
|
|
864
848
|
}
|
865
849
|
|
866
850
|
&:hover {
|
867
|
-
color:
|
851
|
+
color: var(--navbar-link-hover-color);
|
868
852
|
}
|
869
853
|
}
|
870
854
|
|
@@ -33,25 +33,30 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
ul {
|
36
|
-
|
36
|
+
list-style: none;
|
37
|
+
margin: 0;
|
38
|
+
padding: 0;
|
37
39
|
}
|
38
40
|
|
39
41
|
li {
|
40
|
-
|
41
|
-
|
42
|
+
&:hover {
|
43
|
+
background-color: var(--hover-background);
|
44
|
+
border-radius: 4px;
|
45
|
+
}
|
46
|
+
|
42
47
|
i {
|
43
|
-
@extend .position-absolute;
|
44
48
|
font-size: 20px;
|
45
|
-
|
49
|
+
margin: 0 10px;
|
50
|
+
padding-bottom: 5px;
|
46
51
|
}
|
47
52
|
}
|
48
53
|
|
49
54
|
a {
|
50
|
-
@extend .d-flex;
|
51
|
-
@extend .align-items-center;
|
52
55
|
color: var(--body-color);
|
53
56
|
padding: 0.7rem 0;
|
57
|
+
text-align: start;
|
54
58
|
text-decoration: inherit;
|
59
|
+
width: 100%;
|
55
60
|
word-break: break-word;
|
56
61
|
|
57
62
|
&:hover {
|
@@ -17,6 +17,7 @@
|
|
17
17
|
display: block;
|
18
18
|
height: 30px;
|
19
19
|
line-height: 30px;
|
20
|
+
opacity: 1;
|
20
21
|
position: absolute;
|
21
22
|
right: 0;
|
22
23
|
text-shadow: none;
|
@@ -24,6 +25,10 @@
|
|
24
25
|
top: 0;
|
25
26
|
width: 30px;
|
26
27
|
z-index: 999;
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
color: var(--body-color-hover);
|
31
|
+
}
|
27
32
|
}
|
28
33
|
}
|
29
34
|
|
@@ -15,55 +15,113 @@
|
|
15
15
|
}
|
16
16
|
|
17
17
|
@mixin heading-1-style() {
|
18
|
-
@include typography-style(
|
18
|
+
@include typography-style(
|
19
|
+
$font-size: var(--heading-1-style-font-size),
|
20
|
+
$letter-spacing: var(--heading-1-style-letter-spacing),
|
21
|
+
$font-weight: $font-weight-normal,
|
22
|
+
$margin-bottom: 8px,
|
23
|
+
$font-color: var(--body-color),
|
24
|
+
$line-height: 42px
|
25
|
+
);
|
19
26
|
@include media-breakpoint-up(xs) {
|
20
|
-
@include typography-style(
|
27
|
+
@include typography-style($font-size: var(--heading-1-style-font-size-xs), $line-height: 56px);
|
21
28
|
}
|
22
29
|
small {
|
23
|
-
@include typography-style(
|
30
|
+
@include typography-style($font-size: var(--heading-1-style-font-size-small));
|
24
31
|
}
|
25
32
|
}
|
26
33
|
|
27
34
|
@mixin heading-2-style() {
|
28
|
-
@include typography-style(
|
35
|
+
@include typography-style(
|
36
|
+
$font-size: var(--heading-2-style-font-size),
|
37
|
+
$letter-spacing: var(--heading-2-style-letter-spacing),
|
38
|
+
$font-weight: $font-weight-normal,
|
39
|
+
$margin-bottom: 13px
|
40
|
+
);
|
29
41
|
@include media-breakpoint-up(sm) {
|
30
|
-
@include typography-style(
|
42
|
+
@include typography-style($font-size: var(--heading-2-style-font-size-sm));
|
31
43
|
}
|
32
44
|
}
|
33
45
|
|
34
46
|
@mixin heading-3-style() {
|
35
|
-
@include typography-style(
|
47
|
+
@include typography-style(
|
48
|
+
$font-size: var(--heading-3-style-font-size),
|
49
|
+
$letter-spacing: var(--heading-3-style-letter-spacing),
|
50
|
+
$font-weight: $font-weight-normal,
|
51
|
+
$margin-bottom: 6px,
|
52
|
+
$line-height: 24px
|
53
|
+
);
|
36
54
|
@include media-breakpoint-up(sm) {
|
37
|
-
@include typography-style(
|
55
|
+
@include typography-style(
|
56
|
+
$font-size: var(--heading-3-style-font-size-sm),
|
57
|
+
$letter-spacing: var(--heading-3-style-letter-spacing-sm),
|
58
|
+
$line-height: 30px
|
59
|
+
);
|
38
60
|
}
|
39
61
|
}
|
40
62
|
|
41
63
|
@mixin heading-4-style() {
|
42
|
-
@include typography-style(
|
64
|
+
@include typography-style(
|
65
|
+
$font-size: var(--heading-4-style-font-size),
|
66
|
+
$font-weight: $font-weight-light,
|
67
|
+
$letter-spacing: var(--heading-4-style-letter-spacing),
|
68
|
+
$margin-bottom: 20px
|
69
|
+
);
|
43
70
|
}
|
44
71
|
|
45
72
|
@mixin body-1-style() {
|
46
|
-
@include typography-style(
|
73
|
+
@include typography-style(
|
74
|
+
$font-size: var(--body-1-style-font-size),
|
75
|
+
$letter-spacing: var(--body-1-style-letter-spacing),
|
76
|
+
$font-weight: $font-weight-light,
|
77
|
+
$line-height: 23px
|
78
|
+
);
|
47
79
|
}
|
48
80
|
|
49
81
|
@mixin body-2-style() {
|
50
|
-
@include typography-style(
|
82
|
+
@include typography-style(
|
83
|
+
$font-size: var(--body-2-style-font-size),
|
84
|
+
$letter-spacing: var(--body-2-style-letter-spacing)
|
85
|
+
);
|
51
86
|
}
|
52
87
|
|
53
88
|
@mixin subtitle-1-style() {
|
54
|
-
@include typography-style(
|
89
|
+
@include typography-style(
|
90
|
+
$font-size: var(--subtitle-1-style-font-size),
|
91
|
+
$letter-spacing: var(--subtitle-1-style-letter-spacing),
|
92
|
+
$font-weight: $font-weight-normal,
|
93
|
+
$margin-bottom: 2px,
|
94
|
+
$line-height: 20px
|
95
|
+
);
|
55
96
|
}
|
56
97
|
|
57
98
|
@mixin subtitle-2-style() {
|
58
|
-
@include typography-style(
|
99
|
+
@include typography-style(
|
100
|
+
$font-size: var(--subtitle-2-style-font-size),
|
101
|
+
$letter-spacing: var(--subtitle-2-style-letter-spacing),
|
102
|
+
$font-weight: $font-weight-normal,
|
103
|
+
$margin-bottom: 12px,
|
104
|
+
$line-height: 18px
|
105
|
+
);
|
59
106
|
}
|
60
107
|
|
61
108
|
@mixin caption-1-style() {
|
62
|
-
@include typography-style(
|
109
|
+
@include typography-style(
|
110
|
+
$font-size: var(--caption-1-style-font-size),
|
111
|
+
$letter-spacing: var(--caption-1-style-letter-spacing),
|
112
|
+
$font-weight: $font-weight-bold,
|
113
|
+
$margin-bottom: 4px,
|
114
|
+
$line-height: 20px
|
115
|
+
);
|
63
116
|
}
|
64
117
|
|
65
118
|
@mixin overline-style() {
|
66
|
-
@include typography-style(
|
119
|
+
@include typography-style(
|
120
|
+
$font-size: var(--overline-style-font-size),
|
121
|
+
$letter-spacing: var(--overline-style-letter-spacing),
|
122
|
+
$font-weight: $font-weight-normal,
|
123
|
+
$line-height: 18px
|
124
|
+
);
|
67
125
|
}
|
68
126
|
|
69
127
|
h1 {
|