@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.
- package/package.json +17 -27
- package/prebuilt-themes/luxtheme-authentic-min.css +1 -1
- package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-authentic.css +1875 -1556
- package/prebuilt-themes/luxtheme-authentic.css.map +1 -1
- package/prebuilt-themes/luxtheme-green-min.css +1 -1
- package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-green.css +1583 -1221
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/src/authentic/_custom.scss +105 -293
- package/src/authentic/_custombutton.scss +143 -0
- package/src/authentic/_luxcommon.scss +26 -19
- package/src/authentic/_luxpalette.scss +124 -0
- package/src/authentic/luxtheme.scss +3 -0
- package/src/base/_luxcommon.scss +1 -0
- package/src/base/_luxcomponents.scss +48 -35
- package/src/base/_luxpalette.scss +1 -0
- package/src/base/_luxstyles.scss +13 -1
- package/src/base/components/_luxAppHeader.scss +9 -0
- package/src/base/components/_luxAppHeaderAc.scss +42 -56
- package/src/base/components/_luxBadge.scss +62 -0
- package/src/base/components/_luxButton.scss +88 -0
- package/src/base/components/_luxFilePreview.scss +5 -0
- package/src/base/components/_luxFormControlWrapper.scss +4 -6
- package/src/base/components/_luxFormControlsAuthentic.scss +31 -9
- package/src/base/components/_luxIcon.scss +4 -4
- package/src/base/components/_luxMenu.scss +4 -0
- package/src/base/components/_luxMessagebox.scss +36 -6
- package/src/base/components/_luxSnackbar.scss +35 -2
- package/src/base/components/_luxStepper.scss +1 -0
- package/src/green/_custom.scss +133 -13
- package/src/green/_luxcommon.scss +27 -17
- package/src/green/_luxpalette.scss +125 -1
- package/src/green/luxtheme.scss +2 -0
|
@@ -83,6 +83,7 @@ lux-accordion {
|
|
|
83
83
|
transform-origin: center;
|
|
84
84
|
width: 1em;
|
|
85
85
|
height: 1em;
|
|
86
|
+
|
|
86
87
|
&::after {
|
|
87
88
|
content: "";
|
|
88
89
|
position: absolute;
|
|
@@ -113,10 +114,12 @@ lux-accordion {
|
|
|
113
114
|
mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded:focus {
|
|
114
115
|
border-bottom-left-radius: 0px;
|
|
115
116
|
border-bottom-right-radius: 0px;
|
|
117
|
+
|
|
116
118
|
.mat-expansion-panel-header-title,
|
|
117
119
|
.mat-expansion-panel-header-description {
|
|
118
120
|
font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
|
|
119
121
|
}
|
|
122
|
+
|
|
120
123
|
.mat-expansion-panel-header-title {
|
|
121
124
|
font-weight: 500;
|
|
122
125
|
}
|
|
@@ -195,9 +198,6 @@ lux-accordion {
|
|
|
195
198
|
* Theming für lux-Badge-notification
|
|
196
199
|
*/
|
|
197
200
|
.lux-badge-notification {
|
|
198
|
-
&.mat-badge:not(.mat-badge-disabled).mat-badge-accent .mat-badge-content {
|
|
199
|
-
background-color: map.get(luxpalette.$lux-palette_accent, 500);
|
|
200
|
-
}
|
|
201
201
|
|
|
202
202
|
&.mat-badge .mat-badge-content {
|
|
203
203
|
font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
|
|
@@ -214,6 +214,7 @@ lux-accordion {
|
|
|
214
214
|
background: map.get(luxcommon.$componentBgColors, "gray");
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
+
|
|
217
218
|
&.mat-badge-disabled .mat-badge-content {
|
|
218
219
|
color: white;
|
|
219
220
|
}
|
|
@@ -233,6 +234,7 @@ example-root {
|
|
|
233
234
|
transform-origin: center;
|
|
234
235
|
width: 1rem;
|
|
235
236
|
height: 1rem;
|
|
237
|
+
|
|
236
238
|
&::after {
|
|
237
239
|
content: "";
|
|
238
240
|
position: absolute;
|
|
@@ -261,14 +263,14 @@ example-root {
|
|
|
261
263
|
|
|
262
264
|
.example-component-list-item {
|
|
263
265
|
line-height: normal;
|
|
266
|
+
|
|
264
267
|
&.example-component-list-item-selected {
|
|
265
|
-
text-shadow:
|
|
266
|
-
0 0 0.65px #003366,
|
|
267
|
-
0 0 0.65px #003366;
|
|
268
|
+
text-shadow: 0 0 0.65px #003366, 0 0 0.65px #003366;
|
|
268
269
|
line-height: normal;
|
|
269
270
|
color: luxpalette.$lux-primary-color;
|
|
270
271
|
border: none;
|
|
271
272
|
background-color: #fff !important;
|
|
273
|
+
|
|
272
274
|
&::after {
|
|
273
275
|
content: "";
|
|
274
276
|
position: absolute;
|
|
@@ -291,6 +293,7 @@ example-root {
|
|
|
291
293
|
border: none;
|
|
292
294
|
}
|
|
293
295
|
}
|
|
296
|
+
|
|
294
297
|
&:hover,
|
|
295
298
|
&:focus-visible,
|
|
296
299
|
&.example-component-list-item-selected:hover,
|
|
@@ -298,6 +301,7 @@ example-root {
|
|
|
298
301
|
color: #fff;
|
|
299
302
|
background-color: luxcommon.$lux-hover-color !important;
|
|
300
303
|
border-radius: 0;
|
|
304
|
+
|
|
301
305
|
&::after {
|
|
302
306
|
background-color: #fff;
|
|
303
307
|
}
|
|
@@ -306,294 +310,12 @@ example-root {
|
|
|
306
310
|
}
|
|
307
311
|
}
|
|
308
312
|
|
|
309
|
-
/*
|
|
310
|
-
* Theming for LUX-Button
|
|
311
|
-
*/
|
|
312
|
-
lux-button button.lux-button {
|
|
313
|
-
letter-spacing: 1.25px;
|
|
314
|
-
|
|
315
|
-
//Theming für den Text-Button
|
|
316
|
-
&.mat-mdc-button:not([disabled]) {
|
|
317
|
-
&:hover {
|
|
318
|
-
color: luxcommon.$dark-secondary-text;
|
|
319
|
-
background-color: transparent !important;
|
|
320
|
-
}
|
|
321
|
-
&:focus-visible:not(:hover) {
|
|
322
|
-
background-color: transparent !important;
|
|
323
|
-
@include luxfocus.lux-button-focus;
|
|
324
|
-
}
|
|
325
|
-
&:active {
|
|
326
|
-
color: luxcommon.$dark-primary-text !important;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
&.mat-primary {
|
|
330
|
-
&:hover {
|
|
331
|
-
color: map.get(luxpalette.$lux-palette-primary, 300);
|
|
332
|
-
background-color: transparent !important;
|
|
333
|
-
}
|
|
334
|
-
&:focus-visible:not(:hover) {
|
|
335
|
-
background-color: transparent !important;
|
|
336
|
-
@include luxfocus.lux-button-focus;
|
|
337
|
-
}
|
|
338
|
-
&:active {
|
|
339
|
-
color: map.get(luxpalette.$lux-palette-primary, 700) !important;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
&.mat-accent {
|
|
344
|
-
&:hover {
|
|
345
|
-
color: map.get(luxpalette.$lux-palette-accent, 300) !important;
|
|
346
|
-
background-color: transparent !important;
|
|
347
|
-
}
|
|
348
|
-
&:focus-visible:not(:hover) {
|
|
349
|
-
background-color: transparent !important;
|
|
350
|
-
@include luxfocus.lux-button-focus;
|
|
351
|
-
}
|
|
352
|
-
&:active {
|
|
353
|
-
color: map.get(luxpalette.$lux-palette-accent, 700) !important;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
&.mat-warn {
|
|
358
|
-
&:hover {
|
|
359
|
-
color: map.get(luxpalette.$lux-palette-warn, 300);
|
|
360
|
-
background-color: transparent !important;
|
|
361
|
-
}
|
|
362
|
-
&:focus-visible:not(:hover) {
|
|
363
|
-
color: map.get(luxpalette.$lux-palette-warn, 500);
|
|
364
|
-
background-color: transparent !important;
|
|
365
|
-
@include luxfocus.lux-button-focus;
|
|
366
|
-
}
|
|
367
|
-
&:active {
|
|
368
|
-
color: map.get(luxpalette.$lux-palette-warn, 700) !important;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
//Theming für den Stroked-Button
|
|
374
|
-
&.mat-mdc-outlined-button:not([disabled]) {
|
|
375
|
-
border-color: luxcommon.$dark-secondary-text;
|
|
376
|
-
|
|
377
|
-
&:hover {
|
|
378
|
-
color: luxcommon.$dark-secondary-text;
|
|
379
|
-
background-color: transparent !important;
|
|
380
|
-
border-color: luxcommon.$dark-primary-text;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
&:focus-visible:not(:hover) {
|
|
384
|
-
color: luxcommon.$dark-primary-text;
|
|
385
|
-
background-color: transparent !important;
|
|
386
|
-
border-color: luxcommon.$dark-primary-text;
|
|
387
|
-
@include luxfocus.lux-button-focus;
|
|
388
|
-
}
|
|
389
|
-
&:active {
|
|
390
|
-
color: luxcommon.$dark-primary-text;
|
|
391
|
-
background-color: transparent !important;
|
|
392
|
-
}
|
|
393
|
-
&.mat-primary {
|
|
394
|
-
border-color: map.get(luxpalette.$lux-palette-primary, 400);
|
|
395
|
-
|
|
396
|
-
&:hover {
|
|
397
|
-
color: map.get(luxpalette.$lux-palette-primary, 300);
|
|
398
|
-
background-color: transparent !important;
|
|
399
|
-
border-color: map.get(luxpalette.$lux-palette-primary, 300);
|
|
400
|
-
}
|
|
401
|
-
&:focus-visible:not(:hover) {
|
|
402
|
-
color: map.get(luxpalette.$lux-palette-primary, 500);
|
|
403
|
-
background-color: transparent !important;
|
|
404
|
-
border-color: map.get(luxpalette.$lux-palette-primary, 500);
|
|
405
|
-
@include luxfocus.lux-button-focus;
|
|
406
|
-
}
|
|
407
|
-
&:active {
|
|
408
|
-
color: map.get(luxpalette.$lux-palette-primary, 700);
|
|
409
|
-
background-color: transparent !important;
|
|
410
|
-
border-color: map.get(luxpalette.$lux-palette-primary, 700);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&.mat-accent {
|
|
415
|
-
color: luxcommon.$dark-primary-text;
|
|
416
|
-
border-color: map.get(luxpalette.$lux-palette-accent, 400);
|
|
417
|
-
&:hover {
|
|
418
|
-
color: luxcommon.$dark-secondary-text !important;
|
|
419
|
-
background-color: transparent !important;
|
|
420
|
-
border-color: map.get(luxpalette.$lux-palette-accent, 300);
|
|
421
|
-
}
|
|
422
|
-
&:focus-visible:not(:hover) {
|
|
423
|
-
color: luxcommon.$dark-primary-text;
|
|
424
|
-
background-color: transparent !important;
|
|
425
|
-
border-color: map.get(luxpalette.$lux-palette-accent, 500);
|
|
426
|
-
@include luxfocus.lux-button-focus;
|
|
427
|
-
}
|
|
428
|
-
&:active {
|
|
429
|
-
color: luxcommon.$dark-primary-text !important;
|
|
430
|
-
background-color: transparent !important;
|
|
431
|
-
border-color: map.get(luxpalette.$lux-palette-accent, 700);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
&.mat-warn {
|
|
436
|
-
border-color: map.get(luxpalette.$lux-palette-warn, 500);
|
|
437
|
-
&:hover {
|
|
438
|
-
color: map.get(luxpalette.$lux-palette-warn, 300);
|
|
439
|
-
background-color: transparent !important;
|
|
440
|
-
border-color: map.get(luxpalette.$lux-palette-warn, 300);
|
|
441
|
-
}
|
|
442
|
-
&:focus-visible:not(:hover) {
|
|
443
|
-
color: map.get(luxpalette.$lux-palette-warn, 500);
|
|
444
|
-
background-color: transparent !important;
|
|
445
|
-
border-color: map.get(luxpalette.$lux-palette-warn, 500);
|
|
446
|
-
@include luxfocus.lux-button-focus;
|
|
447
|
-
}
|
|
448
|
-
&:active {
|
|
449
|
-
color: map.get(luxpalette.$lux-palette-warn, 700);
|
|
450
|
-
background-color: transparent !important;
|
|
451
|
-
border-color: map.get(luxpalette.$lux-palette-warn, 700);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
&.mat-mdc-button:disabled,
|
|
457
|
-
&.mat-mdc-raised-button:disabled,
|
|
458
|
-
&.mat-mdc-fab:disabled,
|
|
459
|
-
&.mat-mdc-outlined-button:disabled,
|
|
460
|
-
&.mat-mdc-unelevated-button:disabled {
|
|
461
|
-
color: luxcommon.$dark-disabled-text;
|
|
462
|
-
&.lux-stroked {
|
|
463
|
-
color: luxcommon.$dark-disabled-text;
|
|
464
|
-
border-color: luxcommon.$dark-disabled-text;
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
//Theming für den Raised-Button, Flat-Button, Fab(Rounded)-Button
|
|
469
|
-
&.mat-mdc-raised-button:not([disabled]),
|
|
470
|
-
&.mat-mdc-unelevated-button:not([disabled]),
|
|
471
|
-
&.mat-mdc-fab:not([disabled]) {
|
|
472
|
-
&:hover {
|
|
473
|
-
color: luxcommon.$dark-secondary-text;
|
|
474
|
-
background-color: #ffffff !important;
|
|
475
|
-
&.lux-stroked {
|
|
476
|
-
color: map.get(luxpalette.$lux-palette-primary, 300);
|
|
477
|
-
background-color: #ffffff !important;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
&:focus-visible:not(:hover) {
|
|
482
|
-
color: luxcommon.$dark-primary-text;
|
|
483
|
-
background-color: #ffffff !important;
|
|
484
|
-
@include luxfocus.lux-button-focus;
|
|
485
|
-
&.lux-stroked {
|
|
486
|
-
background-color: transparent !important;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
&:active {
|
|
490
|
-
color: luxcommon.$dark-primary-text;
|
|
491
|
-
background-color: #ffffff !important;
|
|
492
|
-
&.lux-stroked {
|
|
493
|
-
color: map.get(luxpalette.$lux-palette-primary, 700);
|
|
494
|
-
background-color: transparent !important;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
&.mat-primary {
|
|
499
|
-
&:hover {
|
|
500
|
-
color: #ffffff;
|
|
501
|
-
background-color: map.get(luxpalette.$lux-palette-primary, 300) !important;
|
|
502
|
-
&.lux-stroked {
|
|
503
|
-
color: map.get(luxpalette.$lux-palette-primary, 300);
|
|
504
|
-
background-color: #ffffff !important;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
&:focus-visible:not(:hover) {
|
|
508
|
-
color: #ffffff;
|
|
509
|
-
background-color: map.get(luxpalette.$lux-palette-primary, 500) !important;
|
|
510
|
-
@include luxfocus.lux-button-focus;
|
|
511
|
-
&.lux-stroked {
|
|
512
|
-
color: luxpalette.$lux-primary-color;
|
|
513
|
-
background-color: transparent !important;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
&:active {
|
|
517
|
-
background-color: map.get(luxpalette.$lux-palette-primary, 700) !important;
|
|
518
|
-
&.lux-stroked {
|
|
519
|
-
color: map.get(luxpalette.$lux-palette-primary, 700);
|
|
520
|
-
background-color: transparent !important;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
&.mat-accent {
|
|
526
|
-
color: luxcommon.$dark-primary-text;
|
|
527
|
-
&.lux-fab-rounded-default:hover {
|
|
528
|
-
background-color: #ffffff !important;
|
|
529
|
-
&.lux-stroked {
|
|
530
|
-
color: luxcommon.$dark-secondary-text;
|
|
531
|
-
background-color: #ffffff !important;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
&:not(.lux-fab-rounded-default):hover {
|
|
535
|
-
background-color: map.get(luxpalette.$lux-palette-accent, 300) !important;
|
|
536
|
-
&.lux-stroked {
|
|
537
|
-
color: luxcommon.$dark-secondary-text;
|
|
538
|
-
background-color: transparent !important;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
&:focus-visible:not(:hover) {
|
|
542
|
-
background-color: map.get(luxpalette.$lux-palette-accent, 500) !important;
|
|
543
|
-
@include luxfocus.lux-button-focus;
|
|
544
|
-
&.lux-stroked {
|
|
545
|
-
background-color: transparent !important;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
&:active {
|
|
549
|
-
background-color: map.get(luxpalette.$lux-palette-accent, 700) !important;
|
|
550
|
-
&.lux-stroked {
|
|
551
|
-
color: map.get(luxpalette.$lux-palette-accent, 700) !important;
|
|
552
|
-
background-color: transparent !important;
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
&.mat-warn {
|
|
558
|
-
&:hover {
|
|
559
|
-
color: #ffffff;
|
|
560
|
-
background-color: map.get(luxpalette.$lux-palette-warn, 300) !important;
|
|
561
|
-
&.lux-stroked {
|
|
562
|
-
color: map.get(luxpalette.$lux-palette-warn, 300);
|
|
563
|
-
background-color: transparent !important;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
&:focus-visible:not(:hover) {
|
|
567
|
-
color: #ffffff;
|
|
568
|
-
background-color: map.get(luxpalette.$lux-palette-warn, 500) !important;
|
|
569
|
-
@include luxfocus.lux-button-focus;
|
|
570
|
-
&.lux-stroked {
|
|
571
|
-
color: luxpalette.$lux-warn-color;
|
|
572
|
-
background-color: transparent !important;
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
&:active {
|
|
576
|
-
background-color: map.get(luxpalette.$lux-palette-warn, 700) !important;
|
|
577
|
-
&.lux-stroked {
|
|
578
|
-
color: map.get(luxpalette.$lux-palette-warn, 700);
|
|
579
|
-
background-color: transparent !important;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
//Mat-Fab soll in Authentic flat sein
|
|
586
|
-
&.mat-mdc-fab,
|
|
587
|
-
&.mat-mdc-fab:not([disabled]):active {
|
|
588
|
-
@include luxelevations.lux-elevation-z0;
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
313
|
/*
|
|
593
314
|
* Theming für Stepper-Large
|
|
594
315
|
*/
|
|
595
316
|
lux-stepper-large {
|
|
596
317
|
background-color: transparent;
|
|
318
|
+
|
|
597
319
|
.lux-stepper-large-nav-container,
|
|
598
320
|
.lux-stepper-large-content-container {
|
|
599
321
|
border: 1px solid luxcommon.$app-border-color;
|
|
@@ -626,6 +348,7 @@ lux-stepper-large {
|
|
|
626
348
|
font-weight: 600;
|
|
627
349
|
text-decoration-thickness: 2px;
|
|
628
350
|
}
|
|
351
|
+
|
|
629
352
|
.lux-stepper-large-nav-item-number-container {
|
|
630
353
|
color: luxcommon.$lux-stepper-large-nav-item-active-fc;
|
|
631
354
|
background-color: luxcommon.$lux-stepper-large-nav-item-active-bg;
|
|
@@ -650,6 +373,7 @@ lux-stepper-large {
|
|
|
650
373
|
|
|
651
374
|
a {
|
|
652
375
|
font-weight: 600;
|
|
376
|
+
|
|
653
377
|
&::after {
|
|
654
378
|
width: 16px;
|
|
655
379
|
height: 16px;
|
|
@@ -664,6 +388,7 @@ lux-stepper-large {
|
|
|
664
388
|
background-color: luxcommon.$lux-stepper-large-nav-item-completed-bg;
|
|
665
389
|
border: 1px solid luxcommon.$app-border-color;
|
|
666
390
|
}
|
|
391
|
+
|
|
667
392
|
.lux-stepper-large-nav-item-label-container a.lux-stepper-large-nav-item-label-link:hover {
|
|
668
393
|
color: luxcommon.$lux-hover-color;
|
|
669
394
|
}
|
|
@@ -680,6 +405,7 @@ lux-stepper-large {
|
|
|
680
405
|
border: 1px solid luxcommon.$app-border-color;
|
|
681
406
|
}
|
|
682
407
|
}
|
|
408
|
+
|
|
683
409
|
&.lux-disabled {
|
|
684
410
|
.lux-stepper-large-nav-item-number-container {
|
|
685
411
|
color: luxcommon.$dark-disabled-text;
|
|
@@ -700,6 +426,7 @@ lux-stepper-large {
|
|
|
700
426
|
font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
|
|
701
427
|
}
|
|
702
428
|
}
|
|
429
|
+
|
|
703
430
|
.lux-stepper-large-mobile-nav-item {
|
|
704
431
|
display: flex;
|
|
705
432
|
flex-direction: row;
|
|
@@ -716,6 +443,7 @@ lux-stepper-large {
|
|
|
716
443
|
a {
|
|
717
444
|
font-weight: 600;
|
|
718
445
|
}
|
|
446
|
+
|
|
719
447
|
.lux-stepper-large-mobile-nav-item-number-container {
|
|
720
448
|
color: luxcommon.$lux-stepper-large-nav-item-active-fc;
|
|
721
449
|
background-color: luxcommon.$lux-stepper-large-nav-item-active-bg;
|
|
@@ -761,6 +489,7 @@ lux-stepper-large {
|
|
|
761
489
|
border: 1px solid luxcommon.$app-border-color;
|
|
762
490
|
}
|
|
763
491
|
}
|
|
492
|
+
|
|
764
493
|
&.lux-disabled {
|
|
765
494
|
.lux-stepper-large-nav-item-number-container {
|
|
766
495
|
color: luxcommon.$dark-disabled-text;
|
|
@@ -782,16 +511,99 @@ lux-stepper-large {
|
|
|
782
511
|
}
|
|
783
512
|
|
|
784
513
|
lux-file-upload {
|
|
785
|
-
.lux-file-upload-view-item-
|
|
514
|
+
.lux-file-upload-view-item-button button.lux-button.mat-mdc-button {
|
|
786
515
|
color: luxpalette.$lux-primary-color;
|
|
787
516
|
|
|
517
|
+
mat-icon {
|
|
518
|
+
width: 1.125rem !important;
|
|
519
|
+
height: 1.125rem !important;
|
|
520
|
+
}
|
|
521
|
+
|
|
788
522
|
&:hover {
|
|
789
523
|
color: luxcommon.$lux-hover-color;
|
|
790
524
|
}
|
|
791
525
|
}
|
|
792
526
|
|
|
793
|
-
.lux-file-upload-container
|
|
794
|
-
|
|
795
|
-
|
|
527
|
+
.lux-file-upload-container {
|
|
528
|
+
.lux-file-upload-drop-container {
|
|
529
|
+
&:not(.lux-file-upload-drag-active):not(.lux-file-upload-drop-container-disabled) {
|
|
530
|
+
background-image: luxcommon.$app-gradient;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.lux-file-upload-drop-label-container {
|
|
534
|
+
padding: 16px 48px 12px 48px;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.lux-file-upload-error-container {
|
|
540
|
+
margin-top: 16px;
|
|
541
|
+
margin-bottom: 0;
|
|
542
|
+
|
|
543
|
+
.lux-file-upload-error-button {
|
|
544
|
+
button.mat-mdc-button {
|
|
545
|
+
border-radius: 8px;
|
|
546
|
+
min-width: 24px;
|
|
547
|
+
min-height: 24px;
|
|
548
|
+
|
|
549
|
+
.lux-button-icon mat-icon.mat-icon.lux-icon {
|
|
550
|
+
width: 1.125rem !important;
|
|
551
|
+
height: 1.125rem !important;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.lux-file-upload-view-container {
|
|
558
|
+
&:not(.lux-empty) {
|
|
559
|
+
margin-top: 16px;
|
|
560
|
+
margin-bottom: 16px;
|
|
561
|
+
border-radius: 4px;
|
|
562
|
+
border: 1px solid rgba(black, 0.12);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.lux-file-upload-view-item-container {
|
|
567
|
+
background-color: white;
|
|
568
|
+
padding: 11px 15px 11px 26px;
|
|
569
|
+
border-radius: 4px;
|
|
570
|
+
border-bottom: 1px solid rgba(black, 0.12);
|
|
571
|
+
border-bottom-left-radius: 0;
|
|
572
|
+
border-bottom-right-radius: 0;
|
|
573
|
+
margin: 0;
|
|
574
|
+
|
|
575
|
+
&:last-child {
|
|
576
|
+
border: none;
|
|
577
|
+
border-radius: 4px;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.lux-file-upload-label-text lux-link-plain .link-wrapper .lux-link-plain-text {
|
|
581
|
+
color: luxpalette.$lux-primary-color;
|
|
582
|
+
text-decoration: underline;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.lux-file-upload-view-item {
|
|
586
|
+
.lux-file-upload-view-item-icon {
|
|
587
|
+
display: flex;
|
|
588
|
+
flex: 0 0 20px;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.lux-file-upload-label-file-size {
|
|
592
|
+
margin-right: 20px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
lux-button.lux-file-upload-view-item-button {
|
|
596
|
+
button.mat-mdc-button {
|
|
597
|
+
border-radius: 8px;
|
|
598
|
+
min-width: 24px;
|
|
599
|
+
min-height: 24px;
|
|
600
|
+
|
|
601
|
+
.lux-button-icon mat-icon.mat-icon.lux-icon {
|
|
602
|
+
width: 1.125rem;
|
|
603
|
+
height: 1.125rem;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
796
608
|
}
|
|
797
609
|
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:color";
|
|
3
|
+
@use "../base/luxfocus";
|
|
4
|
+
@use "../base/luxelevations";
|
|
5
|
+
@use "luxpalette";
|
|
6
|
+
@use "luxcommon";
|
|
7
|
+
|
|
8
|
+
@mixin textButton($color, $bgColor, $hoverColor, $hoverBgColor) {
|
|
9
|
+
color: $color !important;
|
|
10
|
+
background-color: $bgColor !important;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
color: $hoverColor !important;
|
|
14
|
+
background-color: $hoverBgColor !important;
|
|
15
|
+
}
|
|
16
|
+
&:focus-visible:not(:hover) {
|
|
17
|
+
@include luxfocus.lux-button-focus;
|
|
18
|
+
}
|
|
19
|
+
&:active {
|
|
20
|
+
color: $color !important;
|
|
21
|
+
background-color: $bgColor !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin strokedButton($color, $bgColor, $hoverColor, $hoverBgColor) {
|
|
26
|
+
color: $color !important;
|
|
27
|
+
background-color: $bgColor !important;
|
|
28
|
+
border-color: $color !important;
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
color: $hoverColor !important;
|
|
32
|
+
background-color: $hoverBgColor !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:focus-visible:not(:hover) {
|
|
36
|
+
@include luxfocus.lux-button-focus;
|
|
37
|
+
}
|
|
38
|
+
&:active {
|
|
39
|
+
color: $color !important;
|
|
40
|
+
background-color: $bgColor !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin raisedFlatFabButton($color, $bgColor, $hoverColor, $hoverBgColor, $activeBg) {
|
|
45
|
+
color: $color !important;
|
|
46
|
+
background-color: $bgColor !important;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
color: $hoverColor !important;
|
|
50
|
+
background-color: $hoverBgColor !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:focus-visible:not(:hover) {
|
|
54
|
+
color: $color !important;
|
|
55
|
+
background-color: $bgColor !important;
|
|
56
|
+
@include luxfocus.lux-button-focus;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:active {
|
|
60
|
+
color: $color !important;
|
|
61
|
+
background-color: $activeBg !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
* Theming for LUX-Button
|
|
67
|
+
*/
|
|
68
|
+
lux-button button.lux-button {
|
|
69
|
+
letter-spacing: 1.25px;
|
|
70
|
+
|
|
71
|
+
// Mat-Fab soll in Authentic flat sein
|
|
72
|
+
&.mat-mdc-fab,
|
|
73
|
+
&.mat-mdc-fab:not([disabled]):active {
|
|
74
|
+
@include luxelevations.lux-elevation-z0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Disabled-Buttons
|
|
78
|
+
&.mat-mdc-button:disabled,
|
|
79
|
+
&.mat-mdc-raised-button:disabled,
|
|
80
|
+
&.mat-mdc-fab:disabled,
|
|
81
|
+
&.mat-mdc-outlined-button:disabled,
|
|
82
|
+
&.mat-mdc-unelevated-button:disabled {
|
|
83
|
+
color: luxcommon.$dark-disabled-text;
|
|
84
|
+
&.lux-stroked {
|
|
85
|
+
color: luxcommon.$dark-disabled-text;
|
|
86
|
+
border-color: luxcommon.$dark-disabled-text;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//Theming für den Text-Button
|
|
91
|
+
&.mat-mdc-button:not([disabled]) {
|
|
92
|
+
@include textButton(#1c1b1b, transparent, #1c1b1b, #e5e2e1);
|
|
93
|
+
|
|
94
|
+
&.mat-primary {
|
|
95
|
+
@include textButton(#003366, transparent, #003366, #d5e3ff);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.mat-accent {
|
|
99
|
+
@include textButton(#00531d, transparent, #00531d, #c6ffc5);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.mat-warn {
|
|
103
|
+
@include textButton(#c00013, transparent, #93000c, #ffdad6);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
//Theming für den Stroked-Button
|
|
108
|
+
&.mat-mdc-outlined-button:not([disabled]),
|
|
109
|
+
&.mat-mdc-fab.lux-stroked:not([disabled]) {
|
|
110
|
+
@include strokedButton(#1c1b1b, transparent, #1c1b1b, #e5e2e1);
|
|
111
|
+
|
|
112
|
+
&.mat-primary {
|
|
113
|
+
@include strokedButton(#003366, transparent, #003366, #d5e3ff);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.mat-accent {
|
|
117
|
+
@include strokedButton(#00531d, transparent, #00531d, #c6ffc5);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.mat-warn {
|
|
121
|
+
@include strokedButton(#c00013, transparent, #93000c, #ffdad6);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
//Theming für den Raised-Button, Flat-Button, Fab(Rounded)-Button
|
|
126
|
+
&.mat-mdc-raised-button:not([disabled]),
|
|
127
|
+
&.mat-mdc-unelevated-button:not([disabled]),
|
|
128
|
+
&.mat-mdc-fab:not(.lux-stroked):not([disabled]) {
|
|
129
|
+
@include raisedFlatFabButton(#1c1b1b, transparent, #1c1b1b, #e5e2e1, #ffffff);
|
|
130
|
+
|
|
131
|
+
&.mat-primary {
|
|
132
|
+
@include raisedFlatFabButton(#ffffff, #003366, #003366, #d5e3ff, #001b3c);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.mat-accent {
|
|
136
|
+
@include raisedFlatFabButton(#1c1b1b, #56bd66, #1c1b1b, #c6ffc5, #3ca450);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.mat-warn {
|
|
140
|
+
@include raisedFlatFabButton(#ffffff, #c00013, #93000c, #ffdad6, #93000c);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|