@ihk-gfi/lux-components-theme 11.7.0 → 11.10.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.
@@ -784,3 +784,295 @@ lux-toggle {
784
784
  mat-tooltip-component .mat-tooltip {
785
785
  font-size: 14px;
786
786
  }
787
+
788
+ /*
789
+ * Theming für Lux-Stepper-Large
790
+ */
791
+ lux-stepper-large {
792
+ display: flex;
793
+ flex-direction: row;
794
+
795
+ height: 100%;
796
+ overflow-y: hidden;
797
+ background-color: transparent;
798
+ }
799
+
800
+ .lux-stepper-large-container {
801
+ display: flex;
802
+ flex-direction: row;
803
+ gap: 30px;
804
+
805
+ .lux-stepper-large-button-container {
806
+ display: flex;
807
+ flex-flow: row wrap;
808
+ justify-content: space-between;
809
+ align-items: center;
810
+ gap: 30px;
811
+ }
812
+ }
813
+
814
+ .lux-stepper-large-button-container {
815
+ margin-top: 30px;
816
+ }
817
+
818
+ .lux-stepper-large-nav-container {
819
+ display: flex;
820
+ flex-direction: column;
821
+ flex: 0 1 30%;
822
+ gap: 12px;
823
+ padding: 12px;
824
+
825
+ overflow-y: auto;
826
+ min-width: 400px;
827
+ }
828
+
829
+ .lux-stepper-large-nav-item {
830
+ display: flex;
831
+ flex-direction: row;
832
+ justify-content: flex-start;
833
+ align-items: center;
834
+
835
+ font-size: 22px;
836
+ line-height: 1.5;
837
+
838
+ &.lux-active {
839
+ font-weight: bold;
840
+ }
841
+
842
+ &.lux-completed {
843
+ color: $lux-stepper-large-completed-fc;
844
+
845
+ a {
846
+ text-decoration: underline;
847
+ }
848
+ }
849
+
850
+ &.lux-disabled {
851
+ opacity: 0.6;
852
+ }
853
+
854
+ &.lux-completed .lux-stepper-large-nav-item-number-container {
855
+ color: $lux-stepper-large-nav-item-completed-fg;
856
+ background-color: $lux-stepper-large-nav-item-completed-bg;
857
+ }
858
+
859
+ &.lux-active .lux-stepper-large-nav-item-number-container {
860
+ color: $lux-stepper-large-nav-item-active-fc;
861
+ background-color: $lux-stepper-large-nav-item-active-bg;
862
+ }
863
+
864
+ &.lux-touched .lux-stepper-large-nav-item-number-container {
865
+ }
866
+
867
+ &.lux-disabled .lux-stepper-large-nav-item-number-container {
868
+ color: $lux-stepper-large-nav-item-disabled-fg;
869
+ background-color: $lux-stepper-large-nav-item-disabled-bg;
870
+ }
871
+
872
+ &.lux-disabled .lux-stepper-large-nav-item-label {
873
+ color: $lux-stepper-large-nav-item-disabled-fg;
874
+ }
875
+
876
+ .lux-stepper-large-nav-item-number-container {
877
+ max-width: 45px;
878
+ max-height: 45px;
879
+ margin: 0 15px 0 0;
880
+ padding: 6px 11px;
881
+ border-radius: 18px;
882
+
883
+ .lux-stepper-large-nav-item-number {
884
+ text-align: center;
885
+ }
886
+ }
887
+
888
+ .lux-stepper-large-nav-item-label-container {
889
+ display: flex;
890
+ flex-direction: row;
891
+ justify-content: center;
892
+ align-items: center;
893
+
894
+ .lux-stepper-large-nav-item-label-link {
895
+ cursor: pointer;
896
+ }
897
+
898
+ .lux-stepper-large-nav-item-label {
899
+ }
900
+
901
+ .lux-stepper-large-nav-item-complete {
902
+ color: $lux-stepper-large-completed-fc;
903
+ font-size: 23px;
904
+ }
905
+ }
906
+ }
907
+
908
+ .lux-stepper-large-content {
909
+ display: flex;
910
+ flex-direction: column;
911
+ }
912
+
913
+ .lux-stepper-large-content-container {
914
+ display: flex;
915
+ flex-direction: column;
916
+ flex: 1 1 70%;
917
+
918
+ overflow-y: auto;
919
+ padding: 12px;
920
+ }
921
+
922
+ .lux-stepper-large-mobile-container {
923
+ display: flex;
924
+ flex-direction: column;
925
+ flex: 1 1 auto;
926
+
927
+ overflow-y: auto;
928
+ padding: 12px;
929
+
930
+ lux-button {
931
+ display: flex;
932
+
933
+ & button {
934
+ display: flex;
935
+ flex: 1 1 auto;
936
+ justify-content: center;
937
+ }
938
+ }
939
+
940
+ .lux-stepper-large-button-container {
941
+ display: flex;
942
+ flex-direction: column;
943
+ justify-content: center;
944
+ align-items: stretch;
945
+ gap: 30px;
946
+ }
947
+ }
948
+
949
+ .lux-stepper-large-mobile-header {
950
+ display: flex;
951
+ flex-direction: row;
952
+ justify-content: flex-start;
953
+ align-items: center;
954
+ margin-top: 2px;
955
+
956
+ font-size: 12px;
957
+
958
+ .lux-stepper-large-mobile-header-label {
959
+ display: flex;
960
+ flex: 0 1 auto;
961
+ }
962
+
963
+ .lux-stepper-large-mobile-header-button {
964
+ display: flex;
965
+ flex: 0 0 auto;
966
+ padding: 0;
967
+
968
+ button {
969
+ padding: 0;
970
+ min-height: 45px;
971
+ min-width: 45px;
972
+ display: flex;
973
+ justify-content: center;
974
+
975
+ i {
976
+ font-size: 25px;
977
+ }
978
+ }
979
+ }
980
+ }
981
+
982
+ // Lux-Stepper-Large - Overlay
983
+ .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
984
+ &.lux-stepper-large-mobile-overlay-backdrop {
985
+ opacity: 0.6;
986
+ background-color: $lux-stepper-large-backdrop-bg;
987
+ }
988
+ }
989
+
990
+ .lux-stepper-large-mobile-nav-container {
991
+ display: flex;
992
+ flex-direction: column;
993
+ overflow: hidden;
994
+ min-height: calc(100% - 0px);
995
+ max-height: calc(100% - 0px);
996
+
997
+ padding: 0;
998
+ background: $app-data-bg;
999
+ }
1000
+ .lux-stepper-large-mobile-nav-close-button-container {
1001
+ display: flex;
1002
+ flex-direction: row;
1003
+ justify-content: flex-end;
1004
+ align-items: center;
1005
+ margin-top: 13px;
1006
+ }
1007
+
1008
+ .lux-stepper-large-mobile-nav-header {
1009
+ display: flex;
1010
+ flex-direction: row;
1011
+
1012
+ padding: 0 30px 24px 30px;
1013
+
1014
+ div {
1015
+ font-family: "Korb", $app-font-family;
1016
+ font-size: 28px;
1017
+ }
1018
+ }
1019
+
1020
+ .lux-stepper-large-mobile-nav-item-container {
1021
+ display: flex;
1022
+ flex-direction: column;
1023
+ gap: 12px;
1024
+ overflow: auto;
1025
+
1026
+ padding: 0 30px 30px 30px;
1027
+ }
1028
+
1029
+ .lux-stepper-large-mobile-nav-item {
1030
+ display: flex;
1031
+ flex-direction: row;
1032
+ justify-content: flex-start;
1033
+ align-items: center;
1034
+
1035
+ font-size: 18px;
1036
+
1037
+ &.lux-completed .lux-stepper-large-mobile-nav-item-number-container {
1038
+ }
1039
+
1040
+ &.lux-active .lux-stepper-large-mobile-nav-item-number-container {
1041
+ }
1042
+
1043
+ &.lux-touched .lux-stepper-large-mobile-nav-item-number-container {
1044
+ }
1045
+
1046
+ &.lux-disabled .lux-stepper-large-mobile-nav-item-number-container {
1047
+ }
1048
+
1049
+ .lux-stepper-large-mobile-nav-item-number-container {
1050
+ max-width: 30px;
1051
+ max-height: 30px;
1052
+ margin: 0 10px 0 0;
1053
+ padding: 1px 6px 2px 5px;
1054
+ border-radius: 12px;
1055
+
1056
+ .lux-stepper-large-mobile-nav-item-number {
1057
+ }
1058
+ }
1059
+
1060
+ .lux-stepper-large-mobile-nav-item-label-container {
1061
+ display: flex;
1062
+ flex-direction: row;
1063
+ justify-content: center;
1064
+ align-items: center;
1065
+
1066
+ .lux-stepper-large-mobile-nav-item-label-link {
1067
+ cursor: pointer;
1068
+ }
1069
+
1070
+ .lux-stepper-large-mobile-nav-item-label {
1071
+ }
1072
+
1073
+ .lux-stepper-large-mobile-nav-item-complete {
1074
+ color: $lux-stepper-large-completed-fc;
1075
+ font-size: 18px;
1076
+ }
1077
+ }
1078
+ }
@@ -483,7 +483,6 @@ lux-tabs {
483
483
 
484
484
  &:hover:not(.mat-tab-disabled) {
485
485
  @include lux-hovered-mixin;
486
- background-color: $app-data-bg !important;
487
486
  }
488
487
  }
489
488
 
@@ -696,3 +695,20 @@ lux-message-box {
696
695
  }
697
696
  }
698
697
  }
698
+
699
+ /** ########## Stepper large ########## **/
700
+ lux-stepper-large {
701
+ a {
702
+ &:focus {
703
+ outline: none;
704
+ }
705
+
706
+ &:hover {
707
+ @include lux-hovered-mixin;
708
+ }
709
+
710
+ &.lux-focused {
711
+ @include lux-hovered-mixin;
712
+ }
713
+ }
714
+ }
@@ -269,10 +269,18 @@ lux-card.lux-card-grow {
269
269
  display: none;
270
270
  }
271
271
 
272
+ .lux-display-none-important {
273
+ display: none !important;
274
+ }
275
+
272
276
  .lux-hidden {
273
277
  visibility: hidden;
274
278
  }
275
279
 
280
+ .lux-hidden-important {
281
+ visibility: hidden !important;
282
+ }
283
+
276
284
  .lux-nowrap {
277
285
  white-space: nowrap;
278
286
  }
@@ -0,0 +1,8 @@
1
+ // Tabs außerhalb einer LUX-Card (z.B. Master-Detail)
2
+ lux-tabs {
3
+ .mat-tab-label:not(.mat-tab-disabled) {
4
+ &:hover:not(.mat-tab-disabled) {
5
+ background-color: $app-data-bg !important;
6
+ }
7
+ }
8
+ }
@@ -41,6 +41,17 @@ $lux-hover-color-for-dark-background: #335c85;
41
41
  $lux-selected-border-color: #0073b3;
42
42
  $lux-selected-bg-color: #e2e8ee;
43
43
 
44
+ // Stepper (large)
45
+ $lux-stepper-large-backdrop-bg: #636d76;
46
+ $lux-stepper-large-completed-fc: #2E8533;
47
+
48
+ $lux-stepper-large-nav-item-active-fc: #ffffff;
49
+ $lux-stepper-large-nav-item-active-bg: #003366;
50
+ $lux-stepper-large-nav-item-disabled-fg: #003366;
51
+ $lux-stepper-large-nav-item-disabled-bg: #eff3f6;
52
+ $lux-stepper-large-nav-item-completed-fg: #ffffff;
53
+ $lux-stepper-large-nav-item-completed-bg: #2E8533;
54
+
44
55
  // Hintergrundfarben (z.B. Badge oder Progress)
45
56
  $componentBgColors: (
46
57
  "red": #b01211,
@@ -1,4 +1,4 @@
1
- $button-font-size: 18px;
1
+ $button-font-size: 22px;
2
2
  $light-green: #E4F1E4;
3
3
  $light-gray: #EFF3F6;
4
4
  $light-blue: #E3EBF5;
@@ -340,15 +340,15 @@ $form-control-old-border-bottom: 0px;
340
340
 
341
341
  lux-checkbox, lux-toggle, lux-radio, lux-slider {
342
342
  & .lux-form-control {
343
- margin-right: 0px;
344
- margin-left: 0px;
343
+ margin-right: 4px;
344
+ margin-left: 4px;
345
345
 
346
346
  .lux-form-control-label {
347
347
  padding-bottom: $form-control-label-padding-bottom;
348
348
  }
349
349
 
350
350
  .lux-form-control-container {
351
- padding: $form-control-padding;
351
+ padding: 10px 0px;
352
352
  }
353
353
  }
354
354
 
@@ -452,14 +452,13 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
452
452
  }
453
453
  }
454
454
 
455
-
456
455
  /*
457
456
  * Theming für LUX-Checkbox
458
457
  */
459
458
  lux-checkbox {
460
459
 
461
460
  .mat-checkbox-disabled .mat-checkbox-inner-container{
462
- border: none;
461
+ border: 1px solid $dark-disabled-text;
463
462
  }
464
463
 
465
464
  .mat-checkbox-inner-container {
@@ -499,6 +498,29 @@ lux-table {
499
498
  }
500
499
  }
501
500
 
501
+ /*
502
+ * Theming für LUX-Tabs.
503
+ */
504
+ // Tabs außerhalb einer LUX-Card (z.B. Master-Detail)
505
+ lux-tabs {
506
+ .mat-tab-label-active:not(.mat-tab-disabled) {
507
+ background-color: $lux-hover-color-for-dark-background;
508
+ }
509
+
510
+ div.lux-tab-title {
511
+ font-family: "Korb", "Source Code Pro", "Helvetica", "Arial", "sans-serif";
512
+ font-size: 22px;
513
+ font-weight: 700;
514
+ }
515
+ }
516
+
517
+ // Tabs innerhalb einer LUX-Card
518
+ mat-card lux-tabs {
519
+ .mat-tab-label-active:not(.mat-tab-disabled) {
520
+ background-color: $lux-hover-color-for-dark-background;
521
+ }
522
+ }
523
+
502
524
  /*
503
525
  * Theming für LUX-Radio-Buttons
504
526
  */
@@ -41,6 +41,17 @@ $lux-hover-color-for-dark-background: #e3ebf5;
41
41
  $lux-selected-border-color: #2E8533;
42
42
  $lux-selected-bg-color: #E3EBF5;
43
43
 
44
+ // Stepper (large)
45
+ $lux-stepper-large-backdrop-bg: #636d76;
46
+ $lux-stepper-large-completed-fc: #2E8533;
47
+
48
+ $lux-stepper-large-nav-item-active-fc: #ffffff;
49
+ $lux-stepper-large-nav-item-active-bg: #003366;
50
+ $lux-stepper-large-nav-item-disabled-fg: #003366;
51
+ $lux-stepper-large-nav-item-disabled-bg: #eff3f6;
52
+ $lux-stepper-large-nav-item-completed-fg: #ffffff;
53
+ $lux-stepper-large-nav-item-completed-bg: #2E8533;
54
+
44
55
  // Hintergrundfarben (z.B. Badge oder Progress)
45
56
  $componentBgColors: (
46
57
  "red": #b01211,
@@ -1,6 +1,6 @@
1
1
  @import "luxpalette";
2
2
  @import "../public/global";
3
- $app-font-family: "Source Code Pro", "Helvetica", "Arial", "sans-serif";
3
+ $app-font-family: "Source Sans Pro", "Helvetica", "Arial", "sans-serif";
4
4
  $outline-width: 1px;
5
5
  @import "luxcommon";
6
6
  @import "../base/luxcomponents";
@@ -11,4 +11,3 @@ $lux-hover-color: #e3ebf5;
11
11
  @import "../../node_modules/@angular/material/theming";
12
12
  @import "../base/luxtheme";
13
13
  @import "custom";
14
-
@@ -41,6 +41,17 @@ $lux-hover-color-for-dark-background: #9b6100;
41
41
  $lux-selected-border-color: #b3790b;
42
42
  $lux-selected-bg-color: #f1e4bc;
43
43
 
44
+ // Stepper (large)
45
+ $lux-stepper-large-backdrop-bg: #636d76;
46
+ $lux-stepper-large-completed-fc: #2E8533;
47
+
48
+ $lux-stepper-large-nav-item-active-fc: #ffffff;
49
+ $lux-stepper-large-nav-item-active-bg: #003366;
50
+ $lux-stepper-large-nav-item-disabled-fg: #003366;
51
+ $lux-stepper-large-nav-item-disabled-bg: #eff3f6;
52
+ $lux-stepper-large-nav-item-completed-fg: #ffffff;
53
+ $lux-stepper-large-nav-item-completed-bg: #2E8533;
54
+
44
55
  // Hintergrundfarben (z.B. Badge oder Progress)
45
56
  $componentBgColors: (
46
57
  "red": #b01211,