@ilo-org/styles 0.1.6 → 0.1.8

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.
@@ -1,10 +1,12 @@
1
1
  @use "../tokens" as *;
2
2
  @use "../functions" as *;
3
+ @use "../animations" as *;
3
4
  @import "../mixins";
4
5
 
5
6
  .ilo--card {
6
7
  $self: &;
7
8
  margin: 0;
9
+ max-width: px-to-rem(920px);
8
10
 
9
11
  .right-to-left & {
10
12
  text-align: right;
@@ -16,7 +18,7 @@
16
18
  color: $brand-ilo-blue;
17
19
  text-decoration: none;
18
20
 
19
- &#{$self}--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink) {
21
+ &#{$self}--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(#{$self}--factlist) {
20
22
  background: $brand-ilo-white;
21
23
  }
22
24
 
@@ -51,6 +53,14 @@
51
53
  top: 0;
52
54
  width: 100%;
53
55
  z-index: 2;
56
+ @include globaltransition("color, background-color, border-color, opacity");
57
+
58
+ &:hover,
59
+ &:focus {
60
+ @include globaltransition(
61
+ "color, background-color, border-color, opacity"
62
+ );
63
+ }
54
64
 
55
65
  &--text {
56
66
  @include isVisuallyHidden();
@@ -61,7 +71,7 @@
61
71
  background: $brand-ilo-white;
62
72
  }
63
73
 
64
- &--dark:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(:hover):not(:focus) {
74
+ &--dark#{$self}--action:not(#{$self}--detail):not(#{$self}--data):not(#{$self}--multilink):not(:hover):not(:focus) {
65
75
  background: $brand-ilo-dark-blue;
66
76
 
67
77
  #{$self}--eyebrow {
@@ -103,10 +113,10 @@
103
113
  clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
104
114
  content: "";
105
115
  display: block;
106
- height: px-to-rem(40px);
116
+ height: px-to-rem(30px);
107
117
  left: 0;
108
118
  position: absolute;
109
- top: px-to-rem(-39.7px);
119
+ top: px-to-rem(-29.7px);
110
120
  width: 100%;
111
121
 
112
122
  .right-to-left & {
@@ -114,13 +124,13 @@
114
124
  }
115
125
 
116
126
  @include breakpoint("medium") {
117
- height: px-to-rem(48px);
118
- top: px-to-rem(-47.7px);
127
+ height: px-to-rem(38px);
128
+ top: px-to-rem(-37.7px);
119
129
  }
120
130
 
121
131
  @include breakpoint("large") {
122
- height: px-to-rem(64px);
123
- top: px-to-rem(-63.7px);
132
+ height: px-to-rem(58px);
133
+ top: px-to-rem(-57.7px);
124
134
  }
125
135
  }
126
136
  }
@@ -136,10 +146,12 @@
136
146
  "body-small",
137
147
  "copy"
138
148
  );
149
+ @include globaltransition("color");
139
150
 
140
151
  #{$self}--link:hover &,
141
152
  #{$self}--link:focus & {
142
153
  color: $brand-ilo-blue;
154
+ @include globaltransition("color");
143
155
  }
144
156
  }
145
157
 
@@ -156,10 +168,12 @@
156
168
  "body-small",
157
169
  "copy"
158
170
  );
171
+ @include globaltransition("color");
159
172
 
160
173
  #{$self}--link:hover &,
161
174
  #{$self}--link:focus & {
162
175
  color: $brand-ilo-blue;
176
+ @include globaltransition("color");
163
177
  }
164
178
  }
165
179
 
@@ -167,10 +181,12 @@
167
181
  color: $brand-ilo-grey-charcoal;
168
182
  @include font-styles("body-small");
169
183
  @include textmargin("margin-bottom", 30px, "body-small", "copy", 0, 0);
184
+ @include globaltransition("color");
170
185
 
171
186
  #{$self}--link:hover &,
172
187
  #{$self}--link:focus & {
173
188
  color: $brand-ilo-blue;
189
+ @include globaltransition("color");
174
190
  }
175
191
  }
176
192
 
@@ -178,10 +194,12 @@
178
194
  color: $brand-ilo-grey-accessible;
179
195
  @include font-styles("body-small");
180
196
  @include textmargin("margin-bottom", 30px, "body-small", "copy", 0, 0);
197
+ @include globaltransition("color");
181
198
 
182
199
  #{$self}--link:hover &,
183
200
  #{$self}--link:focus & {
184
201
  color: $brand-ilo-blue;
202
+ @include globaltransition("color");
185
203
  }
186
204
  }
187
205
 
@@ -374,6 +392,7 @@
374
392
  &--detail {
375
393
  border-bottom: px-to-rem(3px) solid $brand-ilo-grey-light;
376
394
  padding: px-to-rem(24px) 0;
395
+ position: relative;
377
396
 
378
397
  @include breakpoint("large") {
379
398
  padding: px-to-rem(32px) 0;
@@ -381,6 +400,11 @@
381
400
 
382
401
  &:hover,
383
402
  &:focus {
403
+ filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
404
+ drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
405
+ drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
406
+ drop-shadow(0px -4px 16px rgba(30, 45, 190, 0.054));
407
+
384
408
  picture::before {
385
409
  opacity: 0.4;
386
410
  z-index: 2;
@@ -406,9 +430,9 @@
406
430
  opacity: 0;
407
431
  position: absolute;
408
432
  top: 0;
409
- transition: opacity 0.15s ease-in-out;
410
433
  width: 100%;
411
434
  z-index: -1;
435
+ @include globaltransition("opacity");
412
436
  }
413
437
  }
414
438
 
@@ -493,6 +517,22 @@
493
517
  width: 100%;
494
518
  }
495
519
 
520
+ .ilo--profile--contents * {
521
+ color: $color-base-neutrals-white;
522
+ }
523
+
524
+ &:hover,
525
+ &:focus {
526
+ filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
527
+ drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
528
+ drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
529
+ drop-shadow(0px -4px 16px rgba(30, 45, 190, 0.054));
530
+
531
+ .ilo--profile--contents * {
532
+ color: $color-base-blue-medium;
533
+ }
534
+ }
535
+
496
536
  @include breakpoint("medium") {
497
537
  padding: 0 px-to-rem(32px) px-to-rem(40px);
498
538
  }
@@ -573,6 +613,7 @@
573
613
  }
574
614
 
575
615
  #{$self}--date {
616
+ display: block;
576
617
  @include textmargin("margin-bottom", 32px, "base", "copy", 0, 0);
577
618
  }
578
619
  }
@@ -582,6 +623,14 @@
582
623
  padding: px-to-rem(40px) px-to-rem(24px);
583
624
  width: 100%;
584
625
 
626
+ &:hover,
627
+ &:focus {
628
+ filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
629
+ drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
630
+ drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
631
+ drop-shadow(0px -4px 16px rgba(30, 45, 190, 0.054));
632
+ }
633
+
585
634
  @include breakpoint("medium") {
586
635
  padding: px-to-rem(48px);
587
636
  }
@@ -606,11 +655,11 @@
606
655
  padding: px-to-rem(48px);
607
656
 
608
657
  @include breakpoint("medium") {
609
- padding: px-to-rem(48px);
658
+ padding: px-to-rem(48px) px-to-rem(48px) px-to-rem(64px) px-to-rem(48px);
610
659
  }
611
660
 
612
661
  @include breakpoint("large") {
613
- padding: px-to-rem(48px);
662
+ padding: px-to-rem(48px) px-to-rem(48px) px-to-rem(64px) px-to-rem(48px);
614
663
  }
615
664
  }
616
665
 
@@ -657,6 +706,7 @@
657
706
 
658
707
  &#{$self}--light:not(:hover) #{$self}--title {
659
708
  color: $brand-ilo-grey-charcoal;
709
+ @include globaltransition("color");
660
710
  }
661
711
 
662
712
  #{$self}--title {
@@ -698,36 +748,41 @@
698
748
  border-bottom: px-to-rem(3px) solid $brand-ilo-grey-ui;
699
749
  max-width: px-to-rem(856px);
700
750
  padding: 0 px-to-rem(24px) px-to-rem(48px) px-to-rem(24px);
751
+ pointer-events: none;
701
752
 
702
- &::before {
753
+ &.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
703
754
  clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
704
- height: px-to-rem(40px);
705
- top: px-to-rem(-39.7px);
755
+ height: px-to-rem(34px);
756
+ top: px-to-rem(-33.7px);
757
+ }
758
+
759
+ &#{$self}--dark {
760
+ background: $brand-ilo-dark-blue;
706
761
  }
707
762
 
708
763
  @include breakpoint("large") {
709
764
  padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
710
765
 
711
- &::before {
766
+ &.ilo--card--cornercut:not(.ilo--card--multilink):not(.ilo--card--detail):not(.ilo--card--feature)::before {
712
767
  clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
713
- height: px-to-rem(48px);
714
- top: px-to-rem(-47.7px);
768
+ height: px-to-rem(41px);
769
+ top: px-to-rem(-40.7px);
715
770
  }
716
771
  }
717
772
 
718
773
  &#{$self}--wide {
719
- padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
774
+ padding: 0 px-to-rem(40px) px-to-rem(52px) px-to-rem(40px);
720
775
 
721
776
  @include breakpoint("medium") {
722
- padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
777
+ padding: 0 px-to-rem(40px) px-to-rem(60px) px-to-rem(40px);
723
778
  }
724
779
  }
725
780
 
726
781
  &#{$self}--standard {
727
- padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
782
+ padding: 0 px-to-rem(40px) px-to-rem(52px) px-to-rem(40px);
728
783
 
729
784
  @include breakpoint("medium") {
730
- padding: 0 px-to-rem(40px) px-to-rem(56px) px-to-rem(40px);
785
+ padding: 0 px-to-rem(40px) px-to-rem(60px) px-to-rem(40px);
731
786
  }
732
787
  }
733
788
 
@@ -744,10 +799,27 @@
744
799
 
745
800
  #{$self}--title {
746
801
  color: $brand-ilo-white;
802
+ @include globaltransition("color");
747
803
  }
748
804
 
749
805
  .ilo--list__item {
750
806
  color: $brand-ilo-white;
807
+
808
+ &:last-of-type {
809
+ margin-bottom: 0;
810
+ }
811
+ }
812
+
813
+ &:hover,
814
+ &:focus {
815
+ #{$self}--title {
816
+ color: $brand-ilo-white;
817
+ @include globaltransition("color");
818
+ }
819
+
820
+ .ilo--list__item {
821
+ color: $brand-ilo-white;
822
+ }
751
823
  }
752
824
  }
753
825
 
@@ -779,7 +851,7 @@
779
851
 
780
852
  &--stat {
781
853
  border-bottom: px-to-rem(3px) solid $brand-ilo-purple;
782
- padding: 0 px-to-rem(24px) px-to-rem(24px) px-to-rem(30px);
854
+ padding: 0 px-to-rem(24px) px-to-rem(40px) px-to-rem(22px);
783
855
  width: 100%;
784
856
 
785
857
  &::before {
@@ -824,7 +896,7 @@
824
896
  #{$self}--intro {
825
897
  color: $brand-ilo-dark-blue;
826
898
  @include font-styles("nav-md-sm");
827
- @include textmargin("margin-bottom", 40px, "nav-md-sm", "copy", 0, 0);
899
+ @include textmargin("margin-bottom", 35px, "nav-md-sm", "copy", 0, 0);
828
900
  width: 100%;
829
901
  }
830
902
 
@@ -840,6 +912,11 @@
840
912
  max-width: px-to-rem(600px);
841
913
  padding: 0 px-to-rem(24px) px-to-rem(56px);
842
914
 
915
+ &:hover,
916
+ &:focus {
917
+ background: $brand-ilo-light-blue;
918
+ }
919
+
843
920
  &::before {
844
921
  clip-path: polygon(90% 0, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
845
922
  height: px-to-rem(40px);
@@ -912,7 +989,6 @@
912
989
 
913
990
  &--feature {
914
991
  border-bottom: px-to-rem(3px) solid $brand-ilo-grey-ui;
915
- filter: drop-shadow(0 4px 4px rgba($brand-ilo-black, 0.25));
916
992
  display: flex;
917
993
  margin-top: 0;
918
994
  position: relative;
@@ -925,14 +1001,23 @@
925
1001
  border-bottom: px-to-rem(3px) solid $brand-ilo-purple;
926
1002
  }
927
1003
 
1004
+ picture::before {
1005
+ @include globaltransition("opacity");
1006
+ }
1007
+
928
1008
  &:hover,
929
1009
  &:focus {
930
1010
  background-color: $brand-ilo-white;
1011
+ filter: drop-shadow(0px 0.8px 1.6px rgba(30, 45, 190, 0.038))
1012
+ drop-shadow(0px 4px 8px rgba(30, 45, 190, 0.054))
1013
+ drop-shadow(0px 10px 20px rgba(30, 45, 190, 0.08))
1014
+ drop-shadow(0px -4px 16px rgba(30, 45, 190, 0.054));
931
1015
  border-bottom: px-to-rem(3px) solid $brand-ilo-blue;
932
1016
 
933
1017
  picture::before {
934
1018
  opacity: 0.4;
935
1019
  z-index: 1;
1020
+ @include globaltransition("opacity");
936
1021
  }
937
1022
 
938
1023
  #{$self}--image {
@@ -971,10 +1056,6 @@
971
1056
  display: flex;
972
1057
  flex-wrap: wrap;
973
1058
  width: 50%;
974
-
975
- .right-to-left & {
976
- flex-direction: row-reverse;
977
- }
978
1059
  }
979
1060
 
980
1061
  #{$self}--image--wrapper {
@@ -98,10 +98,16 @@
98
98
 
99
99
  .ilo--fieldset--label {
100
100
  font-weight: 400;
101
+ line-height: 1;
101
102
  margin-left: px-to-rem($spacing-padding-1);
102
103
  margin-bottom: 0;
103
- margin-top: 2px;
104
+ margin-top: 1px;
104
105
  order: 2;
106
+
107
+ .right-to-left & {
108
+ margin-left: 0;
109
+ margin-right: px-to-rem($spacing-padding-1);
110
+ }
105
111
  }
106
112
 
107
113
  .ilo--fieldset--error,
@@ -206,6 +206,7 @@
206
206
 
207
207
  &--dark {
208
208
  background: map-get($color, "hero", "card", "dark", "background");
209
+ border-bottom: 3px solid $brand-ilo-red;
209
210
  color: map-get($color, "hero", "card", "dark", "color");
210
211
 
211
212
  .ilo--hero-card--link.icon {
@@ -279,6 +280,7 @@
279
280
  }
280
281
 
281
282
  &--home {
283
+ border: none;
282
284
  padding: 24px;
283
285
 
284
286
  @include breakpoint("large") {
@@ -438,7 +440,7 @@
438
440
  &--facebook {
439
441
  @include dataurlicon(
440
442
  "facebook",
441
- map-get($color, "hero", "card", "light", "iconhover", "background")
443
+ map-get($color, "hero", "card", "light", "icon", "color")
442
444
  );
443
445
 
444
446
  &:hover {
@@ -452,7 +454,7 @@
452
454
  &--twitter {
453
455
  @include dataurlicon(
454
456
  "twitter",
455
- map-get($color, "hero", "card", "light", "iconhover", "background")
457
+ map-get($color, "hero", "card", "light", "icon", "color")
456
458
  );
457
459
 
458
460
  &:hover {
@@ -466,7 +468,7 @@
466
468
  &--linkedin {
467
469
  @include dataurlicon(
468
470
  "linkedin",
469
- map-get($color, "hero", "card", "light", "iconhover", "background")
471
+ map-get($color, "hero", "card", "light", "icon", "color")
470
472
  );
471
473
 
472
474
  &:hover {
@@ -81,6 +81,7 @@
81
81
  padding-right: px-to-rem($spacing-padding-4);
82
82
  text-decoration: none;
83
83
  @include dataurlicon("arrowright", $color-link-text-default);
84
+ @include globaltransition("color, background-color, border-color");
84
85
 
85
86
  &:visited {
86
87
  color: map-get($color, "link", "text", "default");
@@ -174,7 +174,7 @@
174
174
  display: none;
175
175
  font-family: $fonts-display;
176
176
  font-weight: 700;
177
- padding: 20px 0;
177
+ padding: 16px 0;
178
178
  text-align: right;
179
179
 
180
180
  .right-to-left & {
@@ -240,6 +240,7 @@
240
240
  display: block;
241
241
  padding: 16px 36px 16px 8px;
242
242
  text-decoration: none;
243
+ transition: color 150ms ease-out, background 150ms ease-out;
243
244
 
244
245
  &:hover,
245
246
  &:focus {
@@ -452,7 +453,6 @@
452
453
 
453
454
  &--search {
454
455
  .ilo--searchfield {
455
- max-width: 618px;
456
456
  width: 100%;
457
457
  }
458
458
 
@@ -488,7 +488,7 @@
488
488
  width: 32px;
489
489
 
490
490
  .right-to-left & {
491
- clip-path: polygon(0 0, 0 100%, 100% 100%);
491
+ clip-path: polygon(0 0, 0 100%, 100% 0);
492
492
  left: auto;
493
493
  right: -32px;
494
494
  }
@@ -10,12 +10,12 @@
10
10
  &--avatar {
11
11
  border-radius: 50%;
12
12
  float: left;
13
- width: 18.65%;
13
+ width: px-to-rem(64px);
14
14
  }
15
15
 
16
16
  &--contents {
17
17
  .id {
18
- margin-left: calc(18.65% + 11px);
18
+ margin-left: px-to-rem(75px);
19
19
  padding-top: 5px;
20
20
 
21
21
  &:first-of-type {
@@ -135,7 +135,7 @@
135
135
  .ilo--profile--contents {
136
136
  .id {
137
137
  margin-left: auto;
138
- margin-right: calc(18.65% + 11px);
138
+ margin-right: px-to-rem(75px);
139
139
  }
140
140
  }
141
141
 
@@ -99,6 +99,11 @@
99
99
  margin-left: px-to-rem($spacing-padding-1);
100
100
  margin-top: 2px;
101
101
  order: 2;
102
+
103
+ .right-to-left & {
104
+ margin-left: 0;
105
+ margin-right: px-to-rem($spacing-padding-1);
106
+ }
102
107
  }
103
108
 
104
109
  .ilo--fieldset--error,
@@ -1,5 +1,6 @@
1
1
  @use "../tokens" as *;
2
2
  @use "../functions" as *;
3
+ @use "../animations" as *;
3
4
  @import "../mixins";
4
5
 
5
6
  .ilo--tabs {
@@ -20,6 +21,7 @@
20
21
  font-weight: inherit;
21
22
  line-height: inherit;
22
23
  text-decoration: none;
24
+ @include globaltransition("color, background-color, border-color");
23
25
 
24
26
  &:visited {
25
27
  background: map-get($color, "link", "background", "visited");
@@ -34,6 +36,7 @@
34
36
  map-get($color, "link", "underline", "hover");
35
37
  color: map-get($color, "link", "text", "hover");
36
38
  text-decoration: none;
39
+ @include globaltransition("color, background-color, border-color");
37
40
  }
38
41
 
39
42
  &:active {
@@ -74,10 +77,12 @@
74
77
  padding-right: $spacing-padding-3;
75
78
  text-decoration: none;
76
79
  @include font-styles("label-medium");
80
+ @include globaltransition("color, background-color, border-color");
77
81
 
78
82
  &[aria-selected="true"] {
79
83
  background-color: $color-base-neutrals-white;
80
84
  border-top: px-to-rem(3px) solid $color-ux-labels-actionable;
85
+ @include globaltransition("color, background-color, border-color");
81
86
  }
82
87
 
83
88
  &.icon {
@@ -98,6 +103,7 @@
98
103
  background-color: $color-base-blue-light;
99
104
  color: $color-base-blue-medium;
100
105
  outline: none;
106
+ @include globaltransition("color, background-color, border-color");
101
107
 
102
108
  &.has--tooltip {
103
109
  .ilo--tooltip--wrapper {
@@ -1,6 +1,7 @@
1
1
  @use "../tokens" as *;
2
2
  @use "../functions" as *;
3
- @use "../mixins" as *;
3
+ @use "../animations" as *;
4
+ @import "../mixins";
4
5
 
5
6
  .ilo--tags {
6
7
  list-style: none;
@@ -26,9 +27,11 @@
26
27
  font-size: inherit;
27
28
  font-weight: 500;
28
29
  line-height: inherit;
29
- padding: px-to-rem(10px) px-to-rem(map-get($spacing, "ui-padding-sm"));
30
+ padding: px-to-rem(10px) px-to-rem(map-get($spacing, "ui-padding-sm"))
31
+ px-to-rem(8px) px-to-rem(map-get($spacing, "ui-padding-sm"));
30
32
  text-decoration: none;
31
33
  $self: &;
34
+ @include globaltransition("color, background-color, border-color");
32
35
 
33
36
  &--active {
34
37
  background: map-get($color, "tag", "background", "active");
@@ -44,17 +47,24 @@
44
47
  color: map-get($color, "tag", "text", "active");
45
48
  cursor: pointer;
46
49
  outline: none;
50
+ pointer-events: none;
47
51
 
48
52
  &:hover {
49
53
  background: map-get($color, "tag", "background", "hover");
50
54
  color: map-get($color, "tag", "text", "hover");
51
55
  text-decoration: none;
56
+ @include globaltransition("color, background-color, border-color");
52
57
  }
53
58
 
54
59
  &:focus {
55
60
  background: map-get($color, "tag", "background", "focus");
56
61
  color: map-get($color, "tag", "text", "focus");
57
62
  outline: none;
63
+ @include globaltransition("color, background-color, border-color");
64
+ }
65
+
66
+ &.ilo--tag--active {
67
+ pointer-events: auto;
58
68
  }
59
69
  }
60
70
  }
@@ -76,12 +86,37 @@
76
86
  opacity: 1;
77
87
  outline: none;
78
88
  visibility: visible;
89
+ @include globaltransition("color, background-color, border-color");
90
+ }
91
+
92
+ &.icon__position--right {
93
+ .ilo--icon {
94
+ @include dataurlicon("close", map-get($color, "tag", "text", "active"));
95
+
96
+ height: 100%;
97
+ max-height: 28px;
98
+ max-width: 28px;
99
+ position: absolute;
100
+ right: 5px;
101
+ top: 5px;
102
+ width: 100%;
103
+ }
79
104
  }
80
105
 
81
106
  &:hover {
82
107
  background: map-get($color, "tag", "background", "hover");
83
108
  color: map-get($color, "tag", "text", "hover");
84
109
  text-decoration: none;
110
+ @include globaltransition("color, background-color, border-color");
111
+
112
+ &.icon__position--right {
113
+ .ilo--icon {
114
+ @include dataurlicon(
115
+ "close",
116
+ map-get($color, "tag", "text", "hover")
117
+ );
118
+ }
119
+ }
85
120
  }
86
121
 
87
122
  &:focus {
@@ -89,6 +124,27 @@
89
124
  color: map-get($color, "tag", "text", "focus");
90
125
  outline: none;
91
126
  }
127
+ }
128
+
129
+ &--reset {
130
+ @include font-styles("label-small");
131
+
132
+ cursor: pointer;
133
+ display: none;
134
+ opacity: 0;
135
+ position: relative;
136
+ visibility: hidden;
137
+
138
+ &.ilo--tag--active {
139
+ background: $color-base-neutrals-white;
140
+ border: 1.5px solid $color-base-neutrals-light;
141
+ color: map-get($color, "tag", "text", "active");
142
+ display: block;
143
+ opacity: 1;
144
+ outline: none;
145
+ visibility: visible;
146
+ @include globaltransition("color, background-color, border-color");
147
+ }
92
148
 
93
149
  &.icon__position--right {
94
150
  .ilo--icon {
@@ -99,9 +155,33 @@
99
155
  max-width: 28px;
100
156
  position: absolute;
101
157
  right: 5px;
102
- top: 6px;
158
+ top: 5px;
103
159
  width: 100%;
104
160
  }
105
161
  }
162
+
163
+ &:hover {
164
+ background: map-get($color, "tag", "background", "hover");
165
+ border: 1.5px solid map-get($color, "tag", "background", "hover");
166
+ color: map-get($color, "tag", "text", "hover");
167
+ text-decoration: none;
168
+ @include globaltransition("color, background-color, border-color");
169
+
170
+ &.icon__position--right {
171
+ .ilo--icon {
172
+ @include dataurlicon(
173
+ "close",
174
+ map-get($color, "tag", "text", "hover")
175
+ );
176
+ }
177
+ }
178
+ }
179
+
180
+ &:focus {
181
+ background: map-get($color, "tag", "background", "focus");
182
+ border: 1.5px solid map-get($color, "tag", "background", "focus");
183
+ color: map-get($color, "tag", "text", "focus");
184
+ outline: none;
185
+ }
106
186
  }
107
187
  }