@ihk-gfi/lux-components-theme 14.7.0 → 15.1.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 (40) 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 +5662 -2653
  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 +5679 -2984
  10. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  11. package/src/authentic/_custom.scss +41 -84
  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 +16 -595
  16. package/src/base/_luxfocus.scss +7 -238
  17. package/src/base/_luxstyles.scss +16 -15
  18. package/src/base/_luxtheme.scss +13 -1
  19. package/src/base/components/_luxAppHeaderAc.scss +4 -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 +25 -14
  23. package/src/base/components/_luxIcon.scss +41 -0
  24. package/src/base/components/_luxLinkPlain.scss +1 -4
  25. package/src/base/components/_luxList.scss +66 -0
  26. package/src/base/components/_luxMasterDetailAc.scss +83 -25
  27. package/src/base/components/_luxTextbox.scss +1 -1
  28. package/src/base/components/_luxTileAc.scss +4 -12
  29. package/src/green/_custom.scss +45 -316
  30. package/src/green/_luxcommon.scss +11 -19
  31. package/src/green/luxtheme.scss +84 -87
  32. package/src/public/global.scss +6 -6
  33. package/prebuilt-themes/luxtheme-blue-min.css +0 -1
  34. package/prebuilt-themes/luxtheme-blue-min.css.map +0 -1
  35. package/prebuilt-themes/luxtheme-blue.css +0 -9151
  36. package/prebuilt-themes/luxtheme-blue.css.map +0 -1
  37. package/src/blue/_custom.scss +0 -120
  38. package/src/blue/_luxcommon.scss +0 -101
  39. package/src/blue/_luxpalette.scss +0 -106
  40. package/src/blue/luxtheme.scss +0 -102
@@ -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 {
@@ -838,16 +543,22 @@ lux-filter-form lux-accordion {
838
543
  }
839
544
 
840
545
  .lux-master-ac-container {
841
- padding: 2px 0 2px 2px;
546
+ padding: 3px 0 3px 3px;
842
547
  &.lux-master-closed {
843
548
  flex: 1 1 30px !important;
844
549
  max-width: 30px !important;
845
550
  min-width: 30px !important;
846
551
  }
552
+ lux-list {
553
+ padding: 0 3px;
554
+ }
555
+ lux-master-header-ac {
556
+ margin: 3px;
557
+ }
847
558
  }
848
559
 
849
560
  lux-master-footer-ac {
850
- margin-bottom: 4px;
561
+ margin: 0 3px 4px 3px;
851
562
  border: none;
852
563
  @include luxelevations.lux-elevation-z2;
853
564
  }
@@ -889,7 +600,7 @@ lux-form-control-wrapper .lux-form-control-wrapper {
889
600
  font-size: luxcommon.$form-control-font-size;
890
601
  font-family: luxcommon.$app-font-family;
891
602
  padding: 8px 0;
892
- height: 40px;
603
+ min-height: 40px;
893
604
  }
894
605
  }
895
606
 
@@ -1020,7 +731,7 @@ lux-datetimepicker-ac {
1020
731
  height: 18px !important;
1021
732
  width: 18px !important;
1022
733
 
1023
- .mat-icon-button {
734
+ .mdc-icon-button.mat-mdc-icon-button.mat-mdc-button-base {
1024
735
  height: 18px !important;
1025
736
  width: 18px !important;
1026
737
  line-height: 1.5;
@@ -1028,11 +739,17 @@ lux-datetimepicker-ac {
1028
739
 
1029
740
  lux-icon.lux-datepicker-toggle-icon,
1030
741
  mat-icon.mat-icon {
742
+ display: inline-flex;
1031
743
  height: 18px !important;
1032
744
  width: 18px !important;
1033
745
  padding: 0px !important;
1034
746
  }
1035
747
 
748
+ svg {
749
+ height: 18px;
750
+ width: 18px;
751
+ }
752
+
1036
753
  &.mat-button-disabled {
1037
754
  svg {
1038
755
  color: luxcommon.$dark-disabled-text;
@@ -1064,16 +781,28 @@ lux-lookup-combobox-ac {
1064
781
  }
1065
782
  }
1066
783
 
784
+ /*
785
+ * Eineheitliche Elevation für die Components auf Cdk-Overlay-Pane
786
+ * wird noch für "Green" benötigt
787
+ */
788
+ .cdk-overlay-pane {
789
+ & > .mat-autocomplete-panel:not([class*="mat-elevation-z"]),
790
+ .mat-datepicker-content,
791
+ .mat-select-panel:not([class*="mat-elevation-z"]),
792
+ .mat-menu-panel {
793
+ @include luxelevations.lux-elevation-z4;
794
+ }
795
+ }
796
+
1067
797
  /*
1068
- * Theming für LUX-file-input und LUX-file-input-ac
798
+ * Theming für LUX-file-input-ac
1069
799
  */
1070
- lux-file-input,
1071
800
  lux-file-input-ac {
1072
801
  .lux-menu-extended {
1073
802
  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;
803
+ lux-button button.lux-button lux-icon.lux-button-icon:not(.lux-button-icon-round) mat-icon.lux-icon {
804
+ height: 14px !important;
805
+ width: 14px !important;
1077
806
  font-size: 14px;
1078
807
  }
1079
808
  }
@@ -1087,7 +816,7 @@ lux-file-list {
1087
816
  gap: 4px;
1088
817
  .lux-menu-item,
1089
818
  .lux-menu-trigger {
1090
- lux-icon mat-icon.lux-lx-icon-no-size {
819
+ lux-icon mat-icon.lux-icon {
1091
820
  font-size: 16px !important;
1092
821
  }
1093
822
  }
@@ -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)