@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/src/styles/eui.scss
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Bordered focus accessibility visual (default: buttons, input fields, etc.)
|
|
2
|
-
@mixin eui-accessible-focus() {
|
|
3
|
-
border-color: v(eui-base-color-accessible-focus) !important; // Must
|
|
4
|
-
box-shadow: inset 0 0 0 1px v(eui-base-color-accessible-focus), inset 0 0 0 2px v(eui-base-color-grey-5);
|
|
5
|
-
outline: none; // Must to override reboot default
|
|
6
|
-
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
7
|
-
}
|
|
8
|
-
// Outlined focus accessibility visual (checkboxes, radios)
|
|
9
|
-
@mixin eui-accessible-focus-outline($offset: -2px, $outline-size: 2px) {
|
|
10
|
-
outline: $outline-size solid v(eui-base-color-accessible-focus);
|
|
11
|
-
outline-offset: $offset;
|
|
12
|
-
-moz-outline-radius: v(eui-base-border-radius);
|
|
13
|
-
transition: outline 0.15s ease-in-out, border 0.15s ease-in-out;
|
|
14
|
-
}
|
|
15
|
-
@mixin eui-accessible-focus-border-inline($display: '', $zIndex: auto) {
|
|
16
|
-
@if $display != '' {
|
|
17
|
-
display: $display;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
z-index: $zIndex;
|
|
21
|
-
@include eui-accessible-focus();
|
|
22
|
-
}
|
|
23
|
-
// This is the main mixin to call/include
|
|
24
|
-
@mixin eui-accessible-focus-border($display: '', $zIndex: auto, $inline: false) {
|
|
25
|
-
@if $inline {
|
|
26
|
-
@include eui-accessible-focus-border-inline($display, $zIndex);
|
|
27
|
-
}
|
|
28
|
-
@else {
|
|
29
|
-
&:active:not([readonly]),
|
|
30
|
-
&:focus:not([readonly]) {
|
|
31
|
-
@include eui-accessible-focus-border-inline($display, $zIndex);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
@mixin eui-accessible-focus-border-rounded() {
|
|
36
|
-
border: 2px solid v(eui-base-color-accessible-focus);
|
|
37
|
-
outline: none;
|
|
38
|
-
transition: border 0.15s ease-in-out;
|
|
39
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@mixin ux-clearable-input() {
|
|
2
|
-
// Adapted for IE11 compat: previous was inline-block and width: 100%
|
|
3
|
-
display: flex;
|
|
4
|
-
-ms-flex: 1 1 0%; // IE fallback
|
|
5
|
-
flex: 1 1 0%;
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
.ux-clearable-input-wrapper__clear {
|
|
9
|
-
color: v(eui-base-color-grey-35);
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
font-size: v(eui-base-font-size-xl);
|
|
12
|
-
font-style: normal;
|
|
13
|
-
position: absolute;
|
|
14
|
-
right: v(eui-base-spacing-xs);
|
|
15
|
-
top: v(eui-base-spacing-xs);
|
|
16
|
-
user-select: none;
|
|
17
|
-
z-index: v(eui-base-z-index-clearable-icon);
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
color: v(eui-base-color-danger);
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&::before {
|
|
25
|
-
// content: $eui-icon-close-m; // TO DO v15 svg remplacement
|
|
26
|
-
font-family: 'eui-icons' !important;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// Form validation states
|
|
2
|
-
@mixin ux-form-control-state($shade) {
|
|
3
|
-
// Color the label and help text
|
|
4
|
-
// .form-control-feedback,
|
|
5
|
-
// .ux-form-group__label,
|
|
6
|
-
.ux-form-control-feedback,
|
|
7
|
-
.form-control-label,
|
|
8
|
-
.col-form-label,
|
|
9
|
-
.form-check-label,
|
|
10
|
-
.custom-control,
|
|
11
|
-
.ux-custom-control {
|
|
12
|
-
color: getColor($shade);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Set the border and box shadow on specific inputs to match
|
|
16
|
-
.ux-form-control {
|
|
17
|
-
border-color: getColor($shade);
|
|
18
|
-
|
|
19
|
-
&:focus {
|
|
20
|
-
box-shadow: v(eui-base-shadow-1);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Set validation states also for addons
|
|
25
|
-
// Note that border color is already set the same as ux-form-control
|
|
26
|
-
// Cfr: 07-components\generic\forms\_inputs-ngvalidation.scss & inputs-feedback-states.scss
|
|
27
|
-
.ux-input-group-text {
|
|
28
|
-
background-color: getColor($shade, 75);
|
|
29
|
-
border-color: getColor($shade);
|
|
30
|
-
color: getColor($shade);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
.cdk-high-contrast-active .mat-ripple-element {
|
|
2
|
-
display: none;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.cdk-visually-hidden {
|
|
6
|
-
border: 0;
|
|
7
|
-
clip: rect(0 0 0 0);
|
|
8
|
-
height: 1px;
|
|
9
|
-
margin: -1px;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
padding: 0;
|
|
12
|
-
position: absolute;
|
|
13
|
-
width: 1px;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
outline: 0;
|
|
16
|
-
-webkit-appearance: none;
|
|
17
|
-
-moz-appearance: none;
|
|
18
|
-
left: 0;
|
|
19
|
-
}
|
|
20
|
-
[dir="rtl"] .cdk-visually-hidden {
|
|
21
|
-
left: auto;
|
|
22
|
-
right: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cdk-overlay-container,
|
|
26
|
-
.cdk-global-overlay-wrapper {
|
|
27
|
-
pointer-events: none;
|
|
28
|
-
top: 0;
|
|
29
|
-
left: 0;
|
|
30
|
-
height: 100%;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.cdk-overlay-container {
|
|
35
|
-
position: fixed;
|
|
36
|
-
z-index: 1000;
|
|
37
|
-
}
|
|
38
|
-
.cdk-overlay-container:empty {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.cdk-global-overlay-wrapper {
|
|
43
|
-
display: flex;
|
|
44
|
-
position: absolute;
|
|
45
|
-
z-index: 1000;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.cdk-overlay-pane {
|
|
49
|
-
position: absolute;
|
|
50
|
-
pointer-events: auto;
|
|
51
|
-
box-sizing: border-box;
|
|
52
|
-
z-index: 1000;
|
|
53
|
-
display: flex;
|
|
54
|
-
max-width: 100%;
|
|
55
|
-
max-height: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.cdk-overlay-backdrop {
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
right: 0;
|
|
64
|
-
z-index: 1000;
|
|
65
|
-
pointer-events: auto;
|
|
66
|
-
-webkit-tap-highlight-color: transparent;
|
|
67
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
68
|
-
opacity: 0;
|
|
69
|
-
}
|
|
70
|
-
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
71
|
-
opacity: 1;
|
|
72
|
-
}
|
|
73
|
-
.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
74
|
-
opacity: 0.6;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.cdk-overlay-dark-backdrop {
|
|
78
|
-
background: rgba(0, 0, 0, 0.32);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cdk-overlay-transparent-backdrop {
|
|
82
|
-
transition: visibility 1ms linear, opacity 1ms linear;
|
|
83
|
-
visibility: hidden;
|
|
84
|
-
opacity: 1;
|
|
85
|
-
}
|
|
86
|
-
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
|
|
87
|
-
opacity: 0;
|
|
88
|
-
visibility: visible;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.cdk-overlay-backdrop-noop-animation {
|
|
92
|
-
transition: none;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.cdk-overlay-connected-position-bounding-box {
|
|
96
|
-
position: absolute;
|
|
97
|
-
z-index: 1000;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
min-width: 1px;
|
|
101
|
-
min-height: 1px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.cdk-global-scrollblock {
|
|
105
|
-
position: fixed;
|
|
106
|
-
width: 100%;
|
|
107
|
-
overflow-y: scroll;
|
|
108
|
-
}
|