new-front-common-library 16.0.0 → 16.0.1-REF-2
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/assets/css/_dark-theme.scss +1 -6
- package/assets/css/_global.scss +13 -2
- package/assets/css/_light-theme.scss +1 -6
- package/assets/css/_mat-palettes.scss +2 -0
- package/assets/css/_themes.scss +17 -3
- package/assets/css/material/_mdc-dark-theme.scss +240 -0
- package/assets/css/material/_mdc-light-theme.scss +267 -0
- package/assets/css/material/_mdc.scss +349 -0
- package/assets/i18n/front-common/de.json +6 -0
- package/assets/i18n/front-common/en.json +6 -0
- package/assets/i18n/front-common/fr.json +6 -0
- package/esm2022/lib/util/component/header/header.component.mjs +9 -9
- package/esm2022/lib/util/component/overlay/overlay.component.mjs +3 -3
- package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +10 -10
- package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +4 -4
- package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +59 -0
- package/esm2022/lib/util/services/guard/login.guard.mjs +2 -2
- package/esm2022/lib/util/util.module.mjs +15 -12
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/new-front-common-library.mjs +134 -77
- package/fesm2022/new-front-common-library.mjs.map +1 -1
- package/lib/util/component/header/header.component.d.ts +1 -1
- package/lib/util/component/popup/popup-login/popup-login.component.d.ts +1 -1
- package/lib/util/directives/show-if-truncated.directive.d.ts +1 -1
- package/lib/util/paginator/custom-paginator-configuration.d.ts +16 -0
- package/lib/util/util.module.d.ts +12 -12
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/assets/css/_new-global.scss +0 -7
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
//19
|
|
102
102
|
input {
|
|
103
|
-
color: $gray-light;
|
|
103
|
+
color: $gray-light !important;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
textarea {
|
|
@@ -525,11 +525,6 @@
|
|
|
525
525
|
color: $blue-primary !important;
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
.mat-datepicker-content .mat-calendar {
|
|
529
|
-
width: 220px;
|
|
530
|
-
height: auto;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
528
|
.mat-calendar-controls {
|
|
534
529
|
display: flex;
|
|
535
530
|
margin: 0% calc(33% / 7 - 16px);
|
package/assets/css/_global.scss
CHANGED
|
@@ -105,12 +105,17 @@ body, html {
|
|
|
105
105
|
height: 1em !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
.mat-datepicker-content .mat-calendar {
|
|
109
|
+
width: 230px;
|
|
110
|
+
height: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
108
113
|
.mat-row .mat-form-field .mat-datepicker-toggle-default-icon {
|
|
109
114
|
height: 15px !important;
|
|
110
115
|
margin-top: -8px;
|
|
111
116
|
}
|
|
112
117
|
|
|
113
|
-
.datepicker .mat-datepicker-toggle-default-icon {
|
|
118
|
+
.datepicker .mat-form-field-wrapper .mat-datepicker-toggle-default-icon {
|
|
114
119
|
height: 15px !important;
|
|
115
120
|
margin: 0 0 0 5px !important
|
|
116
121
|
}
|
|
@@ -324,7 +329,7 @@ textarea {
|
|
|
324
329
|
|
|
325
330
|
.mat-standard-chip.mat-chip-with-trailing-icon{
|
|
326
331
|
padding-right: 2px;
|
|
327
|
-
padding-left:
|
|
332
|
+
padding-left: 2px;
|
|
328
333
|
}
|
|
329
334
|
|
|
330
335
|
.mat-standard-chip .mat-chip-remove, .mat-standard-chip .mat-chip-trailing-icon{
|
|
@@ -434,6 +439,10 @@ mat-paginator .mat-select-trigger {
|
|
|
434
439
|
vertical-align: middle;
|
|
435
440
|
}
|
|
436
441
|
|
|
442
|
+
.action-menu.mat-menu-panel {
|
|
443
|
+
max-width: 100%;
|
|
444
|
+
}
|
|
445
|
+
|
|
437
446
|
.mat-menu-panel {
|
|
438
447
|
min-height: auto !important;
|
|
439
448
|
}
|
|
@@ -447,6 +456,7 @@ mat-paginator .mat-select-trigger {
|
|
|
447
456
|
border-radius: 6px;
|
|
448
457
|
width: auto;
|
|
449
458
|
padding: 0 8px 0 8px;
|
|
459
|
+
height: 24px !important;
|
|
450
460
|
}
|
|
451
461
|
|
|
452
462
|
.cancel-button {
|
|
@@ -458,6 +468,7 @@ mat-paginator .mat-select-trigger {
|
|
|
458
468
|
width: auto;
|
|
459
469
|
padding: 0 8px 0 8px;
|
|
460
470
|
cursor: pointer;
|
|
471
|
+
height: 24px !important;
|
|
461
472
|
}
|
|
462
473
|
|
|
463
474
|
.expand-button {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
//19
|
|
102
102
|
input {
|
|
103
|
-
color: $black-bluish;
|
|
103
|
+
color: $black-bluish !important;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
textarea {
|
|
@@ -549,11 +549,6 @@
|
|
|
549
549
|
color: $blue-primary !important;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
-
.mat-datepicker-content .mat-calendar {
|
|
553
|
-
width: 220px;
|
|
554
|
-
height: auto;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
552
|
.mat-calendar-controls {
|
|
558
553
|
display: flex;
|
|
559
554
|
margin: 0% calc(33% / 7 - 16px);
|
|
@@ -15,6 +15,7 @@ $gray-light: #A1B7D4;
|
|
|
15
15
|
$gray-primary: #809EC1;
|
|
16
16
|
$medium-blue: #4c709a;
|
|
17
17
|
$black-bluish: #445D7B;
|
|
18
|
+
$light-border-color: #0000001E;
|
|
18
19
|
//dark theme colors
|
|
19
20
|
$background-lvl5: #111219;
|
|
20
21
|
$background-lvl4: #212332;
|
|
@@ -25,6 +26,7 @@ $black-bluish: #445D7B;
|
|
|
25
26
|
$gray-light: #A1B7D4;
|
|
26
27
|
$gray-background-dark: #C2CFDD;
|
|
27
28
|
//custom
|
|
29
|
+
$dark-border-color: #FFFFFF4C;
|
|
28
30
|
$dark-background-color: #2A2D3E;
|
|
29
31
|
$dark-default-text-color: white;
|
|
30
32
|
$dark-work-title-color: #C2CFDD;
|
package/assets/css/_themes.scss
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
/*TODO(mdc-migration): Remove legacy-core once all legacy components are migrated*/
|
|
4
5
|
@include mat.legacy-core();
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@include mat.core();
|
|
5
9
|
//Fonts
|
|
6
10
|
@import url('https://fonts.googleapis.com/css?family=Poppins');
|
|
7
11
|
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
|
|
@@ -10,15 +14,16 @@
|
|
|
10
14
|
//Imports
|
|
11
15
|
@import "mat-palettes";
|
|
12
16
|
@import "global";
|
|
13
|
-
@import "
|
|
17
|
+
@import "material/mdc";
|
|
14
18
|
@import '@angular/material/theming';
|
|
15
19
|
|
|
16
20
|
// Define a light theme
|
|
17
21
|
$mat-theme-ignore-duplication-warnings: true;
|
|
18
22
|
$light-primary: mat.define-palette($light-unity-palette);
|
|
19
23
|
$light-accent: mat.define-palette($light-unity-palette);
|
|
20
|
-
$light-typography: mat.define-
|
|
21
|
-
$font-family: '"Roboto","Source Sans Pro",Poppins'
|
|
24
|
+
$light-typography: mat.define-typography-config(
|
|
25
|
+
$font-family: '"Roboto","Source Sans Pro",Poppins',
|
|
26
|
+
$button: mat.define-typography-level(14px, 14px, 500, $letter-spacing: normal)
|
|
22
27
|
);
|
|
23
28
|
$light-theme: mat.define-light-theme((
|
|
24
29
|
color: (
|
|
@@ -39,16 +44,25 @@ $dark-theme: mat.define-dark-theme((
|
|
|
39
44
|
));
|
|
40
45
|
|
|
41
46
|
.dark-theme {
|
|
47
|
+
/*TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
|
|
42
48
|
@include mat.all-legacy-component-themes($dark-theme);
|
|
49
|
+
@include mat.all-component-themes($dark-theme);
|
|
43
50
|
|
|
44
51
|
}
|
|
45
52
|
|
|
46
53
|
.light-theme {
|
|
54
|
+
/*TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
|
|
47
55
|
@include mat.all-legacy-component-themes($light-theme);
|
|
56
|
+
@include mat.all-component-themes($light-theme);
|
|
48
57
|
|
|
49
58
|
}
|
|
50
59
|
|
|
51
60
|
@include mat.all-legacy-component-themes($light-theme);
|
|
61
|
+
@include mat.all-component-themes($light-theme);
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
@import "material/mdc-light-theme";
|
|
65
|
+
@import "material/mdc-dark-theme";
|
|
52
66
|
@import "dark-theme";
|
|
53
67
|
@import "light-theme";
|
|
54
68
|
@import "flex";
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
@import "../mat-palettes";
|
|
2
|
+
|
|
3
|
+
.dark-theme {
|
|
4
|
+
|
|
5
|
+
.mdc-notched-outline {
|
|
6
|
+
background: $background-lvl3;
|
|
7
|
+
z-index: 0 !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mdc-line-ripple {
|
|
11
|
+
background-color: $background-lvl3 !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-mdc-select-value-text {
|
|
15
|
+
color: $gray-background-lightest;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mat-form-field-disabled .mat-mdc-select-value-text {
|
|
19
|
+
color: gray;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-mdc-paginator .mat-mdc-select-value-text {
|
|
23
|
+
color: $gray-strong !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mat-mdc-select-placeholder {
|
|
27
|
+
color: $black-bluish !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-mdc-select-arrow {
|
|
31
|
+
color: $blue-primary;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mat-mdc-row .mat-mdc-select {
|
|
35
|
+
background: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.mat-mdc-row .mat-mdc-input-element {
|
|
39
|
+
background: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mat-mdc-row mat-label {
|
|
43
|
+
background: $gray-strong;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mat-mdc-paginator-page-size .mat-mdc-select-trigger {
|
|
47
|
+
background: $background-lvl3;
|
|
48
|
+
padding: 2px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.mdc-text-field--outlined .mdc-notched-outline {
|
|
52
|
+
.mdc-notched-outline__leading, .mdc-notched-outline__trailing{
|
|
53
|
+
border-color : $black-bluish;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
.mat-mdc-form-field .mat-icon {
|
|
59
|
+
color: $blue-primary;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mat-mdc-select-panel {
|
|
63
|
+
background: $background-lvl2 !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-mdc-option {
|
|
67
|
+
color: $gray-background-lightest !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mat-mdc-option.mat-option-global-search:hover:not(.mat-option-disabled), .mat-option.mat-option-global-search:focus:not(.mat-option-disabled) {
|
|
71
|
+
background: $background-lvl3 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
//Customize mat-form-field Border Color
|
|
75
|
+
.mdc-notched-outline > * {
|
|
76
|
+
border-color: $dark-border-color !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.mdc-text-field--focused .mdc-notched-outline > * {
|
|
80
|
+
border-color: $gray-light !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.mdc-text-field--invalid .mdc-notched-outline > * {
|
|
84
|
+
border-color: red !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading {
|
|
88
|
+
border: 2px solid $blue-primary !important;
|
|
89
|
+
border-right: none !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing {
|
|
93
|
+
border: 2px solid $blue-primary !important;
|
|
94
|
+
border-left: none !important;
|
|
95
|
+
}
|
|
96
|
+
//END custom mat-form-field Border Color
|
|
97
|
+
|
|
98
|
+
.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay {
|
|
99
|
+
opacity: 0 !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
|
|
103
|
+
opacity: 0 !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
107
|
+
color: $gray-light;
|
|
108
|
+
}
|
|
109
|
+
.global-search-input::placeholder {
|
|
110
|
+
color: $gray-light !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
.mat-mdc-card {
|
|
116
|
+
padding: 5px !important;
|
|
117
|
+
background: $background-lvl3;
|
|
118
|
+
color: $gray-background-dark;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.mat-mdc-table {
|
|
122
|
+
background-color: $background-lvl2;
|
|
123
|
+
border-color: $background-lvl3;
|
|
124
|
+
border-bottom: 1px solid $background-lvl3;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.mat-mdc-cell {
|
|
128
|
+
color: $gray-light;;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.mat-mdc-row, row-drop {
|
|
132
|
+
border-left-width: 1px;
|
|
133
|
+
border-right-width: 1px;
|
|
134
|
+
border-left-color: $background-lvl3;
|
|
135
|
+
border-right-color: $background-lvl3;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.mat-mdc-row .mat-mdc-input-element {
|
|
139
|
+
background: $background-lvl3;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mat-mdc-row .mat-mdc-select {
|
|
143
|
+
background: $background-lvl3;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mat-mdc-footer-cell {
|
|
147
|
+
font-style: italic;
|
|
148
|
+
font-weight: normal;
|
|
149
|
+
font-size: 14px;
|
|
150
|
+
background-color: $background-lvl2;
|
|
151
|
+
border-color: $background-lvl2;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.mat-mdc-menu-item {
|
|
155
|
+
color: $gray-background-lightest !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mat-mdc-menu-panel {
|
|
159
|
+
background: $background-lvl2 !important
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.mat-mdc-header-cell {
|
|
163
|
+
color: $gray-background-lightest;
|
|
164
|
+
}
|
|
165
|
+
.mat-mdc-header-cell mat-label {
|
|
166
|
+
color: $gray-background-lightest !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.mat-mdc-header-row {
|
|
170
|
+
background: $background-lvl3;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.mat-mdc-standard-chip {
|
|
174
|
+
--mdc-chip-label-text-color: white !important;
|
|
175
|
+
--mdc-chip-with-trailing-icon-trailing-icon-color: #FFFFFF !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.mat-mdc-checkbox {
|
|
179
|
+
color: $gray-primary;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// POPUP
|
|
183
|
+
|
|
184
|
+
.mat-mdc-dialog-container {
|
|
185
|
+
--mdc-dialog-container-color: #{$background-lvl3};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.mat-mdc-dialog-container h1 {
|
|
189
|
+
color: $gray-background-lightest !important;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.mat-mdc-dialog-container h2 {
|
|
193
|
+
color: $gray-background-lightest !important;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.mat-mdc-dialog-container h3 {
|
|
197
|
+
color: $gray-background-lightest !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.mat-mdc-dialog-container h4 {
|
|
201
|
+
color: $gray-background-lightest !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.mat-mdc-dialog-container .text {
|
|
205
|
+
color: $gray-background-lightest !important;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// END POPUP
|
|
209
|
+
|
|
210
|
+
// PAGINATOR
|
|
211
|
+
|
|
212
|
+
.mat-mdc-paginator-container {
|
|
213
|
+
background-color: $background-lvl3;
|
|
214
|
+
color: $gray-background-lightest;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mat-mdc-paginator-page-size .mat-select-trigger {
|
|
218
|
+
background: $background-lvl2;
|
|
219
|
+
padding: 2px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.mat-mdc-paginator .mat-select-value-text {
|
|
223
|
+
color: $gray-background-lightest !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
//END PAGINATOR
|
|
227
|
+
|
|
228
|
+
.expandable-row .mat-mdc-cell {
|
|
229
|
+
background: transparent;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.mat-mdc-raised-button.mat-accent {
|
|
233
|
+
background: $gray-blue-primary !important;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
mat-row, .mat-mdc-header-cell, .mat-mdc-header-row, mat-footer-row,
|
|
237
|
+
th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
238
|
+
border-bottom: $dark-border-color 1px solid;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
@import "../mat-palettes";
|
|
2
|
+
|
|
3
|
+
.light-theme {
|
|
4
|
+
|
|
5
|
+
.mdc-notched-outline {
|
|
6
|
+
background: $gray-strong;
|
|
7
|
+
z-index: 0 !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mdc-line-ripple {
|
|
11
|
+
background-color: $gray-background-lightest !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-mdc-select-value-text {
|
|
15
|
+
color: $black-bluish;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mat-form-field-disabled .mat-mdc-select-value-text {
|
|
19
|
+
color: gray;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-mdc-paginator .mat-mdc-select-value-text {
|
|
23
|
+
color: $black-bluish !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mat-mdc-select-placeholder {
|
|
27
|
+
color: $gray-light !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-mdc-select-arrow {
|
|
31
|
+
color: $blue-primary;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
.mat-mdc-row mat-label {
|
|
36
|
+
background: $black-bluish;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mat-mdc-paginator-page-size .mat-mdc-select-trigger {
|
|
40
|
+
background: $gray-strong;
|
|
41
|
+
padding: 2px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
.mat-mdc-form-field .mat-icon {
|
|
46
|
+
color: $blue-primary;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.mat-mdc-select-panel {
|
|
50
|
+
background: #FFFFFF !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mat-mdc-option {
|
|
54
|
+
color: $black-bluish !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.mat-mdc-option.mat-option-global-search:hover:not(.mat-option-disabled), .mat-option.mat-option-global-search:focus:not(.mat-option-disabled) {
|
|
58
|
+
background: $gray-strong !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
//Customize mat-form-field Border Color
|
|
63
|
+
.mdc-notched-outline > * {
|
|
64
|
+
border-color: $light-border-color !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.mdc-text-field--focused .mdc-notched-outline > * {
|
|
68
|
+
border-color: $black-bluish !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.mdc-text-field--invalid .mdc-notched-outline > * {
|
|
72
|
+
border-color: red !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading {
|
|
76
|
+
border: 2px solid $blue-primary !important;
|
|
77
|
+
border-right: none !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing {
|
|
81
|
+
border: 2px solid $blue-primary !important;
|
|
82
|
+
border-left: none !important;
|
|
83
|
+
}
|
|
84
|
+
//END custom mat-form-field Border Color
|
|
85
|
+
|
|
86
|
+
.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay {
|
|
87
|
+
opacity: 0 !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
|
|
91
|
+
opacity: 0 !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
95
|
+
color: $black-bluish;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.global-search-input::placeholder {
|
|
99
|
+
color: $black-bluish !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
.mat-mdc-card {
|
|
104
|
+
padding: 5px !important;
|
|
105
|
+
background: $gray-background-lightest;
|
|
106
|
+
color: $black-bluish;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.mat-mdc-table {
|
|
110
|
+
background-color: $gray-background-light2;
|
|
111
|
+
border-color: $gray-strong;
|
|
112
|
+
border-bottom: 1px solid $gray-strong;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.mat-mdc-cell {
|
|
116
|
+
color: $black-bluish;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.mat-mdc-row, row-drop {
|
|
120
|
+
border-left-width: 1px;
|
|
121
|
+
border-right-width: 1px;
|
|
122
|
+
border-left-color: $gray-strong;
|
|
123
|
+
border-right-color: $gray-strong;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.mat-mdc-row .mat-mdc-input-element {
|
|
127
|
+
background: $gray-strong;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.mat-mdc-row .mat-mdc-select {
|
|
131
|
+
background: $gray-strong;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.mat-mdc-footer-cell {
|
|
135
|
+
font-style: italic;
|
|
136
|
+
font-weight: normal;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
background-color: $gray-background-light2;
|
|
139
|
+
border-color: $gray-strong;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mat-mdc-menu-item {
|
|
143
|
+
color: $black-bluish !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mat-mdc-menu-panel {
|
|
147
|
+
background: #FFFFFF !important
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.mat-mdc-header-cell {
|
|
151
|
+
color: $medium-blue;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.mat-mdc-header-row {
|
|
155
|
+
background: $gray-background-lightest;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mat-mdc-standard-chip {
|
|
159
|
+
--mdc-chip-label-text-color: white !important;
|
|
160
|
+
--mdc-chip-with-trailing-icon-trailing-icon-color: #FFFFFF !important;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.mat-mdc-chip.mat-mdc-standard-chip {
|
|
164
|
+
background: $black-bluish;
|
|
165
|
+
color: white;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.mat-mdc-checkbox {
|
|
169
|
+
color: $gray-primary;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.mat-mdc-checkbox-checked.mat-accent .mdc-checkbox__background {
|
|
173
|
+
background-color: $blue-primary;
|
|
174
|
+
}
|
|
175
|
+
.mdc-checkbox__background {
|
|
176
|
+
border-color: $gray-primary !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// POPUP
|
|
180
|
+
|
|
181
|
+
.mat-mdc-dialog-container {
|
|
182
|
+
--mdc-dialog-container-color: #{$gray-background-lightest};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.mat-mdc-dialog-container h1 {
|
|
186
|
+
color: $black-bluish !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.mat-mdc-dialog-container h2 {
|
|
190
|
+
color: $black-bluish !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mat-mdc-dialog-container h3 {
|
|
194
|
+
color: $black-bluish !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.mat-mdc-dialog-container h4 {
|
|
198
|
+
color: $black-bluish !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.mat-mdc-dialog-container .text {
|
|
202
|
+
color: $black-bluish !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.mat-mdc-dialog-container .btn- {
|
|
206
|
+
color: white !important;
|
|
207
|
+
background: $blue-primary !important;
|
|
208
|
+
border: none;
|
|
209
|
+
padding: 5px 10px 5px 10px;
|
|
210
|
+
border-radius: 4px;
|
|
211
|
+
height: 32px;
|
|
212
|
+
min-width: 64px;
|
|
213
|
+
margin-right: 10px;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mat-mdc-dialog-container .btn-ko {
|
|
218
|
+
color: white !important;
|
|
219
|
+
background: $red-primary !important;
|
|
220
|
+
border: none;
|
|
221
|
+
padding: 5px 10px 5px 10px;
|
|
222
|
+
border-radius: 4px;
|
|
223
|
+
height: 32px;
|
|
224
|
+
min-width: 64px;
|
|
225
|
+
margin-right: 10px;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// END POPUP
|
|
230
|
+
|
|
231
|
+
// PAGINATOR
|
|
232
|
+
|
|
233
|
+
.mat-mdc-paginator-container {
|
|
234
|
+
background-color: $gray-background-lightest;
|
|
235
|
+
color: $black-bluish;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.mat-mdc-paginator-page-size .mat-select-trigger {
|
|
239
|
+
background: $gray-strong;
|
|
240
|
+
padding: 2px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.mat-mdc-paginator .mat-select-value-text {
|
|
244
|
+
color: $black-bluish !important;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
//END PAGINATOR
|
|
248
|
+
|
|
249
|
+
.expandable-row .mat-mdc-cell {
|
|
250
|
+
background: white;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mat-mdc-raised-button.mat-accent {
|
|
254
|
+
background: $gray-blue-primary !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
mat-row, mat-header-row, mat-footer-row,
|
|
258
|
+
th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
259
|
+
border-bottom: $light-border-color 1px solid;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
--mdc-checkbox-selected-icon-color: #{$blue-primary};
|
|
263
|
+
--mdc-checkbox-selected-hover-icon-color: #{$blue-primary};
|
|
264
|
+
--mdc-checkbox-selected-focus-icon-color: #{$blue-primary};
|
|
265
|
+
--mdc-checkbox-selected-pressed-icon-color: #{$blue-primary};
|
|
266
|
+
|
|
267
|
+
}
|