@ilo-org/styles 0.1.11 → 0.1.13
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.
- package/build/css/components/index.css +783 -187
- package/build/css/components/index.css.map +1 -1
- package/build/css/index.css +783 -187
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +783 -187
- package/build/css/monorepo.css.map +1 -1
- package/build/minified/index.css +1 -1
- package/build/minified/index.css.map +1 -1
- package/build/minified/monorepo.css +1 -1
- package/build/minified/monorepo.css.map +1 -1
- package/package.json +4 -4
- package/scss/_mixins.scss +26 -0
- package/scss/components/_breadcrumb.scss +33 -0
- package/scss/components/_card.scss +340 -76
- package/scss/components/_cardgroup.scss +3 -3
- package/scss/components/_contextmenu.scss +4 -2
- package/scss/components/_dropdown.scss +2 -0
- package/scss/components/_hero.scss +96 -26
- package/scss/components/_list.scss +8 -18
- package/scss/components/_navigation.scss +104 -9
- package/scss/components/_pagination.scss +6 -0
- package/scss/components/_tooltip.scss +7 -1
- package/scss/components/_video.scss +2 -1
|
@@ -13,14 +13,22 @@
|
|
|
13
13
|
text-align: right;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
&--action:hover:not(#{$self}--data),
|
|
17
|
-
&--action:focus:not(#{$self}--data)
|
|
16
|
+
&--action:hover:not(#{$self}--data):not(#{$self}--stat),
|
|
17
|
+
&--action:focus:not(#{$self}--data):not(#{$self}--stat),
|
|
18
|
+
&--action:focus-within:not(#{$self}--data):not(#{$self}--stat) {
|
|
18
19
|
background: $brand-ilo-white;
|
|
19
20
|
color: $brand-ilo-blue;
|
|
21
|
+
outline: none;
|
|
20
22
|
text-decoration: none;
|
|
21
23
|
|
|
22
24
|
&#{$self}--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(#{$self}--factlist) {
|
|
23
25
|
background: $brand-ilo-white;
|
|
26
|
+
|
|
27
|
+
&#{$self}--cornercut {
|
|
28
|
+
&::after {
|
|
29
|
+
@include dataurlicon("triangledecoration", $brand-ilo-white);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
#{$self}--eyebrow {
|
|
@@ -57,7 +65,9 @@
|
|
|
57
65
|
@include globaltransition("color, background-color, border-color, opacity");
|
|
58
66
|
|
|
59
67
|
&:hover,
|
|
60
|
-
&:focus
|
|
68
|
+
&:focus,
|
|
69
|
+
&:focus-within {
|
|
70
|
+
outline: none;
|
|
61
71
|
@include globaltransition(
|
|
62
72
|
"color, background-color, border-color, opacity"
|
|
63
73
|
);
|
|
@@ -72,8 +82,9 @@
|
|
|
72
82
|
background: $brand-ilo-white;
|
|
73
83
|
}
|
|
74
84
|
|
|
75
|
-
&--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(:hover):not(:focus) {
|
|
85
|
+
&--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(:hover):not(:focus):not(:focus-within) {
|
|
76
86
|
background: $brand-ilo-dark-blue;
|
|
87
|
+
outline: none;
|
|
77
88
|
transition: background $transition-timing ease-out;
|
|
78
89
|
|
|
79
90
|
#{$self}--eyebrow {
|
|
@@ -102,42 +113,110 @@
|
|
|
102
113
|
}
|
|
103
114
|
}
|
|
104
115
|
|
|
105
|
-
&--
|
|
116
|
+
&--dark:not(#{$self}--action),
|
|
117
|
+
&--dark:not(#{$self}--action):hover,
|
|
118
|
+
&--dark:not(#{$self}--action):focus,
|
|
119
|
+
&--dark:not(#{$self}--action):focus-within {
|
|
120
|
+
background: $brand-ilo-dark-blue;
|
|
121
|
+
outline: none;
|
|
122
|
+
transition: background $transition-timing ease-out;
|
|
123
|
+
|
|
124
|
+
#{$self}--eyebrow {
|
|
125
|
+
color: $brand-ilo-grey-light;
|
|
126
|
+
transition: color $transition-timing ease-out;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
#{$self}--title {
|
|
130
|
+
color: $brand-ilo-white;
|
|
131
|
+
transition: color $transition-timing ease-out;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#{$self}--intro {
|
|
135
|
+
color: $brand-ilo-grey-light;
|
|
136
|
+
transition: color $transition-timing ease-out;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
#{$self}--date {
|
|
140
|
+
color: $brand-ilo-grey-light;
|
|
141
|
+
transition: color $transition-timing ease-out;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
#{$self}--eventdate {
|
|
145
|
+
color: $brand-ilo-grey-light;
|
|
146
|
+
transition: color $transition-timing ease-out;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&--cornercut:not(#{$self}--multilink):not(#{$self}--detail):not(#{$self}--feature):not(#{$self}--graphic):not(#{$self}--stat):not(#{$self}--data) {
|
|
151
|
+
@include cornercut($brand-ilo-white, 40px, 73px);
|
|
106
152
|
margin-top: px-to-rem(40px);
|
|
107
153
|
padding-top: 0;
|
|
108
154
|
position: relative;
|
|
109
155
|
|
|
156
|
+
&#{$self}--dark {
|
|
157
|
+
&::after {
|
|
158
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
110
162
|
@include breakpoint("medium") {
|
|
163
|
+
@include cornercut($brand-ilo-white, 48px, 87px);
|
|
111
164
|
margin-top: px-to-rem(48px);
|
|
165
|
+
|
|
166
|
+
&#{$self}--dark {
|
|
167
|
+
&::after {
|
|
168
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
112
171
|
}
|
|
113
172
|
|
|
114
173
|
@include breakpoint("large") {
|
|
174
|
+
@include cornercut($brand-ilo-white, 64px, 116px);
|
|
115
175
|
margin-top: px-to-rem(64px);
|
|
176
|
+
|
|
177
|
+
&#{$self}--dark {
|
|
178
|
+
&::after {
|
|
179
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
116
182
|
}
|
|
117
183
|
|
|
118
184
|
&::before {
|
|
119
|
-
background: inherit;
|
|
120
|
-
clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
|
|
121
|
-
content: "";
|
|
122
|
-
display: block;
|
|
123
|
-
height: px-to-rem(30px);
|
|
124
185
|
left: 0;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
width: 100%;
|
|
186
|
+
top: px-to-rem(-40px);
|
|
187
|
+
transition: background-image $transition-timing ease-out;
|
|
128
188
|
|
|
129
189
|
.right-to-left & {
|
|
130
|
-
|
|
190
|
+
left: auto;
|
|
191
|
+
right: 0;
|
|
131
192
|
}
|
|
132
193
|
|
|
133
194
|
@include breakpoint("medium") {
|
|
134
|
-
|
|
135
|
-
top: px-to-rem(-37.7px);
|
|
195
|
+
top: px-to-rem(-47.7px);
|
|
136
196
|
}
|
|
137
197
|
|
|
138
198
|
@include breakpoint("large") {
|
|
139
|
-
|
|
140
|
-
|
|
199
|
+
top: px-to-rem(-63.7px);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&::after {
|
|
204
|
+
right: 0;
|
|
205
|
+
top: px-to-rem(-40px);
|
|
206
|
+
transition: background-image $transition-timing ease-out;
|
|
207
|
+
|
|
208
|
+
.right-to-left & {
|
|
209
|
+
left: 0;
|
|
210
|
+
right: auto;
|
|
211
|
+
transform: rotateY(180deg);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@include breakpoint("medium") {
|
|
215
|
+
top: px-to-rem(-47.7px);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@include breakpoint("large") {
|
|
219
|
+
top: px-to-rem(-63.7px);
|
|
141
220
|
}
|
|
142
221
|
}
|
|
143
222
|
}
|
|
@@ -156,7 +235,8 @@
|
|
|
156
235
|
@include globaltransition("color");
|
|
157
236
|
|
|
158
237
|
#{$self}--link:hover &,
|
|
159
|
-
#{$self}--link:focus
|
|
238
|
+
#{$self}--link:focus &,
|
|
239
|
+
#{$self}--link:focus-within & {
|
|
160
240
|
color: $brand-ilo-blue;
|
|
161
241
|
@include globaltransition("color");
|
|
162
242
|
}
|
|
@@ -178,7 +258,8 @@
|
|
|
178
258
|
@include globaltransition("color");
|
|
179
259
|
|
|
180
260
|
#{$self}--link:hover &,
|
|
181
|
-
#{$self}--link:focus
|
|
261
|
+
#{$self}--link:focus &,
|
|
262
|
+
#{$self}--link:focus-within & {
|
|
182
263
|
color: $brand-ilo-blue;
|
|
183
264
|
@include globaltransition("color");
|
|
184
265
|
}
|
|
@@ -191,7 +272,8 @@
|
|
|
191
272
|
@include globaltransition("color");
|
|
192
273
|
|
|
193
274
|
#{$self}--link:hover &,
|
|
194
|
-
#{$self}--link:focus
|
|
275
|
+
#{$self}--link:focus &,
|
|
276
|
+
#{$self}--link:focus-within & {
|
|
195
277
|
color: $brand-ilo-blue;
|
|
196
278
|
@include globaltransition("color");
|
|
197
279
|
}
|
|
@@ -204,7 +286,8 @@
|
|
|
204
286
|
@include globaltransition("color");
|
|
205
287
|
|
|
206
288
|
#{$self}--link:hover &,
|
|
207
|
-
#{$self}--link:focus
|
|
289
|
+
#{$self}--link:focus &,
|
|
290
|
+
#{$self}--link:focus-within & {
|
|
208
291
|
color: $brand-ilo-blue;
|
|
209
292
|
@include globaltransition("color");
|
|
210
293
|
}
|
|
@@ -428,7 +511,8 @@
|
|
|
428
511
|
}
|
|
429
512
|
|
|
430
513
|
&:hover,
|
|
431
|
-
&:focus
|
|
514
|
+
&:focus,
|
|
515
|
+
&:focus-within {
|
|
432
516
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
433
517
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
434
518
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
|
|
@@ -529,21 +613,46 @@
|
|
|
529
613
|
}
|
|
530
614
|
|
|
531
615
|
&--graphic {
|
|
616
|
+
@include cornercut($brand-ilo-white, 40px, 73px);
|
|
532
617
|
border-bottom: px-to-rem(3px) solid $brand-ilo-grey-ui;
|
|
533
618
|
margin-top: px-to-rem(40px);
|
|
534
619
|
padding: 0 px-to-rem(24px) px-to-rem(40px);
|
|
535
620
|
position: relative;
|
|
536
621
|
|
|
622
|
+
&#{$self}--dark {
|
|
623
|
+
&::after {
|
|
624
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
&:hover,
|
|
628
|
+
&:focus,
|
|
629
|
+
&:focus-within {
|
|
630
|
+
&::after {
|
|
631
|
+
@include dataurlicon("triangledecoration", $brand-ilo-white);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
537
636
|
&::before {
|
|
538
|
-
background: inherit;
|
|
539
|
-
clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
|
|
540
|
-
content: "";
|
|
541
|
-
display: block;
|
|
542
|
-
height: 40px;
|
|
543
637
|
left: 0;
|
|
544
|
-
position: absolute;
|
|
545
638
|
top: -39.7px;
|
|
546
|
-
|
|
639
|
+
|
|
640
|
+
.right-to-left & {
|
|
641
|
+
left: auto;
|
|
642
|
+
right: 0;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&::after {
|
|
647
|
+
right: 0;
|
|
648
|
+
top: -39.7px;
|
|
649
|
+
transition: background-image $transition-timing ease-out;
|
|
650
|
+
|
|
651
|
+
.right-to-left & {
|
|
652
|
+
left: 0;
|
|
653
|
+
right: auto;
|
|
654
|
+
transform: rotateY(180deg);
|
|
655
|
+
}
|
|
547
656
|
}
|
|
548
657
|
|
|
549
658
|
.ilo--profile--contents * {
|
|
@@ -551,7 +660,8 @@
|
|
|
551
660
|
}
|
|
552
661
|
|
|
553
662
|
&:hover,
|
|
554
|
-
&:focus
|
|
663
|
+
&:focus,
|
|
664
|
+
&:focus-within {
|
|
555
665
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
556
666
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
557
667
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
|
|
@@ -563,7 +673,82 @@
|
|
|
563
673
|
}
|
|
564
674
|
|
|
565
675
|
@include breakpoint("medium") {
|
|
676
|
+
@include cornercut($brand-ilo-white, 40px, 73px);
|
|
566
677
|
padding: 0 px-to-rem(32px) px-to-rem(40px);
|
|
678
|
+
|
|
679
|
+
&#{$self}--dark {
|
|
680
|
+
&::after {
|
|
681
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
&:hover,
|
|
685
|
+
&:focus,
|
|
686
|
+
&:focus-within {
|
|
687
|
+
&::after {
|
|
688
|
+
@include dataurlicon("triangledecoration", $brand-ilo-white);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
&::before {
|
|
694
|
+
left: 0;
|
|
695
|
+
top: -39.7px;
|
|
696
|
+
|
|
697
|
+
.right-to-left & {
|
|
698
|
+
left: auto;
|
|
699
|
+
right: 0;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
&::after {
|
|
704
|
+
right: 0;
|
|
705
|
+
top: -39.7px;
|
|
706
|
+
|
|
707
|
+
.right-to-left & {
|
|
708
|
+
left: 0;
|
|
709
|
+
right: auto;
|
|
710
|
+
transform: rotateY(180deg);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
@include breakpoint("large") {
|
|
716
|
+
@include cornercut($brand-ilo-white, 40px, 73px);
|
|
717
|
+
|
|
718
|
+
&#{$self}--dark {
|
|
719
|
+
&::after {
|
|
720
|
+
@include dataurlicon("triangledecoration", $brand-ilo-dark-blue);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
&:hover,
|
|
724
|
+
&:focus,
|
|
725
|
+
&:focus-within {
|
|
726
|
+
&::after {
|
|
727
|
+
@include dataurlicon("triangledecoration", $brand-ilo-white);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
&::before {
|
|
733
|
+
left: 0;
|
|
734
|
+
top: -39.7px;
|
|
735
|
+
|
|
736
|
+
.right-to-left & {
|
|
737
|
+
left: auto;
|
|
738
|
+
right: 0;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
&::after {
|
|
743
|
+
right: 0;
|
|
744
|
+
top: -39.7px;
|
|
745
|
+
|
|
746
|
+
.right-to-left & {
|
|
747
|
+
left: 0;
|
|
748
|
+
right: auto;
|
|
749
|
+
transform: rotateY(180deg);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
567
752
|
}
|
|
568
753
|
|
|
569
754
|
&#{$self}--wide {
|
|
@@ -645,6 +830,21 @@
|
|
|
645
830
|
display: block;
|
|
646
831
|
@include textmargin("margin-bottom", 32px, "base", "copy", 0, 0);
|
|
647
832
|
}
|
|
833
|
+
|
|
834
|
+
.ilo--card--content {
|
|
835
|
+
display: flex;
|
|
836
|
+
flex-direction: column;
|
|
837
|
+
position: relative;
|
|
838
|
+
|
|
839
|
+
> * {
|
|
840
|
+
justify-self: flex-start;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
> *:last-child {
|
|
844
|
+
justify-self: flex-end;
|
|
845
|
+
margin-bottom: 0;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
648
848
|
}
|
|
649
849
|
|
|
650
850
|
&--graphicpromo {
|
|
@@ -652,13 +852,9 @@
|
|
|
652
852
|
padding: px-to-rem(40px) px-to-rem(24px);
|
|
653
853
|
width: 100%;
|
|
654
854
|
|
|
655
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
|
|
656
|
-
height: px-to-rem(40px);
|
|
657
|
-
top: px-to-rem(-39.7px);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
855
|
&:hover,
|
|
661
|
-
&:focus
|
|
856
|
+
&:focus,
|
|
857
|
+
&:focus-within {
|
|
662
858
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
663
859
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
664
860
|
drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
|
|
@@ -667,20 +863,10 @@
|
|
|
667
863
|
|
|
668
864
|
@include breakpoint("medium") {
|
|
669
865
|
padding: px-to-rem(48px);
|
|
670
|
-
|
|
671
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
|
|
672
|
-
height: px-to-rem(64px);
|
|
673
|
-
top: px-to-rem(-63.7px);
|
|
674
|
-
}
|
|
675
866
|
}
|
|
676
867
|
|
|
677
868
|
@include breakpoint("large") {
|
|
678
869
|
padding: px-to-rem(64px) px-to-rem(72px);
|
|
679
|
-
|
|
680
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
|
|
681
|
-
height: px-to-rem(64px);
|
|
682
|
-
top: px-to-rem(-63.7px);
|
|
683
|
-
}
|
|
684
870
|
}
|
|
685
871
|
|
|
686
872
|
&#{$self}--wide {
|
|
@@ -794,10 +980,18 @@
|
|
|
794
980
|
padding: 0 px-to-rem(24px) px-to-rem(48px) px-to-rem(24px);
|
|
795
981
|
pointer-events: none;
|
|
796
982
|
|
|
797
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
983
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
984
|
+
&::before {
|
|
985
|
+
height: 40px;
|
|
986
|
+
top: px-to-rem(-39.7px);
|
|
987
|
+
width: calc(100% - 73px);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
&::after {
|
|
991
|
+
height: 40px;
|
|
992
|
+
top: px-to-rem(-39.7px);
|
|
993
|
+
width: 73.3px;
|
|
994
|
+
}
|
|
801
995
|
}
|
|
802
996
|
|
|
803
997
|
&#{$self}--dark {
|
|
@@ -807,10 +1001,18 @@
|
|
|
807
1001
|
@include breakpoint("large") {
|
|
808
1002
|
padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
|
|
809
1003
|
|
|
810
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
1004
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1005
|
+
&::before {
|
|
1006
|
+
height: 48px;
|
|
1007
|
+
top: px-to-rem(-47.7px);
|
|
1008
|
+
width: calc(100% - 87px);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
&::after {
|
|
1012
|
+
height: 48px;
|
|
1013
|
+
top: px-to-rem(-47.7px);
|
|
1014
|
+
width: 87.3px;
|
|
1015
|
+
}
|
|
814
1016
|
}
|
|
815
1017
|
}
|
|
816
1018
|
|
|
@@ -855,7 +1057,8 @@
|
|
|
855
1057
|
}
|
|
856
1058
|
|
|
857
1059
|
&:hover,
|
|
858
|
-
&:focus
|
|
1060
|
+
&:focus,
|
|
1061
|
+
&:focus-within {
|
|
859
1062
|
#{$self}--title {
|
|
860
1063
|
color: $brand-ilo-white;
|
|
861
1064
|
@include globaltransition("color");
|
|
@@ -895,29 +1098,64 @@
|
|
|
895
1098
|
|
|
896
1099
|
&--stat {
|
|
897
1100
|
border-bottom: px-to-rem(3px) solid $brand-ilo-purple;
|
|
1101
|
+
margin-top: px-to-rem(40px);
|
|
898
1102
|
padding: 0 px-to-rem(24px) px-to-rem(40px) px-to-rem(22px);
|
|
1103
|
+
position: relative;
|
|
899
1104
|
width: 100%;
|
|
900
1105
|
|
|
901
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
1106
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1107
|
+
&::before {
|
|
1108
|
+
left: 0;
|
|
1109
|
+
top: px-to-rem(-39.7px);
|
|
1110
|
+
|
|
1111
|
+
.right-to-left & {
|
|
1112
|
+
left: auto;
|
|
1113
|
+
right: 0;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
&::after {
|
|
1118
|
+
right: 0;
|
|
1119
|
+
top: px-to-rem(-39.7px);
|
|
1120
|
+
|
|
1121
|
+
.right-to-left & {
|
|
1122
|
+
left: 0;
|
|
1123
|
+
right: auto;
|
|
1124
|
+
transform: rotateY(180deg);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
905
1127
|
}
|
|
906
1128
|
|
|
907
1129
|
&#{$self}--blue {
|
|
908
1130
|
background: $brand-ilo-light-blue;
|
|
1131
|
+
|
|
1132
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1133
|
+
@include cornercut($brand-ilo-light-blue, 40px, 73px);
|
|
1134
|
+
}
|
|
909
1135
|
}
|
|
910
1136
|
|
|
911
1137
|
&#{$self}--yellow {
|
|
912
1138
|
background: $brand-ilo-yellow;
|
|
1139
|
+
|
|
1140
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1141
|
+
@include cornercut($brand-ilo-yellow, 40px, 73px);
|
|
1142
|
+
}
|
|
913
1143
|
}
|
|
914
1144
|
|
|
915
1145
|
&#{$self}--green {
|
|
916
1146
|
background: $brand-ilo-green;
|
|
1147
|
+
|
|
1148
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1149
|
+
@include cornercut($brand-ilo-green, 40px, 73px);
|
|
1150
|
+
}
|
|
917
1151
|
}
|
|
918
1152
|
|
|
919
1153
|
&#{$self}--turquoise {
|
|
920
1154
|
background: $brand-ilo-turquoise;
|
|
1155
|
+
|
|
1156
|
+
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature) {
|
|
1157
|
+
@include cornercut($brand-ilo-turquoise, 40px, 73px);
|
|
1158
|
+
}
|
|
921
1159
|
}
|
|
922
1160
|
|
|
923
1161
|
#{$self}--content {
|
|
@@ -939,7 +1177,8 @@
|
|
|
939
1177
|
|
|
940
1178
|
#{$self}--intro {
|
|
941
1179
|
color: $brand-ilo-dark-blue;
|
|
942
|
-
|
|
1180
|
+
font-family: $fonts-display;
|
|
1181
|
+
@include font-styles("base");
|
|
943
1182
|
@include textmargin("margin-bottom", 35px, "nav-md-sm", "copy", 0, 0);
|
|
944
1183
|
width: 100%;
|
|
945
1184
|
}
|
|
@@ -948,36 +1187,52 @@
|
|
|
948
1187
|
@include font-styles("image-credit");
|
|
949
1188
|
align-self: flex-end;
|
|
950
1189
|
}
|
|
951
|
-
|
|
952
|
-
@include breakpoint("large") {
|
|
953
|
-
&.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
|
|
954
|
-
height: px-to-rem(48px);
|
|
955
|
-
top: px-to-rem(-47.7px);
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
1190
|
}
|
|
959
1191
|
|
|
960
1192
|
&--data {
|
|
1193
|
+
@include cornercut($brand-ilo-light-blue, 40px, 73px);
|
|
961
1194
|
background: $brand-ilo-light-blue;
|
|
962
1195
|
border-bottom: px-to-rem(3px) solid #82afdc;
|
|
1196
|
+
margin-top: px-to-rem(40px);
|
|
963
1197
|
max-width: px-to-rem(600px);
|
|
964
1198
|
padding: 0 px-to-rem(24px) px-to-rem(56px);
|
|
1199
|
+
position: relative;
|
|
965
1200
|
|
|
966
1201
|
&:hover,
|
|
967
|
-
&:focus
|
|
1202
|
+
&:focus,
|
|
1203
|
+
&:focus-within {
|
|
968
1204
|
background: $brand-ilo-light-blue;
|
|
969
1205
|
}
|
|
970
1206
|
|
|
971
1207
|
&::before {
|
|
972
|
-
|
|
973
|
-
height: px-to-rem(40px);
|
|
1208
|
+
left: 0;
|
|
974
1209
|
top: px-to-rem(-39.7px);
|
|
1210
|
+
|
|
1211
|
+
.right-to-left & {
|
|
1212
|
+
left: auto;
|
|
1213
|
+
right: 0;
|
|
1214
|
+
}
|
|
975
1215
|
}
|
|
976
1216
|
|
|
977
|
-
|
|
1217
|
+
&::after {
|
|
1218
|
+
right: 0;
|
|
1219
|
+
top: px-to-rem(-39.7px);
|
|
1220
|
+
|
|
1221
|
+
.right-to-left & {
|
|
1222
|
+
left: 0;
|
|
1223
|
+
right: auto;
|
|
1224
|
+
transform: rotateY(180deg);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
@include breakpoint("medium") {
|
|
1229
|
+
@include cornercut($brand-ilo-light-blue, 48px, 84px);
|
|
1230
|
+
|
|
978
1231
|
&::before {
|
|
979
|
-
|
|
980
|
-
|
|
1232
|
+
top: px-to-rem(-47.7px);
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
&::after {
|
|
981
1236
|
top: px-to-rem(-47.7px);
|
|
982
1237
|
}
|
|
983
1238
|
}
|
|
@@ -1061,7 +1316,8 @@
|
|
|
1061
1316
|
}
|
|
1062
1317
|
|
|
1063
1318
|
&:hover,
|
|
1064
|
-
&:focus
|
|
1319
|
+
&:focus,
|
|
1320
|
+
&:focus-within {
|
|
1065
1321
|
.ilo--link-list {
|
|
1066
1322
|
&--link {
|
|
1067
1323
|
color: $brand-ilo-blue;
|
|
@@ -1076,7 +1332,8 @@
|
|
|
1076
1332
|
}
|
|
1077
1333
|
|
|
1078
1334
|
&:hover,
|
|
1079
|
-
&:focus
|
|
1335
|
+
&:focus,
|
|
1336
|
+
&:focus-within {
|
|
1080
1337
|
background-color: $brand-ilo-white;
|
|
1081
1338
|
filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
|
|
1082
1339
|
drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
|
|
@@ -1140,7 +1397,9 @@
|
|
|
1140
1397
|
|
|
1141
1398
|
#{$self}--content {
|
|
1142
1399
|
display: flex;
|
|
1400
|
+
flex-direction: row;
|
|
1143
1401
|
flex-wrap: wrap;
|
|
1402
|
+
position: relative;
|
|
1144
1403
|
width: 50%;
|
|
1145
1404
|
}
|
|
1146
1405
|
|
|
@@ -1154,6 +1413,7 @@
|
|
|
1154
1413
|
|
|
1155
1414
|
#{$self}--date {
|
|
1156
1415
|
align-self: flex-end;
|
|
1416
|
+
width: 100%;
|
|
1157
1417
|
}
|
|
1158
1418
|
|
|
1159
1419
|
#{$self}--eyebrow {
|
|
@@ -1163,6 +1423,10 @@
|
|
|
1163
1423
|
#{$self}--title {
|
|
1164
1424
|
width: 100%;
|
|
1165
1425
|
}
|
|
1426
|
+
|
|
1427
|
+
.ilo--link-list {
|
|
1428
|
+
width: calc(100% + 48px);
|
|
1429
|
+
}
|
|
1166
1430
|
}
|
|
1167
1431
|
}
|
|
1168
1432
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
&--two {
|
|
25
25
|
@include breakpoint("large") {
|
|
26
26
|
#{$card} {
|
|
27
|
-
width: calc(50% -
|
|
27
|
+
width: calc(50% - 24px);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
&--three {
|
|
33
33
|
@include breakpoint("large") {
|
|
34
34
|
#{$card} {
|
|
35
|
-
width: calc(33.333% -
|
|
35
|
+
width: calc(33.333% - 24px);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
&--four {
|
|
41
41
|
@include breakpoint("large") {
|
|
42
42
|
#{$card} {
|
|
43
|
-
width: calc(25% -
|
|
43
|
+
width: calc(25% - 24px);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -27,11 +27,13 @@
|
|
|
27
27
|
padding: 0 px-to-rem($spacing-padding-1);
|
|
28
28
|
|
|
29
29
|
&:first-of-type {
|
|
30
|
-
border-radius: 2px
|
|
30
|
+
border-top-left-radius: 2px;
|
|
31
|
+
border-top-right-radius: 2px;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
&:last-of-type {
|
|
34
|
-
border-radius:
|
|
35
|
+
border-bottom-left-radius: 2px;
|
|
36
|
+
border-bottom-right-radius: 2px;
|
|
35
37
|
|
|
36
38
|
a {
|
|
37
39
|
border-bottom: none;
|