@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,1337 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
|
3
|
+
|
|
4
|
+
/* Material Icons */
|
|
5
|
+
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
6
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
|
|
7
|
+
|
|
8
|
+
/* Roboto Font */
|
|
9
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
|
|
10
|
+
|
|
11
|
+
/* Angular Material Theme (Indigo Pink) */
|
|
12
|
+
@import url('https://cdn.jsdelivr.net/npm/@angular/material@19.2.3/prebuilt-themes/indigo-pink.css');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
|
|
16
|
+
|
|
17
|
+
@import '../styles/colors.scss';
|
|
18
|
+
|
|
19
|
+
/* ===== BASE STYLES ===== */
|
|
20
|
+
.al-input-field {
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Ensure proper alignment for date picker input and toggle in single row */
|
|
25
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex {
|
|
26
|
+
display: flex !important;
|
|
27
|
+
align-items: center !important;
|
|
28
|
+
flex-direction: row !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::ng-deep .al-input-field .mat-mdc-form-field-infix {
|
|
32
|
+
display: flex !important;
|
|
33
|
+
align-items: center !important;
|
|
34
|
+
flex: 1 !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Date picker input alignment */
|
|
38
|
+
::ng-deep .al-input-field input[matInput] {
|
|
39
|
+
flex: 1 !important;
|
|
40
|
+
text-align: left !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Ensure suffix elements (like datepicker toggle) are aligned to the right */
|
|
44
|
+
::ng-deep .al-input-field .mat-mdc-form-field-suffix {
|
|
45
|
+
display: flex !important;
|
|
46
|
+
align-items: center !important;
|
|
47
|
+
margin-left: auto !important;
|
|
48
|
+
margin-right: 12px !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/* Global background color for all input fields */
|
|
53
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex,
|
|
54
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper,
|
|
55
|
+
::ng-deep .al-input-field .mat-mdc-form-field-infix {
|
|
56
|
+
background-color: #F7F9FE !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Hide subscript wrapper by default */
|
|
60
|
+
::ng-deep .al-input-field .mat-mdc-form-field-subscript-wrapper {
|
|
61
|
+
background-color: transparent !important;
|
|
62
|
+
display: none !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.mdc-notched-outline.mdc-notched-outline--no-label {
|
|
66
|
+
background: #fff;
|
|
67
|
+
border-radius: 4px !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Show subscript wrapper only when there's helper text or error */
|
|
71
|
+
::ng-deep .al-input-field.has-helper-text .mat-mdc-form-field-subscript-wrapper,
|
|
72
|
+
::ng-deep .al-input-field.has-error .mat-mdc-form-field-subscript-wrapper {
|
|
73
|
+
display: block !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
::ng-deep .al-input-field .mat-mdc-form-field-focus-overlay {
|
|
77
|
+
background-color: #F7F9FE !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* ===== CATEGORY STYLES ===== */
|
|
81
|
+
|
|
82
|
+
/* Common border width for most categories */
|
|
83
|
+
::ng-deep .al-input-category-primary,
|
|
84
|
+
::ng-deep .al-input-category-success,
|
|
85
|
+
::ng-deep .al-input-category-error,
|
|
86
|
+
::ng-deep .al-input-category-disabled {
|
|
87
|
+
--mdc-outlined-text-field-outline-width: 1px !important;
|
|
88
|
+
--mdc-outlined-text-field-focus-outline-width: 1px !important;
|
|
89
|
+
--mdc-outlined-text-field-hover-outline-width: 1px !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Simple category */
|
|
93
|
+
::ng-deep .al-input-category-simple {
|
|
94
|
+
--mdc-outlined-text-field-outline-color: #C3C5D1 !important;
|
|
95
|
+
--mdc-outlined-text-field-focus-outline-color: #C3C5D1 !important;
|
|
96
|
+
--mdc-outlined-text-field-hover-outline-color: #C3C5D1 !important;
|
|
97
|
+
--mdc-outlined-text-field-label-text-color: $color-blue !important;
|
|
98
|
+
--mdc-outlined-text-field-focus-label-text-color: $color-blue !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Success category */
|
|
102
|
+
::ng-deep .al-input-category-success {
|
|
103
|
+
--mdc-outlined-text-field-outline-color: #00AD83 !important;
|
|
104
|
+
--mdc-outlined-text-field-focus-outline-color: #00AD83 !important;
|
|
105
|
+
--mdc-outlined-text-field-hover-outline-color: #00AD83 !important;
|
|
106
|
+
--mdc-outlined-text-field-label-text-color: #00AD83 !important;
|
|
107
|
+
--mdc-outlined-text-field-focus-label-text-color: #00AD83 !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
::ng-deep .al-input-category-success input::placeholder {
|
|
111
|
+
color: #00AD83 !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Error category */
|
|
115
|
+
::ng-deep .al-input-category-error {
|
|
116
|
+
--mdc-outlined-text-field-outline-color: #E854A4 !important;
|
|
117
|
+
--mdc-outlined-text-field-focus-outline-color: #E854A4 !important;
|
|
118
|
+
--mdc-outlined-text-field-hover-outline-color: #E854A4 !important;
|
|
119
|
+
--mdc-outlined-text-field-label-text-color: $color-error-500 !important;
|
|
120
|
+
--mdc-outlined-text-field-focus-label-text-color: $color-error-500 !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
::ng-deep .al-input-category-error input::placeholder {
|
|
124
|
+
color: $color-error-500 !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Disabled category */
|
|
128
|
+
::ng-deep .al-input-category-disabled {
|
|
129
|
+
--mdc-outlined-text-field-outline-color: $color-blue !important;
|
|
130
|
+
--mdc-outlined-text-field-focus-outline-color: $color-blue !important;
|
|
131
|
+
--mdc-outlined-text-field-hover-outline-color: $color-blue !important;
|
|
132
|
+
--mdc-outlined-text-field-label-text-color: $color-blue !important;
|
|
133
|
+
--mdc-outlined-text-field-focus-label-text-color: $color-blue !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Primary category - 2px focus border width */
|
|
137
|
+
::ng-deep .al-input-category-primary {
|
|
138
|
+
--mdc-outlined-text-field-focus-outline-width: 2px !important;
|
|
139
|
+
--mdc-outlined-text-field-outline-color: #C3C5D1 !important;
|
|
140
|
+
--mdc-outlined-text-field-focus-outline-color: #5473E8 !important;
|
|
141
|
+
--mdc-outlined-text-field-hover-outline-color: #C3C5D1 !important;
|
|
142
|
+
--mdc-outlined-text-field-label-text-color: $color-blue !important;
|
|
143
|
+
--mdc-outlined-text-field-focus-label-text-color: $color-blue !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
::ng-deep .al-input-category-primary .mdc-notched-outline {
|
|
148
|
+
box-shadow: none !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Plain category - No border and no label */
|
|
152
|
+
::ng-deep .al-input-category-plain {
|
|
153
|
+
--mdc-outlined-text-field-outline-color: transparent !important;
|
|
154
|
+
--mdc-outlined-text-field-focus-outline-color: transparent !important;
|
|
155
|
+
--mdc-outlined-text-field-hover-outline-color: transparent !important;
|
|
156
|
+
--mdc-outlined-text-field-outline-width: 0 !important;
|
|
157
|
+
--mdc-outlined-text-field-focus-outline-width: 0 !important;
|
|
158
|
+
--mdc-outlined-text-field-hover-outline-width: 0 !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Hide borders for plain category */
|
|
162
|
+
::ng-deep .al-input-category-plain .mat-mdc-form-field-outline,
|
|
163
|
+
::ng-deep .al-input-category-plain .mat-mdc-form-field-outline-thick,
|
|
164
|
+
::ng-deep .al-input-category-plain .mat-mdc-form-field-label,
|
|
165
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline,
|
|
166
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-thick,
|
|
167
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-gap,
|
|
168
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-start,
|
|
169
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-end,
|
|
170
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-notch,
|
|
171
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mdc-notched-outline,
|
|
172
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mdc-notched-outline__leading,
|
|
173
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mdc-notched-outline__notch,
|
|
174
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mdc-notched-outline__trailing,
|
|
175
|
+
::ng-deep .al-input-category-plain .mat-mdc-text-field-wrapper .mdc-line-ripple {
|
|
176
|
+
display: none !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Icon colors for plain category */
|
|
180
|
+
::ng-deep .al-input-category-plain .material-symbols-outlined,
|
|
181
|
+
::ng-deep .al-input-category-plain mat-icon {
|
|
182
|
+
color: $color-grey-700 !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
::ng-deep .al-input-field {
|
|
186
|
+
border-width: 1px !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
::ng-deep .al-input-field.mat-focused .mdc-notched-outline__leading,
|
|
190
|
+
::ng-deep .al-input-field.mat-focused .mdc-notched-outline__notch,
|
|
191
|
+
::ng-deep .al-input-field.mat-focused .mdc-notched-outline__trailing {
|
|
192
|
+
border-width: 2px !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* ===== SIZE STYLES ===== */
|
|
196
|
+
|
|
197
|
+
/* Size-specific form field infix */
|
|
198
|
+
::ng-deep .al-input-size-xs .mat-mdc-form-field-infix,
|
|
199
|
+
::ng-deep .al-input-size-small .mat-mdc-form-field-infix,
|
|
200
|
+
::ng-deep .al-input-size-header .mat-mdc-form-field-infix {
|
|
201
|
+
padding: 0 !important;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
::ng-deep .al-input-size-xs .mat-mdc-form-field-infix {
|
|
207
|
+
min-height: 32px !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
::ng-deep .al-input-size-small .mat-mdc-form-field-infix {
|
|
211
|
+
min-height: 34px !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
::ng-deep .al-input-size-base .mat-mdc-form-field-infix {
|
|
215
|
+
padding: 8px 0 !important;
|
|
216
|
+
min-height: 24px !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
::ng-deep .al-input-size-large .mat-mdc-form-field-infix {
|
|
220
|
+
padding: 16px 0 !important;
|
|
221
|
+
min-height: 48px !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
::ng-deep .al-input-size-header .mat-mdc-form-field-infix {
|
|
225
|
+
min-height: 28px !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* ===== SIZE-SPECIFIC BORDER RADIUS ===== */
|
|
229
|
+
::ng-deep .al-input-size-xs .mdc-notched-outline,
|
|
230
|
+
::ng-deep .al-input-size-small .mdc-notched-outline,
|
|
231
|
+
::ng-deep .al-input-size-base .mdc-notched-outline,
|
|
232
|
+
::ng-deep .al-input-size-header .mdc-notched-outline {
|
|
233
|
+
border-top-left-radius: 4px !important;
|
|
234
|
+
border-bottom-left-radius: 4px !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
::ng-deep .al-input-size-small .mdc-notched-outline__trailing,
|
|
239
|
+
::ng-deep .al-input-size-base .mdc-notched-outline__trailing,
|
|
240
|
+
::ng-deep .al-input-size-xs .mdc-notched-outline__trailing,
|
|
241
|
+
::ng-deep .al-input-size-header .mdc-notched-outline__trailing {
|
|
242
|
+
border-top-right-radius: 4px !important;
|
|
243
|
+
border-bottom-right-radius: 4px !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
::ng-deep .al-input-size-large .mdc-notched-outline__leading {
|
|
247
|
+
border-top-left-radius: 8px !important;
|
|
248
|
+
border-bottom-left-radius: 8px !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
::ng-deep .al-input-size-large .mdc-notched-outline__trailing {
|
|
252
|
+
border-top-right-radius: 8px !important;
|
|
253
|
+
border-bottom-right-radius: 8px !important;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* ===== NO BORDER STYLES ===== */
|
|
257
|
+
|
|
258
|
+
/* No border input styling - combines header and plain input functionality */
|
|
259
|
+
::ng-deep .al-input-no-border {
|
|
260
|
+
--mdc-outlined-text-field-outline-color: transparent !important;
|
|
261
|
+
--mdc-outlined-text-field-focus-outline-color: transparent !important;
|
|
262
|
+
--mdc-outlined-text-field-hover-outline-color: transparent !important;
|
|
263
|
+
--mdc-outlined-text-field-outline-width: 0 !important;
|
|
264
|
+
--mdc-outlined-text-field-focus-outline-width: 0 !important;
|
|
265
|
+
--mdc-outlined-text-field-hover-outline-width: 0 !important;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
::ng-deep .al-input-no-border .mat-mdc-form-field-outline,
|
|
269
|
+
::ng-deep .al-input-no-border .mat-mdc-form-field-outline-thick,
|
|
270
|
+
::ng-deep .al-input-no-border .mat-mdc-form-field-label,
|
|
271
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline,
|
|
272
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-thick,
|
|
273
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-gap,
|
|
274
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-start,
|
|
275
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-end,
|
|
276
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mat-mdc-form-field-outline-notch,
|
|
277
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mdc-notched-outline,
|
|
278
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mdc-notched-outline__leading,
|
|
279
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mdc-notched-outline__notch,
|
|
280
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mdc-notched-outline__trailing,
|
|
281
|
+
::ng-deep .al-input-no-border .mat-mdc-text-field-wrapper .mdc-line-ripple {
|
|
282
|
+
display: none !important;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* ===== FONT STYLES ===== */
|
|
286
|
+
|
|
287
|
+
/* Common font colors */
|
|
288
|
+
::ng-deep .al-input-field input,
|
|
289
|
+
::ng-deep .al-input-field .mat-mdc-select-value {
|
|
290
|
+
color: $color-grey-700 !important;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Font sizes by size category */
|
|
294
|
+
::ng-deep .al-input-size-xs input,
|
|
295
|
+
::ng-deep .al-input-size-xs .mat-mdc-select-value,
|
|
296
|
+
::ng-deep .al-input-size-small input,
|
|
297
|
+
::ng-deep .al-input-size-small .mat-mdc-select-value,
|
|
298
|
+
::ng-deep .al-input-size-header input,
|
|
299
|
+
::ng-deep .al-input-size-header .mat-mdc-select-value {
|
|
300
|
+
font-size: 12px !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
::ng-deep .al-input-size-base input,
|
|
304
|
+
::ng-deep .al-input-size-base .mat-mdc-select-value {
|
|
305
|
+
font-size: 14px !important;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
::ng-deep .al-input-size-large input,
|
|
309
|
+
::ng-deep .al-input-size-large .mat-mdc-select-value {
|
|
310
|
+
font-size: 16px !important;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Placeholder font sizes */
|
|
314
|
+
::ng-deep .al-input-field input::placeholder {
|
|
315
|
+
font-size: 12px !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* Prevent placeholder color change on hover and active */
|
|
319
|
+
::ng-deep .al-input-field:hover input::placeholder,
|
|
320
|
+
::ng-deep .al-input-field:focus input::placeholder,
|
|
321
|
+
::ng-deep .al-input-field:active input::placeholder,
|
|
322
|
+
::ng-deep .al-input-field input:hover::placeholder,
|
|
323
|
+
::ng-deep .al-input-field input:focus::placeholder,
|
|
324
|
+
::ng-deep .al-input-field input:active::placeholder {
|
|
325
|
+
color: $color-grey-700 !important;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Category-specific placeholder hover prevention */
|
|
329
|
+
::ng-deep .al-input-category-primary:hover input::placeholder,
|
|
330
|
+
::ng-deep .al-input-category-primary:focus input::placeholder,
|
|
331
|
+
::ng-deep .al-input-category-primary:active input::placeholder,
|
|
332
|
+
::ng-deep .al-input-category-primary input:hover::placeholder,
|
|
333
|
+
::ng-deep .al-input-category-primary input:focus::placeholder,
|
|
334
|
+
::ng-deep .al-input-category-primary input:active::placeholder {
|
|
335
|
+
color: $color-grey-700 !important;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
::ng-deep .al-input-category-simple:hover input::placeholder,
|
|
339
|
+
::ng-deep .al-input-category-simple:focus input::placeholder,
|
|
340
|
+
::ng-deep .al-input-category-simple:active input::placeholder,
|
|
341
|
+
::ng-deep .al-input-category-simple input:hover::placeholder,
|
|
342
|
+
::ng-deep .al-input-category-simple input:focus::placeholder,
|
|
343
|
+
::ng-deep .al-input-category-simple input:active::placeholder {
|
|
344
|
+
color: $color-grey-700 !important;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Label font sizes */
|
|
348
|
+
::ng-deep .al-input-size-xs .mat-mdc-form-field-label,
|
|
349
|
+
::ng-deep .al-input-size-xs .mat-mdc-floating-label,
|
|
350
|
+
::ng-deep .al-input-size-small .mat-mdc-form-field-label,
|
|
351
|
+
::ng-deep .al-input-size-small .mat-mdc-floating-label,
|
|
352
|
+
::ng-deep .al-input-size-header .mat-mdc-form-field-label,
|
|
353
|
+
::ng-deep .al-input-size-header .mat-mdc-floating-label {
|
|
354
|
+
font-size: 12px !important;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
::ng-deep .al-input-size-base .mat-mdc-form-field-label,
|
|
358
|
+
::ng-deep .al-input-size-base .mat-mdc-floating-label {
|
|
359
|
+
font-size: 14px !important;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
::ng-deep .al-input-size-large .mat-mdc-form-field-label,
|
|
363
|
+
::ng-deep .al-input-size-large .mat-mdc-floating-label {
|
|
364
|
+
font-size: 16px !important;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* Font styling for simple and primary categories */
|
|
368
|
+
::ng-deep .al-input-category-simple input,
|
|
369
|
+
::ng-deep .al-input-category-simple .mat-mdc-select-value,
|
|
370
|
+
::ng-deep .al-input-category-primary input,
|
|
371
|
+
::ng-deep .al-input-category-primary .mat-mdc-select-value {
|
|
372
|
+
font-weight: 400 !important;
|
|
373
|
+
letter-spacing: 0.5px !important;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/* ===== ICON STYLES ===== */
|
|
377
|
+
|
|
378
|
+
/* Base icon styling */
|
|
379
|
+
::ng-deep .al-input-field .material-symbols-outlined,
|
|
380
|
+
::ng-deep .al-input-field mat-icon {
|
|
381
|
+
height: 20px !important;
|
|
382
|
+
width: 20px !important;
|
|
383
|
+
font-size: 20px !important;
|
|
384
|
+
display: flex !important;
|
|
385
|
+
align-items: center !important;
|
|
386
|
+
justify-content: center !important;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* Icon sizing by size category */
|
|
390
|
+
::ng-deep .al-input-size-small .material-symbols-outlined,
|
|
391
|
+
::ng-deep .al-input-size-xs .material-symbols-outlined,
|
|
392
|
+
::ng-deep .al-input-size-header .material-symbols-outlined,
|
|
393
|
+
::ng-deep .al-input-size-small mat-icon,
|
|
394
|
+
::ng-deep .al-input-size-xs mat-icon,
|
|
395
|
+
::ng-deep .al-input-size-header mat-icon {
|
|
396
|
+
height: 16px !important;
|
|
397
|
+
width: 16px !important;
|
|
398
|
+
font-size: 16px !important;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* Large size icon styling */
|
|
402
|
+
::ng-deep .al-input-size-large .material-symbols-outlined,
|
|
403
|
+
::ng-deep .al-input-size-large mat-icon {
|
|
404
|
+
height: 24px !important;
|
|
405
|
+
width: 24px !important;
|
|
406
|
+
font-size: 24px !important;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/* Icon colors by category */
|
|
410
|
+
::ng-deep .al-input-category-simple .material-symbols-outlined,
|
|
411
|
+
::ng-deep .al-input-category-primary .material-symbols-outlined,
|
|
412
|
+
::ng-deep .al-input-category-simple mat-icon,
|
|
413
|
+
::ng-deep .al-input-category-primary mat-icon {
|
|
414
|
+
color: $color-grey-700 !important;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
::ng-deep .al-input-category-success .material-symbols-outlined,
|
|
418
|
+
::ng-deep .al-input-category-success mat-icon {
|
|
419
|
+
color: #00AD83 !important;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
::ng-deep .al-input-category-error .material-symbols-outlined,
|
|
423
|
+
::ng-deep .al-input-category-error mat-icon {
|
|
424
|
+
color: #E854A4 !important;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* Icon spacing */
|
|
428
|
+
::ng-deep .al-input-field .material-symbols-outlined[matPrefix],
|
|
429
|
+
::ng-deep .al-input-field mat-icon[matPrefix] {
|
|
430
|
+
padding-left: 12px !important;
|
|
431
|
+
padding-right: 8px !important;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
::ng-deep .al-input-field .material-symbols-outlined[matSuffix],
|
|
435
|
+
::ng-deep .al-input-field mat-icon[matSuffix] {
|
|
436
|
+
padding-right: 12px !important;
|
|
437
|
+
padding-left: 8px;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.mat-mdc-form-field-icon-suffix {
|
|
441
|
+
padding: 0 !important;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/* Label positioning based on icon presence */
|
|
445
|
+
::ng-deep .al-input-field.has-left-icon .mat-mdc-form-field-label {
|
|
446
|
+
margin-left: 8px !important;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* When no left icon is present, keep label in original position */
|
|
450
|
+
::ng-deep .al-input-field:not(.has-left-icon) .mat-mdc-form-field-label,
|
|
451
|
+
::ng-deep .al-input-field:not(.has-left-icon) .mat-mdc-floating-label,
|
|
452
|
+
::ng-deep .al-input-field:not(.has-left-icon) .mdc-floating-label {
|
|
453
|
+
margin-left: 0 !important;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
::ng-deep .mat-mdc-form-field-icon-prefix {
|
|
457
|
+
padding: 0 0px 0 0 !important;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.material-symbols-outlined[matSuffix],
|
|
461
|
+
mat-icon[matSuffix] {
|
|
462
|
+
display: flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
justify-content: center;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/* ===== FLOATING LABEL POSITIONING ===== */
|
|
468
|
+
|
|
469
|
+
::ng-deep .al-input-size-xs .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
470
|
+
top: 11px !important;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
::ng-deep .al-input-size-small .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
474
|
+
top: 10px !important;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
::ng-deep .al-input-size-base .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
478
|
+
top: 14px !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
::ng-deep .al-input-size-header .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
482
|
+
top: 7px !important;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
::ng-deep .al-input-size-large .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
486
|
+
top: 24px !important;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
/* Label transform calculations - Fixed to position at top of border */
|
|
491
|
+
::ng-deep .al-input-size-xs .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
492
|
+
--mat-mdc-form-field-label-transform: translateY(-20px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
493
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
::ng-deep .al-input-size-small .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
497
|
+
--mat-mdc-form-field-label-transform: translateY(-20px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
498
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
::ng-deep .al-input-size-base .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
502
|
+
--mat-mdc-form-field-label-transform: translateY(-26px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
503
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
::ng-deep .al-input-size-header .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
507
|
+
--mat-mdc-form-field-label-transform: translateY(-18px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
508
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
::ng-deep .al-input-size-large .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
512
|
+
--mat-mdc-form-field-label-transform: translateY(-35px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
513
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/* ===== STATE STYLES ===== */
|
|
517
|
+
|
|
518
|
+
/* Error state */
|
|
519
|
+
::ng-deep .al-input-field.has-error .mat-mdc-form-field-outline {
|
|
520
|
+
border-color: $color-error-500 !important;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/* Disabled state styling */
|
|
524
|
+
::ng-deep .al-input-category-disabled .mat-mdc-form-field-hint,
|
|
525
|
+
::ng-deep .al-input-category-disabled .mat-mdc-form-field-label,
|
|
526
|
+
::ng-deep .al-input-category-disabled .mat-mdc-select-arrow,
|
|
527
|
+
::ng-deep .al-input-category-disabled .material-symbols-outlined,
|
|
528
|
+
::ng-deep .al-input-category-disabled mat-icon,
|
|
529
|
+
::ng-deep .al-input-category-disabled input,
|
|
530
|
+
::ng-deep .al-input-category-disabled .mat-mdc-select-value {
|
|
531
|
+
color: #9CA3AF !important;
|
|
532
|
+
opacity: 0.6 !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/* ===== HELPER TEXT & DROPDOWN STYLES ===== */
|
|
536
|
+
|
|
537
|
+
/* Prevent label color change on hover */
|
|
538
|
+
::ng-deep .al-input-field .mat-mdc-form-field-label,
|
|
539
|
+
::ng-deep .al-input-field .mat-mdc-floating-label,
|
|
540
|
+
::ng-deep .al-input-field .mdc-floating-label,
|
|
541
|
+
::ng-deep .al-input-field .mdc-text-field__label,
|
|
542
|
+
::ng-deep .al-input-field .mdc-text-field__label--float-above {
|
|
543
|
+
transition: none !important;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/* Comprehensive hover prevention for all possible states */
|
|
547
|
+
::ng-deep .al-input-field:hover .mat-mdc-form-field-label,
|
|
548
|
+
::ng-deep .al-input-field:hover .mat-mdc-floating-label,
|
|
549
|
+
::ng-deep .al-input-field:hover .mdc-floating-label,
|
|
550
|
+
::ng-deep .al-input-field:hover .mdc-text-field__label,
|
|
551
|
+
::ng-deep .al-input-field:hover .mdc-text-field__label--float-above,
|
|
552
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mat-mdc-form-field-label,
|
|
553
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mat-mdc-floating-label,
|
|
554
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-floating-label,
|
|
555
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-text-field__label,
|
|
556
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-text-field__label--float-above,
|
|
557
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-label,
|
|
558
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper:hover .mat-mdc-floating-label,
|
|
559
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper:hover .mdc-floating-label,
|
|
560
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper:hover .mdc-text-field__label,
|
|
561
|
+
::ng-deep .al-input-field .mat-mdc-text-field-wrapper:hover .mdc-text-field__label--float-above,
|
|
562
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex:hover .mat-mdc-form-field-label,
|
|
563
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex:hover .mat-mdc-floating-label,
|
|
564
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex:hover .mdc-floating-label,
|
|
565
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex:hover .mdc-text-field__label,
|
|
566
|
+
::ng-deep .al-input-field .mat-mdc-form-field-flex:hover .mdc-text-field__label--float-above,
|
|
567
|
+
::ng-deep .al-input-field .mdc-text-field:hover .mat-mdc-form-field-label,
|
|
568
|
+
::ng-deep .al-input-field .mdc-text-field:hover .mat-mdc-floating-label,
|
|
569
|
+
::ng-deep .al-input-field .mdc-text-field:hover .mdc-floating-label,
|
|
570
|
+
::ng-deep .al-input-field .mdc-text-field:hover .mdc-text-field__label,
|
|
571
|
+
::ng-deep .al-input-field .mdc-text-field:hover .mdc-text-field__label--float-above {
|
|
572
|
+
color: $color-blue !important;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/* Helper text colors */
|
|
576
|
+
::ng-deep .al-input-category-success .mat-mdc-form-field-hint {
|
|
577
|
+
color: #00AD83 !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
::ng-deep .al-input-category-error .mat-mdc-form-field-hint {
|
|
581
|
+
color: $color-error-500 !important;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
::ng-deep .al-input-category-simple .mat-mdc-form-field-hint,
|
|
585
|
+
::ng-deep .al-input-category-primary .mat-mdc-form-field-hint,
|
|
586
|
+
::ng-deep .al-input-category-disabled .mat-mdc-form-field-hint,
|
|
587
|
+
::ng-deep .al-input-category-plain .mat-mdc-form-field-hint {
|
|
588
|
+
color: $color-grey-700 !important;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/* Prevent label color changes on hover for each category */
|
|
592
|
+
::ng-deep .al-input-category-simple:hover .mat-mdc-form-field-label,
|
|
593
|
+
::ng-deep .al-input-category-simple:hover .mat-mdc-floating-label,
|
|
594
|
+
::ng-deep .al-input-category-simple:hover .mdc-floating-label,
|
|
595
|
+
::ng-deep .al-input-category-simple:hover .mdc-text-field__label,
|
|
596
|
+
::ng-deep .al-input-category-simple:hover .mdc-text-field__label--float-above {
|
|
597
|
+
color: $color-blue !important;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
::ng-deep .al-input-category-primary:hover .mat-mdc-form-field-label,
|
|
601
|
+
::ng-deep .al-input-category-primary:hover .mat-mdc-floating-label,
|
|
602
|
+
::ng-deep .al-input-category-primary:hover .mdc-floating-label,
|
|
603
|
+
::ng-deep .al-input-category-primary:hover .mdc-text-field__label,
|
|
604
|
+
::ng-deep .al-input-category-primary:hover .mdc-text-field__label--float-above {
|
|
605
|
+
color: $color-blue !important;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/* Success category hover label styles with higher specificity */
|
|
609
|
+
::ng-deep .al-input-field.al-input-category-success:hover .mat-mdc-form-field-label,
|
|
610
|
+
::ng-deep .al-input-field.al-input-category-success:hover .mat-mdc-floating-label,
|
|
611
|
+
::ng-deep .al-input-field.al-input-category-success:hover .mdc-floating-label,
|
|
612
|
+
::ng-deep .al-input-field.al-input-category-success:hover .mdc-text-field__label,
|
|
613
|
+
::ng-deep .al-input-field.al-input-category-success:hover .mdc-text-field__label--float-above,
|
|
614
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover .mat-mdc-form-field-label,
|
|
615
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover .mat-mdc-floating-label,
|
|
616
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover .mdc-floating-label,
|
|
617
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover .mdc-text-field__label,
|
|
618
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover .mdc-text-field__label--float-above,
|
|
619
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-label,
|
|
620
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-text-field-wrapper:hover .mat-mdc-floating-label,
|
|
621
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-text-field-wrapper:hover .mdc-floating-label,
|
|
622
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-text-field-wrapper:hover .mdc-text-field__label,
|
|
623
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-text-field-wrapper:hover .mdc-text-field__label--float-above {
|
|
624
|
+
color: #00AD83 !important;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/* Error category hover label styles with higher specificity */
|
|
628
|
+
::ng-deep .al-input-field.al-input-category-error:hover .mat-mdc-form-field-label,
|
|
629
|
+
::ng-deep .al-input-field.al-input-category-error:hover .mat-mdc-floating-label,
|
|
630
|
+
::ng-deep .al-input-field.al-input-category-error:hover .mdc-floating-label,
|
|
631
|
+
::ng-deep .al-input-field.al-input-category-error:hover .mdc-text-field__label,
|
|
632
|
+
::ng-deep .al-input-field.al-input-category-error:hover .mdc-text-field__label--float-above,
|
|
633
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover .mat-mdc-form-field-label,
|
|
634
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover .mat-mdc-floating-label,
|
|
635
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover .mdc-floating-label,
|
|
636
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover .mdc-text-field__label,
|
|
637
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover .mdc-text-field__label--float-above,
|
|
638
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-label,
|
|
639
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-text-field-wrapper:hover .mat-mdc-floating-label,
|
|
640
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-text-field-wrapper:hover .mdc-floating-label,
|
|
641
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-text-field-wrapper:hover .mdc-text-field__label,
|
|
642
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-text-field-wrapper:hover .mdc-text-field__label--float-above {
|
|
643
|
+
color: $color-error-500 !important;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
::ng-deep .al-input-category-disabled:hover .mat-mdc-form-field-label,
|
|
647
|
+
::ng-deep .al-input-category-disabled:hover .mat-mdc-floating-label,
|
|
648
|
+
::ng-deep .al-input-category-disabled:hover .mdc-floating-label,
|
|
649
|
+
::ng-deep .al-input-category-disabled:hover .mdc-text-field__label,
|
|
650
|
+
::ng-deep .al-input-category-disabled:hover .mdc-text-field__label--float-above {
|
|
651
|
+
color: $color-blue !important;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
::ng-deep .al-input-category-plain:hover .mat-mdc-form-field-label,
|
|
655
|
+
::ng-deep .al-input-category-plain:hover .mat-mdc-floating-label,
|
|
656
|
+
::ng-deep .al-input-category-plain:hover .mdc-floating-label,
|
|
657
|
+
::ng-deep .al-input-category-plain:hover .mdc-text-field__label,
|
|
658
|
+
::ng-deep .al-input-category-plain:hover .mdc-text-field__label--float-above {
|
|
659
|
+
color: $color-blue !important;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/* Dropdown arrow colors */
|
|
663
|
+
::ng-deep .al-input-category-success .mat-mdc-select-arrow {
|
|
664
|
+
color: #00AD83 !important;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
::ng-deep .al-input-category-error .mat-mdc-select-arrow {
|
|
668
|
+
color: $color-error-500 !important;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
::ng-deep .al-input-field .mat-mdc-form-field-hint-wrapper,
|
|
672
|
+
::ng-deep .al-input-field .mat-mdc-form-field-error-wrapper {
|
|
673
|
+
padding: 0 !important;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/* Ensure helper text is visible when subscript wrapper is shown */
|
|
677
|
+
::ng-deep .al-input-field.has-helper-text .mat-mdc-form-field-hint,
|
|
678
|
+
::ng-deep .al-input-field.has-helper-text .mat-mdc-form-field-error {
|
|
679
|
+
display: block !important;
|
|
680
|
+
opacity: 1 !important;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/* Hide helper text when subscript wrapper is hidden */
|
|
684
|
+
::ng-deep .al-input-field:not(.has-helper-text):not(.has-error) .mat-mdc-form-field-hint,
|
|
685
|
+
::ng-deep .al-input-field:not(.has-helper-text):not(.has-error) .mat-mdc-form-field-error {
|
|
686
|
+
display: none !important;
|
|
687
|
+
opacity: 0 !important;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/* ===== DATE PICKER STYLES ===== */
|
|
691
|
+
|
|
692
|
+
/* Calendar Component Styles - Optimized */
|
|
693
|
+
|
|
694
|
+
/* Ensure proper label and input alignment for all inputs including date picker */
|
|
695
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mat-mdc-floating-label {
|
|
696
|
+
transition: color 200ms cubic-bezier(0.4, 0.0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1) !important;
|
|
697
|
+
pointer-events: none;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
/* Ensure label floats when input is focused, has content, or datepicker is opened */
|
|
701
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mat-mdc-floating-label,
|
|
702
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-form-field-should-float .mat-mdc-floating-label,
|
|
703
|
+
::ng-deep .al-input-field .mat-mdc-form-field:not(.mat-mdc-form-field-label-always-float) .mat-mdc-floating-label.mdc-floating-label--float-above {
|
|
704
|
+
transform: var(--mat-mdc-form-field-label-transform) !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/* Ensure floating label always appears at the top of the border when active */
|
|
708
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-floating-label--float-above {
|
|
709
|
+
transform: var(--mat-mdc-form-field-label-transform) !important;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/* Fix baseline positioning for non-floating state */
|
|
713
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-floating-label:not(.mdc-floating-label--float-above) {
|
|
714
|
+
transform: translateY(0) !important;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/* Border styling to match input field component - Direct CSS approach */
|
|
718
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__leading,
|
|
719
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__notch,
|
|
720
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__trailing {
|
|
721
|
+
border-color: #C3C5D1 !important;
|
|
722
|
+
border-width: 1px !important;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/* Focus state border color */
|
|
726
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__leading,
|
|
727
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__notch,
|
|
728
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__trailing {
|
|
729
|
+
border-color: $color-blue !important;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/* Hover state border color */
|
|
733
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__leading,
|
|
734
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__notch,
|
|
735
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__trailing {
|
|
736
|
+
border-color: #C3C5D1 !important;
|
|
737
|
+
border-width: 1px !important;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/* Remove any box shadows to match input styling */
|
|
741
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline {
|
|
742
|
+
box-shadow: none !important;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* Comprehensive hover styling for all calendar sizes */
|
|
746
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__leading,
|
|
747
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__notch,
|
|
748
|
+
::ng-deep .al-input-field .mat-mdc-form-field:hover .mdc-notched-outline__trailing {
|
|
749
|
+
border-color: #C3C5D1 !important;
|
|
750
|
+
border-width: 1px !important;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/* Comprehensive default border styling for all calendar sizes */
|
|
754
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__leading,
|
|
755
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__notch,
|
|
756
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__trailing {
|
|
757
|
+
border-color: #C3C5D1 !important;
|
|
758
|
+
border-width: 1px !important;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/* Remove the small grey border before the label */
|
|
762
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__leading {
|
|
763
|
+
border-right: none !important;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
::ng-deep .al-input-field .mat-mdc-form-field .mdc-notched-outline__notch {
|
|
767
|
+
border-left: none !important;
|
|
768
|
+
border-right: none !important;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/* Focus and active state border color */
|
|
772
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__leading,
|
|
773
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__notch,
|
|
774
|
+
::ng-deep .al-input-field .mat-mdc-form-field.mat-focused .mdc-notched-outline__trailing {
|
|
775
|
+
border-color: $color-blue !important;
|
|
776
|
+
border-width: 2px !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/* Active state border color */
|
|
780
|
+
::ng-deep .al-input-field .mat-mdc-form-field:active .mdc-notched-outline__leading,
|
|
781
|
+
::ng-deep .al-input-field .mat-mdc-form-field:active .mdc-notched-outline__notch,
|
|
782
|
+
::ng-deep .al-input-field .mat-mdc-form-field:active .mdc-notched-outline__trailing {
|
|
783
|
+
border-color: $color-blue !important;
|
|
784
|
+
border-width: 2px !important;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/* Touch target sizing for datepicker toggle button */
|
|
788
|
+
::ng-deep .al-input-field .mat-mdc-button-touch-target {
|
|
789
|
+
height: 24px !important;
|
|
790
|
+
width: 24px !important;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/* Date picker toggle alignment - ensure it's properly aligned to the right */
|
|
794
|
+
::ng-deep .al-input-field .mat-datepicker-toggle {
|
|
795
|
+
display: flex !important;
|
|
796
|
+
align-items: center !important;
|
|
797
|
+
justify-content: center !important;
|
|
798
|
+
margin-left: auto !important;
|
|
799
|
+
margin-right: 6px !important;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/* Ensure date picker toggle button is properly positioned */
|
|
803
|
+
::ng-deep .al-input-field .mat-datepicker-toggle .mat-mdc-icon-button {
|
|
804
|
+
display: flex !important;
|
|
805
|
+
align-items: center !important;
|
|
806
|
+
justify-content: center !important;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/* Icon button styling for datepicker toggle - Base size */
|
|
810
|
+
::ng-deep .al-input-field .mat-datepicker-toggle .mat-mdc-icon-button.mat-mdc-button-base {
|
|
811
|
+
padding: 0px !important;
|
|
812
|
+
height: 24px !important;
|
|
813
|
+
width: 24px !important;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/* Icon button styling for datepicker toggle - Small size (higher specificity) */
|
|
817
|
+
::ng-deep .al-input-field.al-input-size-small .mat-mdc-form-field .mat-datepicker-toggle .mat-mdc-icon-button.mat-mdc-button-base {
|
|
818
|
+
height: 34px !important;
|
|
819
|
+
width: 34px !important;
|
|
820
|
+
padding: 4px !important;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
::ng-deep .al-input-field.al-input-size-small .mat-mdc-form-field .mat-datepicker-toggle {
|
|
824
|
+
height: 34px !important;
|
|
825
|
+
width: 34px !important;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
::ng-deep .al-input-field.al-input-size-small .mat-mdc-form-field .mat-datepicker-toggle .mat-mdc-button-touch-target {
|
|
829
|
+
height: 24px !important;
|
|
830
|
+
width: 24px !important;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
::ng-deep .al-input-field .mat-mdc-icon-button.mat-mdc-button-small {
|
|
834
|
+
padding: 4px !important;
|
|
835
|
+
height: 34px !important;
|
|
836
|
+
width: 34px !important;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/* Primary color for outlined text field floating label */
|
|
840
|
+
::ng-deep .al-input-field .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
841
|
+
color: $color-blue !important;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
::ng-deep .al-input-field .mat-mdc-form-field-subscript-wrapper {
|
|
845
|
+
display: none !important;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
::ng-deep .al-input-field .mat-mdc-form-field-subscript-wrapper:hover {
|
|
849
|
+
border-color: transparent !important;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/* Success state placeholder color - higher specificity */
|
|
853
|
+
::ng-deep .al-input-field.al-input-category-success input::placeholder,
|
|
854
|
+
::ng-deep .al-input-field.al-input-category-success:hover input::placeholder,
|
|
855
|
+
::ng-deep .al-input-field.al-input-category-success:focus input::placeholder,
|
|
856
|
+
::ng-deep .al-input-field.al-input-category-success:active input::placeholder,
|
|
857
|
+
::ng-deep .al-input-field.al-input-category-success input:hover::placeholder,
|
|
858
|
+
::ng-deep .al-input-field.al-input-category-success input:focus::placeholder,
|
|
859
|
+
::ng-deep .al-input-field.al-input-category-success input:active::placeholder {
|
|
860
|
+
color: #00AD83 !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/* Error state placeholder color - higher specificity */
|
|
864
|
+
::ng-deep .al-input-field.al-input-category-error input::placeholder,
|
|
865
|
+
::ng-deep .al-input-field.al-input-category-error:hover input::placeholder,
|
|
866
|
+
::ng-deep .al-input-field.al-input-category-error:focus input::placeholder,
|
|
867
|
+
::ng-deep .al-input-field.al-input-category-error:active input::placeholder,
|
|
868
|
+
::ng-deep .al-input-field.al-input-category-error input:hover::placeholder,
|
|
869
|
+
::ng-deep .al-input-field.al-input-category-error input:focus::placeholder,
|
|
870
|
+
::ng-deep .al-input-field.al-input-category-error input:active::placeholder {
|
|
871
|
+
color: $color-error-500 !important;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/* Even higher specificity for success state placeholder */
|
|
875
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field input::placeholder,
|
|
876
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:hover input::placeholder,
|
|
877
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:focus input::placeholder,
|
|
878
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field:active input::placeholder {
|
|
879
|
+
color: #00AD83 !important;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/* Even higher specificity for error state placeholder */
|
|
883
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field input::placeholder,
|
|
884
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:hover input::placeholder,
|
|
885
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:focus input::placeholder,
|
|
886
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field:active input::placeholder {
|
|
887
|
+
color: $color-error-500 !important;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/* Default placeholder color for all inputs */
|
|
891
|
+
::ng-deep .al-input-field input::placeholder {
|
|
892
|
+
color: $color-grey-700 !important;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/* Override default for success state */
|
|
896
|
+
::ng-deep .al-input-field.al-input-category-success input::placeholder {
|
|
897
|
+
color: #00AD83 !important;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/* Override default for error state */
|
|
901
|
+
::ng-deep .al-input-field.al-input-category-error input::placeholder {
|
|
902
|
+
color: $color-error-500 !important;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/* Maximum specificity for success state placeholder - should override everything */
|
|
906
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field .mat-mdc-form-field-infix input::placeholder,
|
|
907
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field .mat-mdc-form-field-infix input:hover::placeholder,
|
|
908
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field .mat-mdc-form-field-infix input:focus::placeholder,
|
|
909
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field .mat-mdc-form-field-infix input:active::placeholder {
|
|
910
|
+
color: #00AD83 !important;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/* Maximum specificity for error state placeholder - should override everything */
|
|
914
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field .mat-mdc-form-field-infix input::placeholder,
|
|
915
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field .mat-mdc-form-field-infix input:hover::placeholder,
|
|
916
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field .mat-mdc-form-field-infix input:focus::placeholder,
|
|
917
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field .mat-mdc-form-field-infix input:active::placeholder {
|
|
918
|
+
color: $color-error-500 !important;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/* Test rule to ensure CSS is being applied - this should make all placeholders red for testing */
|
|
922
|
+
/* ::ng-deep .al-input-field input::placeholder {
|
|
923
|
+
color: red !important;
|
|
924
|
+
} */
|
|
925
|
+
|
|
926
|
+
/* ULTRA SPECIFIC - Success state placeholder - should definitely work */
|
|
927
|
+
::ng-deep .al-input-field.al-input-category-success .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix input::placeholder {
|
|
928
|
+
color: #00AD83 !important;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/* ULTRA SPECIFIC - Error state placeholder - should definitely work */
|
|
932
|
+
::ng-deep .al-input-field.al-input-category-error .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix input::placeholder {
|
|
933
|
+
color: $color-error-500 !important;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
/* Force override with !important and higher specificity */
|
|
937
|
+
::ng-deep .al-input-field.al-input-category-success input[placeholder]::placeholder {
|
|
938
|
+
color: #00AD83 !important;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
::ng-deep .al-input-field.al-input-category-error input[placeholder]::placeholder {
|
|
942
|
+
color: $color-error-500 !important;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/* Target Material Design specific classes for success state */
|
|
946
|
+
::ng-deep .mat-mdc-form-field.al-input-category-success .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix input::placeholder {
|
|
947
|
+
color: #00AD83 !important;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/* Target Material Design specific classes for error state */
|
|
951
|
+
::ng-deep .mat-mdc-form-field.al-input-category-error .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix input::placeholder {
|
|
952
|
+
color: $color-error-500 !important;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/* Alternative approach - target by form field class */
|
|
956
|
+
::ng-deep .mat-mdc-form-field.al-input-field.al-input-category-success input::placeholder {
|
|
957
|
+
color: #00AD83 !important;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
::ng-deep .mat-mdc-form-field.al-input-field.al-input-category-error input::placeholder {
|
|
961
|
+
color: $color-error-500 !important;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/* Try different CSS properties for success state */
|
|
965
|
+
::ng-deep .al-input-field.al-input-category-success input::placeholder {
|
|
966
|
+
color: #00AD83 !important;
|
|
967
|
+
-webkit-text-fill-color: #00AD83 !important;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
::ng-deep .al-input-field.al-input-category-success input::-webkit-input-placeholder {
|
|
971
|
+
color: #00AD83 !important;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
::ng-deep .al-input-field.al-input-category-success input::-moz-placeholder {
|
|
975
|
+
color: #00AD83 !important;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
::ng-deep .al-input-field.al-input-category-success input:-ms-input-placeholder {
|
|
979
|
+
color: #00AD83 !important;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/* Try different CSS properties for error state */
|
|
983
|
+
::ng-deep .al-input-field.al-input-category-error input::placeholder {
|
|
984
|
+
color: $color-error-500 !important;
|
|
985
|
+
-webkit-text-fill-color: $color-error-500 !important;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
::ng-deep .al-input-field.al-input-category-error input::-webkit-input-placeholder {
|
|
989
|
+
color: $color-error-500 !important;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
::ng-deep .al-input-field.al-input-category-error input::-moz-placeholder {
|
|
993
|
+
color: $color-error-500 !important;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
::ng-deep .al-input-field.al-input-category-error input:-ms-input-placeholder {
|
|
997
|
+
color: $color-error-500 !important;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/* Success state floating label color */
|
|
1001
|
+
::ng-deep .al-input-field.al-input-category-success .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
1002
|
+
color: #00AD83 !important;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/* Error state floating label color */
|
|
1006
|
+
::ng-deep .al-input-field.al-input-category-error .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
1007
|
+
color: $color-error-500 !important;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/* Success state floating label when focused */
|
|
1011
|
+
::ng-deep .al-input-field.al-input-category-success .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
|
|
1012
|
+
color: #00AD83 !important;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/* Error state floating label when focused */
|
|
1016
|
+
::ng-deep .al-input-field.al-input-category-error .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
|
|
1017
|
+
color: $color-error-500 !important;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/* ===== COLOR PICKER STYLES ===== */
|
|
1021
|
+
|
|
1022
|
+
/* Color picker container */
|
|
1023
|
+
.color-picker-container {
|
|
1024
|
+
display: flex;
|
|
1025
|
+
align-items: center;
|
|
1026
|
+
width: 100%;
|
|
1027
|
+
position: relative;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/* Color picker input styling */
|
|
1031
|
+
.color-picker-input {
|
|
1032
|
+
position: absolute;
|
|
1033
|
+
right: 12px;
|
|
1034
|
+
width: 24px;
|
|
1035
|
+
height: 24px;
|
|
1036
|
+
border: none;
|
|
1037
|
+
border-radius: 4px;
|
|
1038
|
+
cursor: pointer;
|
|
1039
|
+
opacity: 0;
|
|
1040
|
+
z-index: 2;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/* Color picker visual indicator */
|
|
1044
|
+
.color-picker-container::after {
|
|
1045
|
+
content: '';
|
|
1046
|
+
position: absolute;
|
|
1047
|
+
right: 0px;
|
|
1048
|
+
width: 24px;
|
|
1049
|
+
height: 24px;
|
|
1050
|
+
border-radius: 4px;
|
|
1051
|
+
border: 2px solid #C3C5D1;
|
|
1052
|
+
background-color: var(--color-value, #000000);
|
|
1053
|
+
pointer-events: none;
|
|
1054
|
+
z-index: 1;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/* Color picker hover state */
|
|
1058
|
+
.color-picker-container:hover::after {
|
|
1059
|
+
border-color: $color-blue;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/* Color picker focus state */
|
|
1063
|
+
.color-picker-input:focus+.color-picker-container::after,
|
|
1064
|
+
.color-picker-input:focus-visible+.color-picker-container::after {
|
|
1065
|
+
border-color: $color-blue;
|
|
1066
|
+
box-shadow: 0 0 0 1px $color-blue;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/* Size-specific color picker styling */
|
|
1070
|
+
::ng-deep .al-input-size-xs .color-picker-input,
|
|
1071
|
+
::ng-deep .al-input-size-small .color-picker-input,
|
|
1072
|
+
::ng-deep .al-input-size-header .color-picker-input {
|
|
1073
|
+
width: 20px;
|
|
1074
|
+
height: 20px;
|
|
1075
|
+
right: 0;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
::ng-deep .al-input-size-xs .color-picker-container::after,
|
|
1079
|
+
::ng-deep .al-input-size-small .color-picker-container::after,
|
|
1080
|
+
::ng-deep .al-input-size-header .color-picker-container::after {
|
|
1081
|
+
width: 20px;
|
|
1082
|
+
height: 20px;
|
|
1083
|
+
right: 0px;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
::ng-deep .al-input-size-large .color-picker-input {
|
|
1087
|
+
width: 28px;
|
|
1088
|
+
height: 28px;
|
|
1089
|
+
right: 0px;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
::ng-deep .al-input-size-large .color-picker-container::after {
|
|
1093
|
+
width: 28px;
|
|
1094
|
+
height: 28px;
|
|
1095
|
+
right: 0px;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/* Category-specific color picker styling */
|
|
1099
|
+
::ng-deep .al-input-category-success .color-picker-container::after {
|
|
1100
|
+
border-color: #00AD83;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
::ng-deep .al-input-category-success .color-picker-container:hover::after {
|
|
1104
|
+
border-color: #00AD83;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
::ng-deep .al-input-category-error .color-picker-container::after {
|
|
1108
|
+
border-color: $color-error-500;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
::ng-deep .al-input-category-error .color-picker-container:hover::after {
|
|
1112
|
+
border-color: $color-error-500;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
::ng-deep .al-input-category-disabled .color-picker-container::after {
|
|
1116
|
+
border-color: #9CA3AF;
|
|
1117
|
+
opacity: 0.6;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
::ng-deep .al-input-category-disabled .color-picker-input {
|
|
1121
|
+
cursor: not-allowed;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
/* Color picker accessibility */
|
|
1127
|
+
.color-picker-input:focus {
|
|
1128
|
+
outline: none;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/* Ensure proper alignment for color picker input */
|
|
1132
|
+
::ng-deep .al-input-field .color-picker-container .mat-mdc-form-field-infix {
|
|
1133
|
+
display: flex !important;
|
|
1134
|
+
align-items: center !important;
|
|
1135
|
+
flex: 1 !important;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/* Color picker container alignment */
|
|
1139
|
+
::ng-deep .al-input-field .color-picker-container {
|
|
1140
|
+
display: flex !important;
|
|
1141
|
+
align-items: center !important;
|
|
1142
|
+
width: 100% !important;
|
|
1143
|
+
position: relative !important;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/* ===== COLOR PICKER ICON STYLES ===== */
|
|
1147
|
+
|
|
1148
|
+
/* Color picker icon styling */
|
|
1149
|
+
.color-picker-icon {
|
|
1150
|
+
color: $color-grey-700 !important;
|
|
1151
|
+
cursor: pointer !important;
|
|
1152
|
+
transition: color 0.2s ease !important;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/* Color picker icon hover state */
|
|
1156
|
+
.color-picker-container:hover .color-picker-icon {
|
|
1157
|
+
color: $color-blue !important;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/* Color picker icon focus state */
|
|
1161
|
+
.color-picker-input:focus+.color-picker-icon {
|
|
1162
|
+
color: $color-blue !important;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/* Size-specific color picker icon styling */
|
|
1166
|
+
::ng-deep .al-input-size-xs .color-picker-icon,
|
|
1167
|
+
::ng-deep .al-input-size-small .color-picker-icon,
|
|
1168
|
+
::ng-deep .al-input-size-header .color-picker-icon {
|
|
1169
|
+
font-size: 16px !important;
|
|
1170
|
+
width: 16px !important;
|
|
1171
|
+
height: 16px !important;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
::ng-deep .al-input-size-base .color-picker-icon {
|
|
1175
|
+
font-size: 20px !important;
|
|
1176
|
+
width: 22px !important;
|
|
1177
|
+
height: 20px !important;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
::ng-deep .al-input-size-large .color-picker-icon {
|
|
1181
|
+
font-size: 24px !important;
|
|
1182
|
+
width: 24px !important;
|
|
1183
|
+
height: 24px !important;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/* Category-specific color picker icon styling */
|
|
1187
|
+
::ng-deep .al-input-category-success .color-picker-icon {
|
|
1188
|
+
color: #00AD83 !important;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
::ng-deep .al-input-category-success .color-picker-container:hover .color-picker-icon {
|
|
1192
|
+
color: #00AD83 !important;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
::ng-deep .al-input-category-error .color-picker-icon {
|
|
1196
|
+
color: $color-error-500 !important;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
::ng-deep .al-input-category-error .color-picker-container:hover .color-picker-icon {
|
|
1200
|
+
color: $color-error-500 !important;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
::ng-deep .al-input-category-disabled .color-picker-icon {
|
|
1204
|
+
color: #9CA3AF !important;
|
|
1205
|
+
opacity: 0.6 !important;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
::ng-deep .al-input-category-disabled .color-picker-container:hover .color-picker-icon {
|
|
1209
|
+
color: #9CA3AF !important;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/* Ensure proper positioning of color picker icon */
|
|
1213
|
+
::ng-deep .color-picker-container .color-picker-icon {
|
|
1214
|
+
position: absolute !important;
|
|
1215
|
+
right: 4px !important;
|
|
1216
|
+
z-index: 1 !important;
|
|
1217
|
+
pointer-events: none !important;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/* Size-specific positioning for color picker icon */
|
|
1221
|
+
::ng-deep .al-input-size-xs .color-picker-container .color-picker-icon,
|
|
1222
|
+
::ng-deep .al-input-size-small .color-picker-container .color-picker-icon,
|
|
1223
|
+
::ng-deep .al-input-size-header .color-picker-container .color-picker-icon {
|
|
1224
|
+
right: 8px !important;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
::ng-deep .al-input-size-large .color-picker-container .color-picker-icon {
|
|
1228
|
+
right: 6px !important;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/* Ensure color picker input is positioned correctly over the icon */
|
|
1232
|
+
::ng-deep .color-picker-container .color-picker-input {
|
|
1233
|
+
position: absolute !important;
|
|
1234
|
+
right: 4px !important;
|
|
1235
|
+
width: 24px !important;
|
|
1236
|
+
height: 24px !important;
|
|
1237
|
+
border: none !important;
|
|
1238
|
+
border-radius: 4px !important;
|
|
1239
|
+
cursor: pointer !important;
|
|
1240
|
+
opacity: 0 !important;
|
|
1241
|
+
z-index: 2 !important;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/* Size-specific color picker input positioning */
|
|
1245
|
+
::ng-deep .al-input-size-xs .color-picker-container .color-picker-input,
|
|
1246
|
+
::ng-deep .al-input-size-small .color-picker-container .color-picker-input,
|
|
1247
|
+
::ng-deep .al-input-size-header .color-picker-container .color-picker-input {
|
|
1248
|
+
right: 8px !important;
|
|
1249
|
+
width: 20px !important;
|
|
1250
|
+
height: 20px !important;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
::ng-deep .al-input-size-large .color-picker-container .color-picker-input {
|
|
1254
|
+
right: 6px !important;
|
|
1255
|
+
width: 28px !important;
|
|
1256
|
+
height: 28px !important;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/* Remove the old color square styles */
|
|
1260
|
+
.color-picker-container::after {
|
|
1261
|
+
display: none !important;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/* Ensure proper spacing for text input with icon */
|
|
1265
|
+
|
|
1266
|
+
/* ::ng-deep .al-input-size-xs .color-picker-container input[matInput],
|
|
1267
|
+
::ng-deep .al-input-size-small .color-picker-container input[matInput],
|
|
1268
|
+
::ng-deep .al-input-size-header .color-picker-container input[matInput] {
|
|
1269
|
+
padding-right: 12px !important;
|
|
1270
|
+
} */
|
|
1271
|
+
|
|
1272
|
+
/* ===== DROPDOWN OPTION STYLES (mat-option) ===== */
|
|
1273
|
+
/* Base typography styling */
|
|
1274
|
+
::ng-deep .mat-mdc-option,
|
|
1275
|
+
::ng-deep .mat-option {
|
|
1276
|
+
font-family: Roboto, sans-serif !important;
|
|
1277
|
+
font-size: 16px !important;
|
|
1278
|
+
font-style: normal !important;
|
|
1279
|
+
font-weight: 400 !important;
|
|
1280
|
+
line-height: 140% !important;
|
|
1281
|
+
/* 22.4px */
|
|
1282
|
+
letter-spacing: 0.04px !important;
|
|
1283
|
+
color: var(--Gray-700, #414651) !important;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
::ng-deep .mat-mdc-option .mdc-list-item__primary-text,
|
|
1287
|
+
::ng-deep .mat-mdc-option .mat-mdc-option-text,
|
|
1288
|
+
::ng-deep .mat-option .mat-option-text {
|
|
1289
|
+
font-family: Roboto, sans-serif !important;
|
|
1290
|
+
font-size: 16px !important;
|
|
1291
|
+
font-style: normal !important;
|
|
1292
|
+
font-weight: 400 !important;
|
|
1293
|
+
line-height: 140% !important;
|
|
1294
|
+
/* 22.4px */
|
|
1295
|
+
letter-spacing: 0.04px !important;
|
|
1296
|
+
color: var(--Gray-700, #414651) !important;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
/* Hover state */
|
|
1300
|
+
::ng-deep .mat-mdc-option:hover:not(.mdc-list-item--disabled),
|
|
1301
|
+
::ng-deep .mat-option:hover:not(.mat-option-disabled) {
|
|
1302
|
+
background-color: #F7F9FE !important;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/* Focus state */
|
|
1306
|
+
::ng-deep .mat-mdc-option:focus:not(.mdc-list-item--disabled),
|
|
1307
|
+
::ng-deep .mat-option:focus:not(.mat-option-disabled),
|
|
1308
|
+
::ng-deep .mat-mdc-option.cdk-keyboard-focused:not(.mdc-list-item--disabled),
|
|
1309
|
+
::ng-deep .mat-option.cdk-keyboard-focused:not(.mat-option-disabled) {
|
|
1310
|
+
background-color: #E5E9FC !important;
|
|
1311
|
+
outline: none;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/* Selected state */
|
|
1315
|
+
::ng-deep .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled),
|
|
1316
|
+
::ng-deep .mat-option.mat-selected:not(.mat-option-disabled) {
|
|
1317
|
+
background-color: #F7F9FE !important;
|
|
1318
|
+
color: #5473E8 !important;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/* Active state for MDC list options */
|
|
1322
|
+
::ng-deep .mat-mdc-option:focus.mdc-list-item,
|
|
1323
|
+
::ng-deep .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
|
|
1324
|
+
background-color: #F7F9FE !important;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
::ng-deep .mat-mdc-option.mdc-list-item--selected .mdc-list-item__primary-text,
|
|
1328
|
+
::ng-deep .mat-mdc-option.mdc-list-item--selected .mat-mdc-option-text,
|
|
1329
|
+
::ng-deep .mat-option.mat-selected .mat-option-text {
|
|
1330
|
+
color: #5473E8 !important;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/* ===== PSEUDO-CHECKBOX STYLES ===== */
|
|
1334
|
+
::ng-deep .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,
|
|
1335
|
+
::ng-deep .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
|
|
1336
|
+
background-color: $color-blue-500 !important;
|
|
1337
|
+
}
|