@eui/styles 17.0.0-next.10 → 17.0.0-next.11
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/styles/eui-ecl.css +2 -0
- package/dist/styles/eui-ecl.css.map +1 -0
- package/dist/styles/eui-icons-flags.css.map +1 -1
- package/dist/styles/eui-legacy-bootstrap-utilities.css.map +1 -1
- package/dist/styles/eui-legacy-icons-font.css +1 -1
- package/dist/styles/eui-legacy-icons-font.css.map +1 -1
- package/dist/styles/eui-print.css +1 -1
- package/dist/styles/eui-print.css.map +1 -1
- package/dist/styles/eui-showcase-all.css +1 -1
- package/dist/styles/eui-showcase-all.css.map +1 -1
- package/dist/styles/eui-theme-compact.css +2 -0
- package/dist/styles/eui-theme-compact.css.map +1 -0
- package/dist/styles/eui-theme-dark.css +2 -0
- package/dist/styles/eui-theme-dark.css.map +1 -0
- package/dist/styles/eui-utilities.css +1 -1
- package/dist/styles/eui-utilities.css.map +1 -1
- package/dist/styles/eui.css +1 -1
- package/dist/styles/eui.css.map +1 -1
- package/package.json +1 -1
- package/src/styles/01-ecl/_module-eui-ecl.scss +27 -0
- package/src/styles/02-base/mixins/_eui-border-state.scss +7 -7
- package/src/styles/02-base/mixins/_eui-clearable-input.scss +1 -1
- package/src/styles/02-base/mixins/_eui-input.scss +3 -5
- package/src/styles/02-base/mixins/_module.scss +0 -6
- package/src/styles/02b-base-vars/_layout.vars.scss +0 -23
- package/src/styles/02b-base-vars/_module.scss +1 -0
- package/src/styles/02b-base-vars/_other.vars.scss +3 -0
- package/src/styles/05-material/_material.scss +0 -102
- package/src/styles/06-shared/_module.scss +5 -2
- package/src/styles/07-elements/_module.scss +2 -1
- package/src/styles/07-elements/directives/_eui-clearable-input.scss +26 -0
- package/src/styles/{06-shared → 07-elements/directives}/_eui-input-maxlength.scss +0 -2
- package/src/styles/07-elements/directives/_module.scss +2 -0
- package/src/styles/07-elements/eui-table-default/_eui-table-default.scss +0 -72
- package/src/styles/08-themes/_module-compact.scss +7 -0
- package/src/styles/08-themes/_module-dark.scss +1 -0
- package/src/styles/10-media/_module-print.scss +61 -291
- package/src/styles/999-showcase/_component-demo-exports.scss +2 -0
- package/src/styles/999-showcase/_prism-theme.scss +2 -1
- package/src/styles/999-showcase/_specific-typography.scss +14 -8
- package/src/styles/eui-ecl.scss +7 -0
- package/src/styles/eui-showcase-all-dev.scss +49 -0
- package/src/styles/eui-showcase-all.scss +6 -1
- package/src/styles/eui-theme-compact.scss +7 -0
- package/src/styles/eui-theme-dark.scss +7 -0
- package/src/styles/eui.scss +0 -3
- package/src/styles/02-base/mixins/_eui-accessibility.scss +0 -39
- package/src/styles/02-base/mixins/_ux-clearable-input.scss +0 -29
- package/src/styles/02-base/mixins/_ux-form-control-state.scss +0 -32
- package/src/styles/05-material/_material-cdk.scss +0 -108
- package/src/styles/05-material/_module cdk.scss +0 -2
- package/src/styles/06-shared/_default.scss +0 -11
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use '@ecl/theme-eu';
|
|
2
|
+
|
|
3
|
+
// Icons & Images
|
|
4
|
+
// @use '@ecl/vanilla-component-icon/icon';
|
|
5
|
+
|
|
6
|
+
// Layout
|
|
7
|
+
// @use '@ecl/vanilla-layout-grid/grid';
|
|
8
|
+
|
|
9
|
+
// Other atoms
|
|
10
|
+
@use '@ecl/vanilla-component-label/label-eu';
|
|
11
|
+
@use '@ecl/vanilla-component-link/link-eu';
|
|
12
|
+
|
|
13
|
+
// @use '@ecl/vanilla-utility-background/background';
|
|
14
|
+
// @use '@ecl/vanilla-utility-border/border';
|
|
15
|
+
// @use '@ecl/vanilla-utility-clearfix/clearfix';
|
|
16
|
+
// @use '@ecl/vanilla-utility-dimension/dimension';
|
|
17
|
+
@use '@ecl/vanilla-utility-flex/flex';
|
|
18
|
+
// @use '@ecl/vanilla-utility-float/float';
|
|
19
|
+
// @use '@ecl/vanilla-utility-disablescroll/disablescroll';
|
|
20
|
+
@use '@ecl/vanilla-utility-display/display';
|
|
21
|
+
// @use '@ecl/vanilla-utility-media/media';
|
|
22
|
+
// @use '@ecl/vanilla-utility-print/print';
|
|
23
|
+
@use '@ecl/vanilla-utility-screen-reader/screen-reader';
|
|
24
|
+
// @use '@ecl/vanilla-utility-shadow/shadow';
|
|
25
|
+
@use '@ecl/vanilla-utility-spacing/spacing';
|
|
26
|
+
@use '@ecl/vanilla-utility-typography/typography-eu';
|
|
27
|
+
@use '@ecl/vanilla-utility-z-index/z-index';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
// Left side border status
|
|
2
2
|
@mixin eui-border-state($state: null) {
|
|
3
3
|
@if ($state == primary) {
|
|
4
|
-
border-left: v(eui-
|
|
4
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-primary-100);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@if ($state == secondary) {
|
|
8
|
-
border-left: v(eui-
|
|
8
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-grey-25);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@if ($state == info) {
|
|
12
|
-
border-left: v(eui-
|
|
12
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-info-100);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@if ($state == success) {
|
|
16
|
-
border-left: v(eui-
|
|
16
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-success-100);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@if ($state == warning) {
|
|
20
|
-
border-left: v(eui-
|
|
20
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-warning-100);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@if ($state == danger) {
|
|
24
|
-
border-left: v(eui-
|
|
24
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-danger-100);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@if ($state == accent) {
|
|
28
|
-
border-left: v(eui-
|
|
28
|
+
border-left: v(eui-base-spacing-xs) solid v(eui-base-color-accent-100);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
background-color: v(eui-base-color-white);
|
|
7
7
|
border: 1px solid v(eui-base-color-grey-50);
|
|
8
8
|
border-radius: v(eui-base-border-radius);
|
|
9
|
+
box-shadow: v(eui-app-box-shadow);
|
|
9
10
|
color: v(eui-base-color-grey-100);
|
|
10
11
|
display: block;
|
|
11
12
|
min-height: calc(#{v(eui-base-spacing-2xl)} + #{v(eui-base-spacing-2xs)}); // DS aligned 44px
|
|
12
13
|
padding: calc(#{v(eui-base-spacing-s)} - 1px); // Trick to have inner paddings without exceeding default min-height
|
|
13
14
|
width: 100%;
|
|
14
|
-
@include eui-accessible-focus
|
|
15
|
+
@include eui-accessible-focus();
|
|
15
16
|
|
|
16
17
|
&::placeholder {
|
|
17
18
|
color: v(eui-base-color-grey-50) !important;
|
|
@@ -57,10 +58,7 @@
|
|
|
57
58
|
right: v(eui-base-spacing-s);
|
|
58
59
|
user-select: none;
|
|
59
60
|
visibility: visible;
|
|
60
|
-
|
|
61
|
-
&:focus {
|
|
62
|
-
@include eui-accessible-focus-outline();
|
|
63
|
-
}
|
|
61
|
+
@include eui-accessible-focus();
|
|
64
62
|
|
|
65
63
|
> svg {
|
|
66
64
|
fill: v(eui-base-color-grey-35);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @import 'eui-accessibility'; // Moved to eui-styles-base
|
|
2
1
|
@import 'eui-border-radius';
|
|
3
2
|
@import 'eui-flex-container';
|
|
4
3
|
@import 'eui-flex-column-wrapper';
|
|
@@ -6,12 +5,7 @@
|
|
|
6
5
|
@import 'eui-utils';
|
|
7
6
|
@import 'eui-bg-rounded';
|
|
8
7
|
@import 'eui-disabled';
|
|
9
|
-
@import 'eui-clearable-input';
|
|
10
8
|
@import 'eui-border-state';
|
|
11
9
|
@import 'eui-loading-indicator';
|
|
12
10
|
@import 'eui-input';
|
|
13
11
|
@import 'eui-resizable';
|
|
14
|
-
|
|
15
|
-
// v17 removed
|
|
16
|
-
// @import 'ux-form-control-state';
|
|
17
|
-
// @import 'ux-clearable-input';
|
|
@@ -41,29 +41,6 @@
|
|
|
41
41
|
--eui-page-column--size-xxl: 300px;
|
|
42
42
|
--eui-page-column--size-xxxl: 350px;
|
|
43
43
|
--eui-page-column-footer-height: 3.5rem;
|
|
44
|
-
|
|
45
|
-
// Misc
|
|
46
|
-
--eui-border-state-width: 6px;
|
|
47
|
-
|
|
48
|
-
// Colors
|
|
49
|
-
// eUI App elements
|
|
50
|
-
--eui-app-header-bg-color: var(--eui-base-color-white);
|
|
51
|
-
--eui-app-header-title-color: var(--eui-base-color-grey-100);
|
|
52
|
-
--eui-app-header-subtitle-color: var(--eui-base-color-grey-75);
|
|
53
|
-
|
|
54
|
-
--eui-app-toolbar-color: var(--eui-base-color-white);
|
|
55
|
-
--eui-app-toolbar-bg-color: var(--eui-base-color-primary-100);
|
|
56
|
-
--eui-app-toolbar-border-bottom-color: var(--eui-base-color-primary-25);
|
|
57
|
-
|
|
58
|
-
--eui-app-sidebar-bg-color: var(--eui-base-color-grey-2);
|
|
59
|
-
--eui-app-sidebar-border-right-color: #f2f4f9;
|
|
60
|
-
|
|
61
|
-
--eui-app-body-bg-color: var(--eui-base-color-grey-2);
|
|
62
|
-
--eui-app-main-bg-color: var(--eui-base-color-grey-2);
|
|
63
|
-
|
|
64
|
-
--eui-app-footer-color: var(--eui-base-color-font);
|
|
65
|
-
--eui-app-footer-bg-color: var(--eui-base-color-grey-2);
|
|
66
|
-
--eui-app-footer-border-top-color: #e8ebf1;
|
|
67
44
|
}
|
|
68
45
|
|
|
69
46
|
.xs, .sm {
|
|
@@ -1,136 +1,37 @@
|
|
|
1
1
|
// Material colors : generated with : http://mcg.mbitson.com
|
|
2
2
|
|
|
3
3
|
// PRIMARY
|
|
4
|
-
$palette-primary-50: #e0e9f2;
|
|
5
|
-
$palette-primary-100: #b3c7df;
|
|
6
|
-
$palette-primary-200: #80a2ca;
|
|
7
4
|
$palette-primary-300: #4d7cb4;
|
|
8
|
-
$palette-primary-400: #2660a4;
|
|
9
5
|
$palette-primary-500: #004494; // ECL BASE rgb(0, 68, 148)
|
|
10
|
-
$palette-primary-600: #003e8c;
|
|
11
|
-
$palette-primary-700: #003581;
|
|
12
|
-
$palette-primary-800: #002d77;
|
|
13
6
|
$palette-primary-900: #001f65;
|
|
14
|
-
$palette-primary-A100: #95abff;
|
|
15
|
-
$palette-primary-A200: #6283ff;
|
|
16
|
-
$palette-primary-A400: #2f5bff;
|
|
17
|
-
$palette-primary-A700: #1547ff;
|
|
18
7
|
|
|
19
8
|
// ACCENT
|
|
20
|
-
$palette-accent-50: #fffae3;
|
|
21
|
-
$palette-accent-100: #fff3b9;
|
|
22
|
-
$palette-accent-200: #ffeb8b;
|
|
23
|
-
$palette-accent-300: #ffe25d;
|
|
24
|
-
$palette-accent-400: #ffdc3a;
|
|
25
|
-
$palette-accent-500: #ffd617; // ECL BASE rgb(255, 214, 23)
|
|
26
|
-
$palette-accent-600: #ffd114;
|
|
27
|
-
$palette-accent-700: #fc1;
|
|
28
|
-
$palette-accent-800: #ffc60d;
|
|
29
|
-
$palette-accent-900: #ffbc07;
|
|
30
9
|
$palette-accent-A100: #fff;
|
|
31
10
|
$palette-accent-A200: #fffcf4;
|
|
32
11
|
$palette-accent-A400: #ffecc1;
|
|
33
|
-
$palette-accent-A700: #ffe5a7;
|
|
34
12
|
|
|
35
13
|
$private-eui-color: #999;
|
|
36
14
|
$private-eui-color-white: #fff;
|
|
37
15
|
|
|
38
16
|
$mat-eui-primary: (
|
|
39
|
-
50: $palette-primary-50,
|
|
40
|
-
100: $palette-primary-100,
|
|
41
|
-
200: $palette-primary-200,
|
|
42
17
|
300: $palette-primary-300,
|
|
43
|
-
400: $palette-primary-400,
|
|
44
18
|
500: $palette-primary-500,
|
|
45
|
-
600: $palette-primary-600,
|
|
46
|
-
700: $palette-primary-700,
|
|
47
|
-
800: $palette-primary-800,
|
|
48
19
|
900: $palette-primary-900,
|
|
49
|
-
A100: $palette-primary-A100,
|
|
50
|
-
A200: $palette-primary-A200,
|
|
51
|
-
A400: $palette-primary-A400,
|
|
52
|
-
A700: $palette-primary-A700,
|
|
53
20
|
contrast: (
|
|
54
|
-
50: $private-eui-color,
|
|
55
|
-
100: $private-eui-color,
|
|
56
|
-
200: $private-eui-color,
|
|
57
21
|
300: $private-eui-color,
|
|
58
|
-
400: $private-eui-color,
|
|
59
22
|
500: $private-eui-color-white,
|
|
60
|
-
600: $private-eui-color-white,
|
|
61
|
-
700: $private-eui-color-white,
|
|
62
|
-
800: $private-eui-color-white,
|
|
63
23
|
900: $private-eui-color-white,
|
|
64
|
-
A100: $private-eui-color,
|
|
65
|
-
A200: $private-eui-color-white,
|
|
66
|
-
A400: $private-eui-color-white,
|
|
67
|
-
A700: $private-eui-color-white,
|
|
68
|
-
)
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
$mat-eui-danger: (
|
|
72
|
-
50: $palette-danger-50,
|
|
73
|
-
100: $palette-danger-100,
|
|
74
|
-
200: $palette-danger-200,
|
|
75
|
-
300: $palette-danger-300,
|
|
76
|
-
400: $palette-danger-400,
|
|
77
|
-
500: $palette-danger-500,
|
|
78
|
-
600: $palette-danger-600,
|
|
79
|
-
700: $palette-danger-700,
|
|
80
|
-
800: $palette-danger-800,
|
|
81
|
-
900: $palette-danger-900,
|
|
82
|
-
A100: $palette-danger-A100,
|
|
83
|
-
A200: $palette-danger-A200,
|
|
84
|
-
A400: $palette-danger-A400,
|
|
85
|
-
A700: $palette-danger-A700,
|
|
86
|
-
contrast: (
|
|
87
|
-
50: $private-eui-color,
|
|
88
|
-
100: $private-eui-color,
|
|
89
|
-
200: $private-eui-color,
|
|
90
|
-
300: $private-eui-color,
|
|
91
|
-
400: $private-eui-color,
|
|
92
|
-
500: $private-eui-color-white,
|
|
93
|
-
600: $private-eui-color-white,
|
|
94
|
-
700: $private-eui-color-white,
|
|
95
|
-
800: $private-eui-color-white,
|
|
96
|
-
900: $private-eui-color-white,
|
|
97
|
-
A100: $private-eui-color,
|
|
98
|
-
A200: $private-eui-color,
|
|
99
|
-
A400: $private-eui-color,
|
|
100
|
-
A700: $private-eui-color,
|
|
101
24
|
)
|
|
102
25
|
);
|
|
103
26
|
|
|
104
27
|
$mat-eui-accent: (
|
|
105
|
-
50: $palette-accent-50,
|
|
106
|
-
100: $palette-accent-100,
|
|
107
|
-
200: $palette-accent-200,
|
|
108
|
-
300: $palette-accent-300,
|
|
109
|
-
400: $palette-accent-400,
|
|
110
|
-
500: $palette-accent-500,
|
|
111
|
-
600: $palette-accent-600,
|
|
112
|
-
700: $palette-accent-700,
|
|
113
|
-
800: $palette-accent-800,
|
|
114
|
-
900: $palette-accent-900,
|
|
115
28
|
A100: $palette-accent-A100,
|
|
116
29
|
A200: $palette-accent-A200,
|
|
117
30
|
A400: $palette-accent-A400,
|
|
118
|
-
A700: $palette-accent-A700,
|
|
119
31
|
contrast: (
|
|
120
|
-
50: $private-eui-color,
|
|
121
|
-
100: $private-eui-color,
|
|
122
|
-
200: $private-eui-color,
|
|
123
|
-
300: $private-eui-color,
|
|
124
|
-
400: $private-eui-color,
|
|
125
|
-
500: $private-eui-color,
|
|
126
|
-
600: $private-eui-color,
|
|
127
|
-
700: $private-eui-color,
|
|
128
|
-
800: $private-eui-color,
|
|
129
|
-
900: $private-eui-color,
|
|
130
32
|
A100: $private-eui-color,
|
|
131
33
|
A200: $private-eui-color,
|
|
132
34
|
A400: $private-eui-color,
|
|
133
|
-
A700: $private-eui-color,
|
|
134
35
|
)
|
|
135
36
|
);
|
|
136
37
|
|
|
@@ -141,16 +42,13 @@ $mat-eui-accent: (
|
|
|
141
42
|
// define palettes
|
|
142
43
|
$eui-t-color-primary: mat.define-palette($mat-eui-primary, 500, 300, 900); // $palette-name, $default: 500, $lighter: 100, $darker: 700
|
|
143
44
|
$eui-t-color-accent: mat.define-palette($mat-eui-accent, A200, A100, A400);
|
|
144
|
-
$eui-t-color-warn: mat.define-palette($mat-eui-danger, 500, A700, 900); // The warn palette is optional (default: $mat-red)
|
|
145
45
|
|
|
146
46
|
// define theme
|
|
147
47
|
$eui-theme: mat.define-light-theme((
|
|
148
48
|
color: (
|
|
149
49
|
primary: $eui-t-color-primary,
|
|
150
50
|
accent: $eui-t-color-accent,
|
|
151
|
-
warn: $eui-t-color-warn,
|
|
152
51
|
)
|
|
153
52
|
));
|
|
154
53
|
|
|
155
54
|
@include mat.datepicker-theme($eui-theme);
|
|
156
|
-
@include mat.autocomplete-theme($eui-theme);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Sets the layout of the euiClearable directive
|
|
2
|
+
.eui-clearable-wrapper {
|
|
3
|
+
align-items: center;
|
|
4
|
+
display: flex;
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
.eui-input-text--clearable-icon {
|
|
9
|
+
bottom: calc(#{v(eui-base-spacing-s)} - 2px);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: v(eui-base-spacing-s);
|
|
13
|
+
user-select: none;
|
|
14
|
+
visibility: visible;
|
|
15
|
+
z-index: v(eui-base-z-index-clearable-icon);
|
|
16
|
+
@include eui-accessible-focus();
|
|
17
|
+
|
|
18
|
+
> svg {
|
|
19
|
+
fill: v(eui-base-color-grey-35);
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
fill: v(eui-base-color-danger-100);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// stylelint-disable no-descending-specificity
|
|
2
1
|
table.eui-table-default {
|
|
3
2
|
background-color: transparent;
|
|
4
3
|
border-collapse: collapse;
|
|
@@ -125,74 +124,3 @@ table.eui-table-default {
|
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
|
-
|
|
129
|
-
// // RESPONSIVE LAYOUT (PROTO)
|
|
130
|
-
// @include media($eui-bkp-mobile) {
|
|
131
|
-
// table.ux-table {
|
|
132
|
-
// display: block;
|
|
133
|
-
|
|
134
|
-
// &.ux-table--responsive {
|
|
135
|
-
// display: contents;
|
|
136
|
-
|
|
137
|
-
// &.ux-table--bordered {
|
|
138
|
-
// tr {
|
|
139
|
-
// border: 1px solid v(eui-base-color-grey-light);
|
|
140
|
-
// }
|
|
141
|
-
// }
|
|
142
|
-
|
|
143
|
-
// &.ux-table--compact {
|
|
144
|
-
// td {
|
|
145
|
-
// padding-bottom: v(eui-base-spacing-3xs);
|
|
146
|
-
// padding-top: v(eui-base-spacing-2xs);
|
|
147
|
-
|
|
148
|
-
// &::before {
|
|
149
|
-
// top: v(eui-base-spacing-2xs);
|
|
150
|
-
// }
|
|
151
|
-
// }
|
|
152
|
-
// }
|
|
153
|
-
|
|
154
|
-
// // Force table to be like cards
|
|
155
|
-
// thead,
|
|
156
|
-
// tbody,
|
|
157
|
-
// th,
|
|
158
|
-
// td,
|
|
159
|
-
// tr {
|
|
160
|
-
// display: block;
|
|
161
|
-
// }
|
|
162
|
-
|
|
163
|
-
// // Hide table headers but not display: none for accessibility
|
|
164
|
-
// thead tr {
|
|
165
|
-
// left: -9999px;
|
|
166
|
-
// position: absolute;
|
|
167
|
-
// top: -9999px;
|
|
168
|
-
// }
|
|
169
|
-
|
|
170
|
-
// tr {
|
|
171
|
-
// height: auto;
|
|
172
|
-
// }
|
|
173
|
-
|
|
174
|
-
// th,
|
|
175
|
-
// td {
|
|
176
|
-
// // Behave like a "row"
|
|
177
|
-
// border: none;
|
|
178
|
-
// border-bottom: 1px solid v(eui-base-color-grey-lightest);
|
|
179
|
-
// padding: v(eui-base-spacing-xs);
|
|
180
|
-
// padding-left: 50%;
|
|
181
|
-
// position: relative;
|
|
182
|
-
// }
|
|
183
|
-
|
|
184
|
-
// td::before {
|
|
185
|
-
// color: v(eui-base-color-grey-dark);
|
|
186
|
-
// content: attr(data-col); // Like a table header column
|
|
187
|
-
// font-weight: bold;
|
|
188
|
-
// left: v(eui-base-spacing-xs);
|
|
189
|
-
// padding-right: v(eui-base-spacing-xs);
|
|
190
|
-
// position: absolute;
|
|
191
|
-
// // Mimic top & left paddings
|
|
192
|
-
// top: v(eui-base-spacing-xs);
|
|
193
|
-
// white-space: nowrap;
|
|
194
|
-
// width: 45%;
|
|
195
|
-
// }
|
|
196
|
-
// }
|
|
197
|
-
// }
|
|
198
|
-
// }
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
// TODO v17 find a better way to handle themes
|
|
2
2
|
|
|
3
|
+
@mixin eui-compact-get-tokens($ratio: 0.875) {
|
|
4
|
+
--eui-compact-ratio: #{$ratio};
|
|
5
|
+
@each $spacing, $value in $eui-base-tokens-spacings {
|
|
6
|
+
--eui-base-spacing-#{$spacing}: calc( #{var(--eui-compact-ratio)} * #{$value} );
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
3
10
|
// GLOBAL COMPACT THEME
|
|
4
11
|
///////////////////////
|
|
5
12
|
html.eui-t-compact {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@eui/styles-base/src/styles/03-vars/colors-dark.vars';
|