@ihk-gfi/lux-components-theme 11.7.1 → 11.11.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,296 @@ 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: 1 1 auto;
803
+ flex-direction: row;
804
+ gap: 30px;
805
+
806
+ .lux-stepper-large-button-container {
807
+ display: flex;
808
+ flex-flow: row wrap;
809
+ justify-content: space-between;
810
+ align-items: center;
811
+ gap: 30px;
812
+ }
813
+ }
814
+
815
+ .lux-stepper-large-button-container {
816
+ margin-top: 30px;
817
+ }
818
+
819
+ .lux-stepper-large-nav-container {
820
+ display: flex;
821
+ flex-direction: column;
822
+ flex: 0 1 30%;
823
+ gap: 12px;
824
+ padding: 12px;
825
+
826
+ overflow-y: auto;
827
+ min-width: 400px;
828
+ }
829
+
830
+ .lux-stepper-large-nav-item {
831
+ display: flex;
832
+ flex-direction: row;
833
+ justify-content: flex-start;
834
+ align-items: center;
835
+
836
+ font-size: 22px;
837
+ line-height: 1.5;
838
+
839
+ &.lux-active {
840
+ font-weight: bold;
841
+ }
842
+
843
+ &.lux-completed {
844
+ color: $lux-stepper-large-completed-fc;
845
+
846
+ a {
847
+ text-decoration: underline;
848
+ }
849
+ }
850
+
851
+ &.lux-disabled {
852
+ opacity: 0.6;
853
+ }
854
+
855
+ &.lux-completed .lux-stepper-large-nav-item-number-container {
856
+ color: $lux-stepper-large-nav-item-completed-fg;
857
+ background-color: $lux-stepper-large-nav-item-completed-bg;
858
+ }
859
+
860
+ &.lux-active .lux-stepper-large-nav-item-number-container {
861
+ color: $lux-stepper-large-nav-item-active-fc;
862
+ background-color: $lux-stepper-large-nav-item-active-bg;
863
+ }
864
+
865
+ &.lux-touched .lux-stepper-large-nav-item-number-container {
866
+ }
867
+
868
+ &.lux-disabled .lux-stepper-large-nav-item-number-container {
869
+ color: $lux-stepper-large-nav-item-disabled-fg;
870
+ background-color: $lux-stepper-large-nav-item-disabled-bg;
871
+ }
872
+
873
+ &.lux-disabled .lux-stepper-large-nav-item-label {
874
+ color: $lux-stepper-large-nav-item-disabled-fg;
875
+ }
876
+
877
+ .lux-stepper-large-nav-item-number-container {
878
+ max-width: 45px;
879
+ max-height: 45px;
880
+ margin: 0 15px 0 0;
881
+ padding: 6px 11px;
882
+ border-radius: 18px;
883
+
884
+ .lux-stepper-large-nav-item-number {
885
+ text-align: center;
886
+ }
887
+ }
888
+
889
+ .lux-stepper-large-nav-item-label-container {
890
+ display: flex;
891
+ flex-direction: row;
892
+ justify-content: center;
893
+ align-items: center;
894
+
895
+ .lux-stepper-large-nav-item-label-link {
896
+ cursor: pointer;
897
+ }
898
+
899
+ .lux-stepper-large-nav-item-label {
900
+ }
901
+
902
+ .lux-stepper-large-nav-item-complete {
903
+ color: $lux-stepper-large-completed-fc;
904
+ font-size: 23px;
905
+ }
906
+ }
907
+ }
908
+
909
+ .lux-stepper-large-content {
910
+ display: flex;
911
+ flex-direction: column;
912
+ }
913
+
914
+ .lux-stepper-large-content-container {
915
+ display: flex;
916
+ flex-direction: column;
917
+ flex: 1 1 70%;
918
+
919
+ overflow-y: auto;
920
+ padding: 12px;
921
+ }
922
+
923
+ .lux-stepper-large-mobile-container {
924
+ display: flex;
925
+ flex-direction: column;
926
+ flex: 1 1 auto;
927
+
928
+ overflow-y: auto;
929
+ padding: 12px;
930
+
931
+ lux-button {
932
+ display: flex;
933
+
934
+ & button {
935
+ display: flex;
936
+ flex: 1 1 auto;
937
+ justify-content: center;
938
+ }
939
+ }
940
+
941
+ .lux-stepper-large-button-container {
942
+ display: flex;
943
+ flex-direction: column;
944
+ justify-content: center;
945
+ align-items: stretch;
946
+ gap: 30px;
947
+ }
948
+ }
949
+
950
+ .lux-stepper-large-mobile-header {
951
+ display: flex;
952
+ flex-direction: row;
953
+ justify-content: flex-start;
954
+ align-items: center;
955
+ margin-top: 2px;
956
+
957
+ font-size: 12px;
958
+
959
+ .lux-stepper-large-mobile-header-label {
960
+ display: flex;
961
+ flex: 0 1 auto;
962
+ }
963
+
964
+ .lux-stepper-large-mobile-header-button {
965
+ display: flex;
966
+ flex: 0 0 auto;
967
+ padding: 0;
968
+
969
+ button {
970
+ padding: 0;
971
+ min-height: 45px;
972
+ min-width: 45px;
973
+ display: flex;
974
+ justify-content: center;
975
+
976
+ i {
977
+ font-size: 25px;
978
+ }
979
+ }
980
+ }
981
+ }
982
+
983
+ // Lux-Stepper-Large - Overlay
984
+ .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
985
+ &.lux-stepper-large-mobile-overlay-backdrop {
986
+ opacity: 0.6;
987
+ background-color: $lux-stepper-large-backdrop-bg;
988
+ }
989
+ }
990
+
991
+ .lux-stepper-large-mobile-nav-container {
992
+ display: flex;
993
+ flex-direction: column;
994
+ overflow: hidden;
995
+ min-height: calc(100% - 0px);
996
+ max-height: calc(100% - 0px);
997
+
998
+ padding: 0;
999
+ background: $app-data-bg;
1000
+ }
1001
+ .lux-stepper-large-mobile-nav-close-button-container {
1002
+ display: flex;
1003
+ flex-direction: row;
1004
+ justify-content: flex-end;
1005
+ align-items: center;
1006
+ margin-top: 13px;
1007
+ }
1008
+
1009
+ .lux-stepper-large-mobile-nav-header {
1010
+ display: flex;
1011
+ flex-direction: row;
1012
+
1013
+ padding: 0 30px 24px 30px;
1014
+
1015
+ div {
1016
+ font-family: "Korb", $app-font-family;
1017
+ font-size: 28px;
1018
+ }
1019
+ }
1020
+
1021
+ .lux-stepper-large-mobile-nav-item-container {
1022
+ display: flex;
1023
+ flex-direction: column;
1024
+ gap: 12px;
1025
+ overflow: auto;
1026
+
1027
+ padding: 0 30px 30px 30px;
1028
+ }
1029
+
1030
+ .lux-stepper-large-mobile-nav-item {
1031
+ display: flex;
1032
+ flex-direction: row;
1033
+ justify-content: flex-start;
1034
+ align-items: center;
1035
+
1036
+ font-size: 18px;
1037
+
1038
+ &.lux-completed .lux-stepper-large-mobile-nav-item-number-container {
1039
+ }
1040
+
1041
+ &.lux-active .lux-stepper-large-mobile-nav-item-number-container {
1042
+ }
1043
+
1044
+ &.lux-touched .lux-stepper-large-mobile-nav-item-number-container {
1045
+ }
1046
+
1047
+ &.lux-disabled .lux-stepper-large-mobile-nav-item-number-container {
1048
+ }
1049
+
1050
+ .lux-stepper-large-mobile-nav-item-number-container {
1051
+ max-width: 30px;
1052
+ max-height: 30px;
1053
+ margin: 0 10px 0 0;
1054
+ padding: 1px 6px 2px 5px;
1055
+ border-radius: 12px;
1056
+
1057
+ .lux-stepper-large-mobile-nav-item-number {
1058
+ }
1059
+ }
1060
+
1061
+ .lux-stepper-large-mobile-nav-item-label-container {
1062
+ display: flex;
1063
+ flex-direction: row;
1064
+ justify-content: center;
1065
+ align-items: center;
1066
+
1067
+ .lux-stepper-large-mobile-nav-item-label-link {
1068
+ cursor: pointer;
1069
+ }
1070
+
1071
+ .lux-stepper-large-mobile-nav-item-label {
1072
+ }
1073
+
1074
+ .lux-stepper-large-mobile-nav-item-complete {
1075
+ color: $lux-stepper-large-completed-fc;
1076
+ font-size: 18px;
1077
+ }
1078
+ }
1079
+ }
@@ -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,
@@ -4,7 +4,6 @@
4
4
  @import "../base/luxcomponents";
5
5
  @import "../base/luxfocus";
6
6
  @import "../base/luxstyles";
7
- @import "../base/luxicons";
8
7
  @import "../../node_modules/@angular/material/theming";
9
8
  @import "../base/luxtheme";
10
9
  @import "custom";
@@ -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,7 +452,6 @@ 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
  */
@@ -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,14 +1,12 @@
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";
7
7
  $lux-hover-color: #e3ebf5;
8
8
  @import "../base/luxfocus";
9
9
  @import "../base/luxstyles";
10
- @import "../base/luxicons";
11
10
  @import "../../node_modules/@angular/material/theming";
12
11
  @import "../base/luxtheme";
13
12
  @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,
@@ -4,7 +4,6 @@
4
4
  @import "../base/luxcomponents";
5
5
  @import "../base/luxfocus";
6
6
  @import "../base/luxstyles";
7
- @import "../base/luxicons";
8
7
  @import "../../node_modules/@angular/material/theming";
9
8
  @import "../base/luxtheme";
10
9
  @import "custom";
@@ -1,2 +0,0 @@
1
- @import 'https://use.fontawesome.com/releases/v5.13.0/css/all.css';
2
- @import 'https://fonts.googleapis.com/icon?family=Material+Icons';