@eui/styles 21.0.0-alpha.7 → 21.0.0-alpha.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.
- package/dist/base/01-base/mixins/_accessibility.mixins.scss +2 -2
- package/dist/base/01-base/mixins/_eui-input.scss +2 -2
- package/dist/base/01-base/mixins/_loading-indicator.scss +2 -2
- package/dist/base/02-tokens/maps.scss +79 -154
- package/dist/base/03-vars/vars.scss +16 -3
- package/dist/base/05-assets/flags/_icons-generics.scss +6 -6
- package/dist/base/99-utilities/default/tokens/_typography.scss +10 -10
- package/dist/eui-base.css +1 -1
- package/dist/eui-base.css.map +1 -1
- package/dist/eui-extra-vars.css +1 -1
- package/dist/eui-extra-vars.css.map +1 -1
- package/dist/eui-icons-flags.css +1 -1
- package/dist/eui-icons-flags.css.map +1 -1
- package/dist/eui-showcase-all.css +1 -1
- package/dist/eui-showcase-all.css.map +1 -1
- package/dist/eui-theme-compact.css +1 -1
- package/dist/eui-theme-compact.css.map +1 -1
- package/dist/eui-utilities-extras.css +1 -1
- package/dist/eui-utilities-extras.css.map +1 -1
- package/dist/eui-utilities.css +1 -1
- package/dist/eui-utilities.css.map +1 -1
- package/dist/eui.css +1 -1
- package/dist/eui.css.map +1 -1
- package/package.json +1 -1
|
@@ -68,10 +68,10 @@ $outline-size: 2px;
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@mixin eui-accessible-focus-border() {
|
|
71
|
-
border-left: var(--eui-s-
|
|
71
|
+
border-left: var(--eui-s-3xs) solid transparent;
|
|
72
72
|
|
|
73
73
|
&:focus:not([readonly]) {
|
|
74
|
-
border: var(--eui-s-
|
|
74
|
+
border: var(--eui-s-3xs) solid var(--eui-c-focus-visible) !important;
|
|
75
75
|
transition: none;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&--loading {
|
|
63
|
-
padding-right: var(--eui-s-
|
|
63
|
+
padding-right: var(--eui-s-6xl);
|
|
64
64
|
|
|
65
65
|
&-icon {
|
|
66
66
|
@include loadingIndicator.loading-indicator();
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&--clearable {
|
|
71
|
-
padding-right: var(--eui-s-
|
|
71
|
+
padding-right: var(--eui-s-6xl);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&::before {
|
|
15
|
-
border: var(--eui-s-
|
|
15
|
+
border: var(--eui-s-3xs) solid rgba(0, 0, 0, 0.35);
|
|
16
16
|
border-radius: 100%;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
border-color: var(--eui-c-white) transparent transparent;
|
|
23
23
|
border-radius: 100%;
|
|
24
24
|
border-style: solid;
|
|
25
|
-
border-width: var(--eui-s-
|
|
25
|
+
border-width: var(--eui-s-3xs);
|
|
26
26
|
box-shadow: 0 0 0 1px transparent;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -88,23 +88,44 @@ $opacity-map: (
|
|
|
88
88
|
|
|
89
89
|
// SPACING
|
|
90
90
|
|
|
91
|
+
// $old-spacing-map: (
|
|
92
|
+
// none: 0,
|
|
93
|
+
// 4xs: 0.0625rem, // => 5xs
|
|
94
|
+
// 3xs: 0.125rem, // => 4xs
|
|
95
|
+
// 2xs: 0.25rem, // => 3xs
|
|
96
|
+
// xs: 0.5rem, // ======
|
|
97
|
+
// s: 0.75rem, // ======
|
|
98
|
+
// m: 1rem, // ======
|
|
99
|
+
// l: 1.25rem, // ======
|
|
100
|
+
// xl: 1.5rem, // ======
|
|
101
|
+
// 2xl: 2rem, // => 3xl
|
|
102
|
+
// 3xl: 2.5rem, // => 5xl
|
|
103
|
+
// 4xl: 3rem, // => 6xl
|
|
104
|
+
// 5xl: 3.5rem, // => 7xl
|
|
105
|
+
// 6xl: 4rem, // => 8xl
|
|
106
|
+
// 7xl: 5rem // => 10xl
|
|
107
|
+
// );
|
|
108
|
+
|
|
91
109
|
$spacing-map: (
|
|
92
|
-
none: 0,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
none: 0,
|
|
111
|
+
5xs: 0.0625rem, // 4xs
|
|
112
|
+
4xs: 0.125rem, // 3xs
|
|
113
|
+
3xs: 0.25rem, // 2xs
|
|
114
|
+
2xs: 0.375rem,
|
|
115
|
+
xs: 0.5rem, // ==
|
|
116
|
+
s: 0.75rem, // ==
|
|
117
|
+
m: 1rem, // ==
|
|
118
|
+
l: 1.25rem, // ==
|
|
119
|
+
xl: 1.5rem, // ==
|
|
120
|
+
2xl: 1.75rem, //
|
|
121
|
+
3xl: 2rem, // 2xl
|
|
122
|
+
4xl: 2.25rem, //
|
|
123
|
+
5xl: 2.5rem, // 3xl
|
|
124
|
+
6xl: 3rem, // 4xl
|
|
125
|
+
7xl: 3.5rem, // 5xl
|
|
126
|
+
8xl: 4rem, // 6xl
|
|
127
|
+
9xl: 4.5rem,
|
|
128
|
+
10xl: 5rem, // 7xl
|
|
108
129
|
);
|
|
109
130
|
|
|
110
131
|
|
|
@@ -262,16 +283,8 @@ $ecl-colors: (
|
|
|
262
283
|
$color-map: (
|
|
263
284
|
branding: (
|
|
264
285
|
120: map-get($ecl-colors, 'grey-950'),
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
80: map-get($ecl-colors, 'grey-900'),
|
|
268
|
-
60: map-get($ecl-colors, 'grey-800'),
|
|
269
|
-
40: map-get($ecl-colors, 'grey-700'),
|
|
270
|
-
20: map-get($ecl-colors, 'grey-600'),
|
|
271
|
-
10: map-get($ecl-colors, 'grey-500'),
|
|
272
|
-
5: map-get($ecl-colors, 'grey-400'),
|
|
273
|
-
2: map-get($ecl-colors, 'grey-300'),
|
|
274
|
-
0: map-get($ecl-colors, 'grey-200'),
|
|
286
|
+
100: map-get($ecl-colors, 'grey-900'),
|
|
287
|
+
80: map-get($ecl-colors, 'grey-800')
|
|
275
288
|
),
|
|
276
289
|
primary: (
|
|
277
290
|
160: map-get($ecl-colors, 'primary-950'),
|
|
@@ -285,7 +298,7 @@ $color-map: (
|
|
|
285
298
|
20: map-get($ecl-colors, 'primary-200'),
|
|
286
299
|
10: map-get($ecl-colors, 'primary-100'),
|
|
287
300
|
5: map-get($ecl-colors, 'primary-75'),
|
|
288
|
-
0: map-get($ecl-colors, 'primary-50')
|
|
301
|
+
0: map-get($ecl-colors, 'primary-50')
|
|
289
302
|
),
|
|
290
303
|
neutral: (
|
|
291
304
|
160: map-get($ecl-colors, 'grey-950'),
|
|
@@ -300,7 +313,7 @@ $color-map: (
|
|
|
300
313
|
10: map-get($ecl-colors, 'grey-100'),
|
|
301
314
|
5: map-get($ecl-colors, 'grey-75'),
|
|
302
315
|
2: map-get($ecl-colors, 'grey-50'),
|
|
303
|
-
0: map-get($ecl-colors, 'grey-25')
|
|
316
|
+
0: map-get($ecl-colors, 'grey-25')
|
|
304
317
|
),
|
|
305
318
|
info: (
|
|
306
319
|
160: map-get($ecl-colors, 'info-900'),
|
|
@@ -314,7 +327,7 @@ $color-map: (
|
|
|
314
327
|
20: map-get($ecl-colors, 'info-100'),
|
|
315
328
|
10: map-get($ecl-colors, 'info-75'),
|
|
316
329
|
5: map-get($ecl-colors, 'info-50'),
|
|
317
|
-
0: map-get($ecl-colors, 'info-25')
|
|
330
|
+
0: map-get($ecl-colors, 'info-25')
|
|
318
331
|
),
|
|
319
332
|
success: (
|
|
320
333
|
160: map-get($ecl-colors, 'success-950'),
|
|
@@ -328,7 +341,7 @@ $color-map: (
|
|
|
328
341
|
20: map-get($ecl-colors, 'success-300'),
|
|
329
342
|
10: map-get($ecl-colors, 'success-200'),
|
|
330
343
|
5: map-get($ecl-colors, 'success-100'),
|
|
331
|
-
0: map-get($ecl-colors, 'success-75')
|
|
344
|
+
0: map-get($ecl-colors, 'success-75')
|
|
332
345
|
),
|
|
333
346
|
warning: (
|
|
334
347
|
160: map-get($ecl-colors, 'warning-900'),
|
|
@@ -342,7 +355,7 @@ $color-map: (
|
|
|
342
355
|
20: map-get($ecl-colors, 'warning-100'),
|
|
343
356
|
10: map-get($ecl-colors, 'warning-75'),
|
|
344
357
|
5: map-get($ecl-colors, 'warning-50'),
|
|
345
|
-
0: map-get($ecl-colors, 'warning-25')
|
|
358
|
+
0: map-get($ecl-colors, 'warning-25')
|
|
346
359
|
),
|
|
347
360
|
danger: (
|
|
348
361
|
160: map-get($ecl-colors, 'error-950'),
|
|
@@ -356,7 +369,7 @@ $color-map: (
|
|
|
356
369
|
20: map-get($ecl-colors, 'error-200'),
|
|
357
370
|
10: map-get($ecl-colors, 'error-100'),
|
|
358
371
|
5: map-get($ecl-colors, 'error-75'),
|
|
359
|
-
0: map-get($ecl-colors, 'error-50')
|
|
372
|
+
0: map-get($ecl-colors, 'error-50')
|
|
360
373
|
),
|
|
361
374
|
cta: (
|
|
362
375
|
160: map-get($ecl-colors, 'secondary-800'),
|
|
@@ -370,7 +383,7 @@ $color-map: (
|
|
|
370
383
|
20: map-get($ecl-colors, 'secondary-75'),
|
|
371
384
|
10: map-get($ecl-colors, 'secondary-50'),
|
|
372
385
|
5: map-get($ecl-colors, 'secondary-25'),
|
|
373
|
-
0: map-get($ecl-colors, 'secondary-25')
|
|
386
|
+
0: map-get($ecl-colors, 'secondary-25')
|
|
374
387
|
)
|
|
375
388
|
);
|
|
376
389
|
|
|
@@ -378,7 +391,7 @@ $color-map: (
|
|
|
378
391
|
|
|
379
392
|
$color-context-map: (
|
|
380
393
|
branding: (
|
|
381
|
-
base: '100', dark: '120', light: '80'
|
|
394
|
+
base: '100', dark: '120', light: '80'
|
|
382
395
|
),
|
|
383
396
|
neutral: (
|
|
384
397
|
base: '100', darkest: '160', darker: '140', dark: '110', light: '80', lighter: '40', lightest: '20', bg: '10', bg-light: '5', bg-lighter: '3'
|
|
@@ -407,7 +420,12 @@ $color-context-map: (
|
|
|
407
420
|
// COLOR STATES
|
|
408
421
|
|
|
409
422
|
$color-state-map: (
|
|
410
|
-
|
|
423
|
+
branding: (
|
|
424
|
+
base: 'branding',
|
|
425
|
+
default: 'branding',
|
|
426
|
+
dark: 'branding-dark',
|
|
427
|
+
light: 'branding-light'
|
|
428
|
+
),
|
|
411
429
|
primary: (
|
|
412
430
|
base: 'primary',
|
|
413
431
|
default: 'primary',
|
|
@@ -425,7 +443,6 @@ $color-state-map: (
|
|
|
425
443
|
surface-hover: 'primary-dark',
|
|
426
444
|
surface-hover-contrast: 'primary-dark-contrast'
|
|
427
445
|
),
|
|
428
|
-
// base, darkest, darker, dark, light, lighter, lightest, bg, bg-light
|
|
429
446
|
secondary: (
|
|
430
447
|
base: 'neutral',
|
|
431
448
|
default: 'neutral-darker',
|
|
@@ -547,14 +564,7 @@ $box-shadow-map: (
|
|
|
547
564
|
2: map-get($ecl-shadow, 2),
|
|
548
565
|
3: map-get($ecl-shadow, 5),
|
|
549
566
|
4: map-get($ecl-shadow, 4),
|
|
550
|
-
5: map-get($ecl-shadow, 5)
|
|
551
|
-
6: map-get($ecl-shadow, 5),
|
|
552
|
-
8: map-get($ecl-shadow, 5),
|
|
553
|
-
9: map-get($ecl-shadow, 5),
|
|
554
|
-
12: map-get($ecl-shadow, 5),
|
|
555
|
-
16: map-get($ecl-shadow, 5),
|
|
556
|
-
24: map-get($ecl-shadow, 5),
|
|
557
|
-
card: map-get($ecl-shadow, 1),
|
|
567
|
+
5: map-get($ecl-shadow, 5)
|
|
558
568
|
);
|
|
559
569
|
|
|
560
570
|
|
|
@@ -567,7 +577,7 @@ $font-weight-map: (
|
|
|
567
577
|
'bold': 700
|
|
568
578
|
);
|
|
569
579
|
|
|
570
|
-
$font-map: (
|
|
580
|
+
$font-map-responsive: (
|
|
571
581
|
'display': (
|
|
572
582
|
'm': (
|
|
573
583
|
'desktop': (
|
|
@@ -612,140 +622,55 @@ $font-map: (
|
|
|
612
622
|
'size': 1.2rem,
|
|
613
623
|
'line-height': 1.5rem
|
|
614
624
|
)
|
|
615
|
-
)
|
|
625
|
+
)
|
|
626
|
+
)
|
|
627
|
+
);
|
|
628
|
+
|
|
629
|
+
$font-map: (
|
|
630
|
+
'title': (
|
|
616
631
|
'2xs': (
|
|
617
|
-
'
|
|
618
|
-
|
|
619
|
-
'line-height': 1.5rem
|
|
620
|
-
),
|
|
621
|
-
'tablet': (
|
|
622
|
-
'size': 1rem,
|
|
623
|
-
'line-height': 1.5rem
|
|
624
|
-
),
|
|
625
|
-
'mobile': (
|
|
626
|
-
'size': 1rem,
|
|
627
|
-
'line-height': 1.5rem
|
|
628
|
-
)
|
|
632
|
+
'size': 1rem,
|
|
633
|
+
'line-height': 1.5rem
|
|
629
634
|
)
|
|
630
635
|
),
|
|
631
636
|
'card-title': (
|
|
632
637
|
'm': (
|
|
633
|
-
'
|
|
634
|
-
|
|
635
|
-
'line-height': 1.5rem
|
|
636
|
-
),
|
|
637
|
-
'tablet': (
|
|
638
|
-
'size': 1.125rem,
|
|
639
|
-
'line-height': 1.5rem
|
|
640
|
-
),
|
|
641
|
-
'mobile': (
|
|
642
|
-
'size': 1.125rem,
|
|
643
|
-
'line-height': 1.5rem
|
|
644
|
-
)
|
|
638
|
+
'size': 1.125rem,
|
|
639
|
+
'line-height': 1.5rem
|
|
645
640
|
)
|
|
646
641
|
),
|
|
647
642
|
'label': (
|
|
648
643
|
'm': (
|
|
649
|
-
'
|
|
650
|
-
|
|
651
|
-
'line-height': 1.25rem
|
|
652
|
-
),
|
|
653
|
-
'tablet': (
|
|
654
|
-
'size': 0.875rem,
|
|
655
|
-
'line-height': 1.25rem
|
|
656
|
-
),
|
|
657
|
-
'mobile': (
|
|
658
|
-
'size': 0.875rem,
|
|
659
|
-
'line-height': 1.25rem
|
|
660
|
-
)
|
|
644
|
+
'size': 0.875rem,
|
|
645
|
+
'line-height': 1.25rem
|
|
661
646
|
),
|
|
662
647
|
'l': (
|
|
663
|
-
'
|
|
664
|
-
|
|
665
|
-
'line-height': 1.5rem
|
|
666
|
-
),
|
|
667
|
-
'tablet': (
|
|
668
|
-
'size': 1rem,
|
|
669
|
-
'line-height': 1.5rem
|
|
670
|
-
),
|
|
671
|
-
'mobile': (
|
|
672
|
-
'size': 1rem,
|
|
673
|
-
'line-height': 1.5rem
|
|
674
|
-
)
|
|
648
|
+
'size': 1rem,
|
|
649
|
+
'line-height': 1.5rem
|
|
675
650
|
)
|
|
676
651
|
),
|
|
677
652
|
'body': (
|
|
678
653
|
's': (
|
|
679
|
-
'
|
|
680
|
-
|
|
681
|
-
'line-height': 1.25rem
|
|
682
|
-
),
|
|
683
|
-
'tablet': (
|
|
684
|
-
'size': 0.875rem,
|
|
685
|
-
'line-height': 1.25rem
|
|
686
|
-
),
|
|
687
|
-
'mobile': (
|
|
688
|
-
'size': 0.875rem,
|
|
689
|
-
'line-height': 1.25rem
|
|
690
|
-
)
|
|
654
|
+
'size': 0.875rem,
|
|
655
|
+
'line-height': 1.25rem
|
|
691
656
|
),
|
|
692
657
|
'm': (
|
|
693
|
-
'
|
|
694
|
-
|
|
695
|
-
'line-height': 1.5rem
|
|
696
|
-
),
|
|
697
|
-
'tablet': (
|
|
698
|
-
'size': 1rem,
|
|
699
|
-
'line-height': 1.5rem
|
|
700
|
-
),
|
|
701
|
-
'mobile': (
|
|
702
|
-
'size': 1rem,
|
|
703
|
-
'line-height': 1.5rem
|
|
704
|
-
)
|
|
658
|
+
'size': 1rem,
|
|
659
|
+
'line-height': 1.5rem
|
|
705
660
|
),
|
|
706
661
|
'l': (
|
|
707
|
-
'
|
|
708
|
-
|
|
709
|
-
'line-height': 1.75rem
|
|
710
|
-
),
|
|
711
|
-
'tablet': (
|
|
712
|
-
'size': 1.25rem,
|
|
713
|
-
'line-height': 1.75rem
|
|
714
|
-
),
|
|
715
|
-
'mobile': (
|
|
716
|
-
'size': 1.25rem,
|
|
717
|
-
'line-height': 1.75rem
|
|
718
|
-
)
|
|
662
|
+
'size': 1.25rem,
|
|
663
|
+
'line-height': 1.75rem
|
|
719
664
|
),
|
|
720
665
|
'xl': (
|
|
721
|
-
'
|
|
722
|
-
|
|
723
|
-
'line-height': 2rem
|
|
724
|
-
),
|
|
725
|
-
'tablet': (
|
|
726
|
-
'size': 1.5rem,
|
|
727
|
-
'line-height': 2rem
|
|
728
|
-
),
|
|
729
|
-
'mobile': (
|
|
730
|
-
'size': 1.5rem,
|
|
731
|
-
'line-height': 2rem
|
|
732
|
-
)
|
|
666
|
+
'size': 1.5rem,
|
|
667
|
+
'line-height': 2rem
|
|
733
668
|
)
|
|
734
669
|
),
|
|
735
670
|
'microcopy': (
|
|
736
671
|
'm': (
|
|
737
|
-
'
|
|
738
|
-
|
|
739
|
-
'line-height': 1rem
|
|
740
|
-
),
|
|
741
|
-
'tablet': (
|
|
742
|
-
'size': 0.75rem,
|
|
743
|
-
'line-height': 1rem
|
|
744
|
-
),
|
|
745
|
-
'mobile': (
|
|
746
|
-
'size': 0.75rem,
|
|
747
|
-
'line-height': 1rem
|
|
748
|
-
)
|
|
672
|
+
'size': 0.75rem,
|
|
673
|
+
'line-height': 1rem
|
|
749
674
|
)
|
|
750
675
|
)
|
|
751
676
|
);
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
--eui-f-#{$size}-bold: normal normal 700 var(--eui-f-size-#{$size})/var(--eui-f-line-height-#{$size}) var(--eui-f-family);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
@each $font, $fontDef in maps.$font-map {
|
|
130
|
+
@each $font, $fontDef in maps.$font-map-responsive {
|
|
131
131
|
@each $size, $sizeDef in $fontDef {
|
|
132
132
|
$desktop: map-get($sizeDef, 'desktop');
|
|
133
133
|
$tablet: map-get($sizeDef, 'tablet');
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
@include base.media(maps.$eui-bkp-tablet) {
|
|
163
|
-
@each $font, $fontDef in maps.$font-map {
|
|
163
|
+
@each $font, $fontDef in maps.$font-map-responsive {
|
|
164
164
|
@each $size, $sizeDef in $fontDef {
|
|
165
165
|
--eui-f-#{$font}-#{$size}-regular: var(--eui-f-#{$font}-#{$size}-tablet-regular);
|
|
166
166
|
--eui-f-#{$font}-#{$size}-medium: var(--eui-f-#{$font}-#{$size}-tablet-medium);
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
@include base.media(maps.$eui-bkp-mobile) {
|
|
173
|
-
@each $font, $fontDef in maps.$font-map {
|
|
173
|
+
@each $font, $fontDef in maps.$font-map-responsive {
|
|
174
174
|
@each $size, $sizeDef in $fontDef {
|
|
175
175
|
--eui-f-#{$font}-#{$size}-regular: var(--eui-f-#{$font}-#{$size}-mobile-regular);
|
|
176
176
|
--eui-f-#{$font}-#{$size}-medium: var(--eui-f-#{$font}-#{$size}-mobile-medium);
|
|
@@ -180,6 +180,19 @@
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
@each $font, $fontDef in maps.$font-map {
|
|
184
|
+
@each $size, $sizeDef in $fontDef {
|
|
185
|
+
@each $type, $def in $sizeDef {
|
|
186
|
+
--eui-f-#{$font}-#{$size}-#{$type}: #{$def};
|
|
187
|
+
}
|
|
188
|
+
--eui-f-#{$font}-#{$size}-regular: normal normal var(--eui-f-weight-regular) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
|
|
189
|
+
--eui-f-#{$font}-#{$size}-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
|
|
190
|
+
--eui-f-#{$font}-#{$size}-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
|
|
191
|
+
--eui-f-#{$font}-#{$size}-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
183
196
|
@each $size, $def in maps.$font-size-map {
|
|
184
197
|
--eui-f-size-#{$size}: #{$def};
|
|
185
198
|
--eui-f-size-#{$size}-compact: #{$def};
|
|
@@ -20,15 +20,15 @@ $ratio-4x3: 1.33333333;
|
|
|
20
20
|
&--rounded {
|
|
21
21
|
background-size: cover !important;
|
|
22
22
|
border-radius: 50%;
|
|
23
|
-
height: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
24
|
-
min-width: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
25
|
-
width: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
23
|
+
height: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
24
|
+
min-width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
25
|
+
width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)}) !important;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&-squared {
|
|
29
|
-
height: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
30
|
-
min-width: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
31
|
-
width: calc(#{var(--eui-s-m)} + #{var(--eui-s-
|
|
29
|
+
height: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
30
|
+
min-width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)});
|
|
31
|
+
width: calc(#{var(--eui-s-m)} + #{var(--eui-s-3xs)}) !important;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&-rounded,
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
background-size: 75% 75%;
|
|
129
129
|
display: inline-block;
|
|
130
130
|
height: var(--eui-s-m);
|
|
131
|
-
margin-left: var(--eui-s-
|
|
131
|
+
margin-left: var(--eui-s-3xs);
|
|
132
132
|
width: var(--eui-s-m);
|
|
133
133
|
@include base.pseudoSvgIconExternalPrimary();
|
|
134
134
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
background-size: 75% 75%;
|
|
148
148
|
display: inline-block;
|
|
149
149
|
height: var(--eui-s-m);
|
|
150
|
-
margin-left: var(--eui-s-
|
|
150
|
+
margin-left: var(--eui-s-3xs);
|
|
151
151
|
width: var(--eui-s-m);
|
|
152
152
|
@include base.pseudoSvgIconExternalPrimary();
|
|
153
153
|
}
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
background-size: 75% 75%;
|
|
167
167
|
display: inline-block;
|
|
168
168
|
height: var(--eui-s-m);
|
|
169
|
-
margin-left: var(--eui-s-
|
|
169
|
+
margin-left: var(--eui-s-3xs);
|
|
170
170
|
width: var(--eui-s-m);
|
|
171
171
|
@include base.pseudoSvgIconExternalPrimary();
|
|
172
172
|
}
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
border-radius: var(--eui-br-m) !important;
|
|
214
214
|
color: var(--eui-c-white) !important;
|
|
215
215
|
font-size: var(--eui-f-s) !important;
|
|
216
|
-
padding: 1px var(--eui-s-
|
|
216
|
+
padding: 1px var(--eui-s-3xs) !important;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.eui-u-text-pre {
|
|
@@ -223,17 +223,17 @@
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.eui-u-text-blockquote {
|
|
226
|
-
border-left: var(--eui-s-
|
|
226
|
+
border-left: var(--eui-s-3xs) solid var(--eui-c-s-secondary-border-light) !important;
|
|
227
227
|
padding: var(--eui-s-xs) var(--eui-s-m) !important;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.eui-u-text-mark {
|
|
231
231
|
background-color: var(--eui-c-s-accent-surface-medium) !important;
|
|
232
|
-
padding: var(--eui-s-
|
|
232
|
+
padding: var(--eui-s-3xs) !important;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.eui-u-text-highlight {
|
|
236
|
-
padding: var(--eui-s-
|
|
236
|
+
padding: var(--eui-s-3xs) !important;
|
|
237
237
|
background-color: var(--eui-c-s-accent-surface-light) !important;
|
|
238
238
|
}
|
|
239
239
|
.eui-u-text-paragraph {
|
|
@@ -250,11 +250,11 @@
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
.eui-u-text-list {
|
|
253
|
-
padding-inline-start: var(--eui-s-
|
|
253
|
+
padding-inline-start: var(--eui-s-3xl) !important;
|
|
254
254
|
}
|
|
255
255
|
.eui-u-text-list-item {
|
|
256
|
-
margin-block-start: var(--eui-s-
|
|
257
|
-
margin-block-end: var(--eui-s-
|
|
256
|
+
margin-block-start: var(--eui-s-3xs) !important;
|
|
257
|
+
margin-block-end: var(--eui-s-3xs) !important;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
// HEADINGS
|