@ihk-gfi/lux-components-theme 11.13.0 → 14.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 (48) hide show
  1. package/README.md +15 -0
  2. package/package.json +7 -7
  3. package/prebuilt-themes/luxtheme-authentic-min.css +1 -0
  4. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -0
  5. package/prebuilt-themes/{luxtheme-orange.css → luxtheme-authentic.css} +6922 -4856
  6. package/prebuilt-themes/luxtheme-authentic.css.map +1 -0
  7. package/prebuilt-themes/luxtheme-blue-min.css +1 -1
  8. package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
  9. package/prebuilt-themes/luxtheme-blue.css +4624 -3171
  10. package/prebuilt-themes/luxtheme-blue.css.map +1 -1
  11. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  12. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  13. package/prebuilt-themes/luxtheme-green.css +4655 -3196
  14. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  15. package/src/authentic/_custom.scss +873 -0
  16. package/src/authentic/_luxcommon.scss +128 -0
  17. package/src/authentic/_luxpalette.scss +106 -0
  18. package/src/authentic/luxtheme.scss +103 -0
  19. package/src/base/_luxcommon.scss +98 -0
  20. package/src/base/_luxcomponents.scss +521 -167
  21. package/src/base/_luxelevations.scss +49 -0
  22. package/src/base/_luxfocus.scss +220 -102
  23. package/src/base/_luxpalette.scss +9 -0
  24. package/src/base/_luxstyles.scss +162 -112
  25. package/src/base/_luxtheme.scss +10 -6
  26. package/src/base/components/_luxAppHeaderAc.scss +140 -0
  27. package/src/base/components/_luxFormControlWrapper.scss +173 -0
  28. package/src/base/components/_luxFormControlsAuthentic.scss +279 -0
  29. package/src/base/components/_luxLinkPlain.scss +56 -0
  30. package/src/base/components/_luxMasterDetailAc.scss +193 -0
  31. package/src/base/components/_luxTileAc.scss +64 -0
  32. package/src/blue/_custom.scss +101 -8
  33. package/src/blue/_luxcommon.scss +19 -2
  34. package/src/blue/_luxpalette.scss +4 -3
  35. package/src/blue/luxtheme.scss +101 -9
  36. package/src/green/_custom.scss +241 -124
  37. package/src/green/_luxcommon.scss +22 -5
  38. package/src/green/_luxpalette.scss +4 -3
  39. package/src/green/luxtheme.scss +103 -12
  40. package/src/public/global.scss +6 -10
  41. package/CHANGELOG.md +0 -84
  42. package/prebuilt-themes/luxtheme-orange-min.css +0 -1
  43. package/prebuilt-themes/luxtheme-orange-min.css.map +0 -1
  44. package/prebuilt-themes/luxtheme-orange.css.map +0 -1
  45. package/src/orange/_custom.scss +0 -66
  46. package/src/orange/_luxcommon.scss +0 -84
  47. package/src/orange/_luxpalette.scss +0 -106
  48. package/src/orange/luxtheme.scss +0 -10
@@ -0,0 +1,64 @@
1
+ @use "sass:map";
2
+ @use "../luxfocus";
3
+ @use "../luxcommon";
4
+ @use "../luxpalette";
5
+ @use "../../public/global";
6
+ @use "../luxelevations";
7
+
8
+
9
+ lux-tile-ac {
10
+ .mat-card.lux-tile-ac {
11
+ box-sizing: border-box;
12
+ display: flex;
13
+ height: 100%;
14
+ min-width: 150px;
15
+ background-color: luxcommon.$app-data-bg;
16
+ background-image: luxcommon.$app-gradient;
17
+ border: 1px solid rgba(black, 0.12);
18
+ font-size: 16px;
19
+
20
+ .lux-tile-icon {
21
+ color: map.get(luxpalette.$lux-palette-primary, 500);
22
+ lux-icon {
23
+ width: 2em;
24
+ height: 2em;
25
+ i,
26
+ mat-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
27
+ padding: 0 !important;
28
+ font-size: 2em !important;
29
+ }
30
+ mat-icon.lux-lx-icon-no-size {
31
+ width: 2em;
32
+ height: 2em;
33
+ }
34
+ }
35
+ }
36
+
37
+ .lux-tile-header-titel-ac {
38
+ mat-card-title {
39
+ color: luxcommon.$dark-primary-text;
40
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
41
+ font-size: 20px;
42
+ margin-bottom: 8px;
43
+ }
44
+ mat-card-subtitle.mat-card-subtitle:not(:first-child){
45
+ color: luxcommon.$dark-secondary-text;
46
+ font-size: 14px;
47
+ font-weight: normal;
48
+ margin-top: 0px;
49
+ }
50
+ }
51
+
52
+ &:not([class*="mat-elevation-z"]) {
53
+ @include luxelevations.lux-elevation-z2;
54
+ }
55
+
56
+ &[class~=lux-cursor]:focus-visible {
57
+ @include luxfocus.focus-dark-mixin;
58
+ }
59
+ &[class~=lux-cursor]:hover {
60
+ background-color: luxcommon.$lux-hover-color;
61
+ background-image: unset;
62
+ }
63
+ }
64
+ }
@@ -1,17 +1,110 @@
1
+ @use "sass:color";
2
+ @use "luxcommon";
3
+ @use "../base/luxelevations";
4
+
1
5
  // Tabs außerhalb einer LUX-Card (z.B. Master-Detail)
2
6
  lux-tabs {
3
7
  .mat-tab-label:not(.mat-tab-disabled) {
4
8
  &:hover:not(.mat-tab-disabled) {
5
- background-color: $app-data-bg !important;
9
+ background-color: luxcommon.$app-data-bg !important;
6
10
  }
7
11
  }
8
12
  }
9
13
 
10
- /**
11
- * Theming für LUX-Chips
12
- */
13
- .lux-chips-autocomplete-panel {
14
- margin-left: 4px;
15
- margin-right: 4px;
16
- border-radius: 4px;
14
+ // x-Button oben rechts im Dialog-Fenster
15
+ .cdk-overlay-container{
16
+ .lux-dialog .lux-icon-close {
17
+ &:hover {
18
+ background-color: color.adjust(luxcommon.$lux-hover-color, $lightness: -10%) !important;
19
+ }
20
+ }
21
+ }
22
+
23
+ lux-button button.lux-button {
24
+ font-family: luxcommon.$app-font-family;
25
+
26
+ &.lux-icon-button {
27
+
28
+ & lux-icon:not(.lux-button-icon-round) {
29
+ line-height: 0.5;
30
+
31
+ &.lux-lx-icon {
32
+ height: 22px !important;
33
+ width: 22px !important;
34
+ }
35
+
36
+ i.lux-fa-icon {
37
+ font-size: 1.5em !important;
38
+ }
39
+ mat-icon.mat-icon.lux-material-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
40
+ font-size: 2em !important;
41
+ padding: 0px !important;
42
+ height: unset !important;
43
+ width: unset !important;
44
+ }
45
+ mat-icon.mat-icon.lux-lx-icon:not(.lux-fa-icon, .lux-material-icon),
46
+ mat-icon.mat-icon.lux-lx-icon-no-size:not(.lux-fa-icon, .lux-material-icon) {
47
+ line-height: 0.5;
48
+ height: 22px !important;
49
+ width: 22px !important;
50
+ }
51
+ }
52
+
53
+ &.lux-button-rounded {
54
+
55
+ font-size: luxcommon.$button-font-size;
56
+ .mat-button-wrapper {
57
+ height: 100%;
58
+ display: inline-flex;
59
+ align-items: center;
60
+ line-height: 1;
61
+ }
62
+
63
+ & lux-icon.lux-button-icon-round {
64
+ line-height: 1;
65
+ height: 20px;
66
+ width: 20px;
67
+ i,
68
+ mat-icon.mat-icon:not(.lux-lx-icon, .lux-lx-icon-no-size) {
69
+ font-size: 20px !important;
70
+ }
71
+ mat-icon.mat-icon.lux-lx-icon:not(.lux-fa-icon, .lux-material-icon),
72
+ mat-icon.mat-icon.lux-lx-icon-no-size:not(.lux-fa-icon, .lux-material-icon) {
73
+ height: 20px;
74
+ width: 20px;
75
+ }
76
+ }
77
+ }
78
+ }
17
79
  }
80
+
81
+ /*
82
+ * Theming for LUX-Master-Detail-ac
83
+ */
84
+ .lux-master-detail-ac {
85
+
86
+ .lux-master-header-container-ac lux-button.master-light-toggle {
87
+ right: -23px;
88
+ }
89
+
90
+ .lux-detail-header-ac {
91
+ mat-card.mat-card {
92
+ @include luxelevations.lux-elevation-z0;
93
+ }
94
+ }
95
+
96
+ .lux-master-ac-container {
97
+ padding: 2px 0 2px 2px;
98
+ &.lux-master-closed {
99
+ flex: 1 1 30px !important;
100
+ max-width: 30px !important;
101
+ min-width: 30px !important;
102
+ }
103
+ }
104
+
105
+ lux-master-footer-ac {
106
+ margin-bottom: 4px;
107
+ border: none;
108
+ @include luxelevations.lux-elevation-z2
109
+ }
110
+ }
@@ -16,6 +16,11 @@ $app-header-bg: #335c85;
16
16
  $app-content-bg: #f0f0f2;
17
17
  $app-footer-bg: #c6d1dc;
18
18
  $app-data-bg: #ffffff;
19
+ $app-gradient: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
20
+ $app-gradient-reverse: linear-gradient(270deg, #ffffff 0%, #f8fbff 100%);
21
+ $app-border-color: rgba(black, 0.12);
22
+ $app-headline-font: Roboto;
23
+ $app-font-family: Roboto, Helvetica Neue, sans-serif;
19
24
 
20
25
  // Form
21
26
  $form-border-color: rgba(0, 0, 0, 0.42);
@@ -24,12 +29,21 @@ $form-control-height: 24px;
24
29
  $form-control-height-small: 18px;
25
30
  $form-control-font-size: 15px;
26
31
  $form-control-font-size-small: 12px;
32
+ $form-control-label-padding: 2px 0 0 0;
33
+ $form-control-container-padding: 6px 0 0 0;
34
+ $form-control-misc-margin: 4px 0 2px 0;
35
+ $form-control-complete-height: 70px;
36
+ $form-control-buffer: 4px;
37
+ $form-control-margin: 0px;
27
38
 
28
39
  // Button
29
40
  $button-height: 45px;
41
+ $button-font-size: 14px;
30
42
  $button-fav-height: 45px;
31
43
 
32
44
  // Fokus
45
+ $outline-width: 2px;
46
+ $outline-style: dotted;
33
47
  $outline-color-bright: #ffffff;
34
48
  $outline-color-dark: #000000;
35
49
 
@@ -58,11 +72,14 @@ $componentBgColors: (
58
72
  "green": #3e8320,
59
73
  "purple": #9900B8,
60
74
  "blue": #00569a,
61
- "gray": $dark-secondary-text,
75
+ "gray": #595959,
62
76
  "orange": #c75000,
63
77
  "brown": #783f04,
64
78
  "black": $dark-primary-text,
65
- "white": #ffffff
79
+ "white": #ffffff,
80
+ "yellow": rgba(244, 203, 37, 1),
81
+ "pink": rgba(237, 95, 122, 1),
82
+ "lightblue": rgba(63, 155, 218, 1)
66
83
  );
67
84
 
68
85
  // Vordergrundfarben (z.B. Badge)
@@ -1,3 +1,4 @@
1
+ @use "sass:map";
1
2
  /*
2
3
  Dieses Partial-SCSS dient der Verwaltung der Farb-Paletten für die LUX-Components.
3
4
  */
@@ -100,6 +101,6 @@ $lux-palette_warn: (
100
101
  )
101
102
  );
102
103
 
103
- $lux-primary-color: map-get($lux-palette_primary, 500);
104
- $lux-accent-color: map-get($lux-palette_accent, 500);
105
- $lux-warn-color: map-get($lux-palette_warn, 500);
104
+ $lux-primary-color: map.get($lux-palette_primary, 500);
105
+ $lux-accent-color: map.get($lux-palette_accent, 500);
106
+ $lux-warn-color: map.get($lux-palette_warn, 500);
@@ -1,10 +1,102 @@
1
- @import "luxpalette";
2
- @import "../public/global";
3
- @import "luxcommon";
4
- @import "../base/luxcomponents";
5
- @import "../base/luxfocus";
6
- @import "../base/luxstyles";
7
- @import "../../node_modules/@angular/material/theming";
8
- @import "../base/luxtheme";
9
- @import "custom";
1
+ @use "../public/global";
10
2
 
3
+ @use "luxpalette" as themePalette;
4
+ @use "../base/luxpalette" with (
5
+ // Farbpaletten
6
+ $lux-palette_primary: themePalette.$lux-palette_primary,
7
+ $lux-palette_accent: themePalette.$lux-palette_accent,
8
+ $lux-palette_warn: themePalette.$lux-palette_warn,
9
+
10
+ // Hauptfarben
11
+ $lux-primary-color: themePalette.$lux-primary-color,
12
+ $lux-accent-color:themePalette.$lux-accent-color,
13
+ $lux-warn-color: themePalette.$lux-warn-color
14
+ );
15
+
16
+ @use "luxcommon" as themeCommon;
17
+ @use "../base/luxcommon" with (
18
+ // Allgemein
19
+ $dark-primary-text: themeCommon.$dark-primary-text,
20
+ $dark-secondary-text: themeCommon.$dark-secondary-text,
21
+ $dark-disabled-text: themeCommon.$dark-disabled-text,
22
+ $dark-dividers: themeCommon.$dark-dividers,
23
+ $dark-focused: themeCommon.$dark-focused,
24
+
25
+ $light-primary-text: themeCommon.$light-primary-text,
26
+ $light-secondary-text: themeCommon.$light-secondary-text,
27
+ $light-disabled-text: themeCommon.$light-disabled-text,
28
+ $light-dividers: themeCommon.$light-dividers,
29
+ $light-focused: themeCommon.$light-focused,
30
+
31
+ // App
32
+ $app-header-bg: themeCommon.$app-header-bg,
33
+ $app-content-bg: themeCommon.$app-content-bg,
34
+ $app-footer-bg: themeCommon.$app-footer-bg,
35
+ $app-data-bg: themeCommon.$app-data-bg,
36
+ $app-gradient: themeCommon.$app-gradient,
37
+ $app-gradient-reverse: themeCommon.$app-gradient-reverse,
38
+ $app-border-color: themeCommon.$app-border-color,
39
+ $app-headline-font: themeCommon.$app-headline-font,
40
+ $app-font-family: themeCommon.$app-font-family,
41
+
42
+ // Form
43
+ $form-border-color: themeCommon.$form-border-color,
44
+ $form-control-default-height-not-scalable: themeCommon.$form-control-default-height-not-scalable,
45
+ $form-control-height: themeCommon.$form-control-height,
46
+ $form-control-height-small: themeCommon.$form-control-height-small,
47
+ $form-control-font-size: themeCommon.$form-control-font-size,
48
+ $form-control-font-size-small: themeCommon.$form-control-font-size-small,
49
+ $form-control-label-padding: themeCommon.$form-control-label-padding,
50
+ $form-control-container-padding: themeCommon.$form-control-container-padding,
51
+ $form-control-misc-margin: themeCommon.$form-control-misc-margin,
52
+ $form-control-complete-height: themeCommon.$form-control-complete-height,
53
+ $form-control-buffer: themeCommon.$form-control-buffer,
54
+ $form-control-margin: themeCommon.$form-control-margin,
55
+
56
+ // Button
57
+ $button-height: themeCommon.$button-height,
58
+ $button-fav-height: themeCommon.$button-fav-height,
59
+ $button-font-size: themeCommon.$button-font-size,
60
+
61
+ // Fokus
62
+ $outline-width: themeCommon.$outline-width,
63
+ $outline-style: themeCommon.$outline-style,
64
+ $outline-color-bright: themeCommon.$outline-color-bright,
65
+ $outline-color-dark: themeCommon.$outline-color-dark,
66
+
67
+ // Hover
68
+ $lux-hover-color: themeCommon.$lux-hover-color,
69
+ $lux-hover-color-for-dark-background: themeCommon.$lux-hover-color-for-dark-background,
70
+
71
+ // Selektion
72
+ $lux-selected-border-color: themeCommon.$lux-selected-border-color,
73
+ $lux-selected-bg-color: themeCommon.$lux-selected-bg-color,
74
+
75
+ // Stepper (large)
76
+ $lux-stepper-large-backdrop-bg: themeCommon.$lux-stepper-large-backdrop-bg,
77
+ $lux-stepper-large-completed-fc: themeCommon.$lux-stepper-large-completed-fc,
78
+
79
+ $lux-stepper-large-nav-item-active-fc: themeCommon.$lux-stepper-large-nav-item-active-fc,
80
+ $lux-stepper-large-nav-item-active-bg: themeCommon.$lux-stepper-large-nav-item-active-bg,
81
+ $lux-stepper-large-nav-item-disabled-fg: themeCommon.$lux-stepper-large-nav-item-disabled-fg,
82
+ $lux-stepper-large-nav-item-disabled-bg: themeCommon.$lux-stepper-large-nav-item-disabled-bg,
83
+ $lux-stepper-large-nav-item-completed-fg: themeCommon.$lux-stepper-large-nav-item-completed-fg,
84
+ $lux-stepper-large-nav-item-completed-bg: themeCommon.$lux-stepper-large-nav-item-completed-bg,
85
+
86
+ // Hintergrundfarben (z.B. Badge oder Progress)
87
+ $componentBgColors: themeCommon.$componentBgColors,
88
+
89
+ // Vordergrundfarben (z.B. Badge)
90
+ $componentFontColors: themeCommon.$componentFontColors,
91
+
92
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
93
+ $colorsForDarkBg: themeCommon.$colorsForDarkBg
94
+ );
95
+
96
+ @use "../base/luxelevations";
97
+ @use "../base/luxcomponents";
98
+ @use "../base/luxfocus";
99
+ @use "../base/luxstyles";
100
+ @use "../base/luxtheme";
101
+
102
+ @use "custom";