@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
@@ -6,7 +6,6 @@
6
6
  .ilo--social-media {
7
7
  $c: &;
8
8
  $default-theme: "light";
9
- $icon-size: $spacing-spacing-4;
10
9
 
11
10
  @mixin get-icon($icon, $theme: $default-theme) {
12
11
  @include dataurlicon(
@@ -49,7 +48,19 @@
49
48
  &--list {
50
49
  display: inline-flex;
51
50
  flex-flow: row wrap;
52
- gap: spacing(4);
51
+ gap: spacing(5);
52
+ $list: &;
53
+
54
+ &__size {
55
+ &__large {
56
+ gap: spacing(6);
57
+
58
+ & #{$list}--item--icon {
59
+ height: px-to-rem(36px);
60
+ width: px-to-rem(36px);
61
+ }
62
+ }
63
+ }
53
64
 
54
65
  &--item {
55
66
  display: inline-block;
@@ -59,20 +70,14 @@
59
70
  &--icon {
60
71
  background-position: center;
61
72
  background-repeat: no-repeat;
62
- background-size: auto #{$icon-size};
73
+
63
74
  text-indent: -999px;
64
75
  border-radius: 2px;
65
76
  display: inline-block;
66
- height: px-to-rem($icon-size + 8px);
67
- width: px-to-rem($icon-size + 8px);
77
+ height: px-to-rem(24px);
78
+ width: px-to-rem(24px);
68
79
  transition: all 0.1s ease-in-out;
69
80
 
70
- &__large {
71
- background-size: auto px-to-rem(24px);
72
- height: px-to-rem(36px);
73
- width: px-to-rem(36px);
74
- }
75
-
76
81
  &:hover {
77
82
  background-color: map-get(
78
83
  $color,
@@ -94,58 +99,58 @@
94
99
  }
95
100
 
96
101
  &__facebook {
97
- @include get-icon("facebook");
102
+ @include get-icon("social_facebook");
98
103
 
99
104
  #{$c}__theme__dark & {
100
- @include get-icon("facebook", "dark");
105
+ @include get-icon("social_facebook", "dark");
101
106
  }
102
107
  }
103
108
 
104
109
  &__x {
105
- @include get-icon("x");
110
+ @include get-icon("social_x");
106
111
 
107
112
  #{$c}__theme__dark & {
108
- @include get-icon("x", "dark");
113
+ @include get-icon("social_x", "dark");
109
114
  }
110
115
  }
111
116
 
112
117
  &__instagram {
113
- @include get-icon("instagram");
118
+ @include get-icon("social_instagram");
114
119
 
115
120
  #{$c}__theme__dark & {
116
- @include get-icon("instagram", "dark");
121
+ @include get-icon("social_instagram", "dark");
117
122
  }
118
123
  }
119
124
 
120
125
  &__youtube {
121
- @include get-icon("youtube");
126
+ @include get-icon("social_youtube");
122
127
 
123
128
  #{$c}__theme__dark & {
124
- @include get-icon("youtube", "dark");
129
+ @include get-icon("social_youtube", "dark");
125
130
  }
126
131
  }
127
132
 
128
133
  &__linkedin {
129
- @include get-icon("linkedin");
134
+ @include get-icon("social_linkedin");
130
135
 
131
136
  #{$c}__theme__dark & {
132
- @include get-icon("linkedin", "dark");
137
+ @include get-icon("social_linkedin", "dark");
133
138
  }
134
139
  }
135
140
 
136
141
  &__flickr {
137
- @include get-icon("flickr");
142
+ @include get-icon("social_flickr");
138
143
 
139
144
  #{$c}__theme__dark & {
140
- @include get-icon("flickr", "dark");
145
+ @include get-icon("social_flickr", "dark");
141
146
  }
142
147
  }
143
148
 
144
149
  &__tiktok {
145
- @include get-icon("tiktok");
150
+ @include get-icon("social_tiktok");
146
151
 
147
152
  #{$c}__theme__dark & {
148
- @include get-icon("tiktok", "dark");
153
+ @include get-icon("social_tiktok", "dark");
149
154
  }
150
155
  }
151
156
  }
@@ -27,7 +27,8 @@
27
27
 
28
28
  &--head {
29
29
  background-color: $color-ux-table-content-background;
30
- box-shadow: 0px 0.8px 1.6px rgba(30, 45, 190, 0.038),
30
+ box-shadow:
31
+ 0px 0.8px 1.6px rgba(30, 45, 190, 0.038),
31
32
  0px 4px 8px rgba(30, 45, 190, 0.054),
32
33
  0px 10px 20px rgba(30, 45, 190, 0.08),
33
34
  0px -4px 16px rgba(30, 45, 190, 0.054);
@@ -64,7 +65,7 @@
64
65
 
65
66
  &:after {
66
67
  background-color: $color-base-neutrals-lighter;
67
- background-image: url("#{colortodataurlicon("arrow", $color-ux-labels-actionable)}");
68
+ background-image: url("#{colortodataurlicon('chevron_down', $color-ux-labels-actionable)}");
68
69
  background-position: center center;
69
70
  background-repeat: no-repeat;
70
71
  background-size: 75%;
@@ -86,7 +87,7 @@
86
87
 
87
88
  &:after {
88
89
  background-color: $color-base-blue-light;
89
- background-image: url("#{colortodataurlicon("arrow", $color-base-blue-medium)}");
90
+ background-image: url("#{colortodataurlicon('chevron_down', $color-base-blue-medium)}");
90
91
  }
91
92
  }
92
93
 
@@ -139,7 +139,7 @@
139
139
  position: relative;
140
140
  text-decoration: none;
141
141
  width: calc(100% - 16px);
142
- @include dataurlicon("stemarrow", $color-ux-labels-actionable);
142
+ @include dataurlicon("arrow_down", $color-ux-labels-actionable);
143
143
  @include font-styles("label-medium");
144
144
  @include globaltransition("background-color, border, color");
145
145
 
@@ -155,7 +155,7 @@
155
155
  padding: spacing(4) spacing(4) spacing(4);
156
156
  padding-inline-end: spacing(12);
157
157
  width: 100%;
158
- @include dataurlicon("stemarrow", $color-ux-labels-hover);
158
+ @include dataurlicon("arrow_down", $color-ux-labels-hover);
159
159
  @include globaltransition("background-color, border, color");
160
160
  }
161
161
 
@@ -172,7 +172,7 @@
172
172
  padding-inline-end: spacing(12);
173
173
  width: 100%;
174
174
  @include dataurlicon(
175
- "stemarrow",
175
+ "arrow_down",
176
176
  $color-ux-tableofcontents-items-active-icon
177
177
  );
178
178
  z-index: 5;
@@ -82,12 +82,18 @@
82
82
  &__icon {
83
83
  background-repeat: no-repeat;
84
84
  background-size: cover;
85
- height: spacing(4);
86
- min-width: spacing(4);
87
- @include dataurlicon("info", $color-ux-labels-actionable);
85
+ height: px-to-rem(20px);
86
+ min-width: px-to-rem(20px);
87
+ @include dataurlicon(
88
+ "notification_info_outlined",
89
+ $color-ux-labels-actionable
90
+ );
88
91
 
89
92
  &#{&}__theme__dark {
90
- @include dataurlicon("info", $color-tooltip-dark-icon);
93
+ @include dataurlicon(
94
+ "notification_info_outlined",
95
+ $color-tooltip-dark-icon
96
+ );
91
97
  }
92
98
  }
93
99
  }
@@ -95,12 +95,15 @@
95
95
  }
96
96
 
97
97
  .vjs-play-control {
98
- @include dataurlicon("play", $color-ux-video-controls-hover-icon);
98
+ @include dataurlicon(
99
+ "triangle_right",
100
+ $color-ux-video-controls-hover-icon
101
+ );
99
102
  }
100
103
  }
101
104
 
102
105
  .vjs-play-control {
103
- @include videobutton("play");
106
+ @include videobutton("triangle_right");
104
107
  }
105
108
 
106
109
  .vjs-duration {
@@ -121,7 +124,7 @@
121
124
  height: px-to-rem(124px);
122
125
  gap: px-to-rem(4px);
123
126
  .vjs-play-control {
124
- @include videobutton("play", "big");
127
+ @include videobutton("triangle_right", "big");
125
128
  }
126
129
  }
127
130
  }
@@ -163,11 +166,11 @@
163
166
 
164
167
  // Play Button
165
168
  .vjs-play-control {
166
- @include videobutton("play");
169
+ @include videobutton("triangle_right");
167
170
  margin-right: px-to-rem(2px);
168
171
  &.vjs-paused,
169
172
  &.vjs-ended {
170
- @include videobutton("play");
173
+ @include videobutton("triangle_right");
171
174
  }
172
175
 
173
176
  &.vjs-playing {
@@ -243,10 +246,7 @@
243
246
  background-position: top left;
244
247
  background-repeat: no-repeat;
245
248
  background-size: contain;
246
- @include dataurlicon(
247
- "equilateraltriangle",
248
- $color-base-neutrals-dark
249
- );
249
+ @include dataurlicon("caret_down", $color-base-neutrals-dark);
250
250
  content: "";
251
251
  height: px-to-rem(12px);
252
252
  position: absolute;
@@ -271,11 +271,11 @@
271
271
 
272
272
  // Mute Button
273
273
  .vjs-mute-control {
274
- @include videobutton("volume");
274
+ @include videobutton("videosoundon");
275
275
  height: px-to-rem(40px);
276
276
 
277
277
  &[title="Unmute"] {
278
- @include videobutton("muted");
278
+ @include videobutton("videosoundoff");
279
279
  }
280
280
  }
281
281
 
@@ -30,7 +30,6 @@
30
30
  * Colors
31
31
  */
32
32
  --ilo-color-white: rgba(255, 255, 255, 1);
33
-
34
33
  --ilo-color-blue: rgba(30, 45, 190, 1);
35
34
  --ilo-color-blue-lighter: rgba(235, 245, 253, 1);
36
35
  --ilo-color-blue-light: rgba(190, 220, 250, 1);
@@ -38,27 +37,21 @@
38
37
  --ilo-color-blue-medium: rgba(210, 213, 242, 1);
39
38
  --ilo-color-blue-ramp: rgba(30, 45, 190, 0.4);
40
39
  --ilo-color-blue-dark-ramp: rgba(35, 0, 80, 0.5);
41
-
42
40
  --ilo-color-gray-charcoal: rgba(45, 45, 45, 1);
43
41
  --ilo-color-gray-accessible: rgba(109, 109, 109, 1);
44
42
  --ilo-color-gray-light: rgba(237, 240, 242, 1);
45
43
  --ilo-color-gray-base: rgba(184, 196, 204, 1);
46
-
47
44
  --ilo-color-red: rgba(250, 60, 75, 1);
48
45
  --ilo-color-red-light: rgba(254, 216, 219, 1);
49
46
  --ilo-color-red-dark: rgba(200, 48, 60, 1);
50
47
  --ilo-color-red-ramp: rgba(250, 60, 75, 0.2);
51
-
52
48
  --ilo-color-yellow: rgba(255, 205, 45, 1);
53
49
  --ilo-color-yellow-light: rgba(255, 245, 200, 1);
54
50
  --ilo-color-yellow-ramp: rgba(255, 205, 45, 0.2);
55
-
56
51
  --ilo-color-green: rgba(140, 225, 100, 1);
57
52
  --ilo-color-green-light: rgba(232, 249, 224, 1);
58
53
  --ilo-color-green-ramp: rgba(140, 225, 100, 0.2);
59
-
60
54
  --ilo-color-turquoise: rgba(5, 210, 210, 1);
61
-
62
55
  --ilo-color-purple: rgba(150, 10, 85, 1);
63
56
 
64
57
  --ilo-color-notification-type-error: var(--ilo-color-red);
@@ -87,6 +80,46 @@
87
80
  --ilo-breakpoint-xxl: #{map-get($breakpoints-foundation, "xxl")};
88
81
  --ilo-border-radius: calc(#{px-to-rem(2)} * var(--ilo-scale));
89
82
 
83
+ /**
84
+ * Font-size
85
+ */
86
+
87
+ --ilo-font-size-2xsm: calc(#{px-to-rem(10)} * var(--ilo-scale));
88
+ --ilo-font-size-xsm: calc(#{px-to-rem(12)} * var(--ilo-scale));
89
+ --ilo-font-size-sm: calc(#{px-to-rem(14)} * var(--ilo-scale));
90
+ --ilo-font-size-md: calc(#{px-to-rem(16)} * var(--ilo-scale));
91
+ --ilo-font-size-lg: calc(#{px-to-rem(18)} * var(--ilo-scale));
92
+ --ilo-font-size-xlg: calc(#{px-to-rem(24)} * var(--ilo-scale));
93
+ --ilo-font-size-2xlg: calc(#{px-to-rem(28)} * var(--ilo-scale));
94
+ --ilo-font-size-3xlg: calc(#{px-to-rem(32)} * var(--ilo-scale));
95
+ --ilo-font-size-4xlg: calc(#{px-to-rem(36)} * var(--ilo-scale));
96
+ --ilo-font-size-5xlg: calc(#{px-to-rem(44)} * var(--ilo-scale));
97
+
98
+ /**
99
+ * Font-weight
100
+ */
101
+ --ilo-font-weight-regular: 400;
102
+ --ilo-font-weight-bold: 700;
103
+
104
+ /**
105
+ * Line Height
106
+ */
107
+ --ilo-line-height-xsm: 115%;
108
+ --ilo-line-height-sm: 120%;
109
+ --ilo-line-height-md: 125%;
110
+ --ilo-line-height-lg: 130%;
111
+ --ilo-line-height-xlg: 135%;
112
+ --ilo-line-height-2xlg: 145%;
113
+ --ilo-line-height-3xlg: 150%;
114
+
115
+ /**
116
+ * Letter spacing
117
+ */
118
+ --ilo-letter-spacing-xsm: -3.5%;
119
+ --ilo-letter-spacing-sm: -2%;
120
+ --ilo-letter-spacing-md: 0;
121
+ --ilo-letter-spacing-lg: 2%;
122
+
90
123
  /**
91
124
  * Spacing
92
125
  */