@allsorter/ui-components 0.0.367 → 0.0.370
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/fesm2022/allsorter-ui-components.mjs +2996 -1391
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/images/Column left.svg +5 -0
- package/images/Move.svg +8 -0
- package/images/Success.svg +5 -0
- package/images/Table.svg +3 -0
- package/images/Vector-1.svg +3 -0
- package/images/Vector.svg +3 -0
- package/images/add-teble.svg +6 -0
- package/images/arrow_downward.svg +3 -0
- package/images/calendar_year.svg +4 -0
- package/images/column right.svg +5 -0
- package/images/delete -table.svg +6 -0
- package/images/delete row.svg +10 -0
- package/images/delete-column.svg +10 -0
- package/images/delete.svg +3 -0
- package/images/drag-drop-icon.svg +8 -0
- package/images/edit.svg +3 -0
- package/images/error.svg +5 -0
- package/images/row bottom.svg +5 -0
- package/images/row top.svg +5 -0
- package/images/search.svg +3 -0
- package/images/subrole.svg +3 -0
- package/images/visibility_off.svg +3 -0
- package/images/warning.svg +5 -0
- package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
- package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
- package/lib/button/button.component.d.ts +30 -1
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
- package/lib/experience-section/experience-section.component.d.ts +4 -2
- package/lib/general-container/general-container.component.d.ts +5 -1
- package/lib/icon-button/icon-button.component.d.ts +16 -7
- package/lib/input/input.component.d.ts +41 -10
- package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
- package/lib/resume-entries/resume-entries.component.d.ts +7 -1
- package/lib/resume-header/resume-header.model.d.ts +11 -20
- package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
- package/lib/styles/border-radius.scss +11 -0
- package/lib/styles/button-mixins.scss +41 -0
- package/lib/styles/button.scss +117 -0
- package/lib/styles/colors.scss +221 -0
- package/lib/styles/elevation.scss +46 -0
- package/lib/styles/new-typography.scss +202 -0
- package/lib/styles/spacing.scss +39 -0
- package/lib/styles/typography-classes.scss +203 -0
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +54 -0
- package/package.json +15 -3
- package/public-api.d.ts +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
- package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
- package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
- package/src/lib/button/button.component.html +127 -0
- package/src/lib/button/button.component.scss +1238 -0
- package/src/lib/candidate-section/candidate-section.component.html +91 -0
- package/src/lib/candidate-section/candidate-section.component.scss +154 -0
- package/src/lib/checkbox/checkbox.component.html +24 -0
- package/src/lib/checkbox/checkbox.component.scss +280 -0
- package/src/lib/custom-editor/custom-editor.component.html +129 -0
- package/src/lib/custom-editor/custom-editor.component.scss +441 -0
- package/src/lib/custom-editor/table/table.component.html +21 -0
- package/src/lib/date-range/date-range.component.html +33 -0
- package/src/lib/date-range/date-range.component.scss +284 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
- package/src/lib/experience-section/experience-section.component.html +20 -0
- package/src/lib/experience-section/experience-section.component.scss +0 -0
- package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
- package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
- package/src/lib/general-container/general-container.component.html +3 -0
- package/src/lib/general-container/general-container.component.scss +10 -0
- package/src/lib/icon-button/icon-button.component.html +12 -0
- package/src/lib/icon-button/icon-button.component.scss +77 -0
- package/src/lib/input/input.component.html +86 -0
- package/src/lib/input/input.component.scss +1337 -0
- package/src/lib/loader/loader.component.html +15 -0
- package/src/lib/loader/loader.component.scss +493 -0
- package/src/lib/new-typography/new-typography.component.html +10 -0
- package/src/lib/new-typography/new-typography.component.scss +200 -0
- package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
- package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
- package/src/lib/radio/radio.component.html +23 -0
- package/src/lib/radio/radio.component.scss +253 -0
- package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
- package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
- package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
- package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
- package/src/lib/resume-entries/resume-entries.component.html +97 -0
- package/src/lib/resume-entries/resume-entries.component.scss +341 -0
- package/src/lib/resume-header/resume-header.component.html +167 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
- package/src/lib/styles/border-radius.scss +11 -0
- package/src/lib/styles/button-mixins.scss +41 -0
- package/src/lib/styles/button.scss +117 -0
- package/src/lib/styles/colors.scss +221 -0
- package/src/lib/styles/elevation.scss +46 -0
- package/src/lib/styles/new-typography.scss +202 -0
- package/src/lib/styles/spacing.scss +39 -0
- package/src/lib/styles/typography-classes.scss +203 -0
- package/src/lib/tabs/tabs.component.html +9 -0
- package/src/lib/tabs/tabs.component.scss +151 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
- package/src/lib/tooltip/tooltip.component.html +6 -0
- package/src/lib/tooltip/tooltip.component.scss +8 -0
- package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
- package/lib/resume-header/resume-header.component.d.ts +0 -69
- package/lib/resume-header/resume-header.module.d.ts +0 -8
|
@@ -0,0 +1,1238 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
|
|
2
|
+
@import "../styles/typography-classes.scss";
|
|
3
|
+
@import "../styles/colors.scss";
|
|
4
|
+
@import "../styles/border-radius.scss";
|
|
5
|
+
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=network_node");
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// Override grey color for buttons to use grey-600
|
|
9
|
+
$color-grey: $color-grey-600;
|
|
10
|
+
|
|
11
|
+
.material-icons-outlined {
|
|
12
|
+
font-family: 'Material Icons Outlined';
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
/* These two preserve the standard Material Icons sizing/ligatures */
|
|
16
|
+
font-feature-settings: 'liga';
|
|
17
|
+
font-variation-settings: 'FILL'0, 'wght'400, 'GRAD'0, 'opsz'24;
|
|
18
|
+
/* everything else can stay at Angular’s defaults */
|
|
19
|
+
/* Base Button Styling */
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mdc-button.btn {
|
|
23
|
+
/* Global radius as per spec */
|
|
24
|
+
border-radius: $radius-8;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
border: none;
|
|
29
|
+
transition: background 0.2s, border 0.2s, transform 0.1s;
|
|
30
|
+
|
|
31
|
+
min-width: auto !important;
|
|
32
|
+
gap: 8px;
|
|
33
|
+
height: auto !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Button Categories primary*/
|
|
37
|
+
.mdc-button.btn-primary1 {
|
|
38
|
+
background-color: $color-blue;
|
|
39
|
+
color: white;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mdc-button.btn-primary2 {
|
|
43
|
+
background-color: $color-green;
|
|
44
|
+
color: white;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.mdc-button.btn-secondary {
|
|
48
|
+
background-color: $color-grey;
|
|
49
|
+
color: white;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mdc-button.btn-destructive {
|
|
53
|
+
background-color: $color-error;
|
|
54
|
+
color: white;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.mdc-button.btn-gradient {
|
|
58
|
+
background: $color-gradient;
|
|
59
|
+
color: white;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Hover States */
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
.mdc-button.btn-primary2:hover {
|
|
66
|
+
background-color: $color-green-hover !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.mdc-button.btn-primary2:active {
|
|
70
|
+
background-color: $color-green-active !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.mdc-button.btn-primary2:outlined {
|
|
74
|
+
background-color: #fff;
|
|
75
|
+
border-radius: $radius-4;
|
|
76
|
+
border: 1px solid $color-outline-green;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.mdc-button.btn-primary1:hover {
|
|
80
|
+
background-color: $color-blue-hover !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.mdc-button.btn-primary1:active {
|
|
84
|
+
background-color: $color-blue-active !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.mdc-button.btn-primary1:outlined {
|
|
88
|
+
background-color: #fff;
|
|
89
|
+
border-radius: $radius-4;
|
|
90
|
+
border: 1px solid $color-outline-blue;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.mdc-button.btn-secondary:hover {
|
|
94
|
+
background-color: $color-grey-hover !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.mdc-button.btn-secondary:active {
|
|
98
|
+
background-color: $color-grey-active !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mdc-button.btn-secondary:outlined {
|
|
102
|
+
background-color: #fff;
|
|
103
|
+
border-radius: $radius-4;
|
|
104
|
+
border: 1px solid $color-outline-grey;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
.mdc-button.btn-destructive:hover {
|
|
109
|
+
background-color: $color-error-hover !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mdc-button.btn-destructive:active {
|
|
113
|
+
background-color: $color-error-active !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mdc-button.btn-destructive:outlined {
|
|
117
|
+
background-color: #fff;
|
|
118
|
+
border-radius: $radius-4;
|
|
119
|
+
border: 1px solid $color-outline-error;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.mdc-button.btn-gradient:hover {
|
|
123
|
+
background: $color-gradient-hover !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.mdc-button.btn-gradient:active {
|
|
127
|
+
background: $color-gradient-active !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/* Pressed States (pseudo-class for active) */
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
/* Disabled State */
|
|
137
|
+
.mdc-button.btn-disabled {
|
|
138
|
+
border: none !important;
|
|
139
|
+
opacity: 0.4; // visually dim the existing button color
|
|
140
|
+
cursor: not-allowed;
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Color styles - Filled (default) */
|
|
145
|
+
.blue {
|
|
146
|
+
background-color: $color-blue !important;
|
|
147
|
+
color: #fff;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.blue.btn-hover,
|
|
151
|
+
.blue:hover {
|
|
152
|
+
background-color: $color-blue-hover !important;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.blue.btn-pressed,
|
|
156
|
+
.blue:active {
|
|
157
|
+
background-color: $color-blue-active !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.green {
|
|
161
|
+
background-color: $color-green !important;
|
|
162
|
+
color: #fff;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.green.btn-hover,
|
|
166
|
+
.green:hover {
|
|
167
|
+
background-color: $color-green-hover !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.green.btn-pressed,
|
|
171
|
+
.green:active {
|
|
172
|
+
background-color: $color-green-active !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.grey {
|
|
176
|
+
background-color: $color-grey !important;
|
|
177
|
+
color: #fff;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.grey.btn-hover,
|
|
181
|
+
.grey:hover {
|
|
182
|
+
background-color: $color-grey-hover !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.grey.btn-pressed,
|
|
186
|
+
.grey:active {
|
|
187
|
+
background-color: $color-grey-active !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.error {
|
|
191
|
+
background-color: $color-error !important;
|
|
192
|
+
color: #fff !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.error.btn-hover,
|
|
196
|
+
.error:hover {
|
|
197
|
+
background-color: $color-error-hover !important;
|
|
198
|
+
color: #fff !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.error.btn-pressed,
|
|
202
|
+
.error:active {
|
|
203
|
+
background-color: $color-error-active !important;
|
|
204
|
+
color: #fff !important;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.success {
|
|
208
|
+
background-color: $color-success !important;
|
|
209
|
+
color: #fff !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.success.btn-hover,
|
|
213
|
+
.success:hover {
|
|
214
|
+
background-color: $color-success-hover !important;
|
|
215
|
+
color: #fff !important;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.success.btn-pressed,
|
|
219
|
+
.success:active {
|
|
220
|
+
background-color: $color-success-active !important;
|
|
221
|
+
color: #fff !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.gradient {
|
|
225
|
+
background: linear-gradient(275deg, $color-blue -36.22%, $color-green 100.04%);
|
|
226
|
+
color: #fff !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.gradient.btn-hover,
|
|
230
|
+
.gradient:hover {
|
|
231
|
+
opacity: 0.9;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.gradient.btn-pressed,
|
|
235
|
+
.gradient:active {
|
|
236
|
+
opacity: 0.8;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.white {
|
|
240
|
+
background-color: #fff !important;
|
|
241
|
+
color: $color-grey-800 !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.white.btn-hover,
|
|
245
|
+
.white:hover {
|
|
246
|
+
background-color: $color-grey-100 !important;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.white.btn-pressed,
|
|
250
|
+
.white:active {
|
|
251
|
+
background-color: $color-grey-200 !important;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* Outline styles - Applied when btn-outlined class is present */
|
|
255
|
+
.blue.btn-outlined {
|
|
256
|
+
background-color: #fff !important;
|
|
257
|
+
color: $color-outline-blue !important;
|
|
258
|
+
box-shadow: inset 0 0 0 1px $color-outline-blue !important;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.blue.btn-outlined.btn-hover,
|
|
262
|
+
.blue.btn-outlined:hover {
|
|
263
|
+
background-color: $color-blue-hover !important;
|
|
264
|
+
color: #fff !important;
|
|
265
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.blue.btn-outlined.btn-pressed,
|
|
269
|
+
.blue.btn-outlined:active {
|
|
270
|
+
background-color: $color-blue-active !important;
|
|
271
|
+
color: #fff !important;
|
|
272
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.green.btn-outlined {
|
|
276
|
+
background-color: #fff !important;
|
|
277
|
+
color: $color-outline-green !important;
|
|
278
|
+
box-shadow: inset 0 0 0 1px $color-outline-green !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.green.btn-outlined.btn-hover,
|
|
282
|
+
.green.btn-outlined:hover {
|
|
283
|
+
background-color: $color-green-hover !important;
|
|
284
|
+
color: #fff !important;
|
|
285
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.green.btn-outlined.btn-pressed,
|
|
289
|
+
.green.btn-outlined:active {
|
|
290
|
+
background-color: $color-green-active !important;
|
|
291
|
+
color: #fff !important;
|
|
292
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.grey.btn-outlined {
|
|
296
|
+
background-color: #fff !important;
|
|
297
|
+
color: $color-outline-grey !important;
|
|
298
|
+
box-shadow: inset 0 0 0 1px $color-outline-grey !important;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.grey.btn-outlined.btn-hover,
|
|
302
|
+
.grey.btn-outlined:hover {
|
|
303
|
+
background-color: $color-grey-hover !important;
|
|
304
|
+
color: #fff !important;
|
|
305
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.grey.btn-outlined.btn-pressed,
|
|
309
|
+
.grey.btn-outlined:active {
|
|
310
|
+
background-color: $color-grey-active !important;
|
|
311
|
+
color: #fff !important;
|
|
312
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.error.btn-outlined {
|
|
316
|
+
background-color: #fff !important;
|
|
317
|
+
color: $color-outline-error !important;
|
|
318
|
+
box-shadow: inset 0 0 0 1px $color-outline-error !important;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.error.btn-outlined.btn-hover,
|
|
322
|
+
.error.btn-outlined:hover {
|
|
323
|
+
background-color: $color-error-hover !important;
|
|
324
|
+
color: #fff !important;
|
|
325
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.error.btn-outlined.btn-pressed,
|
|
329
|
+
.error.btn-outlined:active {
|
|
330
|
+
background-color: $color-error-active !important;
|
|
331
|
+
color: #fff !important;
|
|
332
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.error.btn-outlined mat-icon,
|
|
336
|
+
.error.btn-outlined .button-label {
|
|
337
|
+
color: $color-outline-error !important;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.error.btn-outlined:hover mat-icon,
|
|
341
|
+
.error.btn-outlined:hover .button-label,
|
|
342
|
+
.error.btn-outlined:active mat-icon,
|
|
343
|
+
.error.btn-outlined:active .button-label {
|
|
344
|
+
color: #fff !important;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.success.btn-outlined {
|
|
348
|
+
background-color: #fff !important;
|
|
349
|
+
color: $color-outline-success !important;
|
|
350
|
+
box-shadow: inset 0 0 0 1px $color-outline-success !important;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.success.btn-outlined.btn-hover,
|
|
354
|
+
.success.btn-outlined:hover {
|
|
355
|
+
background-color: $color-success-hover !important;
|
|
356
|
+
color: #fff !important;
|
|
357
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.success.btn-outlined.btn-pressed,
|
|
361
|
+
.success.btn-outlined:active {
|
|
362
|
+
background-color: $color-success-active !important;
|
|
363
|
+
color: #fff !important;
|
|
364
|
+
box-shadow: inset 0 0 0 0px transparent !important;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.success.btn-outlined mat-icon,
|
|
368
|
+
.success.btn-outlined .button-label {
|
|
369
|
+
color: $color-outline-success !important;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.success.btn-outlined:hover mat-icon,
|
|
373
|
+
.success.btn-outlined:hover .button-label,
|
|
374
|
+
.success.btn-outlined:active mat-icon,
|
|
375
|
+
.success.btn-outlined:active .button-label {
|
|
376
|
+
color: #fff !important;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.white.btn-outlined {
|
|
380
|
+
background-color: transparent !important;
|
|
381
|
+
color: $color-outline-white !important;
|
|
382
|
+
box-shadow: inset 0 0 0 1px $color-outline-white !important;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.white.btn-outlined.btn-hover,
|
|
386
|
+
.white.btn-outlined:hover {
|
|
387
|
+
background-color: transparent !important;
|
|
388
|
+
color: $color-outline-white !important;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.white.btn-outlined.btn-pressed,
|
|
392
|
+
.white.btn-outlined:active {
|
|
393
|
+
background-color: transparent !important;
|
|
394
|
+
color: $color-outline-white !important;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
/* Spacing between icon and label */
|
|
399
|
+
.btn.custom-button>*+* {
|
|
400
|
+
margin-left: 8px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* Fixed 20x20 icon size for label/two-icon buttons */
|
|
404
|
+
.two-icon-label {
|
|
405
|
+
padding: 4px 12px !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
button.two-icon-label .mat-icon {
|
|
409
|
+
width: 20px !important;
|
|
410
|
+
height: 20px !important;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
/* etc. */
|
|
415
|
+
@font-face {
|
|
416
|
+
font-family: 'Material Icons';
|
|
417
|
+
font-style: normal;
|
|
418
|
+
font-weight: 400;
|
|
419
|
+
src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.material-icons {
|
|
423
|
+
font-family: 'Material Icons';
|
|
424
|
+
font-weight: normal;
|
|
425
|
+
font-style: normal;
|
|
426
|
+
font-size: 24px;
|
|
427
|
+
line-height: 1;
|
|
428
|
+
letter-spacing: normal;
|
|
429
|
+
text-transform: none;
|
|
430
|
+
display: inline-block;
|
|
431
|
+
white-space: nowrap;
|
|
432
|
+
word-wrap: normal;
|
|
433
|
+
direction: ltr;
|
|
434
|
+
-webkit-font-feature-settings: 'liga';
|
|
435
|
+
-webkit-font-smoothing: antialiased;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.left-icon {
|
|
439
|
+
order: 0;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.right-icon {
|
|
443
|
+
order: 2;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
mat-icon.mat-icon {
|
|
447
|
+
margin: 0 !important;
|
|
448
|
+
padding: 0 !important;
|
|
449
|
+
display: inline-flex !important;
|
|
450
|
+
align-items: center !important;
|
|
451
|
+
justify-content: center !important;
|
|
452
|
+
vertical-align: middle;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.left-icon,
|
|
456
|
+
.right-icon {
|
|
457
|
+
display: inline-flex !important;
|
|
458
|
+
align-items: center !important;
|
|
459
|
+
justify-content: center !important;
|
|
460
|
+
flex-shrink: 0;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/* Ensure SVG icons inherit button text color for proper visibility */
|
|
464
|
+
.left-icon ::ng-deep svg,
|
|
465
|
+
.right-icon ::ng-deep svg {
|
|
466
|
+
fill: currentColor !important;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/* For white buttons with outlined style, ensure icons are visible */
|
|
470
|
+
.white.btn-outlined .left-icon ::ng-deep svg,
|
|
471
|
+
.white.btn-outlined .right-icon ::ng-deep svg {
|
|
472
|
+
fill: currentColor !important;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/* ------------------------------------------------------------------
|
|
476
|
+
Size utility classes
|
|
477
|
+
------------------------------------------------------------------ */
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
/* New naming convention */
|
|
482
|
+
.size-header {
|
|
483
|
+
font-size: 20px;
|
|
484
|
+
padding: 4px 6px !important;
|
|
485
|
+
gap: 4px !important;
|
|
486
|
+
border-radius: 4px !important;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.size-xs {
|
|
490
|
+
font-size: 12px;
|
|
491
|
+
padding: 8px 12px !important;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.size-sm {
|
|
495
|
+
font-size: 14px;
|
|
496
|
+
padding: 8px 12px !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.size-base {
|
|
500
|
+
font-size: 14px;
|
|
501
|
+
padding: 10px 16px !important;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.size-l {
|
|
505
|
+
font-size: 16px;
|
|
506
|
+
padding: 12px 20px !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.size-xl {
|
|
510
|
+
font-size: 16px;
|
|
511
|
+
padding: 14px 24px !important;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/* Reuse .size-xl for xl */
|
|
515
|
+
|
|
516
|
+
/* Icon sizes for new naming */
|
|
517
|
+
.size-header .mat-icon {
|
|
518
|
+
font-size: 20px;
|
|
519
|
+
height: 20px;
|
|
520
|
+
width: 20px;
|
|
521
|
+
display: inline-flex !important;
|
|
522
|
+
align-items: center !important;
|
|
523
|
+
justify-content: center !important;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.size-header .mat-icon ::ng-deep svg {
|
|
527
|
+
width: 20px !important;
|
|
528
|
+
height: 20px !important;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.size-xs .mat-icon {
|
|
532
|
+
font-size: 16px;
|
|
533
|
+
height: 16px;
|
|
534
|
+
width: 16px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.size-sm .mat-icon,
|
|
538
|
+
.size-base .mat-icon {
|
|
539
|
+
font-size: 16px;
|
|
540
|
+
height: 16px;
|
|
541
|
+
width: 16px;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.size-l .mat-icon {
|
|
545
|
+
font-size: 20px;
|
|
546
|
+
height: 20px;
|
|
547
|
+
width: 20px;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.size-xl .mat-icon {
|
|
551
|
+
font-size: 20px;
|
|
552
|
+
height: 20px;
|
|
553
|
+
width: 20px;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/* Adjust gap for header size */
|
|
557
|
+
.btn.size-header {
|
|
558
|
+
gap: 4px !important;
|
|
559
|
+
padding: 4px 6px !important;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/* --------------------------------------------------
|
|
563
|
+
Dropdown menu custom styling
|
|
564
|
+
-------------------------------------------------- */
|
|
565
|
+
::ng-deep .custom-dropdown-menu.mat-mdc-menu-panel,
|
|
566
|
+
::ng-deep .custom-dropdown-menu.mat-menu-panel {
|
|
567
|
+
padding: 0;
|
|
568
|
+
/* remove default padding */
|
|
569
|
+
border-radius: $radius-8;
|
|
570
|
+
/* rounded corners */
|
|
571
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
572
|
+
border: 1px solid rgba(0, 0, 0, 0.12);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-content,
|
|
576
|
+
::ng-deep .custom-dropdown-menu .mat-menu-content {
|
|
577
|
+
padding: 0;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item,
|
|
581
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item {
|
|
582
|
+
font-family: Roboto, sans-serif;
|
|
583
|
+
font-size: 16px;
|
|
584
|
+
font-style: normal;
|
|
585
|
+
font-weight: 400;
|
|
586
|
+
line-height: 140%;
|
|
587
|
+
/* 22.4px */
|
|
588
|
+
letter-spacing: 0.04px;
|
|
589
|
+
height: 56px;
|
|
590
|
+
padding: 16px 24px;
|
|
591
|
+
color: var(--Gray-700, #414651);
|
|
592
|
+
transition: background 0.2s ease-in-out;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/* Hover state */
|
|
596
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item:hover,
|
|
597
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item:hover {
|
|
598
|
+
background: #F7F9FE !important;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/* Focus state */
|
|
602
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item:focus,
|
|
603
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item:focus,
|
|
604
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item.cdk-keyboard-focused,
|
|
605
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item.cdk-keyboard-focused {
|
|
606
|
+
background: #E5E9FC !important;
|
|
607
|
+
outline: none;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/* Active/pressed state */
|
|
611
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item:active,
|
|
612
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item:active {
|
|
613
|
+
background: #F7F9FE !important;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/* Selected state */
|
|
617
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item[aria-selected="true"],
|
|
618
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item[aria-selected="true"],
|
|
619
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item.mat-mdc-menu-item-highlighted,
|
|
620
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item.mat-menu-item-highlighted {
|
|
621
|
+
background: #F7F9FE !important;
|
|
622
|
+
color: #5473E8 !important;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item[aria-selected="true"] .mat-mdc-menu-item-text,
|
|
626
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item[aria-selected="true"] span,
|
|
627
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item.mat-mdc-menu-item-highlighted .mat-mdc-menu-item-text,
|
|
628
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item.mat-mdc-menu-item-highlighted span {
|
|
629
|
+
color: #5473E8 !important;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/* subtle divider between items */
|
|
633
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item+.mat-mdc-menu-item,
|
|
634
|
+
::ng-deep .custom-dropdown-menu .mat-menu-item+.mat-menu-item {
|
|
635
|
+
border-top: 1px solid #EAECEE;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/* Force white background on Angular Material menu panel */
|
|
639
|
+
::ng-deep .mat-mdc-menu-panel,
|
|
640
|
+
::ng-deep .mat-menu-panel,
|
|
641
|
+
::ng-deep .mdc-menu-surface {
|
|
642
|
+
background-color: #ffffff !important;
|
|
643
|
+
--mdc-theme-surface: #ffffff !important;
|
|
644
|
+
--mdc-menu-container-color: #ffffff !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
::ng-deep .mat-mdc-menu-panel .mat-mdc-menu-content,
|
|
648
|
+
::ng-deep .mat-menu-panel .mat-menu-content {
|
|
649
|
+
background-color: #ffffff !important;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/* Typography styling for mat-mdc-menu-item */
|
|
653
|
+
::ng-deep .mat-mdc-menu-item,
|
|
654
|
+
::ng-deep .custom-dropdown-menu .mat-mdc-menu-item {
|
|
655
|
+
color: var(--Gray-700, #414651) !important;
|
|
656
|
+
font-family: Roboto, sans-serif !important;
|
|
657
|
+
font-size: 16px !important;
|
|
658
|
+
font-style: normal !important;
|
|
659
|
+
font-weight: 400 !important;
|
|
660
|
+
line-height: 140% !important;
|
|
661
|
+
/* 22.4px */
|
|
662
|
+
letter-spacing: 0.04px !important;
|
|
663
|
+
--mat-menu-item-label-text-color: var(--Gray-700, #414651) !important;
|
|
664
|
+
--mdc-list-list-item-label-text-color: var(--Gray-700, #414651) !important;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
::ng-deep .mat-mdc-menu-item .mat-mdc-menu-item-text,
|
|
668
|
+
::ng-deep .mat-mdc-menu-item span {
|
|
669
|
+
color: var(--Gray-700, #414651) !important;
|
|
670
|
+
font-family: Roboto, sans-serif !important;
|
|
671
|
+
font-size: 16px !important;
|
|
672
|
+
font-style: normal !important;
|
|
673
|
+
font-weight: 400 !important;
|
|
674
|
+
line-height: 140% !important;
|
|
675
|
+
/* 22.4px */
|
|
676
|
+
letter-spacing: 0.04px !important;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/* Ensure dropdown menu is above other elements */
|
|
680
|
+
.cdk-overlay-pane {
|
|
681
|
+
z-index: 1000 !important;
|
|
682
|
+
background: #fff !important;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
::ng-deep .mat-mdc-menu-panel,
|
|
686
|
+
::ng-deep .mat-menu-panel,
|
|
687
|
+
::ng-deep .mdc-menu-surface,
|
|
688
|
+
.cdk-overlay-pane .mat-mdc-menu-panel,
|
|
689
|
+
.cdk-overlay-pane .mdc-menu-surface,
|
|
690
|
+
.cdk-overlay-pane .mat-menu-panel {
|
|
691
|
+
background-color: #ffffff !important;
|
|
692
|
+
--mdc-theme-surface: #ffffff !important;
|
|
693
|
+
--mdc-menu-container-color: #fff !important;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/* Make sure the Material menu panel itself is white (use ::ng-deep so rules pierce view encapsulation) */
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
.mat-mdc-menu-panel,
|
|
700
|
+
.mdc-menu-surface,
|
|
701
|
+
.mat-menu-panel {
|
|
702
|
+
--mdc-theme-surface: #ffffff !important;
|
|
703
|
+
/* Material variable */
|
|
704
|
+
background-color: #ffffff !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.cdk-overlay-pane .mat-mdc-menu-panel,
|
|
708
|
+
.cdk-overlay-pane .mdc-menu-surface,
|
|
709
|
+
.cdk-overlay-pane .mat-mdc-menu-panel {
|
|
710
|
+
--mdc-menu-container-color: #fff !important;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.cdk-overlay-pane .mat-menu-panel,
|
|
714
|
+
.cdk-overlay-pane .mat-mdc-menu-content,
|
|
715
|
+
.cdk-overlay-pane .mat-menu-content {
|
|
716
|
+
background: #fff !important;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
/* Icon size helper */
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
/* --------------------------------------------------
|
|
724
|
+
Button types
|
|
725
|
+
-------------------------------------------------- */
|
|
726
|
+
button.icon-circle {
|
|
727
|
+
width: auto !important;
|
|
728
|
+
height: auto !important;
|
|
729
|
+
border-radius: 50% !important;
|
|
730
|
+
aspect-ratio: 1 / 1;
|
|
731
|
+
display: inline-flex;
|
|
732
|
+
align-items: center;
|
|
733
|
+
justify-content: center;
|
|
734
|
+
vertical-align: middle;
|
|
735
|
+
line-height: 0 !important; // Remove extra vertical space inside circular button
|
|
736
|
+
padding: 0 !important;
|
|
737
|
+
min-width: 0 !important;
|
|
738
|
+
justify-content: center;
|
|
739
|
+
padding: 6px !important;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.size-small.icon-circle {
|
|
743
|
+
padding: 4px !important;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.size-medium.icon-circle {
|
|
747
|
+
padding: 8px !important;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.size-base.icon-circle {
|
|
751
|
+
padding: 10px !important;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.size-large.icon-circle {
|
|
755
|
+
padding: 12px !important;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.size-xl.icon-circle {
|
|
759
|
+
padding: 14px !important;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/* Circle button size overrides */
|
|
763
|
+
.size-header.icon-circle {
|
|
764
|
+
padding: 4px !important;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.size-header.icon-circle .mat-icon {
|
|
768
|
+
width: 10px;
|
|
769
|
+
height: 10px;
|
|
770
|
+
font-size: 10px;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.size-xs.icon-circle {
|
|
774
|
+
padding: 4px !important;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.size-xs.icon-circle .mat-icon {
|
|
778
|
+
width: 16px;
|
|
779
|
+
height: 16px;
|
|
780
|
+
font-size: 16px;
|
|
781
|
+
display: flex;
|
|
782
|
+
align-items: center;
|
|
783
|
+
justify-content: center;
|
|
784
|
+
|
|
785
|
+
::ng-deep svg {
|
|
786
|
+
width: 16px;
|
|
787
|
+
height: 16px;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.size-sm.icon-circle {
|
|
792
|
+
padding: 10px !important;
|
|
793
|
+
height: 32px !important;
|
|
794
|
+
width: 32px !important;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.size-sm.icon-circle .mat-icon {
|
|
798
|
+
width: 16px;
|
|
799
|
+
height: 16px;
|
|
800
|
+
font-size: 16px;
|
|
801
|
+
display: flex;
|
|
802
|
+
align-items: center;
|
|
803
|
+
justify-content: center;
|
|
804
|
+
|
|
805
|
+
::ng-deep svg {
|
|
806
|
+
width: 16px;
|
|
807
|
+
height: 16px;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.size-base.icon-circle {
|
|
812
|
+
padding: 10px !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.size-base.icon-circle .mat-icon {
|
|
816
|
+
width: 16px;
|
|
817
|
+
height: 16px;
|
|
818
|
+
font-size: 16px;
|
|
819
|
+
display: flex;
|
|
820
|
+
align-items: center;
|
|
821
|
+
justify-content: center;
|
|
822
|
+
|
|
823
|
+
::ng-deep svg {
|
|
824
|
+
width: 16px;
|
|
825
|
+
height: 16px;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.size-l.icon-circle {
|
|
830
|
+
padding: 12px !important;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.size-l.icon-circle .mat-icon {
|
|
834
|
+
width: 16px;
|
|
835
|
+
height: 16px;
|
|
836
|
+
font-size: 16px;
|
|
837
|
+
display: flex;
|
|
838
|
+
align-items: center;
|
|
839
|
+
justify-content: center;
|
|
840
|
+
|
|
841
|
+
::ng-deep svg {
|
|
842
|
+
width: 16px;
|
|
843
|
+
height: 16px;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.size-xl.icon-circle {
|
|
848
|
+
padding: 14px !important;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.size-xl.icon-circle .mat-icon {
|
|
852
|
+
width: 20px;
|
|
853
|
+
height: 20px;
|
|
854
|
+
font-size: 20px;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/* icon-label and two-icon-label just rely on default flex behaviour */
|
|
858
|
+
.icon-xs {
|
|
859
|
+
/* width: 16px; height: 16px; */
|
|
860
|
+
padding: 4px !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
/* ------------------------------------------------------------------
|
|
865
|
+
Color category classes (solid)
|
|
866
|
+
------------------------------------------------------------------ */
|
|
867
|
+
.mdc-button.blue {
|
|
868
|
+
background-color: $color-blue;
|
|
869
|
+
color: #fff;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.mdc-button.blue:hover {
|
|
873
|
+
background-color: $color-blue-hover;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.mdc-button.blue:active {
|
|
877
|
+
background-color: $color-blue-active;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.mdc-button.green {
|
|
881
|
+
background-color: $color-green;
|
|
882
|
+
color: #fff;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.mdc-button.green:hover {
|
|
886
|
+
background-color: $color-green-hover;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.mdc-button.green:active {
|
|
890
|
+
background-color: $color-green-active;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.mdc-button.grey {
|
|
894
|
+
background-color: $color-grey;
|
|
895
|
+
color: #fff;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.mdc-button.grey:hover {
|
|
899
|
+
background-color: $color-grey-hover;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.mdc-button.grey:active {
|
|
903
|
+
background-color: $color-grey-active;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.mdc-button.error {
|
|
907
|
+
background-color: $color-error;
|
|
908
|
+
color: #fff !important;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.mdc-button.error:hover {
|
|
912
|
+
background-color: $color-error-hover;
|
|
913
|
+
color: #fff !important;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.mdc-button.error:active {
|
|
917
|
+
background-color: $color-error-active;
|
|
918
|
+
color: #fff !important;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.mdc-button.success {
|
|
922
|
+
background-color: $color-success;
|
|
923
|
+
color: #fff !important;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.mdc-button.success:hover {
|
|
927
|
+
background-color: $color-success-hover;
|
|
928
|
+
color: #fff !important;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.mdc-button.success:active {
|
|
932
|
+
background-color: $color-success-active;
|
|
933
|
+
color: #fff !important;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.mdc-button.gradient {
|
|
937
|
+
background: $color-gradient;
|
|
938
|
+
color: #fff;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.mdc-button.gradient:hover {
|
|
942
|
+
background: $color-gradient-hover;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.mdc-button.gradient:active {
|
|
946
|
+
background: $color-gradient-active;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.mdc-button.disabled,
|
|
950
|
+
.mdc-button:disabled {
|
|
951
|
+
opacity: 0.4; // fade existing color
|
|
952
|
+
cursor: not-allowed !important;
|
|
953
|
+
pointer-events: none;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/* ------------------------------------------------------------------
|
|
957
|
+
Outline variants
|
|
958
|
+
Legacy: *-no-outline (kept for back-compat)
|
|
959
|
+
New: *-colour-outline (height-safe via inset shadow)
|
|
960
|
+
------------------------------------------------------------------- */
|
|
961
|
+
/* Legacy border-based outline (kept) */
|
|
962
|
+
.mdc-button.blue-no-outline {
|
|
963
|
+
background-color: #fff;
|
|
964
|
+
color: $color-outline-blue;
|
|
965
|
+
border: 1px solid $color-outline-blue;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.mdc-button.blue-no-outline:hover {
|
|
969
|
+
background-color: $color-blue-hover;
|
|
970
|
+
color: #fff;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.mdc-button.blue-no-outline:active {
|
|
974
|
+
background-color: $color-blue-active;
|
|
975
|
+
color: #fff;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.mdc-button.white-colour-outline {
|
|
979
|
+
background-color: transparent;
|
|
980
|
+
color: $color-outline-white;
|
|
981
|
+
border: 1px solid $color-outline-white;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.mdc-button.white-colour-outline:hover {
|
|
985
|
+
background-color: transparent;
|
|
986
|
+
color: $color-outline-white;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.mdc-button.white-colour-outline:active {
|
|
990
|
+
background-color: transparent;
|
|
991
|
+
color: $color-outline-white;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
.mdc-button.green-no-outline {
|
|
996
|
+
background-color: #fff;
|
|
997
|
+
color: $color-outline-green;
|
|
998
|
+
border: 1px solid $color-outline-green;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.mdc-button.green-no-outline:hover {
|
|
1002
|
+
background-color: $color-green-hover;
|
|
1003
|
+
color: #fff;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.mdc-button.green-no-outline:active {
|
|
1007
|
+
background-color: $color-green-active;
|
|
1008
|
+
color: #fff;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.mdc-button.grey-no-outline {
|
|
1012
|
+
background-color: #fff;
|
|
1013
|
+
color: $color-outline-grey;
|
|
1014
|
+
border: 1px solid $color-outline-grey;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.mdc-button.grey-no-outline:hover {
|
|
1018
|
+
background-color: $color-grey-hover;
|
|
1019
|
+
color: #fff;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.mdc-button.grey-no-outline:active {
|
|
1023
|
+
background-color: $color-grey-active;
|
|
1024
|
+
color: #fff;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.mdc-button.error-no-outline {
|
|
1028
|
+
background-color: #fff;
|
|
1029
|
+
color: $color-outline-error;
|
|
1030
|
+
border: 1px solid $color-outline-error;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.mdc-button.error-no-outline:hover {
|
|
1034
|
+
background-color: $color-error-hover;
|
|
1035
|
+
color: #fff;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.mdc-button.error-no-outline:active {
|
|
1039
|
+
background-color: $color-error-active;
|
|
1040
|
+
color: #fff;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/* New height-safe outline using inset shadow (no size change) */
|
|
1044
|
+
.mdc-button.blue-colour-outline {
|
|
1045
|
+
background-color: #fff;
|
|
1046
|
+
color: $color-outline-blue;
|
|
1047
|
+
box-shadow: inset 0 0 0 1px $color-outline-blue;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.mdc-button.blue-colour-outline:hover {
|
|
1051
|
+
background-color: $color-blue-hover;
|
|
1052
|
+
color: #fff;
|
|
1053
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.mdc-button.blue-colour-outline:active {
|
|
1057
|
+
background-color: $color-blue-active;
|
|
1058
|
+
color: #fff;
|
|
1059
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.mdc-button.green-colour-outline {
|
|
1063
|
+
background-color: #fff;
|
|
1064
|
+
color: $color-outline-green;
|
|
1065
|
+
box-shadow: inset 0 0 0 1px $color-outline-green;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.mdc-button.green-colour-outline:hover {
|
|
1069
|
+
background-color: $color-green-hover;
|
|
1070
|
+
color: #fff;
|
|
1071
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.mdc-button.green-colour-outline:active {
|
|
1075
|
+
background-color: $color-green-active;
|
|
1076
|
+
color: #fff;
|
|
1077
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.mdc-button.grey-colour-outline {
|
|
1081
|
+
background-color: #fff;
|
|
1082
|
+
color: $color-outline-grey;
|
|
1083
|
+
box-shadow: inset 0 0 0 1px $color-outline-grey;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.mdc-button.grey-colour-outline:hover {
|
|
1087
|
+
background-color: $color-grey-hover;
|
|
1088
|
+
color: #fff;
|
|
1089
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.mdc-button.grey-colour-outline:active {
|
|
1093
|
+
background-color: $color-grey-active;
|
|
1094
|
+
color: #fff;
|
|
1095
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.mdc-button.error-colour-outline {
|
|
1099
|
+
background-color: #fff;
|
|
1100
|
+
color: $color-outline-error !important;
|
|
1101
|
+
box-shadow: inset 0 0 0 1px $color-outline-error;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.mdc-button.error-colour-outline:hover {
|
|
1105
|
+
background-color: $color-error-hover;
|
|
1106
|
+
color: #fff !important;
|
|
1107
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.mdc-button.error-colour-outline:active {
|
|
1111
|
+
background-color: $color-error-active;
|
|
1112
|
+
color: #fff !important;
|
|
1113
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.mdc-button.error-colour-outline mat-icon,
|
|
1117
|
+
.mdc-button.error-colour-outline .button-label {
|
|
1118
|
+
color: $color-outline-error !important;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.mdc-button.error-colour-outline:hover mat-icon,
|
|
1122
|
+
.mdc-button.error-colour-outline:hover .button-label,
|
|
1123
|
+
.mdc-button.error-colour-outline:active mat-icon,
|
|
1124
|
+
.mdc-button.error-colour-outline:active .button-label {
|
|
1125
|
+
color: #fff !important;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.mdc-button.success-colour-outline {
|
|
1129
|
+
background-color: #fff;
|
|
1130
|
+
color: $color-outline-success !important;
|
|
1131
|
+
box-shadow: inset 0 0 0 1px $color-outline-success;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
.mdc-button.success-colour-outline:hover {
|
|
1135
|
+
background-color: $color-success-hover;
|
|
1136
|
+
color: #fff !important;
|
|
1137
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.mdc-button.success-colour-outline:active {
|
|
1141
|
+
background-color: $color-success-active;
|
|
1142
|
+
color: #fff !important;
|
|
1143
|
+
box-shadow: inset 0 0 0 0px transparent;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.mdc-button.success-colour-outline mat-icon,
|
|
1147
|
+
.mdc-button.success-colour-outline .button-label {
|
|
1148
|
+
color: $color-outline-success !important;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.mdc-button.success-colour-outline:hover mat-icon,
|
|
1152
|
+
.mdc-button.success-colour-outline:hover .button-label,
|
|
1153
|
+
.mdc-button.success-colour-outline:active mat-icon,
|
|
1154
|
+
.mdc-button.success-colour-outline:active .button-label {
|
|
1155
|
+
color: #fff !important;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/*************Button Drop down design*********/
|
|
1159
|
+
::ng-deep .cdk-overlay-pane {
|
|
1160
|
+
border-radius: 8px !important;
|
|
1161
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15) !important;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
::ng-deep .mat-mdc-menu-panel {
|
|
1165
|
+
padding: 4px 0 !important;
|
|
1166
|
+
background-color: white !important;
|
|
1167
|
+
min-width: 180px !important;
|
|
1168
|
+
border-radius: 8px !important;
|
|
1169
|
+
box-shadow: none !important;
|
|
1170
|
+
/* handled by cdk-overlay-pane */
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
::ng-deep .mat-mdc-menu-item {
|
|
1174
|
+
font-family: Roboto, sans-serif;
|
|
1175
|
+
font-size: 16px;
|
|
1176
|
+
font-style: normal;
|
|
1177
|
+
font-weight: 400;
|
|
1178
|
+
line-height: 140%;
|
|
1179
|
+
/* 22.4px */
|
|
1180
|
+
letter-spacing: 0.04px;
|
|
1181
|
+
color: var(--Gray-700, #414651);
|
|
1182
|
+
padding: 12px 16px;
|
|
1183
|
+
border-radius: 0 !important;
|
|
1184
|
+
transition: background 0.2s ease-in-out;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/* Hover state */
|
|
1188
|
+
::ng-deep .mat-mdc-menu-item:hover {
|
|
1189
|
+
background-color: #F7F9FE !important;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/* Focus state */
|
|
1193
|
+
::ng-deep .mat-mdc-menu-item:focus,
|
|
1194
|
+
::ng-deep .mat-mdc-menu-item.cdk-keyboard-focused {
|
|
1195
|
+
background-color: #E5E9FC !important;
|
|
1196
|
+
outline: none;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
/* Selected state */
|
|
1200
|
+
::ng-deep .mat-mdc-menu-item[aria-selected="true"],
|
|
1201
|
+
::ng-deep .mat-mdc-menu-item.mat-mdc-menu-item-highlighted {
|
|
1202
|
+
background-color: #F7F9FE !important;
|
|
1203
|
+
color: #5473E8 !important;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
::ng-deep .mat-mdc-menu-item[aria-selected="true"] .mat-mdc-menu-item-text,
|
|
1207
|
+
::ng-deep .mat-mdc-menu-item[aria-selected="true"] span,
|
|
1208
|
+
::ng-deep .mat-mdc-menu-item.mat-mdc-menu-item-highlighted .mat-mdc-menu-item-text,
|
|
1209
|
+
::ng-deep .mat-mdc-menu-item.mat-mdc-menu-item-highlighted span {
|
|
1210
|
+
color: #5473E8 !important;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/* For header size, hide only the text label, keep icons visible */
|
|
1214
|
+
.size-header .button-label {
|
|
1215
|
+
display: none !important;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/* Ensure icons are visible and properly displayed for header size */
|
|
1219
|
+
.size-header .mat-icon,
|
|
1220
|
+
.size-header .left-icon,
|
|
1221
|
+
.size-header .right-icon {
|
|
1222
|
+
display: inline-flex !important;
|
|
1223
|
+
visibility: visible !important;
|
|
1224
|
+
opacity: 1 !important;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
/* Ensure the Material Design button label container displays properly for header size */
|
|
1228
|
+
.size-header ::ng-deep .mdc-button__label {
|
|
1229
|
+
display: flex !important;
|
|
1230
|
+
align-items: center !important;
|
|
1231
|
+
justify-content: center !important;
|
|
1232
|
+
gap: 4px;
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
::ng-deep .mat-mdc-button-touch-target {
|
|
1237
|
+
display: none !important;
|
|
1238
|
+
}
|