@ihk-gfi/lux-components-theme 18.5.0 → 19.0.0

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.
Files changed (34) hide show
  1. package/package.json +17 -27
  2. package/prebuilt-themes/luxtheme-authentic-min.css +1 -1
  3. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -1
  4. package/prebuilt-themes/luxtheme-authentic.css +1875 -1556
  5. package/prebuilt-themes/luxtheme-authentic.css.map +1 -1
  6. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  7. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  8. package/prebuilt-themes/luxtheme-green.css +1583 -1221
  9. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  10. package/src/authentic/_custom.scss +105 -293
  11. package/src/authentic/_custombutton.scss +143 -0
  12. package/src/authentic/_luxcommon.scss +26 -19
  13. package/src/authentic/_luxpalette.scss +124 -0
  14. package/src/authentic/luxtheme.scss +3 -0
  15. package/src/base/_luxcommon.scss +1 -0
  16. package/src/base/_luxcomponents.scss +48 -35
  17. package/src/base/_luxpalette.scss +1 -0
  18. package/src/base/_luxstyles.scss +13 -1
  19. package/src/base/components/_luxAppHeader.scss +9 -0
  20. package/src/base/components/_luxAppHeaderAc.scss +42 -56
  21. package/src/base/components/_luxBadge.scss +62 -0
  22. package/src/base/components/_luxButton.scss +88 -0
  23. package/src/base/components/_luxFilePreview.scss +5 -0
  24. package/src/base/components/_luxFormControlWrapper.scss +4 -6
  25. package/src/base/components/_luxFormControlsAuthentic.scss +31 -9
  26. package/src/base/components/_luxIcon.scss +4 -4
  27. package/src/base/components/_luxMenu.scss +4 -0
  28. package/src/base/components/_luxMessagebox.scss +36 -6
  29. package/src/base/components/_luxSnackbar.scss +35 -2
  30. package/src/base/components/_luxStepper.scss +1 -0
  31. package/src/green/_custom.scss +133 -13
  32. package/src/green/_luxcommon.scss +27 -17
  33. package/src/green/_luxpalette.scss +125 -1
  34. package/src/green/luxtheme.scss +2 -0
@@ -43,8 +43,8 @@ $app-header-bg: map.get(luxpalette.$lux-palette_primary, 50);
43
43
  $app-content-bg: #ffffff;
44
44
  $app-footer-bg: map.get(luxpalette.$lux-palette_primary, 50);
45
45
  $app-data-bg: #ffffff;
46
- $app-gradient: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
47
- $app-gradient-reverse: linear-gradient(270deg, #ffffff 0%, #f8fbff 100%);
46
+ $app-gradient: linear-gradient(90deg, #ffffff 0%, map-get(map-get(luxpalette.$lux-palettes-new, 'primary'), 98) 100%);
47
+ $app-gradient-reverse: linear-gradient(270deg, #ffffff 0%, map-get(map-get(luxpalette.$lux-palettes-new, 'primary'), 98) 100%);
48
48
  $app-border-color: rgba(black, 0.12);
49
49
  $app-border-radius: 4px;
50
50
 
@@ -52,6 +52,7 @@ $app-border-radius: 4px;
52
52
  $form-border-color: rgba(0, 0, 0, 0.38);
53
53
  $form-control-font-size: 1rem;
54
54
  $form-control-buffer: 4px;
55
+ $form-error-msg-background: rgb(255, 228, 231); //lux-warn-50 mit opacity: 0.5
55
56
 
56
57
  // Button
57
58
  $button-height: 2.25rem;
@@ -92,35 +93,41 @@ $lux-panel-option-padding: 12px 0;
92
93
 
93
94
  // Hintergrundfarben (z.B. Badge oder Progress)
94
95
  $componentBgColors: (
95
- "red": luxpalette.$lux-warn-color,
96
- "green": luxpalette.$lux-accent-color,
97
- "purple": #9900b8,
98
- "blue": luxpalette.$lux-primary-color,
99
- "gray": #666666,
100
- "orange": rgba(237, 110, 17, 1),
101
- "brown": #783f04,
102
- "black": $dark-primary-text,
96
+ "red": map-get(map-get(luxpalette.$lux-palettes-new, 'error'), 40),
97
+ "green": map-get(map-get(luxpalette.$lux-palettes-new, 'tertiary'), 70),
98
+ "purple": #715289,
99
+ "blue": map-get(map-get(luxpalette.$lux-palettes-new, 'primary'), 20),
100
+ "gray": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 40),
101
+ "orange": #fc791f,
102
+ "black": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
103
103
  "white": #ffffff,
104
- "yellow": rgba(244, 203, 37, 1),
105
- "pink": rgba(237, 95, 122, 1),
106
- "lightblue": rgba(63, 155, 218, 1)
104
+ "yellow": #fbd12c,
105
+ "pink": #fc6b85,
106
+ "lightblue": #4fa8e8
107
107
  );
108
108
 
109
109
  // Vordergrundfarben (z.B. Badge)
110
110
  $componentFontColors: (
111
- black: #000000,
112
- white: #ffffff
111
+ "red": #ffffff,
112
+ "green": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
113
+ "purple": #ffffff,
114
+ "blue": #ffffff,
115
+ "gray": #ffffff,
116
+ "orange": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
117
+ "black": #ffffff,
118
+ "white": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
119
+ "yellow": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
120
+ "pink": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10),
121
+ "lightblue": map-get(map-get(luxpalette.$lux-palettes-new, 'neutral'), 10)
113
122
  );
114
123
 
115
124
  // Farben für einen dunklen Hintergrund (z.B. Snackbar).
116
125
  $colorsForDarkBg: (
117
126
  "red": #f17474,
118
127
  "green": #53b12b,
119
- "purple": #e561ff,
120
- "blue": #729eca,
121
- "gray": #c8c8c8,
128
+ "blue": map-get(map-get(luxpalette.$lux-palettes-new, 'primary'), 80),
122
129
  "orange": #ec9c1b,
123
- "brown": #eb7c05,
130
+ "yellow": #fbd12c,
124
131
  "white": #ffffff
125
132
  );
126
133
 
@@ -104,3 +104,127 @@ $lux-palette_warn: (
104
104
  $lux-primary-color: map.get($lux-palette_primary, 500);
105
105
  $lux-accent-color: map.get($lux-palette_accent, 500);
106
106
  $lux-warn-color: map.get($lux-palette_warn, 500);
107
+
108
+ $lux-palettes-new: (
109
+ primary: (
110
+ 0: #000000,
111
+ 5: #001129, //primary-900 und 800
112
+ 10: #001b3c, //primary-700
113
+ 15: #00264e, //primary-600
114
+ 20: #003366, //primary-500
115
+ 25: #0f3b6f,
116
+ 30: #1f477b, //primary-400
117
+ 35: #2d5387,
118
+ 40: #3a5f94, //primary-300
119
+ 50: #5478af,
120
+ 60: #6e92ca, //primary-200
121
+ 70: #89ace7,
122
+ 80: #a7c8ff, //primary-100
123
+ 90: #d5e3ff, //primary-50
124
+ 95: #ecf1ff,
125
+ 98: #f9f9ff,
126
+ 99: #fdfbff,
127
+ 100: #ffffff
128
+ ),
129
+ secondary: (
130
+ 0: #000000,
131
+ 5: #0a111c,
132
+ 10: #151c28,
133
+ 15: #1f2632,
134
+ 20: #2a313d,
135
+ 25: #353c49,
136
+ 30: #404754,
137
+ 35: #4c5360,
138
+ 40: #585f6c,
139
+ 50: #707786,
140
+ 60: #8a91a0,
141
+ 70: #a4abbb,
142
+ 80: #c0c6d7,
143
+ 90: #dce2f3,
144
+ 95: #ecf1ff,
145
+ 98: #f9f9ff,
146
+ 99: #fdfbff,
147
+ 100: #ffffff
148
+ ),
149
+ tertiary: (
150
+ 0: #000000,
151
+ 5: #001503,
152
+ 10: #002107,
153
+ 15: #002d0c,
154
+ 20: #003911,
155
+ 25: #004617,
156
+ 30: #00531d, //accent-900
157
+ 35: #006022,
158
+ 40: #006e29, //accent-800
159
+ 50: #198939, //accent-700
160
+ 60: #3ca450, //accent-600
161
+ 70: #56bd66, //accent-500
162
+ 80: #75dc81, //accent-300 und 400
163
+ 90: #90f99b, //accent-200
164
+ 95: #c6ffc5, //accent-100
165
+ 98: #ebffe6, //accent-50
166
+ 99: #f6fff1,
167
+ 100: #ffffff
168
+ ),
169
+ neutral: (
170
+ 0: #000000,
171
+ 5: #111111,
172
+ 10: #1c1b1b, //dark-primary-text
173
+ 15: #262625,
174
+ 20: #313030,
175
+ 25: #3c3b3b,
176
+ 30: #484646,
177
+ 35: #535252,
178
+ 40: #605e5e, //dark-secondary-text
179
+ 50: #797776,
180
+ 60: #929090, //form-border-color
181
+ 70: #adaaaa,
182
+ 80: #c9c6c5,
183
+ 90: #e5e2e1, //app-border-color und dark-disabled-text
184
+ 95: #f4f0ef,
185
+ 98: #fcf8f8,
186
+ 99: #f6feff,
187
+ 100: #ffffff
188
+ ),
189
+ neutral-variant: (
190
+ 0: #000000,
191
+ 5: #111111,
192
+ 10: #1c1b1b,
193
+ 15: #262625,
194
+ 20: #313030,
195
+ 25: #3c3b3b,
196
+ 30: #484646,
197
+ 35: #535252,
198
+ 40: #5f5e5e,
199
+ 50: #787776,
200
+ 60: #929090,
201
+ 70: #adabaa,
202
+ 80: #c9c6c5,
203
+ 90: #e5e2e1,
204
+ 95: #f4f0ef,
205
+ 98: #fcf8f8,
206
+ 99: #f6feff,
207
+ 100: #ffffff
208
+ ),
209
+ error:
210
+ (
211
+ 0: #000000,
212
+ 5: #2d0001,
213
+ 10: #410002,
214
+ 15: #540004, //warn-900
215
+ 20: #690005,
216
+ 25: #7e0007, //warn-800
217
+ 30: #93000a, //warn-700
218
+ 35: #a80710, //warn-600
219
+ 40: #ba1a1a, //warn-500
220
+ 50: #ec2125, //warn-400
221
+ 60: #ff5449, //warn-300
222
+ 70: #ff897d, //warn-200
223
+ 80: #ffb4ab, //warn-100
224
+ 90: #ffdad6, //warn-50
225
+ 95: #ffedea,
226
+ 98: #fff8f7,
227
+ 99: #fffbff,
228
+ 100: #ffffff
229
+ )
230
+ );
@@ -4,6 +4,7 @@
4
4
  $lux-palette_primary: themePalette.$lux-palette_primary,
5
5
  $lux-palette_accent: themePalette.$lux-palette_accent,
6
6
  $lux-palette_warn: themePalette.$lux-palette_warn,
7
+ $lux-palettes-new: themePalette.$lux-palettes-new,
7
8
 
8
9
  // Hauptfarben
9
10
  $lux-primary-color: themePalette.$lux-primary-color,
@@ -45,6 +46,7 @@
45
46
  $form-border-color: themeCommon.$form-border-color,
46
47
  $form-control-font-size: themeCommon.$form-control-font-size,
47
48
  $form-control-buffer: themeCommon.$form-control-buffer,
49
+ $form-error-msg-background: themeCommon.$form-error-msg-background,
48
50
 
49
51
  // Button
50
52
  $button-height: themeCommon.$button-height,
@@ -108,3 +110,4 @@
108
110
  @use "../base/luxtheme";
109
111
 
110
112
  @use "custom";
113
+ @use "custombutton";
@@ -27,6 +27,7 @@ $app-border-radius: mustOverriden !default;
27
27
  $form-border-color: mustOverriden !default;
28
28
  $form-control-font-size: mustOverriden !default;
29
29
  $form-control-buffer: mustOverriden !default;
30
+ $form-error-msg-background: mustOverriden !default;
30
31
 
31
32
  // Button
32
33
  $button-height: mustOverriden !default;
@@ -2,6 +2,7 @@
2
2
  @use "components/luxAppHeaderAc.scss";
3
3
  @use "components/luxAppHeader.scss";
4
4
  @use "components/luxAppFooter.scss";
5
+ @use "components/luxBadge";
5
6
  @use "components/luxLinkPlain.scss";
6
7
  @use "components/luxTileAc.scss";
7
8
  @use "components/luxTile.scss";
@@ -143,6 +144,11 @@ $fileUploadProgressSize: 8px;
143
144
  flex-direction: column;
144
145
  flex: 1 1 auto;
145
146
 
147
+ .lux-file-upload-view-container {
148
+ margin-left: luxcommon.$outline-width;
149
+ margin-right: luxcommon.$outline-width;
150
+ }
151
+
146
152
  .lux-file-upload-drop-container {
147
153
  display: flex;
148
154
  flex-direction: column;
@@ -176,6 +182,7 @@ $fileUploadProgressSize: 8px;
176
182
 
177
183
  .lux-file-upload-link {
178
184
  cursor: default;
185
+ text-decoration: none;
179
186
  }
180
187
  }
181
188
 
@@ -208,12 +215,14 @@ $fileUploadProgressSize: 8px;
208
215
  align-items: center;
209
216
  flex: 1 1 auto;
210
217
  gap: 12px;
211
-
212
- border: 1px solid var(--lux-theme-warn-500);
218
+
219
+ border: 1px solid var(--lux-theme-warn-900);
213
220
  border-radius: 4px;
214
- color: var(--lux-theme-warn-500);
221
+ color: map.get(luxpalette.$lux-palette-warn, 900) !important;
222
+ background-color: luxcommon.$form-error-msg-background;
215
223
  padding: 18px 15px 15px 26px;
216
- margin-bottom: 12px;
224
+ margin-left: luxcommon.$outline-width;
225
+ margin-right: luxcommon.$outline-width;
217
226
 
218
227
  .lux-file-upload-error-icon {
219
228
  display: flex;
@@ -227,25 +236,39 @@ $fileUploadProgressSize: 8px;
227
236
 
228
237
  .lux-file-upload-error-button {
229
238
  display: flex;
230
- flex: 0 0 auto;
239
+ align-items: center;
231
240
 
232
- button {
241
+ button.mat-mdc-button {
233
242
  padding: 0;
234
243
  margin: 0;
235
- border-radius: 8px;
236
- min-width: 40px;
237
- min-height: 30px;
238
244
  }
239
245
  }
240
246
  }
241
247
 
248
+ .lux-file-upload-error-container-no-button {
249
+ display: flex;
250
+ flex-direction: row;
251
+ align-items: center;
252
+ justify-content: flex-start;
253
+ width: fit-content;
254
+
255
+ margin: 2px 5px;
256
+ font-size: 0.75rem;
257
+ background-color: luxcommon.$form-error-msg-background;
258
+ border-radius: 4px;
259
+ padding-left: 2px;
260
+ padding-right: 2px;
261
+ color: map-get(luxpalette.$lux-palette_warn, 900) !important;
262
+ }
263
+
242
264
  .lux-file-upload-hint-container {
243
265
  margin-top: 4px;
244
- margin-bottom: 12px;
266
+ padding-left: luxcommon.$outline-width;
267
+ padding-right: luxcommon.$outline-width;
245
268
  }
246
269
 
247
270
  .lux-file-upload-no-hint-container {
248
- min-height: 12px;
271
+ min-height: 0;
249
272
  }
250
273
 
251
274
  .lux-file-upload-view-item-container {
@@ -255,18 +278,11 @@ $fileUploadProgressSize: 8px;
255
278
  align-items: center;
256
279
  flex: 1 1 auto;
257
280
  gap: 12px;
258
-
259
- background-color: var(--lux-theme-selected-bg-color);
260
- border: 1px solid var(--lux-theme-accent-500);
261
- border-radius: 4px;
262
281
  color: var(--lux-theme-primary-500);
263
- padding: 18px 15px 18px 26px;
264
- margin-bottom: 12px;
265
282
 
266
283
  &.lux-file-upload-view-item-disabled {
267
284
  color: var(--lux-theme-dark-disabled-text);
268
285
  background-color: var(--lux-theme-app-data-bg);
269
- border: 1px solid var(--lux-theme-dark-disabled-text);
270
286
  }
271
287
 
272
288
  .lux-file-upload-view-item {
@@ -277,9 +293,9 @@ $fileUploadProgressSize: 8px;
277
293
  flex: 1 1 auto;
278
294
  gap: 12px;
279
295
 
280
- .lux-file-upload-view-item-icon {
281
- display: flex;
282
- flex: 0 0 30px;
296
+ .lux-file-upload-label-text {
297
+ hyphens: auto;
298
+ word-break: break-all;
283
299
  }
284
300
 
285
301
  .lux-file-upload-view-item-label-container {
@@ -287,23 +303,20 @@ $fileUploadProgressSize: 8px;
287
303
  flex: 1 1 auto;
288
304
  }
289
305
 
290
- lux-button.lux-file-upload-view-item-delete-button {
306
+ lux-button.lux-file-upload-view-item-button {
291
307
  display: flex;
292
308
  align-items: center;
293
309
 
294
310
  button.mat-mdc-button {
295
311
  padding: 0;
296
312
  margin: 0;
297
- border-radius: 8px;
298
- min-width: 40px;
299
- min-height: 30px;
300
-
301
- .lux-button-icon mat-icon.mat-icon.lux-icon {
302
- width: 24px !important;
303
- height: 24px !important;
304
- }
305
313
  }
306
314
  }
315
+
316
+ lux-button.lux-file-upload-view-item-button button:disabled {
317
+ color: var(--lux-theme-dark-disabled-text);
318
+ background-color: transparent;
319
+ }
307
320
  }
308
321
  }
309
322
 
@@ -445,16 +458,16 @@ mat-expansion-panel.mat-expansion-panel:not([class*="mat-elevation-z"]) {
445
458
  }
446
459
  }
447
460
 
448
- //Von Material wird ein Margin gesetzt wenn der Indicator links ist und das Panel disabled wird. Damit wird das Margin überschrieben und der Header des Panels wird nicht verschoben.
449
- mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
450
- margin: 0;
451
- }
452
-
453
461
  .mat-expansion-panel {
454
462
  --mat-expansion-container-shape: #{luxcommon.$app-border-radius};
455
463
  --mat-expansion-container-shape: #{luxcommon.$app-border-radius};
456
464
  }
457
465
 
466
+ //Von Material wird ein Margin gesetzt wenn der Indicator links ist und das Panel disabled wird. Damit wird das Margin überschrieben und der Header des Panels wird nicht verschoben.
467
+ mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
468
+ margin: 0;
469
+ }
470
+
458
471
  /*
459
472
  * Theming for LUX-Errorpage
460
473
  */
@@ -3,6 +3,7 @@
3
3
  $lux-palette_primary: () !default;
4
4
  $lux-palette_accent: () !default;
5
5
  $lux-palette_warn: () !default;
6
+ $lux-palettes-new: () !default;
6
7
 
7
8
  $lux-primary-color: mustOverriden !default;
8
9
  $lux-accent-color: mustOverriden !default;
@@ -48,6 +48,7 @@ $paletteNamen: primary, accent, warn;
48
48
  --lux-theme-form-border-color: #{luxcommon.$form-border-color};
49
49
  --lux-theme-form-control-font-size: #{luxcommon.$form-control-font-size};
50
50
  --lux-theme-form-control-buffer: #{luxcommon.$form-control-buffer};
51
+ --lux-theme-form-error-msg-background: #{luxcommon.$form-error-msg-background};
51
52
 
52
53
  // Button
53
54
  --lux-theme-button-font-size: #{luxcommon.$button-font-size};
@@ -610,8 +611,19 @@ $notificationSizes: (18, 24, 30);
610
611
  border: 2px solid transparent;
611
612
  }
612
613
 
614
+ &.mat-badge:not(.mat-badge-disabled).mat-badge-primary .mat-badge-content {
615
+ color: #ffffff;
616
+ background-color: #003366;
617
+ }
618
+
613
619
  &.mat-badge:not(.mat-badge-disabled).mat-badge-accent .mat-badge-content {
614
- background-color: map.get(luxcommon.$componentBgColors, "green");
620
+ color: #1c1b1b;
621
+ background-color: #56bd66;
622
+ }
623
+
624
+ &.mat-badge:not(.mat-badge-disabled).mat-badge-warn .mat-badge-content {
625
+ color: #ffffff;
626
+ background-color: #C00013;
615
627
  }
616
628
 
617
629
  &.lux-badge-color-default {
@@ -5,6 +5,15 @@
5
5
  @use "../luxelevations";
6
6
  @use "../luxfocus";
7
7
 
8
+ button.lux-menu-item.lux-user-name-label {
9
+ opacity: 1;
10
+ color: #003366;
11
+ background-color: #f0f3f6;
12
+ .mat-mdc-menu-item-text {
13
+ font-weight: 600;
14
+ }
15
+ }
16
+
8
17
  lux-app-header {
9
18
  flex: 0 0 auto;
10
19
  max-height: 65px;
@@ -22,63 +22,59 @@ lux-app-header-ac {
22
22
  }
23
23
  }
24
24
 
25
- lux-button {
26
- button.lux-button.lux-button-rounded {
27
- min-width: 2.25rem; //Weil der Menu-Trigger hier ein andere Min-width setzt- könnte vielleich geändert werden?
28
- width: 2.25rem;
29
- padding-left: 0px !important;
30
- padding-right: 0px !important;
31
- background-color: transparent;
32
- display: flex;
33
- justify-content: center;
34
- align-items: center;
25
+ lux-button button.lux-button.mat-mdc-button:not([disabled]) {
26
+ &:hover {
27
+ background-color: #D5E3FF !important;
28
+ }
29
+ }
35
30
 
36
- @include luxelevations.lux-elevation-z0;
31
+ lux-button button.lux-button.mat-mdc-fab.mat-primary:not(.lux-stroked):not([disabled]) {
32
+ min-width: 2.25rem; //Weil der Menu-Trigger hier ein andere Min-width setzt- könnte vielleich geändert werden?
33
+ width: 2.25rem;
34
+ padding-left: 0px !important;
35
+ padding-right: 0px !important;
36
+ background-color: transparent !important;
37
+ display: flex;
38
+ justify-content: center;
39
+ align-items: center;
37
40
 
38
- lux-icon {
39
- color: luxpalette.$lux-primary-color;
40
- box-sizing: border-box;
41
- }
41
+ @include luxelevations.lux-elevation-z0;
42
42
 
43
- &:hover:not([disabled]).mat-mdc-fab:hover.mat-primary {
44
- lux-icon {
45
- color: #ffffff !important;
46
- }
47
- }
48
- &:focus-visible:not([disabled]).mat-mdc-fab.mat-primary.cdk-focused.cdk-keyboard-focused {
49
- background-color: transparent !important;
50
- lux-icon {
51
- color: map.get(luxpalette.$lux-palette_primary, 700) !important;
52
- }
53
- @include luxfocus.focus-dark-mixin;
54
- }
43
+ lux-icon {
44
+ color: luxpalette.$lux-primary-color !important;
45
+ box-sizing: border-box;
55
46
  }
56
47
 
57
- &.menu-opened {
58
- button.lux-button.lux-button-rounded {
59
- background-color: map.get(luxpalette.$lux-palette_primary, 300);
60
- lux-icon {
61
- color: #ffffff !important;
62
- }
48
+ &:focus-visible:not(:hover) {
49
+ // color: #ffffff !important;
50
+ background-color: transparent !important;
51
+
52
+ lux-icon {
53
+ // color: #ffffff !important;
63
54
  }
55
+ @include luxfocus.focus-dark-mixin;
64
56
  }
65
57
 
66
- &.lux-menu-trigger-default {
67
- button.mat-mdc-button.lux-button {
68
- &:hover {
69
- background-color: map.get(luxpalette.$lux-palette-primary, 300) !important;
70
- color: #ffffff !important;
71
- }
72
- &:focus-visible:not(:hover) {
73
- color: map.get(luxpalette.$lux-palette-primary, 700) !important;
74
- background-color: transparent !important;
75
- }
76
- &:active {
77
- color: map.get(luxpalette.$lux-palette-primary, 700) !important;
78
- }
58
+ &:active {
59
+ color: #ffffff !important;
60
+
61
+ lux-icon {
62
+ color: #ffffff !important;
79
63
  }
80
64
  }
81
65
  }
66
+
67
+ lux-button button[disabled].lux-button.mat-mdc-fab.mat-primary:not(.lux-stroked) {
68
+ background-color: transparent !important;
69
+ }
70
+
71
+
72
+ lux-button {
73
+ button.lux-button.lux-button-rounded {
74
+
75
+ }
76
+ }
77
+
82
78
  lux-menu {
83
79
  width: unset;
84
80
  .lux-menu-extended {
@@ -165,16 +161,6 @@ lux-app-header-ac {
165
161
  button.lux-menu-item {
166
162
  margin: 0px;
167
163
 
168
- &.lux-user-name-label {
169
- opacity: 1;
170
- color: map.get(luxpalette.$lux-palette-primary, 500);
171
- background-color: #f0f3f6;
172
-
173
- .lux-button-label {
174
- font-weight: 600;
175
- }
176
- }
177
-
178
164
  &.lux-selected-item-ac {
179
165
  font-weight: 600;
180
166
  color: luxpalette.$lux-primary-color;
@@ -0,0 +1,62 @@
1
+ @use "sass:map";
2
+ @use "../luxcommon";
3
+ @use "../luxpalette";
4
+
5
+ .lux-badge {
6
+ border-radius: 8px;
7
+ display: inline-flex;
8
+ align-items: center;
9
+ flex: initial;
10
+ }
11
+
12
+ .lux-badge.lux-badge-uppercase * {
13
+ text-transform: uppercase;
14
+ }
15
+
16
+ .lux-badge > lux-icon ::ng-deep {
17
+ width: 1em;
18
+ height: 1em;
19
+ display: inline-flex;
20
+ }
21
+
22
+ @media (prefers-contrast: more) {
23
+ .lux-badge {
24
+ font-size: 1rem;
25
+ font-style: normal;
26
+ font-weight: 600;
27
+ line-height: normal;
28
+
29
+ &.lux-bg-color-red {
30
+ background-color: map-get(map-get(luxpalette.$lux-palettes-new, 'error'), 35);
31
+ }
32
+
33
+ &.lux-bg-color-orange {
34
+ background-color: map-get(luxcommon.$colorsForDarkBg, 'yellow');
35
+ }
36
+
37
+ &.lux-font-color-green {
38
+ color: #ffffff;
39
+ }
40
+ &.lux-bg-color-green {
41
+ background-color: map-get(map-get(luxpalette.$lux-palettes-new, 'tertiary'), 30);
42
+ }
43
+
44
+ &.lux-font-color-lightblue {
45
+ color: #ffffff;
46
+ }
47
+ &.lux-bg-color-lightblue {
48
+ background-color: luxpalette.$lux-primary-color;
49
+ }
50
+
51
+ &.lux-font-color-gray,
52
+ &.lux-font-color-purple,
53
+ &.lux-font-color-pink {
54
+ color: #ffffff;
55
+ }
56
+ &.lux-bg-color-gray,
57
+ &.lux-bg-color-purple,
58
+ &.lux-bg-color-pink {
59
+ background-color: #000000;
60
+ }
61
+ }
62
+ }