@eui/styles 15.2.2 → 15.3.0-snapshot-1678030922178
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-ec.css +1 -1
- package/dist/styles/eui-ecl-ec.css.map +1 -1
- package/dist/styles/eui-ecl-eu.css +1 -1
- package/dist/styles/eui-ecl-eu.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.css +1 -1
- package/dist/styles/eui.css.map +1 -1
- package/package.json +2 -2
- package/src/styles/08-themes/_module-compact.scss +10 -5
package/package.json
CHANGED
|
@@ -13,14 +13,15 @@ html.eui-t-compact {
|
|
|
13
13
|
/////////////////
|
|
14
14
|
form.eui-t-form-compact {
|
|
15
15
|
// Exposed CSS variables
|
|
16
|
-
--eui-base-font-size: 14px;
|
|
16
|
+
--eui-base-font-size: 14px; // Font size base for compact theme
|
|
17
17
|
--eui-base-line-height: 1.25; // Unitless number value is multiplied by the element's font size
|
|
18
|
-
--eui-input-group-spacing: var(--eui-base-spacing-
|
|
18
|
+
--eui-input-group-spacing: var(--eui-base-spacing-s); // Spacing between form groups elements
|
|
19
19
|
// Internals
|
|
20
20
|
// See: eui-styles-base\src\styles\02-base\mixins\theming\_compact-vars.scss
|
|
21
21
|
@include eui-compact-get-tokens();
|
|
22
22
|
// Setup
|
|
23
|
-
|
|
23
|
+
--eui-compact-ratio: 0.82; // Sets form inputs/elements to 39px height (default: 44px)
|
|
24
|
+
font-size: var(--eui-base-font-size); // Applies the defined custom font size
|
|
24
25
|
line-height: var(--eui-base-line-height); // Applies the defined custom line height ratio
|
|
25
26
|
|
|
26
27
|
// Internals
|
|
@@ -33,10 +34,14 @@ form.eui-t-form-compact {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.eui-input-group-addon-item {
|
|
36
|
-
min-height: calc(2.5 * #{v(eui-base-spacing)});
|
|
37
|
-
min-width: calc(2.5 * #{v(eui-base-spacing)});
|
|
37
|
+
min-height: calc(2.5 * #{v(eui-base-spacing-m)});
|
|
38
|
+
min-width: calc(2.5 * #{v(eui-base-spacing-m)});
|
|
38
39
|
padding: calc(#{v(eui-base-spacing-xs)} - 1px);
|
|
39
40
|
}
|
|
41
|
+
|
|
42
|
+
.eui-button--icon-only {
|
|
43
|
+
padding: calc(#{v(eui-base-spacing-s)} - 1px) v(eui-base-spacing-xs);
|
|
44
|
+
}
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
// TABLE
|