@ihk-gfi/lux-components-theme 14.7.0 → 15.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 (37) hide show
  1. package/README.md +13 -18
  2. package/package.json +6 -7
  3. package/prebuilt-themes/luxtheme-authentic-min.css +1 -1
  4. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -1
  5. package/prebuilt-themes/luxtheme-authentic.css +5524 -2566
  6. package/prebuilt-themes/luxtheme-authentic.css.map +1 -1
  7. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  8. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  9. package/prebuilt-themes/luxtheme-green.css +5553 -2922
  10. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  11. package/src/authentic/_custom.scss +40 -76
  12. package/src/authentic/_luxcommon.scss +14 -17
  13. package/src/authentic/luxtheme.scss +78 -86
  14. package/src/base/_luxcommon.scss +0 -8
  15. package/src/base/_luxcomponents.scss +12 -572
  16. package/src/base/_luxfocus.scss +7 -205
  17. package/src/base/_luxstyles.scss +16 -15
  18. package/src/base/_luxtheme.scss +13 -1
  19. package/src/base/components/_luxAppHeaderAc.scss +3 -2
  20. package/src/base/components/_luxButton.scss +143 -0
  21. package/src/base/components/_luxFormControlWrapper.scss +9 -13
  22. package/src/base/components/_luxFormControlsAuthentic.scss +19 -14
  23. package/src/base/components/_luxIcon.scss +41 -0
  24. package/src/base/components/_luxLinkPlain.scss +1 -4
  25. package/src/base/components/_luxTextbox.scss +1 -1
  26. package/src/base/components/_luxTileAc.scss +4 -12
  27. package/src/green/_custom.scss +37 -314
  28. package/src/green/_luxcommon.scss +11 -19
  29. package/src/green/luxtheme.scss +84 -87
  30. package/prebuilt-themes/luxtheme-blue-min.css +0 -1
  31. package/prebuilt-themes/luxtheme-blue-min.css.map +0 -1
  32. package/prebuilt-themes/luxtheme-blue.css +0 -9151
  33. package/prebuilt-themes/luxtheme-blue.css.map +0 -1
  34. package/src/blue/_custom.scss +0 -120
  35. package/src/blue/_luxcommon.scss +0 -101
  36. package/src/blue/_luxpalette.scss +0 -106
  37. package/src/blue/luxtheme.scss +0 -102
@@ -23,7 +23,7 @@ lux-link-plain {
23
23
  lux-icon {
24
24
  font-size: inherit;
25
25
  display: flex;
26
- mat-icon.mat-icon.lux-lx-icon-no-size {
26
+ mat-icon.mat-icon.lux-icon {
27
27
  padding: 0px !important;
28
28
  width: 0.8em;
29
29
  height: 0.8em;
@@ -41,7 +41,6 @@ lux-link-plain {
41
41
  color: map.get(luxpalette.$lux-palette-primary, A700);
42
42
  font-family: inherit;
43
43
  lux-icon {
44
- i,
45
44
  mat-icon {
46
45
  color: map.get(luxpalette.$lux-palette-primary, A700);
47
46
  }
@@ -54,7 +53,6 @@ lux-link-plain {
54
53
  cursor: text;
55
54
  text-decoration: none;
56
55
  lux-icon {
57
- i,
58
56
  mat-icon {
59
57
  color: luxcommon.$dark-disabled-text;
60
58
  }
@@ -66,7 +64,6 @@ lux-link-plain {
66
64
  text-decoration: underline;
67
65
  cursor: pointer;
68
66
  lux-icon {
69
- i,
70
67
  mat-icon {
71
68
  color: map.get(luxpalette.$lux-palette-primary, 300);
72
69
  }
@@ -28,7 +28,7 @@ lux-textbox {
28
28
  justify-self: start;
29
29
  align-self: start;
30
30
  color: luxpalette.$lux-primary-color;
31
- mat-icon.mat-icon.lux-lx-icon-no-size {
31
+ mat-icon.mat-icon.lux-icon {
32
32
  padding: 0 !important;
33
33
  }
34
34
  }
@@ -18,18 +18,10 @@ lux-tile-ac {
18
18
 
19
19
  .lux-tile-icon {
20
20
  color: map.get(luxpalette.$lux-palette-primary, 500);
21
- lux-icon {
22
- width: 2em;
23
- height: 2em;
24
- i,
25
- mat-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
26
- padding: 0 !important;
27
- font-size: 2em !important;
28
- }
29
- mat-icon.lux-lx-icon-no-size {
30
- width: 2em;
31
- height: 2em;
32
- }
21
+ mat-icon.lux-icon {
22
+ padding: 0px !important;
23
+ height: 32px;
24
+ width: 32px;
33
25
  }
34
26
  }
35
27
 
@@ -237,7 +237,6 @@ lux-app-header {
237
237
  lux-button button.lux-button {
238
238
  font-weight: normal !important;
239
239
  font-family: luxcommon.$app-font-family;
240
- align-items: center;
241
240
 
242
241
  &.mat-button,
243
242
  &.mat-raised-button,
@@ -266,21 +265,9 @@ lux-button button.lux-button {
266
265
  border-radius: 18px;
267
266
  height: luxcommon.$button-height;
268
267
 
269
- & lux-icon:not(.lux-button-icon-round) {
270
- i.lux-fa-icon {
271
- font-size: 1em !important;
272
- }
273
- mat-icon.mat-icon.lux-material-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
274
- font-size: 1.2em !important;
275
- padding: 0px !important;
276
- height: unset !important;
277
- width: unset !important;
278
- }
279
- }
280
- mat-icon.mat-icon.lux-lx-icon:not(.lux-fa-icon, .lux-material-icon),
281
- mat-icon.mat-icon.lux-lx-icon-no-size:not(.lux-fa-icon, .lux-material-icon) {
282
- height: 22px;
283
- width: 22px;
268
+ lux-icon.lux-button-icon mat-icon.mat-icon.lux-icon {
269
+ height: 22px !important;
270
+ width: 22px !important;
284
271
  }
285
272
  }
286
273
 
@@ -289,25 +276,11 @@ lux-button button.lux-button {
289
276
  height: luxcommon.$button-fav-height;
290
277
  width: luxcommon.$button-fav-height;
291
278
  font-size: $button-font-size;
292
- .mat-button-wrapper {
293
- height: 100%;
294
- display: inline-flex;
295
- align-items: center;
296
- line-height: 1;
297
- }
298
279
 
299
280
  & lux-icon.lux-button-icon-round {
300
- line-height: 1;
301
- height: 22px;
302
- width: 22px;
303
- i,
304
- mat-icon.mat-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
305
- font-size: 22px !important;
306
- }
307
- mat-icon.mat-icon.lux-lx-icon:not(.lux-fa-icon, .lux-material-icon),
308
- mat-icon.mat-icon.lux-lx-icon-no-size:not(.lux-fa-icon, .lux-material-icon) {
309
- height: 22px;
310
- width: 22px;
281
+ mat-icon.mat-icon.lux-icon {
282
+ height: 22px !important;
283
+ width: 22px !important;
311
284
  }
312
285
  }
313
286
  }
@@ -394,210 +367,10 @@ lux-tile {
394
367
  /*
395
368
  * Theming for LUX-Form-Controls
396
369
  */
397
- $form-control-label-padding-bottom: 4px;
370
+
398
371
  $form-control-border-radius: 4px;
399
372
  $form-control-old-border-bottom: 0px;
400
373
 
401
- lux-checkbox,
402
- lux-toggle,
403
- lux-radio,
404
- lux-slider {
405
- & .lux-form-control {
406
- .lux-form-control-label {
407
- padding-bottom: $form-control-label-padding-bottom;
408
- }
409
-
410
- .lux-form-control-container {
411
- padding: 10px 0px;
412
- }
413
- }
414
-
415
- .lux-form-control:not(.lux-form-control-disabled),
416
- .lux-form-control:not(.lux-form-control-disabled).lux-focused {
417
- .lux-form-control-label {
418
- > * {
419
- color: luxcommon.$dark-secondary-text;
420
- }
421
- }
422
- }
423
- }
424
-
425
- .mat-select-value {
426
- color: luxcommon.$dark-secondary-text;
427
- }
428
-
429
- lux-input,
430
- lux-select,
431
- lux-file-input,
432
- lux-textarea,
433
- lux-autocomplete,
434
- lux-datepicker,
435
- lux-datetimepicker,
436
- lux-chips,
437
- lux-lookup-autocomplete,
438
- lux-lookup-combobox {
439
- & .lux-form-control {
440
- .lux-form-control-label {
441
- padding-bottom: $form-control-label-padding-bottom;
442
- }
443
-
444
- .lux-form-control-container {
445
- border: 1px solid luxcommon.$form-border-color;
446
- border-radius: $form-control-border-radius;
447
- padding: luxcommon.$form-control-container-padding;
448
-
449
- &:after {
450
- border-bottom: $form-control-old-border-bottom;
451
- }
452
- }
453
-
454
- .lux-label,
455
- mat-hint,
456
- mat-error {
457
- color: luxcommon.$dark-secondary-text;
458
- }
459
- }
460
-
461
- .lux-form-control-error {
462
- .lux-form-control-label {
463
- > * {
464
- color: luxpalette.$lux-warn-color !important;
465
- }
466
- }
467
-
468
- .lux-form-control-container {
469
- border-color: luxcommon.$lux-selected-border-color !important;
470
- box-shadow: 0 0 0 2px luxpalette.$lux-warn-color, 0 0 4px 2px luxpalette.$lux-warn-color;
471
-
472
- &:after {
473
- border-bottom: $form-control-old-border-bottom;
474
- }
475
- }
476
-
477
- .lux-form-control-misc {
478
- > * {
479
- color: luxpalette.$lux-warn-color !important;
480
- }
481
- }
482
- }
483
-
484
- .lux-form-control-disabled {
485
- .lux-form-control-container {
486
- color: luxcommon.$dark-disabled-text !important;
487
- border: 1px dashed luxcommon.$dark-disabled-text !important;
488
- border-radius: $form-control-border-radius;
489
- padding: luxcommon.$form-control-container-padding;
490
-
491
- &:after {
492
- border-bottom: $form-control-old-border-bottom;
493
- }
494
- }
495
- }
496
-
497
- .lux-form-control:not(.lux-form-control-disabled).lux-focused {
498
- .lux-form-control-label {
499
- > * {
500
- color: luxcommon.$dark-secondary-text;
501
- }
502
- }
503
-
504
- .lux-form-control-container {
505
- box-shadow: 0 0 0 2px luxcommon.$lux-selected-border-color, 0 0 4px 2px luxcommon.$lux-selected-border-color;
506
-
507
- &:after {
508
- border-bottom: $form-control-old-border-bottom !important;
509
- }
510
- }
511
-
512
- &.lux-form-control-error {
513
- .lux-form-control-container {
514
- border-color: luxpalette.$lux-warn-color !important;
515
- box-shadow: 0 0 0 2px luxpalette.$lux-warn-color, 0 0 4px 2px luxpalette.$lux-warn-color;
516
- }
517
- &:after {
518
- border-bottom: $form-control-old-border-bottom !important;
519
- }
520
- }
521
- }
522
- }
523
-
524
- .lux-form-control-error {
525
- .lux-form-control-label {
526
- > * {
527
- color: luxpalette.$lux-warn-color !important;
528
- }
529
- }
530
-
531
- .lux-form-control-container {
532
- border-color: luxpalette.$lux-warn-color !important;
533
- }
534
-
535
- .lux-form-control-misc {
536
- > * {
537
- color: luxpalette.$lux-warn-color !important;
538
- }
539
- }
540
- }
541
-
542
- lux-file-input,
543
- lux-file-input-ac {
544
- lux-button.lux-menu-item,
545
- lux-button.lux-menu-trigger-default {
546
- button lux-icon {
547
- display: inline;
548
- mat-icon {
549
- vertical-align: unset;
550
- }
551
- }
552
- }
553
- }
554
-
555
- /*
556
- * Theming für LUX-Layout-Form-Row
557
- */
558
- lux-layout-form-row {
559
- lux-input,
560
- lux-select,
561
- lux-file-input,
562
- lux-textarea,
563
- lux-autocomplete,
564
- lux-datepicker,
565
- lux-datetimepicker,
566
- lux-chips,
567
- lux-lookup-autocomplete,
568
- lux-lookup-combobox {
569
- & .lux-form-control {
570
- margin-right: 0px;
571
- margin-left: 0px;
572
- }
573
- }
574
- }
575
-
576
- /*
577
- * Theming für LUX-Checkbox
578
- */
579
- lux-checkbox {
580
- .mat-checkbox-disabled .mat-checkbox-inner-container {
581
- border: 1px solid luxcommon.$dark-disabled-text;
582
- }
583
-
584
- .mat-checkbox-inner-container {
585
- border-radius: 4px;
586
- border: 1px solid map.get(luxpalette.$lux-palette_primary, 500);
587
- // wegen der Border
588
- height: 18px !important;
589
- width: 18px !important;
590
-
591
- .mat-checkbox-frame {
592
- border: none;
593
- }
594
-
595
- .mat-checkbox-background .mat-checkbox-checkmark {
596
- border-radius: 2px; // bei 4px ist ein grüner Rand zu sehen
597
- }
598
- }
599
- }
600
-
601
374
  /*
602
375
  * Theming für LUX-Table
603
376
  */
@@ -644,77 +417,8 @@ mat-card lux-tabs {
644
417
  }
645
418
  }
646
419
 
647
- /*
648
- * Theming für LUX-Radio-Buttons
649
- */
650
- lux-radio {
651
- .mat-radio-outer-circle {
652
- border: 1.5px solid map.get(luxpalette.$lux-palette_primary, 500);
653
- }
654
-
655
- .mat-radio-inner-circle {
656
- // Checkmark-Symbol mit css gezeichnet, anstatt des inneren Kreises
657
- border-radius: 2px;
658
- background-color: transparent !important;
659
- border-bottom: 5px solid white;
660
- border-right: 5px solid white;
661
- height: 32px;
662
- width: 14px;
663
- margin-top: -8px;
664
- margin-left: 3px;
665
- }
666
-
667
- .mat-radio-checked {
668
- .mat-radio-outer-circle {
669
- background: map.get(luxpalette.$lux-palette_primary, 500);
670
- }
671
-
672
- &.mat-radio-disabled .mat-radio-outer-circle {
673
- background: luxcommon.$dark-disabled-text;
674
- border: none;
675
- }
676
-
677
- &.mat-radio-disabled label .mat-radio-container {
678
- span.mat-radio-inner-circle {
679
- background-color: luxcommon.$dark-disabled-text;
680
- }
681
-
682
- span.mat-radio-outer-circle {
683
- border-color: luxcommon.$dark-disabled-text;
684
- }
685
- }
686
- }
687
-
688
- .mat-radio-disabled label.mat-radio-label {
689
- .mat-radio-label-content {
690
- color: luxcommon.$dark-disabled-text;
691
- }
692
-
693
- .mat-radio-container {
694
- span.mat-radio-inner-circle {
695
- background-color: luxcommon.$dark-disabled-text;
696
- }
697
-
698
- span.mat-radio-outer-circle {
699
- border-color: luxcommon.$dark-disabled-text;
700
- }
701
- }
702
- }
703
-
704
- .mat-radio-checked .mat-radio-inner-circle {
705
- transform: rotate(45deg) scale(0.4);
706
- }
707
-
708
- .mat-radio-button .mat-radio-ripple {
709
- height: 20px; /*double of your required circle radius*/
710
- width: 20px; /*double of your required circle radius*/
711
- left: calc(50% - 10px); /*'10px'-same as your required circle radius*/
712
- top: calc(50% - 10px); /*'10px'-same as your required circle radius */
713
- }
714
- }
715
-
716
420
  /*
717
- * Mixin für den Datepicker und Datetimepicker
421
+ * Mixin für den Datepicker-AC und Datetimepicker-AC
718
422
  */
719
423
  @mixin datepicker-content {
720
424
  .mat-calendar-content {
@@ -763,6 +467,7 @@ lux-radio {
763
467
 
764
468
  /*
765
469
  * Theming für Lux-Datepicker-Custom-Header
470
+ * wird auch von den AC-Components genutzt
766
471
  */
767
472
  .lux-datepicker-custom-header-component {
768
473
  display: flex;
@@ -790,7 +495,7 @@ lux-radio {
790
495
  }
791
496
 
792
497
  /*
793
- * Theming für Lux-Datepicker
498
+ * Theming für Lux-Datepicker-AC
794
499
  */
795
500
  .lux-datepicker-panel {
796
501
  .mat-calendar.mat-datepicker-content {
@@ -800,7 +505,7 @@ lux-radio {
800
505
  }
801
506
 
802
507
  /*
803
- * Theming für Lux-Datetime-Picker
508
+ * Theming für Lux-Datetime-Picker-AC
804
509
  */
805
510
  .lux-datetime-overlay-content {
806
511
  .mat-calendar.lux-datetime-overlay-calendar {
@@ -889,7 +594,7 @@ lux-form-control-wrapper .lux-form-control-wrapper {
889
594
  font-size: luxcommon.$form-control-font-size;
890
595
  font-family: luxcommon.$app-font-family;
891
596
  padding: 8px 0;
892
- height: 40px;
597
+ min-height: 40px;
893
598
  }
894
599
  }
895
600
 
@@ -1020,7 +725,7 @@ lux-datetimepicker-ac {
1020
725
  height: 18px !important;
1021
726
  width: 18px !important;
1022
727
 
1023
- .mat-icon-button {
728
+ .mdc-icon-button.mat-mdc-icon-button.mat-mdc-button-base {
1024
729
  height: 18px !important;
1025
730
  width: 18px !important;
1026
731
  line-height: 1.5;
@@ -1028,11 +733,17 @@ lux-datetimepicker-ac {
1028
733
 
1029
734
  lux-icon.lux-datepicker-toggle-icon,
1030
735
  mat-icon.mat-icon {
736
+ display: inline-flex;
1031
737
  height: 18px !important;
1032
738
  width: 18px !important;
1033
739
  padding: 0px !important;
1034
740
  }
1035
741
 
742
+ svg {
743
+ height: 18px;
744
+ width: 18px;
745
+ }
746
+
1036
747
  &.mat-button-disabled {
1037
748
  svg {
1038
749
  color: luxcommon.$dark-disabled-text;
@@ -1064,16 +775,28 @@ lux-lookup-combobox-ac {
1064
775
  }
1065
776
  }
1066
777
 
778
+ /*
779
+ * Eineheitliche Elevation für die Components auf Cdk-Overlay-Pane
780
+ * wird noch für "Green" benötigt
781
+ */
782
+ .cdk-overlay-pane {
783
+ & > .mat-autocomplete-panel:not([class*="mat-elevation-z"]),
784
+ .mat-datepicker-content,
785
+ .mat-select-panel:not([class*="mat-elevation-z"]),
786
+ .mat-menu-panel {
787
+ @include luxelevations.lux-elevation-z4;
788
+ }
789
+ }
790
+
1067
791
  /*
1068
- * Theming für LUX-file-input und LUX-file-input-ac
792
+ * Theming für LUX-file-input-ac
1069
793
  */
1070
- lux-file-input,
1071
794
  lux-file-input-ac {
1072
795
  .lux-menu-extended {
1073
796
  gap: 4px;
1074
- lux-button button.lux-button lux-icon.lux-button-icon:not(.lux-button-icon-round).lux-lx-icon {
1075
- height: 14px;
1076
- width: 14px;
797
+ lux-button button.lux-button lux-icon.lux-button-icon:not(.lux-button-icon-round) mat-icon.lux-icon {
798
+ height: 14px !important;
799
+ width: 14px !important;
1077
800
  font-size: 14px;
1078
801
  }
1079
802
  }
@@ -1087,7 +810,7 @@ lux-file-list {
1087
810
  gap: 4px;
1088
811
  .lux-menu-item,
1089
812
  .lux-menu-trigger {
1090
- lux-icon mat-icon.lux-lx-icon-no-size {
813
+ lux-icon mat-icon.lux-icon {
1091
814
  font-size: 16px !important;
1092
815
  }
1093
816
  }
@@ -1,20 +1,20 @@
1
1
  // Allgemein
2
2
  $dark-primary-text: #003366;
3
3
  $dark-secondary-text: #003366;
4
- $dark-disabled-text: #636D76;
5
- $dark-dividers: rgba(black, 0.20);
4
+ $dark-disabled-text: #636d76;
5
+ $dark-dividers: rgba(black, 0.2);
6
6
  $dark-focused: rgba(black, 0.12);
7
7
 
8
8
  $light-primary-text: white;
9
9
  $light-secondary-text: rgba(white, 0.7);
10
10
  $light-disabled-text: rgba(white, 0.5);
11
- $light-dividers: #E3EBF5;
11
+ $light-dividers: #e3ebf5;
12
12
  $light-focused: rgba(white, 0.12);
13
13
 
14
14
  // App
15
15
  $app-header-bg: #ffffff;
16
16
  $app-content-bg: #ffffff;
17
- $app-footer-bg: #E3EBF5;
17
+ $app-footer-bg: #e3ebf5;
18
18
  $app-data-bg: #ffffff;
19
19
  $app-gradient: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
20
20
  $app-gradient-reverse: linear-gradient(270deg, #ffffff 0%, #f8fbff 100%);
@@ -24,17 +24,9 @@ $app-font-family: Roboto, Helvetica Neue, sans-serif;
24
24
 
25
25
  // Form
26
26
  $form-border-color: rgba(0, 0, 0, 0.42);
27
- $form-control-default-height-not-scalable: 40px;
28
- $form-control-height: 24px;
29
- $form-control-height-small: 18px;
30
27
  $form-control-font-size: 15px;
31
28
  $form-control-font-size-small: 12px;
32
- $form-control-label-padding: 2px 0 4px 0;
33
- $form-control-container-padding: 10px 5px 10px 5px;
34
- $form-control-misc-margin: 4px 0 2px 0;
35
- $form-control-complete-height: 84px;
36
29
  $form-control-buffer: 6px;
37
- $form-control-margin: 0px;
38
30
 
39
31
  // Button
40
32
  $button-height: 45px;
@@ -52,34 +44,34 @@ $lux-hover-color: #e3ebf5;
52
44
  $lux-hover-color-for-dark-background: #e3ebf5;
53
45
 
54
46
  // Selektion
55
- $lux-selected-border-color: #2E8533;
56
- $lux-selected-bg-color: #E3EBF5;
47
+ $lux-selected-border-color: #2e8533;
48
+ $lux-selected-bg-color: #e3ebf5;
57
49
 
58
50
  // Stepper (large)
59
51
  $lux-stepper-large-backdrop-bg: #636d76;
60
- $lux-stepper-large-completed-fc: #2E8533;
52
+ $lux-stepper-large-completed-fc: #2e8533;
61
53
 
62
54
  $lux-stepper-large-nav-item-active-fc: #ffffff;
63
55
  $lux-stepper-large-nav-item-active-bg: #003366;
64
56
  $lux-stepper-large-nav-item-disabled-fg: #003366;
65
57
  $lux-stepper-large-nav-item-disabled-bg: #eff3f6;
66
58
  $lux-stepper-large-nav-item-completed-fg: #ffffff;
67
- $lux-stepper-large-nav-item-completed-bg: #2E8533;
59
+ $lux-stepper-large-nav-item-completed-bg: #2e8533;
68
60
 
69
61
  // Hintergrundfarben (z.B. Badge oder Progress)
70
62
  $componentBgColors: (
71
63
  "red": #db272e,
72
64
  "green": #56bd66,
73
- "purple": #9900B8,
65
+ "purple": #9900b8,
74
66
  "blue": #003366,
75
- "gray": #636D76,
67
+ "gray": #636d76,
76
68
  "orange": #c75000,
77
69
  "brown": #783f04,
78
70
  "black": black,
79
71
  "white": #ffffff,
80
72
  "yellow": rgba(244, 203, 37, 1),
81
73
  "pink": #ea515a,
82
- "lightblue": rgba(63, 155, 218, 1)
74
+ "lightblue": rgba(63, 155, 218, 1)
83
75
  );
84
76
 
85
77
  // Vordergrundfarben (z.B. Badge)