@ilo-org/styles 1.16.0 → 1.17.0

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.
Files changed (41) hide show
  1. package/css/components/accordion.css +1 -1
  2. package/css/components/audioplayer.css +1 -1
  3. package/css/components/blockquote.css +1 -1
  4. package/css/components/callout.css +1 -1
  5. package/css/components/cardgroup.css +1 -1
  6. package/css/components/checkbox.css +1 -1
  7. package/css/components/contextmenu.css +1 -1
  8. package/css/components/datepicker.css +1 -1
  9. package/css/components/fieldset.css +1 -1
  10. package/css/components/file-upload.css +1 -1
  11. package/css/components/form.css +1 -1
  12. package/css/components/formcontrol.css +1 -1
  13. package/css/components/hero.css +1 -1
  14. package/css/components/herocard.css +1 -1
  15. package/css/components/image.css +1 -1
  16. package/css/components/input.css +1 -1
  17. package/css/components/link.css +1 -1
  18. package/css/components/list.css +1 -1
  19. package/css/components/logogrid.css +1 -1
  20. package/css/components/navigation.css +1 -1
  21. package/css/components/pagination.css +1 -1
  22. package/css/components/radio.css +1 -1
  23. package/css/components/richtext.css +1 -1
  24. package/css/components/searchfield.css +1 -1
  25. package/css/components/table.css +1 -1
  26. package/css/components/textarea.css +1 -1
  27. package/css/components/video.css +1 -1
  28. package/css/index.css +15 -15
  29. package/css/index.css.map +1 -1
  30. package/css/monorepo.css +15 -15
  31. package/css/monorepo.css.map +1 -1
  32. package/package.json +4 -2
  33. package/scss/_animation-mixins.scss +21 -0
  34. package/scss/_animations.scss +3 -19
  35. package/scss/_functions.scss +2 -0
  36. package/scss/_helpers.scss +12 -0
  37. package/scss/_mixins.scss +14 -3
  38. package/scss/components/_navigation.scss +207 -84
  39. package/scss/components/_table.scss +24 -7
  40. package/scss/components/_video.scss +31 -14
  41. package/scss/theme/_breakpoints.scss +4 -3
@@ -60,12 +60,8 @@
60
60
  pointer-events: auto;
61
61
  position: relative;
62
62
 
63
+ &:before,
63
64
  &:after {
64
- background-color: var(--ilo-color-light-container-bg-disabled);
65
- background-image: url("#{colortodataurlicon('chevron_down', rgba(35, 0, 80, 1))}");
66
- background-position: center center;
67
- background-repeat: no-repeat;
68
- background-size: 75%;
69
65
  content: "";
70
66
  display: block;
71
67
  height: px-to-rem(24px);
@@ -76,6 +72,19 @@
76
72
  transform: translateY(-50%);
77
73
  }
78
74
 
75
+ &:before {
76
+ background-color: var(--ilo-color-light-container-bg-disabled);
77
+ }
78
+
79
+ &:after {
80
+ @include icon(
81
+ "chevron_down",
82
+ var(--ilo-color-light-icon-brand),
83
+ 75%,
84
+ center center
85
+ );
86
+ }
87
+
79
88
  &:hover {
80
89
  background-color: var(--ilo-color-light-container-bg-subtle);
81
90
  border-bottom: px-to-rem(2px) solid
@@ -83,9 +92,17 @@
83
92
  color: var(--ilo-color-light-action-hover);
84
93
  cursor: pointer;
85
94
 
86
- &:after {
95
+ &:before {
87
96
  background-color: var(--ilo-color-light-container-bg-subtle);
88
- background-image: url("#{colortodataurlicon('chevron_down', rgba(190, 220, 250, 1))}");
97
+ }
98
+
99
+ &:after {
100
+ @include icon(
101
+ "chevron_down",
102
+ var(--ilo-color-dark-icon-brand),
103
+ 75%,
104
+ center center
105
+ );
89
106
  }
90
107
  }
91
108
 
@@ -15,23 +15,35 @@
15
15
  }
16
16
 
17
17
  $width: $height;
18
- $icon-color-default: rgba(237, 240, 242, 1);
19
- $icon-color-hover: rgba(30, 45, 190, 1);
20
18
 
21
19
  cursor: pointer;
22
20
  border: none;
23
21
  background-color: var(--ilo-color-light-container-bg-inverse);
24
22
  width: $box;
25
23
  height: $box;
26
- background-position: center center;
27
- background-repeat: no-repeat;
28
- background-size: $width $height;
29
- @include dataurlicon($name, $icon-color-default);
24
+ position: relative;
25
+
26
+ &::after {
27
+ @include icon(
28
+ $name,
29
+ var(--ilo-color-light-icon-disabled),
30
+ $width $height,
31
+ center center
32
+ );
33
+ content: "";
34
+ display: block;
35
+ position: absolute;
36
+ inset: 0;
37
+ pointer-events: none;
38
+ }
30
39
 
31
40
  &:hover,
32
41
  &:focus {
33
42
  background-color: var(--ilo-color-light-feedback-info-light);
34
- @include dataurlicon($name, $icon-color-hover);
43
+
44
+ &::after {
45
+ background-color: var(--ilo-color-light-action-hover);
46
+ }
35
47
  }
36
48
  }
37
49
 
@@ -125,8 +137,8 @@
125
137
  color: var(--ilo-color-light-action-hover);
126
138
  }
127
139
 
128
- .vjs-play-control {
129
- @include dataurlicon("triangle_right", rgba(30, 45, 190, 1));
140
+ .vjs-play-control::after {
141
+ background-color: var(--ilo-color-light-action-hover);
130
142
  }
131
143
  }
132
144
 
@@ -239,7 +251,10 @@
239
251
  &:hover > .vjs-menu-button,
240
252
  &:focus-within > .vjs-menu-button {
241
253
  background-color: var(--ilo-color-light-feedback-info-light);
242
- @include dataurlicon("closed_captions", rgba(30, 45, 190, 1));
254
+
255
+ &::after {
256
+ background-color: var(--ilo-color-light-action-hover);
257
+ }
243
258
  }
244
259
 
245
260
  .vjs-menu {
@@ -430,10 +445,12 @@
430
445
  @include typography("body-xsmall");
431
446
 
432
447
  &:after {
433
- background-position: top left;
434
- background-repeat: no-repeat;
435
- background-size: contain;
436
- @include dataurlicon("caret_down", rgba(45, 45, 45, 1));
448
+ @include icon(
449
+ "caret_down",
450
+ var(--ilo-color-light-icon-default),
451
+ contain,
452
+ top left
453
+ );
437
454
  content: "";
438
455
  height: px-to-rem(12px);
439
456
  position: absolute;
@@ -1,6 +1,7 @@
1
- /**
2
- * Breakpoints are defined in scss because they can't be referenced as a css variables
3
- */
1
+ // Breakpoints are defined in scss because they can't be referenced as css
2
+ // variables. This file is part of the helpers closure, which must not emit css
3
+ // into consumer stylesheets.
4
+
4
5
  $breakpoints-foundation: (
5
6
  xs: 320px,
6
7
  sm: 414px,