i-tech-shared-components 1.4.41 → 1.4.42
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/README.md +26 -26
- package/assets/back.svg +3 -3
- package/assets/links/T3/audit-trail.svg +3 -3
- package/assets/links/T3/automation.svg +5 -5
- package/assets/links/T3/contact-person.svg +10 -10
- package/assets/links/T3/contract.svg +3 -3
- package/assets/links/T3/domiciles.svg +3 -3
- package/assets/links/T3/drivers.svg +3 -3
- package/assets/links/T3/general.svg +3 -3
- package/assets/links/T3/ile.svg +3 -3
- package/assets/links/T3/integrations.svg +3 -3
- package/assets/links/T3/license-type.svg +7 -7
- package/assets/links/T3/monitoring.svg +7 -7
- package/assets/links/T3/reports.svg +3 -3
- package/assets/links/T3/schedule.svg +3 -3
- package/assets/links/T3/settings.svg +3 -3
- package/assets/links/T3/units.svg +4 -4
- package/assets/links/T3/usps.svg +3 -3
- package/assets/links/TMT/audit-trail.svg +3 -3
- package/assets/links/TMT/loads.svg +7 -7
- package/assets/links/TMT/settings.svg +3 -3
- package/assets/logos/full/ORGANIZATION.svg +9 -9
- package/assets/logos/full/T3.svg +13 -13
- package/assets/logos/small/ORGANIZATION.svg +9 -9
- package/assets/logos/small/T3.svg +10 -10
- package/assets/selected_organization.svg +3 -3
- package/assets/toggle-state-left.svg +3 -3
- package/assets/toggle-state-right.svg +10 -10
- package/fesm2022/i-tech-shared-components.mjs +70 -70
- package/fesm2022/i-tech-shared-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/theme/_ag-grid.scss +245 -245
- package/theme/_buttons.scss +68 -68
- package/theme/_color_themes.scss +136 -136
- package/theme/_date_picker.scss +77 -77
- package/theme/_date_time_picker.scss +87 -87
- package/theme/_form_fields.scss +117 -117
- package/theme/_icon-button.scss +165 -165
- package/theme/_label.scss +238 -238
- package/theme/_mat-selects.scss +281 -281
- package/theme/_menu.scss +13 -13
- package/theme/_text_input.scss +29 -29
- package/theme/variables/_colors.scss +20 -20
- package/theme.scss +32 -32
package/theme/_color_themes.scss
CHANGED
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
$_light-palette: (
|
|
5
|
-
primary: (
|
|
6
|
-
0: #000000,
|
|
7
|
-
10: #003A0C,
|
|
8
|
-
20: #005B13,
|
|
9
|
-
25: #006B1E,
|
|
10
|
-
30: #007A28,
|
|
11
|
-
35: #00822E,
|
|
12
|
-
40: #008B33,
|
|
13
|
-
50: #009D3F,
|
|
14
|
-
60: #00AC48,
|
|
15
|
-
70: #42B963,
|
|
16
|
-
80: #69C57F,
|
|
17
|
-
90: #96D5A3,
|
|
18
|
-
95: #C0E5C7,
|
|
19
|
-
98: #E3F6E7,
|
|
20
|
-
99: #EFFAF1,
|
|
21
|
-
100: #FFFFFF,
|
|
22
|
-
),
|
|
23
|
-
secondary: (
|
|
24
|
-
0: #1A1A1A,
|
|
25
|
-
10: #0C2B61,
|
|
26
|
-
20: #183778,
|
|
27
|
-
25: #1F4085,
|
|
28
|
-
30: #2C4D91,
|
|
29
|
-
35: #335497,
|
|
30
|
-
40: #3A5B9E,
|
|
31
|
-
50: #4364A6,
|
|
32
|
-
60: #5777B7,
|
|
33
|
-
70: #718ECB,
|
|
34
|
-
80: #97B0E3,
|
|
35
|
-
90: #C1D2F5,
|
|
36
|
-
95: #DDE7FC,
|
|
37
|
-
98: #E1EBFC,
|
|
38
|
-
99: #EEF4FE,
|
|
39
|
-
100: #FFFFFF,
|
|
40
|
-
),
|
|
41
|
-
neutral: (
|
|
42
|
-
0: #1A1A1A,
|
|
43
|
-
10: #34363B,
|
|
44
|
-
20: #454950,
|
|
45
|
-
25: #4D525B,
|
|
46
|
-
30: #555B65,
|
|
47
|
-
35: #5C646F,
|
|
48
|
-
40: #636C79,
|
|
49
|
-
50: #747E8E,
|
|
50
|
-
60: #828C9B,
|
|
51
|
-
70: #A9AFB9,
|
|
52
|
-
80: #C2C5CD,
|
|
53
|
-
90: #DBDDE1,
|
|
54
|
-
95: #F2F2F5,
|
|
55
|
-
98: #F8F8FA,
|
|
56
|
-
99: #FAFAFC,
|
|
57
|
-
100: #ffffff,
|
|
58
|
-
),
|
|
59
|
-
neutral-variant: (
|
|
60
|
-
0: #000000,
|
|
61
|
-
10: #131e13,
|
|
62
|
-
20: #283327,
|
|
63
|
-
25: #323e32,
|
|
64
|
-
30: #3e4a3d,
|
|
65
|
-
35: #495648,
|
|
66
|
-
40: #556254,
|
|
67
|
-
50: #6e7b6c,
|
|
68
|
-
60: #879485,
|
|
69
|
-
70: #a1af9e,
|
|
70
|
-
80: #bdcab9,
|
|
71
|
-
90: #d9e6d4,
|
|
72
|
-
95: #e7f5e2,
|
|
73
|
-
98: #F2FCED,
|
|
74
|
-
99: #f6fff1,
|
|
75
|
-
100: #ffffff,
|
|
76
|
-
),
|
|
77
|
-
tertiary: (
|
|
78
|
-
0: #000000,
|
|
79
|
-
10: #1D2025,
|
|
80
|
-
20: #30353D,
|
|
81
|
-
25: #393F49,
|
|
82
|
-
30: #424954,
|
|
83
|
-
35: #4A535F,
|
|
84
|
-
40: #525C6A,
|
|
85
|
-
50: #647081,
|
|
86
|
-
60: #747F90,
|
|
87
|
-
70: #9FA6B1,
|
|
88
|
-
80: #BBBFC7,
|
|
89
|
-
90: #D7D9DE,
|
|
90
|
-
95: #F0F0F4,
|
|
91
|
-
98: #F5F5F8,
|
|
92
|
-
99: #F9F9FC,
|
|
93
|
-
100: #FFFFFF,
|
|
94
|
-
),
|
|
95
|
-
error: (
|
|
96
|
-
0: #39041A,
|
|
97
|
-
10: #670923,
|
|
98
|
-
20: #950E2B,
|
|
99
|
-
25: #A5102E,
|
|
100
|
-
30: #B41231,
|
|
101
|
-
35: #BB1635,
|
|
102
|
-
40: #C11A39,
|
|
103
|
-
50: #D2344C,
|
|
104
|
-
60: #DE4558,
|
|
105
|
-
70: #E77383,
|
|
106
|
-
80: #F5A0AA,
|
|
107
|
-
90: #FACBD5,
|
|
108
|
-
95: #FBE9EE,
|
|
109
|
-
98: #FCF1F4,
|
|
110
|
-
99: #FDF4F7,
|
|
111
|
-
100: #FFFFFF,
|
|
112
|
-
),
|
|
113
|
-
);
|
|
114
|
-
$_main: (
|
|
115
|
-
secondary: map.get($_light-palette, secondary),
|
|
116
|
-
neutral: map.get($_light-palette, neutral),
|
|
117
|
-
neutral-variant: map.get($_light-palette, neutral-variant),
|
|
118
|
-
error: map.get($_light-palette, error),
|
|
119
|
-
);
|
|
120
|
-
$_primary: map.merge(map.get($_light-palette, primary), $_main);
|
|
121
|
-
$_tertiary: map.merge(map.get($_light-palette, tertiary), $_main);
|
|
122
|
-
|
|
123
|
-
$m3-light-theme: mat.define-theme((
|
|
124
|
-
color: (
|
|
125
|
-
theme-type: light,
|
|
126
|
-
primary: $_primary,
|
|
127
|
-
tertiary: $_tertiary,
|
|
128
|
-
),
|
|
129
|
-
typography: (
|
|
130
|
-
plain-family: 'Noto Sans',
|
|
131
|
-
brand-family: 'Noto Sans'
|
|
132
|
-
),
|
|
133
|
-
density: (
|
|
134
|
-
scale: -4,
|
|
135
|
-
),
|
|
136
|
-
));
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
$_light-palette: (
|
|
5
|
+
primary: (
|
|
6
|
+
0: #000000,
|
|
7
|
+
10: #003A0C,
|
|
8
|
+
20: #005B13,
|
|
9
|
+
25: #006B1E,
|
|
10
|
+
30: #007A28,
|
|
11
|
+
35: #00822E,
|
|
12
|
+
40: #008B33,
|
|
13
|
+
50: #009D3F,
|
|
14
|
+
60: #00AC48,
|
|
15
|
+
70: #42B963,
|
|
16
|
+
80: #69C57F,
|
|
17
|
+
90: #96D5A3,
|
|
18
|
+
95: #C0E5C7,
|
|
19
|
+
98: #E3F6E7,
|
|
20
|
+
99: #EFFAF1,
|
|
21
|
+
100: #FFFFFF,
|
|
22
|
+
),
|
|
23
|
+
secondary: (
|
|
24
|
+
0: #1A1A1A,
|
|
25
|
+
10: #0C2B61,
|
|
26
|
+
20: #183778,
|
|
27
|
+
25: #1F4085,
|
|
28
|
+
30: #2C4D91,
|
|
29
|
+
35: #335497,
|
|
30
|
+
40: #3A5B9E,
|
|
31
|
+
50: #4364A6,
|
|
32
|
+
60: #5777B7,
|
|
33
|
+
70: #718ECB,
|
|
34
|
+
80: #97B0E3,
|
|
35
|
+
90: #C1D2F5,
|
|
36
|
+
95: #DDE7FC,
|
|
37
|
+
98: #E1EBFC,
|
|
38
|
+
99: #EEF4FE,
|
|
39
|
+
100: #FFFFFF,
|
|
40
|
+
),
|
|
41
|
+
neutral: (
|
|
42
|
+
0: #1A1A1A,
|
|
43
|
+
10: #34363B,
|
|
44
|
+
20: #454950,
|
|
45
|
+
25: #4D525B,
|
|
46
|
+
30: #555B65,
|
|
47
|
+
35: #5C646F,
|
|
48
|
+
40: #636C79,
|
|
49
|
+
50: #747E8E,
|
|
50
|
+
60: #828C9B,
|
|
51
|
+
70: #A9AFB9,
|
|
52
|
+
80: #C2C5CD,
|
|
53
|
+
90: #DBDDE1,
|
|
54
|
+
95: #F2F2F5,
|
|
55
|
+
98: #F8F8FA,
|
|
56
|
+
99: #FAFAFC,
|
|
57
|
+
100: #ffffff,
|
|
58
|
+
),
|
|
59
|
+
neutral-variant: (
|
|
60
|
+
0: #000000,
|
|
61
|
+
10: #131e13,
|
|
62
|
+
20: #283327,
|
|
63
|
+
25: #323e32,
|
|
64
|
+
30: #3e4a3d,
|
|
65
|
+
35: #495648,
|
|
66
|
+
40: #556254,
|
|
67
|
+
50: #6e7b6c,
|
|
68
|
+
60: #879485,
|
|
69
|
+
70: #a1af9e,
|
|
70
|
+
80: #bdcab9,
|
|
71
|
+
90: #d9e6d4,
|
|
72
|
+
95: #e7f5e2,
|
|
73
|
+
98: #F2FCED,
|
|
74
|
+
99: #f6fff1,
|
|
75
|
+
100: #ffffff,
|
|
76
|
+
),
|
|
77
|
+
tertiary: (
|
|
78
|
+
0: #000000,
|
|
79
|
+
10: #1D2025,
|
|
80
|
+
20: #30353D,
|
|
81
|
+
25: #393F49,
|
|
82
|
+
30: #424954,
|
|
83
|
+
35: #4A535F,
|
|
84
|
+
40: #525C6A,
|
|
85
|
+
50: #647081,
|
|
86
|
+
60: #747F90,
|
|
87
|
+
70: #9FA6B1,
|
|
88
|
+
80: #BBBFC7,
|
|
89
|
+
90: #D7D9DE,
|
|
90
|
+
95: #F0F0F4,
|
|
91
|
+
98: #F5F5F8,
|
|
92
|
+
99: #F9F9FC,
|
|
93
|
+
100: #FFFFFF,
|
|
94
|
+
),
|
|
95
|
+
error: (
|
|
96
|
+
0: #39041A,
|
|
97
|
+
10: #670923,
|
|
98
|
+
20: #950E2B,
|
|
99
|
+
25: #A5102E,
|
|
100
|
+
30: #B41231,
|
|
101
|
+
35: #BB1635,
|
|
102
|
+
40: #C11A39,
|
|
103
|
+
50: #D2344C,
|
|
104
|
+
60: #DE4558,
|
|
105
|
+
70: #E77383,
|
|
106
|
+
80: #F5A0AA,
|
|
107
|
+
90: #FACBD5,
|
|
108
|
+
95: #FBE9EE,
|
|
109
|
+
98: #FCF1F4,
|
|
110
|
+
99: #FDF4F7,
|
|
111
|
+
100: #FFFFFF,
|
|
112
|
+
),
|
|
113
|
+
);
|
|
114
|
+
$_main: (
|
|
115
|
+
secondary: map.get($_light-palette, secondary),
|
|
116
|
+
neutral: map.get($_light-palette, neutral),
|
|
117
|
+
neutral-variant: map.get($_light-palette, neutral-variant),
|
|
118
|
+
error: map.get($_light-palette, error),
|
|
119
|
+
);
|
|
120
|
+
$_primary: map.merge(map.get($_light-palette, primary), $_main);
|
|
121
|
+
$_tertiary: map.merge(map.get($_light-palette, tertiary), $_main);
|
|
122
|
+
|
|
123
|
+
$m3-light-theme: mat.define-theme((
|
|
124
|
+
color: (
|
|
125
|
+
theme-type: light,
|
|
126
|
+
primary: $_primary,
|
|
127
|
+
tertiary: $_tertiary,
|
|
128
|
+
),
|
|
129
|
+
typography: (
|
|
130
|
+
plain-family: 'Noto Sans',
|
|
131
|
+
brand-family: 'Noto Sans'
|
|
132
|
+
),
|
|
133
|
+
density: (
|
|
134
|
+
scale: -4,
|
|
135
|
+
),
|
|
136
|
+
));
|
package/theme/_date_picker.scss
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use "./_color_themes.scss" as color-themes;
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
--mat-datepicker-calendar-container-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 100)} !important;
|
|
6
|
-
--mat-datepicker-calendar-period-button-text-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 35)} !important;
|
|
7
|
-
--mat-datepicker-calendar-date-hover-state-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 99)} !important;
|
|
8
|
-
--mat-datepicker-calendar-date-today-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 99)} !important;
|
|
9
|
-
--mat-datepicker-range-input-separator-color: #{mat.get-theme-color(color-themes.$m3-light-theme, neutral, 50)} !important;
|
|
10
|
-
--mat-datepicker-calendar-body-label-text-size: 16px;
|
|
11
|
-
--mat-datepicker-calendar-body-label-text-weight: 400;
|
|
12
|
-
--mat-datepicker-calendar-period-button-text-size: 16px;
|
|
13
|
-
--mat-datepicker-calendar-period-button-text-weight: 400;
|
|
14
|
-
--mat-datepicker-calendar-header-text-color: #1D1B20 !important;
|
|
15
|
-
--mat-datepicker-calendar-header-text-size: 16px !important;
|
|
16
|
-
--mat-datepicker-calendar-header-text-weight: 700 !important;
|
|
17
|
-
|
|
18
|
-
.mat-calendar-body-cell-content {
|
|
19
|
-
font-size: 16px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
23
|
-
background-color: var(--mat-datepicker-calendar-date-hover-state-background-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.mat-date-range-input {
|
|
27
|
-
.mat-mdc-form-field-flex {
|
|
28
|
-
height: 40px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.mat-date-range-input-inner::placeholder {
|
|
32
|
-
color: #{mat.get-theme-color(color-themes.$m3-light-theme, neutral, 50)};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.mat-mdc-input-element::placeholder {
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
color: var(--Text, #424954);
|
|
39
|
-
text-overflow: ellipsis;
|
|
40
|
-
font-size: 13px;
|
|
41
|
-
font-style: normal;
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
letter-spacing: 0.5px;
|
|
44
|
-
}
|
|
45
|
-
width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.opened_calendar {
|
|
49
|
-
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
50
|
-
--mdc-outlined-text-field-outline-color: #0060DF !important;
|
|
51
|
-
--mdc-outlined-text-field-error-outline-color: #0060DF !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.mat-datepicker-content {
|
|
55
|
-
background-color: var(--white-color) !important;
|
|
56
|
-
--mat-datepicker-calendar-navigation-button-icon-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 80)};
|
|
57
|
-
--mat-datepicker-calendar-period-button-icon-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 80)};
|
|
58
|
-
box-shadow: 0 2px 6px 2px rgba(48, 70, 102, 0.10);
|
|
59
|
-
border: 1px solid var(--Outline, #D7D9DE);
|
|
60
|
-
|
|
61
|
-
.mat-calendar-body-selected {
|
|
62
|
-
background-color: var(--mat-datepicker-calendar-date-selected-state-background-color) !important;
|
|
63
|
-
color: var(--mat-datepicker-calendar-date-selected-state-text-color) !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
67
|
-
border: 1px solid var(--mat-datepicker-calendar-date-today-outline-color) !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.mat-calendar-body-cell-content {
|
|
71
|
-
border: unset !important;
|
|
72
|
-
font-size: 13px !important;
|
|
73
|
-
font-weight: 400 !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use "./_color_themes.scss" as color-themes;
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
--mat-datepicker-calendar-container-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 100)} !important;
|
|
6
|
+
--mat-datepicker-calendar-period-button-text-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 35)} !important;
|
|
7
|
+
--mat-datepicker-calendar-date-hover-state-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 99)} !important;
|
|
8
|
+
--mat-datepicker-calendar-date-today-background-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 99)} !important;
|
|
9
|
+
--mat-datepicker-range-input-separator-color: #{mat.get-theme-color(color-themes.$m3-light-theme, neutral, 50)} !important;
|
|
10
|
+
--mat-datepicker-calendar-body-label-text-size: 16px;
|
|
11
|
+
--mat-datepicker-calendar-body-label-text-weight: 400;
|
|
12
|
+
--mat-datepicker-calendar-period-button-text-size: 16px;
|
|
13
|
+
--mat-datepicker-calendar-period-button-text-weight: 400;
|
|
14
|
+
--mat-datepicker-calendar-header-text-color: #1D1B20 !important;
|
|
15
|
+
--mat-datepicker-calendar-header-text-size: 16px !important;
|
|
16
|
+
--mat-datepicker-calendar-header-text-weight: 700 !important;
|
|
17
|
+
|
|
18
|
+
.mat-calendar-body-cell-content {
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
23
|
+
background-color: var(--mat-datepicker-calendar-date-hover-state-background-color);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mat-date-range-input {
|
|
27
|
+
.mat-mdc-form-field-flex {
|
|
28
|
+
height: 40px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.mat-date-range-input-inner::placeholder {
|
|
32
|
+
color: #{mat.get-theme-color(color-themes.$m3-light-theme, neutral, 50)};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.mat-mdc-input-element::placeholder {
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
color: var(--Text, #424954);
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
font-size: 13px;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
letter-spacing: 0.5px;
|
|
44
|
+
}
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.opened_calendar {
|
|
49
|
+
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
50
|
+
--mdc-outlined-text-field-outline-color: #0060DF !important;
|
|
51
|
+
--mdc-outlined-text-field-error-outline-color: #0060DF !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mat-datepicker-content {
|
|
55
|
+
background-color: var(--white-color) !important;
|
|
56
|
+
--mat-datepicker-calendar-navigation-button-icon-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 80)};
|
|
57
|
+
--mat-datepicker-calendar-period-button-icon-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 80)};
|
|
58
|
+
box-shadow: 0 2px 6px 2px rgba(48, 70, 102, 0.10);
|
|
59
|
+
border: 1px solid var(--Outline, #D7D9DE);
|
|
60
|
+
|
|
61
|
+
.mat-calendar-body-selected {
|
|
62
|
+
background-color: var(--mat-datepicker-calendar-date-selected-state-background-color) !important;
|
|
63
|
+
color: var(--mat-datepicker-calendar-date-selected-state-text-color) !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
67
|
+
border: 1px solid var(--mat-datepicker-calendar-date-today-outline-color) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mat-calendar-body-cell-content {
|
|
71
|
+
border: unset !important;
|
|
72
|
+
font-size: 13px !important;
|
|
73
|
+
font-weight: 400 !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use "./color_themes.scss" as color-themes;;
|
|
3
|
-
|
|
4
|
-
.date_time_picker_container {
|
|
5
|
-
|
|
6
|
-
&.readonly_field {
|
|
7
|
-
.date_time_picker {
|
|
8
|
-
border-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
9
|
-
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
10
|
-
--mdc-outlined-text-field-focus-outline-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
mat-label, .required-input {
|
|
14
|
-
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&.invalid_form {
|
|
19
|
-
.mat-mdc-form-field-error {
|
|
20
|
-
animation: _mat-form-field-subscript-animation 300ms cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
21
|
-
position: absolute;
|
|
22
|
-
left: 16px;
|
|
23
|
-
font-weight: 500;
|
|
24
|
-
line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
mat-label {
|
|
28
|
-
color: #C11A39 !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.date_time_picker {
|
|
32
|
-
outline: 3px solid #C11A39;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.date_time_picker {
|
|
38
|
-
display: flex;
|
|
39
|
-
outline: 1px solid #D7D9DE;
|
|
40
|
-
border-radius: 4px;
|
|
41
|
-
padding: 8px;
|
|
42
|
-
background-color: white;
|
|
43
|
-
width: max-content;
|
|
44
|
-
&.focused {
|
|
45
|
-
outline: 3px solid #0060DF;
|
|
46
|
-
}
|
|
47
|
-
input {
|
|
48
|
-
padding: unset;
|
|
49
|
-
border: unset;
|
|
50
|
-
background-color: white;
|
|
51
|
-
outline: unset;
|
|
52
|
-
line-height: 20px;
|
|
53
|
-
font-weight: 500;
|
|
54
|
-
font-size: 13px;
|
|
55
|
-
letter-spacing: 0.2px;
|
|
56
|
-
|
|
57
|
-
&:disabled {
|
|
58
|
-
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
input.date {
|
|
63
|
-
width: 75px;
|
|
64
|
-
}
|
|
65
|
-
input.time {
|
|
66
|
-
width: 73px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.disabled {
|
|
70
|
-
border-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
71
|
-
opacity: 0.7;
|
|
72
|
-
|
|
73
|
-
input {
|
|
74
|
-
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
75
|
-
&::placeholder {
|
|
76
|
-
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
82
|
-
display: none;
|
|
83
|
-
pointer-events: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use "./color_themes.scss" as color-themes;;
|
|
3
|
+
|
|
4
|
+
.date_time_picker_container {
|
|
5
|
+
|
|
6
|
+
&.readonly_field {
|
|
7
|
+
.date_time_picker {
|
|
8
|
+
border-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
9
|
+
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
10
|
+
--mdc-outlined-text-field-focus-outline-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
mat-label, .required-input {
|
|
14
|
+
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.invalid_form {
|
|
19
|
+
.mat-mdc-form-field-error {
|
|
20
|
+
animation: _mat-form-field-subscript-animation 300ms cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 16px;
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
mat-label {
|
|
28
|
+
color: #C11A39 !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.date_time_picker {
|
|
32
|
+
outline: 3px solid #C11A39;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.date_time_picker {
|
|
38
|
+
display: flex;
|
|
39
|
+
outline: 1px solid #D7D9DE;
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
padding: 8px;
|
|
42
|
+
background-color: white;
|
|
43
|
+
width: max-content;
|
|
44
|
+
&.focused {
|
|
45
|
+
outline: 3px solid #0060DF;
|
|
46
|
+
}
|
|
47
|
+
input {
|
|
48
|
+
padding: unset;
|
|
49
|
+
border: unset;
|
|
50
|
+
background-color: white;
|
|
51
|
+
outline: unset;
|
|
52
|
+
line-height: 20px;
|
|
53
|
+
font-weight: 500;
|
|
54
|
+
font-size: 13px;
|
|
55
|
+
letter-spacing: 0.2px;
|
|
56
|
+
|
|
57
|
+
&:disabled {
|
|
58
|
+
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
input.date {
|
|
63
|
+
width: 75px;
|
|
64
|
+
}
|
|
65
|
+
input.time {
|
|
66
|
+
width: 73px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.disabled {
|
|
70
|
+
border-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)};
|
|
71
|
+
opacity: 0.7;
|
|
72
|
+
|
|
73
|
+
input {
|
|
74
|
+
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
75
|
+
&::placeholder {
|
|
76
|
+
color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 90)} !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
82
|
+
display: none;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
}
|