@eui/styles 15.0.0-rc.2 → 15.0.0-rc.21
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 +2 -1
- package/dist/styles/eui-ecl-ec.css.map +1 -1
- package/dist/styles/eui-ecl-eu.css +2 -1
- package/dist/styles/eui-ecl-eu.css.map +1 -1
- package/dist/styles/eui-extra-utilities.css.map +1 -1
- package/dist/styles/eui-legacy-bootstrap.css.map +1 -1
- package/dist/styles/eui-legacy-icons-font.css.map +1 -1
- package/dist/styles/eui-legacy-utilities.css.map +1 -1
- package/dist/styles/eui-legacy.css +2 -2
- package/dist/styles/eui-legacy.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 +2 -2
- package/dist/styles/eui-showcase-all.css.map +1 -1
- package/dist/styles/eui.css +2 -2
- package/dist/styles/eui.css.map +1 -1
- package/package.json +1 -1
- package/src/styles/01-ecl/_module-ec.scss +2 -0
- package/src/styles/01-ecl/_module-eu.scss +2 -0
- package/src/styles/02-base/mixins/_eui-input.scss +14 -2
- package/src/styles/02-base/mixins/_module.scss +0 -2
- package/src/styles/02b-base-vars/_layout.vars.scss +4 -4
- package/src/styles/05-material/_module.scss +20 -25
- package/src/styles/05-material/compiled/_full.scss +685 -0
- package/src/styles/05-material/compiled/_sources.scss +382 -0
- package/src/styles/05-material/{_old-v14-material/components → overrides}/_calendar.scss +2 -0
- package/src/styles/05-material/{_old-v14-material/components → overrides}/_cdk-drag.scss +5 -11
- package/src/styles/05-material/overrides/{_cdk.scss → _cdk-global-scrollblock.scss} +1 -5
- package/src/styles/05-material/{_old-v14-material/components → overrides}/_cdk-overlay-container.scss +0 -0
- package/src/styles/05-material/overrides/_cdk-overlay-pane.scss +4 -0
- package/src/styles/05-material/{_old-v14-material/components → overrides}/_module.scss +0 -6
- package/src/styles/06-shared/_default.scss +11 -0
- package/src/styles/06-shared/_module.scss +1 -0
- package/src/styles/06-shared/_typography.scss +0 -6
- package/src/styles/07-elements/_module-legacy.scss +1 -2
- package/src/styles/eui-showcase-all-dev.scss +2 -1
- package/src/styles/eui-showcase-all.scss +2 -1
- package/src/styles/02-base/mixins/_eui-svg-icons-content.scss +0 -18
- package/src/styles/05-material/_old-v14-material/_module.scss +0 -2
- package/src/styles/05-material/_old-v14-material/components/_button.scss +0 -133
- package/src/styles/05-material/_old-v14-material/components/_cdk-global-scrollblock.scss +0 -16
- package/src/styles/05-material/_old-v14-material/components/_cdk-overlay-pane.scss +0 -4
- package/src/styles/05-material/_old-v14-material/components/_checkbox.scss +0 -53
- package/src/styles/05-material/_old-v14-material/components/_input.scss +0 -13
- package/src/styles/05-material/_old-v14-material/components/_option.scss +0 -5
- package/src/styles/05-material/_old-v14-material/components/_radio.scss +0 -66
- package/src/styles/05-material/_old-v14-material/components/_tooltip.scss +0 -290
- package/src/styles/05-material/_old-v14-material/themes/default/_module.scss +0 -2
- package/src/styles/05-material/_old-v14-material/themes/default/_theme.scss +0 -9
- package/src/styles/05-material/_old-v14-material/themes/default/_variables.scss +0 -64
- package/src/styles/05-material/_overrides.scss +0 -1
- package/src/styles/05-material/overrides/_tooltip.scss +0 -290
- package/src/styles/07-elements/legacy/_input-checkbox-default.scss +0 -368
- package/src/styles/07-elements/legacy/_input-radio-default.scss +0 -289
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Disable global scrollbars (used in full screen eui-dialog for example)
|
|
2
|
-
.cdk-global-scrollblock {
|
|
3
|
-
position: fixed;
|
|
4
|
-
overflow-y: scroll; // Material default
|
|
5
|
-
width: 100%;
|
|
6
|
-
@include eui-scrollbars;
|
|
7
|
-
}
|
|
8
|
-
@include media($eui-bkp-mobile) {
|
|
9
|
-
.cdk-global-scrollblock {
|
|
10
|
-
height: 100%;
|
|
11
|
-
overflow: auto;
|
|
12
|
-
position: fixed;
|
|
13
|
-
width: 100%;
|
|
14
|
-
@include eui-scrollbars;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.mat-checkbox {
|
|
2
|
-
// Exposed vars
|
|
3
|
-
--mat-checkbox-color-primary: var(--eui-base-color-primary-100);
|
|
4
|
-
--mat-checkbox-color-accent: var(--eui-base-color-accent-120);
|
|
5
|
-
--mat-checkbox-color-warning: var(--eui-base-color-warning-100);
|
|
6
|
-
--mat-checkbox-line-height: 1.5;
|
|
7
|
-
--mat-checkbox-height: calc(var(--eui-base-spacing-l) - var(--eui-base-spacing-2xs));
|
|
8
|
-
--mat-checkbox-width: calc(var(--eui-base-spacing-l) - var(--eui-base-spacing-2xs));
|
|
9
|
-
|
|
10
|
-
// Overrides & alignements
|
|
11
|
-
.mat-checkbox-inner-container {
|
|
12
|
-
height: var(--mat-checkbox-height);
|
|
13
|
-
margin-right: var(--eui-base-spacing-2xs);
|
|
14
|
-
width: var(--mat-checkbox-width);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-checkbox-layout .mat-checkbox-label {
|
|
18
|
-
line-height: var(--mat-checkbox-line-height);
|
|
19
|
-
margin-left: var(--eui-base-spacing-xs);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.mat-checkbox-indeterminate,
|
|
23
|
-
&.mat-checkbox-checked {
|
|
24
|
-
// Default
|
|
25
|
-
.mat-checkbox-background {
|
|
26
|
-
background-color: var(--mat-checkbox-color-primary);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.mat-primary {
|
|
30
|
-
.mat-checkbox-background {
|
|
31
|
-
background-color: var(--mat-checkbox-color-primary);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.mat-accent {
|
|
36
|
-
.mat-checkbox-background {
|
|
37
|
-
background-color: var(--mat-checkbox-color-accent);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.mat-warn {
|
|
42
|
-
.mat-checkbox-background {
|
|
43
|
-
background-color: var(--mat-checkbox-color-warning);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
li {
|
|
50
|
-
.mat-checkbox {
|
|
51
|
-
display: flex;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.mat-radio-group {
|
|
2
|
-
align-items: flex-start;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-wrap: wrap;
|
|
5
|
-
width: unset !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.mat-radio-button {
|
|
9
|
-
// Exposed vars
|
|
10
|
-
--mat-radio-color-primary: var(--eui-base-color-primary-100);
|
|
11
|
-
--mat-radio-height: calc(var(--eui-base-spacing-l) - var(--eui-base-spacing-2xs));
|
|
12
|
-
--mat-radio-width: calc(var(--eui-base-spacing-l) - var(--eui-base-spacing-2xs));
|
|
13
|
-
|
|
14
|
-
// Overrides & alignements
|
|
15
|
-
margin-bottom: var(--eui-base-spacing-xs);
|
|
16
|
-
|
|
17
|
-
.row & {
|
|
18
|
-
margin-bottom: 0; // Horizontal layout
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.mat-radio-container {
|
|
22
|
-
height: var(--mat-radio-height);
|
|
23
|
-
margin-right: var(--eui-base-spacing-2xs);
|
|
24
|
-
width: var(--mat-radio-width);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.mat-radio-inner-container {
|
|
28
|
-
height: var(--mat-radio-height);
|
|
29
|
-
margin-right: var(--eui-base-spacing-2xs);
|
|
30
|
-
width: var(--mat-radio-width);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.mat-radio-outer-circle {
|
|
34
|
-
height: var(--mat-radio-height);
|
|
35
|
-
width: var(--mat-radio-width);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mat-radio-label {
|
|
39
|
-
padding-right: 0;
|
|
40
|
-
|
|
41
|
-
// Label
|
|
42
|
-
.mat-radio-label-content {
|
|
43
|
-
font-family: var(--eui-base-font-family);
|
|
44
|
-
font-weight: 500;
|
|
45
|
-
padding-left: var(--eui-base-spacing-xs);
|
|
46
|
-
padding-right: var(--eui-base-spacing-m);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.mat-radio-checked {
|
|
51
|
-
.mat-radio-outer-circle {
|
|
52
|
-
border-color: var(--eui-base-color-grey-100) !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.mat-radio-inner-circle {
|
|
56
|
-
background-color: var(--mat-radio-color-primary);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Focus !
|
|
60
|
-
&.cdk-focused {
|
|
61
|
-
.mat-radio-outer-circle {
|
|
62
|
-
@include eui-accessible-focus();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
/* eUI Tooltip styles overrides and customizations based on Angular Material Tooltip
|
|
2
|
-
Features :
|
|
3
|
-
- added material shadow by default
|
|
4
|
-
- added optional arrows display based on tooltip position and color state class
|
|
5
|
-
- allow multi-lines feature with pre-line white space setting
|
|
6
|
-
- allow tooltip content alignments (default: centered)
|
|
7
|
-
- custom spacings
|
|
8
|
-
- set minimum width (2rem)
|
|
9
|
-
- custom font styling (letter spacing)
|
|
10
|
-
- set default tooltip borders to be squared
|
|
11
|
-
- optional tooltip rounded borders
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
$tooltip-background-color: rgba(37, 36, 36, 0.9); // MD rgba(97,97,97,.9);
|
|
15
|
-
$tooltip-arrow-width: 8px;
|
|
16
|
-
|
|
17
|
-
// Each Tooltip is instanciated within the cdk-overlay-container
|
|
18
|
-
// with its own life cycle based on optional show/hide delay
|
|
19
|
-
.cdk-overlay-container {
|
|
20
|
-
.cdk-overlay-pane.mat-tooltip-panel {
|
|
21
|
-
.mat-tooltip {
|
|
22
|
-
--eui-base-border-radius: 4px; // Override root default (MD)
|
|
23
|
-
|
|
24
|
-
background-color: $tooltip-background-color;
|
|
25
|
-
border-radius: 0 !important; // defaut squared
|
|
26
|
-
box-shadow: v(eui-base-shadow-4);
|
|
27
|
-
color: v(eui-base-color-white) !important; // default font color
|
|
28
|
-
font-size: v(eui-base-font-size-xs);
|
|
29
|
-
letter-spacing: 0.5px;
|
|
30
|
-
margin: v(eui-base-spacing-m) !important; // This controls the spacing from tooltip to parent element
|
|
31
|
-
max-width: 50vw;
|
|
32
|
-
min-width: v(eui-base-spacing-2xl);
|
|
33
|
-
overflow: visible !important; // Mandatory for arrows to be displayed
|
|
34
|
-
padding-left: v(eui-base-spacing-xs) !important; // We must control the paddings from which arrow's positions are set
|
|
35
|
-
padding-right: v(eui-base-spacing-xs) !important;
|
|
36
|
-
padding-bottom: v(eui-base-spacing-xs) !important;
|
|
37
|
-
padding-top: v(eui-base-spacing-xs) !important;
|
|
38
|
-
text-align: center; // default (see optional content alignment)
|
|
39
|
-
text-overflow: ellipsis;
|
|
40
|
-
white-space: pre-line; // Allow multi-lines tooltip
|
|
41
|
-
|
|
42
|
-
// ARROWS COMMON BASE
|
|
43
|
-
&:before {
|
|
44
|
-
border-color: transparent;
|
|
45
|
-
border-style: solid;
|
|
46
|
-
border-width: $tooltip-arrow-width;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
content: '';
|
|
49
|
-
display: block;
|
|
50
|
-
height: 0;
|
|
51
|
-
position: absolute;
|
|
52
|
-
width: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.eui-tooltip {
|
|
56
|
-
white-space: pre-line; // Allow multi-lines tooltip
|
|
57
|
-
|
|
58
|
-
// COLOR STATES
|
|
59
|
-
&.eui-tooltip--primary {
|
|
60
|
-
background-color: v(eui-base-color-primary-100);
|
|
61
|
-
color: v(eui-base-color-white);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.eui-tooltip--secondary {
|
|
65
|
-
background-color: v(eui-base-color-grey-15);
|
|
66
|
-
color: v(eui-base-color-grey-100) !important;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.eui-tooltip--info {
|
|
70
|
-
background-color: v(eui-base-color-info-100);
|
|
71
|
-
color: v(eui-base-color-white);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&.eui-tooltip--success {
|
|
75
|
-
background-color: v(eui-base-color-success-100);
|
|
76
|
-
color: v(eui-base-color-white);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.eui-tooltip--warning {
|
|
80
|
-
background-color: v(eui-base-color-warning-100);
|
|
81
|
-
color: v(eui-base-color-black) !important; // WCAG2 AA compliant
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.eui-tooltip--danger {
|
|
85
|
-
background-color: v(eui-base-color-danger-100);
|
|
86
|
-
color: v(eui-base-color-white);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&.eui-tooltip--accent {
|
|
90
|
-
color: v(eui-base-color-black) !important; // WCAG2 AA compliant
|
|
91
|
-
background-color: v(eui-base-color-accent-100);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.eui-tooltip--rounded {
|
|
95
|
-
border-radius: v(eui-base-border-radius) !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// CONTENT ALIGNMENT
|
|
99
|
-
&.eui-tooltip--content-center {
|
|
100
|
-
text-align: center;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.eui-tooltip--content-left {
|
|
104
|
-
text-align: left;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.eui-tooltip--content-right {
|
|
108
|
-
text-align: right;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.eui-tooltip--content-justify {
|
|
112
|
-
hyphens: auto;
|
|
113
|
-
text-align: justify;
|
|
114
|
-
word-break: break-word;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// SHOW ARROWS
|
|
118
|
-
&.eui-tooltip--arrows {
|
|
119
|
-
|
|
120
|
-
// TOOLTIP POSITION TOP (default)
|
|
121
|
-
&.eui-tooltip--above {
|
|
122
|
-
// ADD BOTTOM ARROW
|
|
123
|
-
&:before {
|
|
124
|
-
border-color: $tooltip-background-color transparent transparent transparent;
|
|
125
|
-
left: calc(50% - #{$tooltip-arrow-width});
|
|
126
|
-
transform: translate(0, $tooltip-arrow-width * 2);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&.eui-tooltip {
|
|
130
|
-
&--primary:before { border-color: v(eui-base-color-primary-100) transparent transparent transparent; }
|
|
131
|
-
&--secondary:before { border-color: v(eui-base-color-grey-15) transparent transparent transparent; }
|
|
132
|
-
&--info:before { border-color: v(eui-base-color-info-100) transparent transparent transparent; }
|
|
133
|
-
&--success:before { border-color: v(eui-base-color-success-100) transparent transparent transparent; }
|
|
134
|
-
&--warning:before { border-color: v(eui-base-color-warning-100) transparent transparent transparent; }
|
|
135
|
-
&--danger:before { border-color: v(eui-base-color-danger-100) transparent transparent transparent; }
|
|
136
|
-
&--accent:before { border-color: v(eui-base-color-accent-100) transparent transparent transparent; }
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// TOOLTIP POSITION BOTTOM
|
|
141
|
-
&.eui-tooltip--below {
|
|
142
|
-
// ADD TOP ARROW
|
|
143
|
-
&:before {
|
|
144
|
-
border-color: transparent transparent $tooltip-background-color transparent;
|
|
145
|
-
left: calc(50% - #{$tooltip-arrow-width});
|
|
146
|
-
top: 0;
|
|
147
|
-
transform: translate(0, -100%);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.eui-tooltip {
|
|
151
|
-
&--primary:before { border-color: transparent transparent v(eui-base-color-primary-100) transparent; }
|
|
152
|
-
&--secondary:before { border-color: transparent transparent v(eui-base-color-grey-15) transparent; }
|
|
153
|
-
&--info:before { border-color: transparent transparent v(eui-base-color-info-100) transparent; }
|
|
154
|
-
&--success:before { border-color: transparent transparent v(eui-base-color-success-100) transparent; }
|
|
155
|
-
&--warning:before { border-color: transparent transparent v(eui-base-color-warning-100) transparent; }
|
|
156
|
-
&--danger:before { border-color: transparent transparent v(eui-base-color-danger-100) transparent; }
|
|
157
|
-
&--accent:before { border-color: transparent transparent v(eui-base-color-accent-100) transparent; }
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// TOOLTIP POSITION LEFT
|
|
162
|
-
&.eui-tooltip--left,
|
|
163
|
-
&.eui-tooltip--before {
|
|
164
|
-
// ADD RIGHT ARROW
|
|
165
|
-
&:before {
|
|
166
|
-
border-color: transparent transparent transparent $tooltip-background-color;
|
|
167
|
-
right: -$tooltip-arrow-width;
|
|
168
|
-
top: 50%;
|
|
169
|
-
transform: translate($tooltip-arrow-width, -$tooltip-arrow-width);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&.eui-tooltip {
|
|
173
|
-
&--primary:before { border-color: transparent transparent transparent v(eui-base-color-primary-100); }
|
|
174
|
-
&--secondary:before { border-color: transparent transparent transparent v(eui-base-color-grey-15); }
|
|
175
|
-
&--info:before { border-color: transparent transparent transparent v(eui-base-color-info-100); }
|
|
176
|
-
&--success:before { border-color: transparent transparent transparent v(eui-base-color-success-100); }
|
|
177
|
-
&--warning:before { border-color: transparent transparent transparent v(eui-base-color-warning-100); }
|
|
178
|
-
&--danger:before { border-color: transparent transparent transparent v(eui-base-color-danger-100); }
|
|
179
|
-
&--accent:before { border-color: transparent transparent transparent v(eui-base-color-accent-100); }
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// TOOLTIP POSITION RIGHT
|
|
184
|
-
&.eui-tooltip--right,
|
|
185
|
-
&.eui-tooltip--after {
|
|
186
|
-
// ADD LEFT ARROW
|
|
187
|
-
&:before {
|
|
188
|
-
border-color: transparent $tooltip-background-color transparent transparent;
|
|
189
|
-
left: -$tooltip-arrow-width;
|
|
190
|
-
top: 50%;
|
|
191
|
-
transform: translate(-$tooltip-arrow-width, -$tooltip-arrow-width);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&.eui-tooltip {
|
|
195
|
-
&--primary:before { border-color: transparent v(eui-base-color-primary-100) transparent transparent; }
|
|
196
|
-
&--secondary:before { border-color: transparent v(eui-base-color-grey-15) transparent transparent; }
|
|
197
|
-
&--info:before { border-color: transparent v(eui-base-color-info-100) transparent transparent; }
|
|
198
|
-
&--success:before { border-color: transparent v(eui-base-color-success-100) transparent transparent; }
|
|
199
|
-
&--warning:before { border-color: transparent v(eui-base-color-warning-100) transparent transparent; }
|
|
200
|
-
&--danger:before { border-color: transparent v(eui-base-color-danger-100) transparent transparent; }
|
|
201
|
-
&--accent:before { border-color: transparent v(eui-base-color-accent-100) transparent transparent; }
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// In case when we have a tooltip to be shown below, but that's not possible because of bottom of the page.
|
|
211
|
-
.cdk-overlay-container {
|
|
212
|
-
.cdk-overlay-pane.mat-tooltip-panel-above {
|
|
213
|
-
.mat-tooltip {
|
|
214
|
-
&.eui-tooltip {
|
|
215
|
-
&.eui-tooltip--arrows {
|
|
216
|
-
&.eui-tooltip--below {
|
|
217
|
-
&:before {
|
|
218
|
-
border-color: $tooltip-background-color transparent transparent transparent;
|
|
219
|
-
left: calc(50% - #{$tooltip-arrow-width});
|
|
220
|
-
top: auto;
|
|
221
|
-
transform: translate(0, $tooltip-arrow-width * 2);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// When we have a tooltip tp be shown above, but that's not possible because of the top of the page. Arrow should be flipped.
|
|
231
|
-
.cdk-overlay-container {
|
|
232
|
-
.cdk-overlay-pane.mat-tooltip-panel-below {
|
|
233
|
-
.mat-tooltip {
|
|
234
|
-
&.eui-tooltip {
|
|
235
|
-
&.eui-tooltip--arrows {
|
|
236
|
-
&.eui-tooltip--above {
|
|
237
|
-
&:before {
|
|
238
|
-
border-color: transparent transparent $tooltip-background-color transparent;
|
|
239
|
-
top: 0;
|
|
240
|
-
transform: translate(0, -100%);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// When the tooltip should appear on the left, but it reaches end of the page.
|
|
250
|
-
.cdk-overlay-container {
|
|
251
|
-
.cdk-overlay-pane.mat-tooltip-panel-left {
|
|
252
|
-
.mat-tooltip {
|
|
253
|
-
&.eui-tooltip {
|
|
254
|
-
&.eui-tooltip--arrows {
|
|
255
|
-
&.eui-tooltip--right,
|
|
256
|
-
&.eui-tooltip--after {
|
|
257
|
-
&:before {
|
|
258
|
-
border-color: transparent transparent transparent $tooltip-background-color;
|
|
259
|
-
right: -$tooltip-arrow-width;
|
|
260
|
-
left: auto;
|
|
261
|
-
transform: translate($tooltip-arrow-width, -$tooltip-arrow-width);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// When the tooltip should appear on the right, but it reaches end of the page.
|
|
271
|
-
.cdk-overlay-container {
|
|
272
|
-
.cdk-overlay-pane.mat-tooltip-panel-right {
|
|
273
|
-
.mat-tooltip {
|
|
274
|
-
&.eui-tooltip {
|
|
275
|
-
&.eui-tooltip--arrows {
|
|
276
|
-
&.eui-tooltip--left,
|
|
277
|
-
&.eui-tooltip--before {
|
|
278
|
-
&:before {
|
|
279
|
-
border-color: transparent $tooltip-background-color transparent transparent;
|
|
280
|
-
left: -$tooltip-arrow-width;
|
|
281
|
-
right: auto;
|
|
282
|
-
top: 50%;
|
|
283
|
-
transform: translate(-$tooltip-arrow-width, -$tooltip-arrow-width);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// eUI DEFAULT - MD Light Theme
|
|
2
|
-
// ----------------------------
|
|
3
|
-
|
|
4
|
-
// Include the common styles for Angular Material.
|
|
5
|
-
// Be sure that you only ever include this mixin once!
|
|
6
|
-
@include mat-core();
|
|
7
|
-
|
|
8
|
-
// Include & apply theme styles for all Material core components including CDK elements
|
|
9
|
-
@include angular-material-theme($eui-t-material-theme);
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
@import '@angular/material/theming';
|
|
2
|
-
|
|
3
|
-
// Define the main palette with default and optional lighter and darker hue values
|
|
4
|
-
$eui-t-color-primary: legacy-mat-palette($mat-eui-primary, 500, 300, 900); // $palette-name, $default: 500, $lighter: 100, $darker: 700
|
|
5
|
-
$eui-t-color-accent: legacy-mat-palette($mat-eui-accent, A200, A100, A400);
|
|
6
|
-
$eui-t-color-warn: legacy-mat-palette($mat-eui-danger, 500, A700, 900); // The warn palette is optional (default: $mat-red)
|
|
7
|
-
|
|
8
|
-
// Background palette properties
|
|
9
|
-
$eui-t-color-background: (
|
|
10
|
-
status-bar: map_get($mat-grey, 300),
|
|
11
|
-
app-bar: map_get($mat-grey, 100),
|
|
12
|
-
background: map_get($mat-grey, 50),
|
|
13
|
-
hover: rgba(black, 0.04),
|
|
14
|
-
card: white,
|
|
15
|
-
dialog: white,
|
|
16
|
-
disabled-button: rgba(black, 0.12),
|
|
17
|
-
raised-button: white,
|
|
18
|
-
focused-button: $dark-focused,
|
|
19
|
-
selected-button: map_get($mat-grey, 300),
|
|
20
|
-
selected-disabled-button: map_get($mat-grey, 400),
|
|
21
|
-
disabled-button-toggle: map_get($mat-grey, 200),
|
|
22
|
-
unselected-chip: map_get($mat-grey, 300),
|
|
23
|
-
disabled-list-option: map_get($mat-grey, 200),
|
|
24
|
-
tooltip: map_get($mat-grey, 700),
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
// Foreground palette properties
|
|
28
|
-
$eui-t-color-foreground: (
|
|
29
|
-
base: black,
|
|
30
|
-
divider: $dark-dividers,
|
|
31
|
-
dividers: $dark-dividers,
|
|
32
|
-
disabled: $dark-disabled-text,
|
|
33
|
-
disabled-button: rgba(black, 0.26),
|
|
34
|
-
disabled-text: $dark-disabled-text,
|
|
35
|
-
elevation: black,
|
|
36
|
-
hint-text: $dark-disabled-text,
|
|
37
|
-
secondary-text: $dark-secondary-text,
|
|
38
|
-
icon: rgba(black, 0.54),
|
|
39
|
-
icons: rgba(black, 0.54),
|
|
40
|
-
text: rgba(black, 0.87),
|
|
41
|
-
slider-min: rgba(black, 0.87),
|
|
42
|
-
slider-off: rgba(black, 0.26),
|
|
43
|
-
slider-off-active: rgba(black, 0.38),
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
// These container's objects can be created with either the mat-light-theme or the mat-dark-theme functions
|
|
47
|
-
// @function mat-light-theme() return
|
|
48
|
-
$eui-t-material-theme: (
|
|
49
|
-
primary: $eui-t-color-primary,
|
|
50
|
-
accent: $eui-t-color-accent,
|
|
51
|
-
warn: $eui-t-color-warn,
|
|
52
|
-
is-dark: false,
|
|
53
|
-
background: $eui-t-color-background,
|
|
54
|
-
foreground: $eui-t-color-foreground,
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
$eui-t-material-theme-primary: (
|
|
58
|
-
primary: $eui-t-color-primary,
|
|
59
|
-
accent: $eui-t-color-primary, // forced accent default to primary (cfr. mat checkbox, slide-toggle, etc.)
|
|
60
|
-
warn: $eui-t-color-warn,
|
|
61
|
-
is-dark: false,
|
|
62
|
-
background: $eui-t-color-background,
|
|
63
|
-
foreground: $eui-t-color-foreground,
|
|
64
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import 'overrides/cdk';
|