@ilo-org/styles 1.2.2 → 1.3.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 (97) hide show
  1. package/css/components/accordion.css +1 -1
  2. package/css/components/blockquote.css +0 -0
  3. package/css/components/breadcrumb.css +1 -1
  4. package/css/components/button.css +1 -1
  5. package/css/components/callout.css +1 -1
  6. package/css/components/card.css +1 -1
  7. package/css/components/cardgroup.css +1 -1
  8. package/css/components/checkbox.css +1 -1
  9. package/css/components/container.css +1 -1
  10. package/css/components/contextmenu.css +1 -1
  11. package/css/components/credit.css +1 -1
  12. package/css/components/datacard.css +1 -1
  13. package/css/components/datepicker.css +1 -1
  14. package/css/components/detailcard.css +1 -1
  15. package/css/components/dropdown.css +1 -1
  16. package/css/components/empty.css +1 -1
  17. package/css/components/factlistcard.css +1 -1
  18. package/css/components/featurecard.css +1 -1
  19. package/css/components/fieldset.css +1 -1
  20. package/css/components/file-upload.css +1 -1
  21. package/css/components/footer.css +1 -1
  22. package/css/components/form.css +1 -1
  23. package/css/components/formcontrol.css +1 -1
  24. package/css/components/hero.css +1 -1
  25. package/css/components/herocard.css +1 -1
  26. package/css/components/image.css +1 -1
  27. package/css/components/input.css +1 -1
  28. package/css/components/link.css +1 -1
  29. package/css/components/linklist.css +1 -1
  30. package/css/components/list.css +1 -1
  31. package/css/components/loading.css +1 -1
  32. package/css/components/logo.css +1 -1
  33. package/css/components/logogrid.css +1 -1
  34. package/css/components/modal.css +1 -1
  35. package/css/components/multilinkcard.css +1 -1
  36. package/css/components/navigation.css +1 -1
  37. package/css/components/notification.css +1 -1
  38. package/css/components/pagination.css +1 -1
  39. package/css/components/profile.css +1 -1
  40. package/css/components/promocard.css +1 -1
  41. package/css/components/radio.css +1 -1
  42. package/css/components/readmore.css +1 -1
  43. package/css/components/richtext.css +1 -1
  44. package/css/components/searchfield.css +1 -1
  45. package/css/components/socialmedia.css +1 -1
  46. package/css/components/statcard.css +1 -1
  47. package/css/components/table.css +1 -1
  48. package/css/components/tableofcontents.css +1 -1
  49. package/css/components/tabs.css +1 -1
  50. package/css/components/tag.css +1 -1
  51. package/css/components/textarea.css +1 -1
  52. package/css/components/textcard.css +1 -1
  53. package/css/components/textinput.css +1 -1
  54. package/css/components/toggle.css +1 -1
  55. package/css/components/tooltip.css +1 -1
  56. package/css/components/video.css +1 -1
  57. package/css/global.css +1 -1
  58. package/css/global.css.map +1 -1
  59. package/css/index.css +2 -2
  60. package/css/index.css.map +1 -1
  61. package/css/monorepo.css +2 -2
  62. package/css/monorepo.css.map +1 -1
  63. package/package.json +5 -5
  64. package/scss/_mixins.scss +7 -10
  65. package/scss/_normalize.scss +5 -0
  66. package/scss/_reset.scss +6 -0
  67. package/scss/_typography.scss +0 -29
  68. package/scss/_typographymonorepo.scss +0 -29
  69. package/scss/components/_accordion.scss +3 -3
  70. package/scss/components/_blockquote.scss +112 -0
  71. package/scss/components/_breadcrumb.scss +35 -17
  72. package/scss/components/_button.scss +4 -2
  73. package/scss/components/_callout.scss +7 -7
  74. package/scss/components/_checkbox.scss +2 -1
  75. package/scss/components/_contextmenu.scss +18 -24
  76. package/scss/components/_credit.scss +2 -5
  77. package/scss/components/_datepicker.scss +1 -0
  78. package/scss/components/_detailcard.scss +16 -8
  79. package/scss/components/_dropdown.scss +20 -10
  80. package/scss/components/_featurecard.scss +4 -4
  81. package/scss/components/_fieldset.scss +5 -1
  82. package/scss/components/_footer.scss +2 -68
  83. package/scss/components/_formcontrol.scss +3 -3
  84. package/scss/components/_image.scss +4 -4
  85. package/scss/components/_linklist.scss +10 -13
  86. package/scss/components/_navigation.scss +30 -26
  87. package/scss/components/_notification.scss +16 -8
  88. package/scss/components/_pagination.scss +12 -12
  89. package/scss/components/_profile.scss +11 -8
  90. package/scss/components/_readmore.scss +2 -2
  91. package/scss/components/_richtext.scss +126 -311
  92. package/scss/components/_socialmedia.scss +30 -25
  93. package/scss/components/_table.scss +4 -3
  94. package/scss/components/_tableofcontents.scss +3 -3
  95. package/scss/components/_tooltip.scss +10 -4
  96. package/scss/components/_video.scss +11 -11
  97. package/scss/theme/_foundation.scss +40 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ilo-org/styles",
3
3
  "description": "Styles for products using ILO's Design System",
4
- "version": "1.2.2",
4
+ "version": "1.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/international-labour-organization/designsystem.git",
@@ -39,14 +39,14 @@
39
39
  "license": "Apache-2.0",
40
40
  "dependencies": {
41
41
  "@ilo-org/fonts": "1.0.0",
42
- "@ilo-org/icons": "1.1.0",
42
+ "@ilo-org/icons": "2.0.0",
43
43
  "@ilo-org/themes": "0.9.1"
44
44
  },
45
45
  "devDependencies": {
46
+ "cssnano": "^7.0.6",
46
47
  "del": "^7.0.0",
47
48
  "gulp": "^4.0.2",
48
49
  "gulp-clean-css": "^4.3.0",
49
- "gulp-cssnano": "^2.1.3",
50
50
  "gulp-postcss": "^9.0.1",
51
51
  "gulp-rename": "^2.0.0",
52
52
  "gulp-sass": "^5.1.0",
@@ -59,7 +59,7 @@
59
59
  "build:docs": "pnpm build",
60
60
  "format": "prettier --check . --ignore-path ../../.prettierignore",
61
61
  "format:fix": "prettier --write . --ignore-path ../../.prettierignore",
62
- "lint": "eslint --ext .js,.ts,.tsx",
63
- "lint:fix": "eslint --ext .js,.ts,.tsx --fix"
62
+ "lint": "eslint",
63
+ "lint:fix": "eslint --fix"
64
64
  }
65
65
  }
package/scss/_mixins.scss CHANGED
@@ -146,13 +146,14 @@
146
146
 
147
147
  @mixin dataurlicon($name, $color: $color-base-neutrals-black) {
148
148
  background-image: url("#{colortodataurlicon($name, $color)}");
149
+ background-repeat: no-repeat;
149
150
  }
150
151
 
151
152
  // ======================================
152
153
  // Video Button
153
154
  // ======================================
154
155
  @mixin videobutton($name, $size: "standard") {
155
- $height: if($size == "big", 48px, 24px);
156
+ $height: if($size == "big", 72px, 32px);
156
157
  $box: if($size == "big", 80px, 40px);
157
158
  $width: $height;
158
159
  $color: $color-ux-video-controls-default-icon;
@@ -397,15 +398,15 @@
397
398
  ul {
398
399
  li {
399
400
  position: relative;
400
- padding-inline-start: spacing(6);
401
+ padding-inline-start: spacing(8);
401
402
 
402
403
  &::before {
403
404
  content: "";
404
405
  position: absolute;
405
- height: px-to-rem(14px);
406
- width: px-to-rem(12px);
407
- top: px-to-rem(6px);
408
- @include dataurlicon("listarrow", $color-base-neutrals-light);
406
+ height: px-to-rem(24px);
407
+ width: px-to-rem(24px);
408
+ top: spacing(1);
409
+ @include dataurlicon("caret_right", $color-base-neutrals-light);
409
410
  background-repeat: no-repeat;
410
411
 
411
412
  // Left takes precedence in LTR layouts
@@ -417,10 +418,6 @@
417
418
  [dir="rtl"] & {
418
419
  transform: rotate(180deg);
419
420
  }
420
-
421
- @include breakpoint("md") {
422
- top: px-to-rem(7px);
423
- }
424
421
  }
425
422
  }
426
423
  }
@@ -1,3 +1,8 @@
1
+ /**
2
+ * In order to have consistent reset first we normalize the styles for all browsers using normalize.css
3
+ * This allows us to have a consistent base to build upon
4
+ **/
5
+
1
6
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
7
 
3
8
  /* Sections
package/scss/_reset.scss CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * This file is an opinionated reset that is based on https://nicolas-cusan.github.io/destyle.css/
3
+ * it aims to provide a clean layer for styling, the reset should be used with normalize.css in order to create
4
+ * a normalized base
5
+ **/
6
+
1
7
  *,
2
8
  ::before,
3
9
  ::after {
@@ -37,32 +37,3 @@ html[lang*="ja"] {
37
37
  --ilo-fonts-display: var(--ilo-fonts-display-jp);
38
38
  --ilo-fonts-copy: var(--ilo-fonts-copy-jp);
39
39
  }
40
-
41
- /// Suggested font weights to be used in product
42
- /// @type Map
43
- /// @access public
44
- /// @group @carbon/type
45
- $font-weights: (
46
- "light": 300,
47
- "regular": 400,
48
- "semibold": 600,
49
- "bold": 700,
50
- "extrabold": 800,
51
- ) !default;
52
-
53
- /// Retrieve the font-weight value for a given name
54
- /// @param {String} $weight
55
- /// @return {Number}
56
- /// @access public
57
- /// @group @carbon/type
58
- @function font-weight($weight) {
59
- @return map-get($font-weights, $weight);
60
- }
61
-
62
- /// Set the `font-weight` property with the value for a given name
63
- /// @param {String} $weight
64
- /// @access public
65
- /// @group @carbon/type
66
- @mixin font-weight($weight) {
67
- font-weight: font-weight($weight);
68
- }
@@ -38,32 +38,3 @@ html[lang*="ja"] {
38
38
  --ilo-fonts-display: var(--ilo-fonts-display-jp);
39
39
  --ilo-fonts-copy: var(--ilo-fonts-copy-jp);
40
40
  }
41
-
42
- /// Suggested font weights to be used in product
43
- /// @type Map
44
- /// @access public
45
- /// @group @carbon/type
46
- $font-weights: (
47
- "light": 300,
48
- "regular": 400,
49
- "semibold": 600,
50
- "bold": 700,
51
- "extrabold": 800,
52
- ) !default;
53
-
54
- /// Retrieve the font-weight value for a given name
55
- /// @param {String} $weight
56
- /// @return {Number}
57
- /// @access public
58
- /// @group @carbon/type
59
- @function font-weight($weight) {
60
- @return map-get($font-weights, $weight);
61
- }
62
-
63
- /// Set the `font-weight` property with the value for a given name
64
- /// @param {String} $weight
65
- /// @access public
66
- /// @group @carbon/type
67
- @mixin font-weight($weight) {
68
- font-weight: font-weight($weight);
69
- }
@@ -34,7 +34,7 @@
34
34
  font-weight: $type-weights-section;
35
35
  transition: all $transition-timing ease-in-out;
36
36
  @include font-styles("label-medium");
37
- @include dataurlicon("add", $color-ux-labels-actionable);
37
+ @include dataurlicon("plus", $color-ux-labels-actionable);
38
38
 
39
39
  &__large {
40
40
  @include font-styles("headline-6");
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  &[aria-expanded="false"] {
58
- @include dataurlicon("add", $color-ux-labels-hover);
58
+ @include dataurlicon("plus", $color-ux-labels-hover);
59
59
  }
60
60
  }
61
61
 
@@ -75,7 +75,7 @@
75
75
  }
76
76
 
77
77
  &[aria-expanded="false"] {
78
- @include dataurlicon("add", $color-ux-labels-actionable);
78
+ @include dataurlicon("plus", $color-ux-labels-actionable);
79
79
  }
80
80
 
81
81
  [dir="rtl"] & {
@@ -0,0 +1,112 @@
1
+ @use "../tokens" as *;
2
+ @use "../functions" as *;
3
+ @import "../mixins";
4
+
5
+ /**
6
+ This mixin is used in _richtext.scss component to style blockquotes.
7
+ It could eventually be used for a standalone blockquote component.
8
+ **/
9
+ @mixin blockquote {
10
+ blockquote {
11
+ background-color: $color-ux-background-highlight;
12
+ background-position: right top;
13
+ background-repeat: no-repeat;
14
+ background-size: px-to-rem(72px) px-to-rem(40px);
15
+ display: block;
16
+ font-family: var(--ilo-fonts-display);
17
+ padding: spacing(19) 0 spacing(9) spacing(8); // check
18
+ position: relative;
19
+ width: fit-content;
20
+ @include cornercut(72px, 40px);
21
+
22
+ p {
23
+ color: $color-font-blockquote;
24
+ font-weight: 300;
25
+ padding: 0 spacing(12) 0 0;
26
+ position: relative;
27
+ @include font-styles("pull-quote-sm");
28
+
29
+ &:after {
30
+ background-repeat: no-repeat;
31
+ bottom: 0;
32
+ content: "";
33
+ display: inline-block;
34
+ height: px-to-rem(20px);
35
+ position: absolute;
36
+ right: 0;
37
+ transform: scaleX(-1);
38
+ width: px-to-rem(26.5px);
39
+ @include dataurlicon("quote", $color-font-blockquote);
40
+ }
41
+ }
42
+
43
+ cite {
44
+ color: $color-font-cite;
45
+ font-weight: 400;
46
+ @include font-styles("pull-quote-cite");
47
+ }
48
+
49
+ &:before {
50
+ background-repeat: no-repeat;
51
+ content: "";
52
+ display: inline-block;
53
+ height: px-to-rem(40px);
54
+ left: 0;
55
+ position: absolute;
56
+ width: px-to-rem(53px);
57
+ top: 0;
58
+ @include dataurlicon("quote", $color-font-blockquote);
59
+ }
60
+
61
+ @include breakpoint("md") {
62
+ background-size: px-to-rem(86px) px-to-rem(48px);
63
+ padding: spacing(16) 0 spacing(12) spacing(12);
64
+ @include cornercut(86px, 48px);
65
+
66
+ p {
67
+ margin-bottom: spacing(6);
68
+ padding: 0 spacing(12) 0 0;
69
+ position: relative;
70
+ @include font-styles("pull-quote-lg");
71
+
72
+ &:after {
73
+ height: px-to-rem(24px);
74
+ width: px-to-rem(32px);
75
+ }
76
+ }
77
+
78
+ &:before {
79
+ height: px-to-rem(48px);
80
+ width: px-to-rem(64px);
81
+ }
82
+ }
83
+
84
+ [dir="rtl"] & {
85
+ background-position: -1px -1px;
86
+ padding: spacing(14) spacing(8) spacing(9) 0;
87
+ @include cornercut(72px, 40px, "left");
88
+
89
+ p {
90
+ padding: 0 0 0 spacing(12);
91
+
92
+ &:after {
93
+ left: 0;
94
+ right: auto;
95
+ transform: scaleX(1);
96
+ }
97
+ }
98
+
99
+ &:before {
100
+ left: auto;
101
+ right: 0;
102
+ transform: scaleX(-1);
103
+ }
104
+
105
+ @include breakpoint("md") {
106
+ padding: spacing(15) spacing(12) spacing(12) 0;
107
+
108
+ @include cornercut(86px, 48px, "left");
109
+ }
110
+ }
111
+ }
112
+ }
@@ -16,7 +16,7 @@
16
16
  padding-inline-start: var(--breadcrumb-padding);
17
17
  padding-inline-end: spacing(12);
18
18
  padding-block: spacing(4);
19
- background-color: $color-base-neutrals-white;
19
+ background-color: var(--ilo-color-white);
20
20
  @include cornercut(spacing(12), 100%, "right", "bottom");
21
21
 
22
22
  [dir="rtl"] & {
@@ -34,15 +34,26 @@
34
34
 
35
35
  &--item,
36
36
  &--context__collapse {
37
- background-repeat: no-repeat;
38
- @include dataurlicon("breadcrumbdivider", $color-link-text-default);
39
- background-position: left;
40
- padding-inline: spacing(6) spacing(4);
37
+ padding-inline: spacing(7) spacing(1);
38
+ position: relative;
39
+
40
+ &:before {
41
+ content: "";
42
+ left: 0;
43
+ position: absolute;
44
+ background-repeat: no-repeat;
45
+ @include dataurlicon("chevron_right", $color-link-text-default);
46
+ background-position: left;
47
+ background-size: px-to-rem(24px);
48
+ height: px-to-rem(24px);
49
+ width: px-to-rem(24px);
50
+ }
41
51
 
42
52
  [dir="rtl"] & {
43
53
  background-position: right;
44
54
  background-repeat: no-repeat;
45
- @include dataurlicon("breadcrumbdividerrtl", $color-link-text-default);
55
+ background-size: px-to-rem(24px);
56
+ @include dataurlicon("chevron_left", $color-link-text-default);
46
57
  }
47
58
  }
48
59
 
@@ -57,15 +68,15 @@
57
68
  border: none;
58
69
  background-position: center center;
59
70
  background-repeat: no-repeat;
60
- background-size: 16px 4px;
61
71
  position: relative;
62
- width: px-to-rem(42px);
63
- height: px-to-rem(16px);
64
- @include dataurlicon("elipsis", $color-link-text-default);
72
+ width: px-to-rem(24px);
73
+ height: px-to-rem(24px);
74
+ background-size: px-to-rem(24px);
75
+ @include dataurlicon("dot_menu", $color-link-text-default);
65
76
 
66
77
  &:hover {
67
78
  cursor: pointer;
68
- @include dataurlicon("elipsis", $color-base-blue-medium);
79
+ @include dataurlicon("dot_menu", $color-base-blue-medium);
69
80
  }
70
81
  }
71
82
 
@@ -81,7 +92,7 @@
81
92
  }
82
93
 
83
94
  &__collapse {
84
- padding-inline: spacing(3) spacing(1);
95
+ padding-inline: spacing(6) 0;
85
96
 
86
97
  #{$breadcrumb}--items {
87
98
  display: none;
@@ -101,16 +112,23 @@
101
112
  align-items: center;
102
113
  display: flex;
103
114
  position: relative;
104
- // Make sure arrow doesn't appear before house even in RTL
105
- background: none !important;
106
115
  // Make sure the outline is visible when focused
107
116
  padding-inline-start: 2px;
117
+ width: px-to-rem(24px);
118
+ height: px-to-rem(24px);
119
+
120
+ // No chevron befor the home icon
121
+ &:before {
122
+ content: none;
123
+ }
108
124
 
109
125
  &:hover,
110
126
  &:focus {
111
127
  #{$breadcrumb}--link {
112
128
  &:after {
113
129
  @include dataurlicon("home", $color-link-text-hover);
130
+ width: px-to-rem(24px);
131
+ height: px-to-rem(24px);
114
132
  }
115
133
  }
116
134
  }
@@ -126,11 +144,11 @@
126
144
  background-repeat: no-repeat;
127
145
  content: "";
128
146
  display: block;
129
- height: px-to-rem(16px);
130
147
  left: 0;
131
- position: absolute;
132
148
  top: 0;
133
- width: px-to-rem(16px);
149
+ height: px-to-rem(24px);
150
+ width: px-to-rem(24px);
151
+ background-size: px-to-rem(24px);
134
152
  @include dataurlicon("home", $color-link-text-default);
135
153
  }
136
154
  }
@@ -236,14 +236,16 @@
236
236
  &:focus {
237
237
  background-color: var(--ilo-color-background-focus);
238
238
  border: var(--ilo-border-md) var(--ilo-color-borders-focus) solid;
239
- box-shadow: 4px 4px 0 1px var(--ilo-color-borders-focus) inset,
239
+ box-shadow:
240
+ 4px 4px 0 1px var(--ilo-color-borders-focus) inset,
240
241
  -4px -4px 0 1px var(--ilo-color-borders-focus) inset;
241
242
  color: var(--ilo-button-labels-focus-color);
242
243
  outline: none;
243
244
  @include globaltransition("color, background-color, border-color");
244
245
 
245
246
  &.#{$prefix}--small {
246
- box-shadow: 3px 3px 0 1px var(--ilo-color-borders-focus) inset,
247
+ box-shadow:
248
+ 3px 3px 0 1px var(--ilo-color-borders-focus) inset,
247
249
  -3px -3px 0 1px var(--ilo-color-borders-focus) inset;
248
250
  }
249
251
  }
@@ -69,7 +69,7 @@
69
69
  position: relative;
70
70
 
71
71
  &__icon {
72
- @include dataurlicon("arrow", $brand-ilo-dark-blue);
72
+ @include dataurlicon("chevron_down", $brand-ilo-dark-blue);
73
73
 
74
74
  background-position: right;
75
75
  background-repeat: no-repeat;
@@ -92,27 +92,27 @@
92
92
  background-repeat: no-repeat;
93
93
  background-size: contain;
94
94
  display: block;
95
- height: 16px;
96
- width: 16px;
95
+ height: px-to-rem(24px);
96
+ width: px-to-rem(24px);
97
97
 
98
98
  &__error {
99
99
  background-color: var(--ilo-color-notification-type-error);
100
- @include dataurlicon("error", "white");
100
+ @include dataurlicon("notification_error", "white");
101
101
  }
102
102
 
103
103
  &__info {
104
104
  background-color: var(--ilo-color-notification-type-info);
105
- @include dataurlicon("info", "white");
105
+ @include dataurlicon("notification_info", "white");
106
106
  }
107
107
 
108
108
  &__success {
109
109
  background-color: var(--ilo-color-notification-type-success);
110
- @include dataurlicon("success", "white");
110
+ @include dataurlicon("notification_success", "white");
111
111
  }
112
112
 
113
113
  &__warning {
114
114
  background-color: var(--ilo-color-notification-type-warning);
115
- @include dataurlicon("warning", "white");
115
+ @include dataurlicon("notification_warning", "white");
116
116
  }
117
117
  }
118
118
 
@@ -45,7 +45,8 @@
45
45
  background-repeat: no-repeat;
46
46
  background-size: contain;
47
47
  background-position: center center;
48
- @include dataurlicon("checkmark", $color-base-neutrals-lighter);
48
+ background-size: 24px;
49
+ @include dataurlicon("check", $color-base-neutrals-lighter);
49
50
  }
50
51
 
51
52
  &:after {
@@ -4,37 +4,35 @@
4
4
 
5
5
  .ilo--context-menu {
6
6
  border-radius: px-to-rem(2px);
7
- background-color: $color-ux-background-highlight;
7
+ background-color: var(--ilo-color-gray-light);
8
8
  display: inline-block;
9
9
  position: relative;
10
10
  width: auto;
11
11
  list-style: none;
12
12
 
13
13
  &:before {
14
- background-position: top center;
15
- background-repeat: no-repeat;
16
- background-size: contain;
17
- @include dataurlicon("halfsquaretriangle", $color-ux-background-highlight);
18
14
  content: "";
19
- height: px-to-rem(12px);
20
15
  position: absolute;
21
- left: 50%;
22
- top: -#{px-to-rem(6px)};
23
- transform: translateX(-50%) rotate(135deg);
24
- width: px-to-rem(12px);
16
+ left: calc(50% - 5px);
17
+ top: px-to-rem(-5px);
18
+ width: 0;
19
+ height: 0;
20
+ border-left: px-to-rem(10px) solid transparent;
21
+ border-right: px-to-rem(10px) solid transparent;
22
+ border-bottom: px-to-rem(12px) solid var(--ilo-color-gray-light);
25
23
  }
26
24
 
27
25
  &--item {
28
26
  padding: 0 spacing(2);
29
27
 
30
28
  &:first-of-type {
31
- border-top-left-radius: 2px;
32
- border-top-right-radius: 2px;
29
+ border-top-left-radius: px-to-rem(2px);
30
+ border-top-right-radius: px-to-rem(2px);
33
31
  }
34
32
 
35
33
  &:last-of-type {
36
- border-bottom-left-radius: 2px;
37
- border-bottom-right-radius: 2px;
34
+ border-bottom-left-radius: px-to-rem(2px);
35
+ border-bottom-right-radius: px-to-rem(2px);
38
36
 
39
37
  a {
40
38
  border-bottom: none;
@@ -43,11 +41,11 @@
43
41
 
44
42
  &:hover,
45
43
  &:focus {
46
- background-color: $color-base-blue-light;
44
+ background-color: var(--ilo-color-blue-lighter);
47
45
  }
48
46
 
49
47
  &.endsection {
50
- border-bottom: px-to-rem(3px) solid $color-base-neutrals-white;
48
+ border-bottom: px-to-rem(3px) solid var(--ilo-color-white);
51
49
 
52
50
  .ilo--context-menu--link {
53
51
  border-bottom: none;
@@ -56,8 +54,8 @@
56
54
  }
57
55
 
58
56
  &--link {
59
- border-bottom: px-to-rem($borders-base) solid $color-base-neutrals-white;
60
- color: map-get($color, "link", "text", "default");
57
+ border-bottom: px-to-rem($borders-base) solid var(--ilo-color-white);
58
+ color: var(--ilo-color-blue-dark);
61
59
  display: inline-block;
62
60
  font-family: var(--ilo-fonts-copy);
63
61
  font-weight: map-get($type, "weights", "section");
@@ -67,18 +65,14 @@
67
65
  @include font-styles("body-xxs");
68
66
  letter-spacing: -0.1px;
69
67
 
70
- &:visited {
71
- color: map-get($color, "link", "text", "default");
72
- }
73
-
74
68
  &:active {
75
- color: map-get($color, "link", "text", "active");
69
+ color: var(--ilo-color-blue);
76
70
  outline: none;
77
71
  }
78
72
 
79
73
  &:hover,
80
74
  &:focus {
81
- color: map-get($color, "link", "text", "hover");
75
+ color: var(--ilo-color-blue);
82
76
  outline: none;
83
77
  text-decoration: underline;
84
78
  text-decoration-thickness: px-to-rem($borders-base);
@@ -43,7 +43,7 @@
43
43
  background-position: top left;
44
44
  background-repeat: no-repeat;
45
45
  background-size: contain;
46
- @include dataurlicon("equilateraltriangle", $color-base-neutrals-dark);
46
+ @include dataurlicon("caretdown", $color-base-neutrals-dark);
47
47
  content: "";
48
48
  height: px-to-rem(map-get($spacing, "padding-1-5"));
49
49
  position: absolute;
@@ -95,10 +95,7 @@
95
95
 
96
96
  &:after {
97
97
  background-position: top right;
98
- @include dataurlicon(
99
- "equilateraltriangle",
100
- $color-base-neutrals-dark
101
- );
98
+ @include dataurlicon("caretdown", $color-base-neutrals-dark);
102
99
  left: auto;
103
100
  right: calc(#{px-to-rem(map-get($spacing, "padding-1-5"))} / 2);
104
101
  }
@@ -11,5 +11,6 @@
11
11
  }
12
12
 
13
13
  .ilo--input.ilo--datepicker {
14
+ line-height: 1;
14
15
  padding: spacing(3) spacing(4) spacing(3);
15
16
  }
@@ -37,7 +37,11 @@
37
37
 
38
38
  #{$self}--date-extra {
39
39
  &::before {
40
- @include dataurlicon("equilateraltriangle", $brand-ilo-blue);
40
+ @include dataurlicon("caret_right", $brand-ilo-blue);
41
+
42
+ [dir="rtl"] & {
43
+ @include dataurlicon("caret_left", $brand-ilo-blue);
44
+ }
41
45
  }
42
46
  }
43
47
  }
@@ -136,20 +140,24 @@
136
140
  #{$self}--date-extra {
137
141
  @include font-styles("body-small");
138
142
  margin-bottom: 0;
139
- padding-left: spacing(6);
143
+ padding-inline-start: spacing(5);
140
144
  position: relative;
141
145
 
142
146
  &::before {
143
147
  background-repeat: no-repeat;
144
148
  content: "";
145
149
  display: inline-block;
146
- height: px-to-rem(14px);
147
- left: 0;
150
+ height: px-to-rem(24px);
151
+ left: -8px;
152
+ top: 0;
148
153
  position: absolute;
149
- top: 50%;
150
- transform: rotate(-90deg) translateX(50%);
151
- width: px-to-rem(12px);
152
- @include dataurlicon("equilateraltriangle", $brand-ilo-black);
154
+ width: px-to-rem(24px);
155
+ @include dataurlicon("caret_right", $brand-ilo-black);
156
+
157
+ [dir="rtl"] & {
158
+ @include dataurlicon("caret_left", $brand-ilo-black);
159
+ right: -8px;
160
+ }
153
161
  }
154
162
  }
155
163