@ihk-gfi/lux-components-theme 18.2.0 → 18.4.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.
@@ -102,6 +102,10 @@ lux-accordion {
102
102
  mask-position: center;
103
103
  mask-size: cover;
104
104
  }
105
+
106
+ &:hover::after {
107
+ background-color: map.get(luxpalette.$lux-palette-primary, 300);
108
+ }
105
109
  }
106
110
 
107
111
  mat-expansion-panel-header.mat-expansion-panel-header,
@@ -117,12 +121,72 @@ lux-accordion {
117
121
  font-weight: 500;
118
122
  }
119
123
 
120
- &[aria-disabled="false"] {
121
- background-color: map.get(luxpalette.$lux-palette-primary, 50);
124
+ &[aria-disabled="false"] .mat-expansion-panel-header-description {
122
125
  color: luxcommon.$dark-primary-text;
123
- &:hover {
124
- background-color: map.get(luxpalette.$lux-palette-primary, 50) !important;
125
- }
126
+ }
127
+
128
+ &[aria-disabled="true"] {
129
+ background-color: white !important;
130
+ }
131
+ }
132
+
133
+ .mat-accordion.lux-primary {
134
+ mat-expansion-panel-header.mat-expansion-panel-header,
135
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded {
136
+ background-color: map.get(luxpalette.$lux-palette-primary, 100);
137
+ @include mat.expansion-overrides(
138
+ (
139
+ header-hover-state-layer-color: map.get(luxpalette.$lux-palette-primary, 100)
140
+ )
141
+ );
142
+ }
143
+ }
144
+
145
+ .mat-accordion.lux-accent {
146
+ mat-expansion-panel-header.mat-expansion-panel-header,
147
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded {
148
+ background-color: map.get(luxpalette.$lux-palette-accent, 100);
149
+ @include mat.expansion-overrides(
150
+ (
151
+ header-hover-state-layer-color: map.get(luxpalette.$lux-palette-accent, 100)
152
+ )
153
+ );
154
+ }
155
+ }
156
+
157
+ .mat-accordion.lux-warn {
158
+ mat-expansion-panel-header.mat-expansion-panel-header,
159
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded {
160
+ background-color: map.get(luxpalette.$lux-palette-warn, 50);
161
+ @include mat.expansion-overrides(
162
+ (
163
+ header-hover-state-layer-color: map.get(luxpalette.$lux-palette-warn, 50)
164
+ )
165
+ );
166
+ }
167
+ }
168
+
169
+ .mat-accordion.lux-neutral {
170
+ mat-expansion-panel-header.mat-expansion-panel-header,
171
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded {
172
+ background-color: white;
173
+ @include mat.expansion-overrides(
174
+ (
175
+ header-hover-state-layer-color: white
176
+ )
177
+ );
178
+ }
179
+ }
180
+
181
+ @include mat.expansion-overrides(
182
+ (
183
+ header-disabled-state-text-color: luxcommon.$dark-disabled-text
184
+ )
185
+ );
186
+
187
+ lux-panel-content lux-card mat-card {
188
+ .lux-card-title {
189
+ line-height: normal;
126
190
  }
127
191
  }
128
192
  }
@@ -86,6 +86,10 @@ $lux-stepper-large-nav-item-completed-bg: #ffffff;
86
86
  // Overlay
87
87
  $lux-overlay-backdrop-color: rgba(0, 0, 0, 0.12);
88
88
 
89
+ // Options in Panels (z.B. Select, AutoComplete und Menu)
90
+ $lux-panel-option-min-height: 24px;
91
+ $lux-panel-option-padding: 12px 0;
92
+
89
93
  // Hintergrundfarben (z.B. Badge oder Progress)
90
94
  $componentBgColors: (
91
95
  "red": luxpalette.$lux-warn-color,
@@ -79,6 +79,10 @@
79
79
  // Overlay
80
80
  $lux-overlay-backdrop-color: themeCommon.$lux-overlay-backdrop-color,
81
81
 
82
+ // Options in Panels (z.B. Select, AutoComplete und Menu)
83
+ $lux-panel-option-min-height: themeCommon.$lux-panel-option-min-height,
84
+ $lux-panel-option-padding: themeCommon.$lux-panel-option-padding,
85
+
82
86
  // Hintergrundfarben (z.B. Badge oder Progress)
83
87
  $componentBgColors: themeCommon.$componentBgColors,
84
88
 
@@ -3,3 +3,6 @@ $checkmark: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width=
3
3
 
4
4
  //luxIconName = lux-interface-arrows-button-down
5
5
  $arrow-button-down: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23036' stroke-linecap='round' stroke-linejoin='round' d='M0.5,3.85 L6.65,10 C6.74073333,10.0966772 6.86741409,10.1515186 7,10.1515186 C7.13258591,10.1515186 7.25926667,10.0966772 7.35,10 L13.5,3.85'/%3E%3C/svg%3E";
6
+
7
+ // luxIconName = lux-interface-alert-warning-triangle
8
+ $warn-triangle: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cg fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' x2='7' y1='5' y2='8' stroke='currentColor'/%3E%3Ccircle cx='7' cy='11' r='1' stroke='currentColor'/%3E%3Cpath stroke='currentColor' d='M7.89,1.05 C7.71890403,0.716033783 7.37524294,0.505960525 7,0.505960525 C6.62475706,0.505960525 6.28109597,0.716033783 6.11,1.05 L0.61,12.05 C0.454030755,12.3595182 0.46945474,12.7277279 0.650763073,13.0231178 C0.832071406,13.3185078 1.15340679,13.4989511 1.5,13.5 L12.5,13.5 C12.8465932,13.4989511 13.1679286,13.3185078 13.3492369,13.0231178 C13.5305453,12.7277279 13.5459692,12.3595182 13.39,12.05 L7.89,1.05 Z'/%3E%3C/g%3E%3C/svg%3E";
@@ -61,6 +61,10 @@ $lux-stepper-large-nav-item-completed-bg: mustOverriden !default;
61
61
  // Overlay
62
62
  $lux-overlay-backdrop-color: mustOverriden !default;
63
63
 
64
+ // Options in Panels (z.B. Select, AutoComplete und Menu)
65
+ $lux-panel-option-min-height: mustOverriden !default;
66
+ $lux-panel-option-padding: mustOverriden !default;
67
+
64
68
  // Hintergrundfarben (z.B. Badge oder Progress)
65
69
  $componentBgColors: (
66
70
  "red": mustOverriden,
@@ -563,6 +563,24 @@ lux-stepper-large {
563
563
  color: luxcommon.$lux-stepper-large-nav-item-completed-fg;
564
564
  background-color: luxcommon.$lux-stepper-large-nav-item-completed-bg;
565
565
  }
566
+
567
+ a::after {
568
+ content: "";
569
+ position: absolute;
570
+ display: inline-block;
571
+ width: 16px;
572
+ height: 16px;
573
+ margin: 3px 10px 0px;
574
+ background-color: luxcommon.$lux-stepper-large-nav-item-active-bg;
575
+ -webkit-mask: url(luxicons.$warn-triangle);
576
+ -webkit-mask-repeat: no-repeat;
577
+ -webkit-mask-position: center;
578
+ -webkit-mask-size: cover;
579
+ mask: url(luxicons.$warn-triangle);
580
+ mask-repeat: no-repeat;
581
+ mask-position: center;
582
+ mask-size: cover;
583
+ }
566
584
  }
567
585
  }
568
586
 
@@ -326,11 +326,6 @@ lux-panel {
326
326
  //background-color: white !important;
327
327
  @include focus-dark-mixin-inline;
328
328
  }
329
-
330
- &:hover {
331
- color: luxcommon.$lux-hover-color !important;
332
- background-color: #fff !important;
333
- }
334
329
  }
335
330
  }
336
331
 
@@ -18,6 +18,13 @@ div.mat-mdc-autocomplete-panel.lux-autocomplete-panel-ac {
18
18
  display: none;
19
19
  }
20
20
  }
21
+
22
+ .mat-mdc-option {
23
+ .mdc-list-item__primary-text {
24
+ min-height: #{luxcommon.$lux-panel-option-min-height};
25
+ padding: #{luxcommon.$lux-panel-option-padding};
26
+ }
27
+ }
21
28
  }
22
29
 
23
30
  /*
@@ -27,15 +34,31 @@ div.mat-mdc-autocomplete-panel.lux-autocomplete-panel-ac {
27
34
  --mat-full-pseudo-checkbox-selected-checkmark-color: #ffffff;
28
35
  }
29
36
 
30
- div.mat-mdc-select-panel.lux-select-panel-ac {
31
- padding-top: 0;
32
- padding-bottom: 0;
37
+ div.mat-mdc-select-panel {
38
+ &.lux-select-panel-ac {
39
+ padding-top: 0;
40
+ padding-bottom: 0;
33
41
 
34
- .mat-mdc-option {
35
- --mat-option-selected-state-label-text-color: #ffffff;
36
- --mat-option-selected-state-layer-color: #{luxcommon.$lux-hover-color};
37
- --mat-option-focus-state-layer-color: #{luxcommon.$lux-hover-color};
38
- --mat-option-hover-state-layer-color: #{luxcommon.$lux-hover-color};
42
+ .mat-mdc-option {
43
+ --mat-option-selected-state-label-text-color: #ffffff;
44
+ --mat-option-selected-state-layer-color: #{luxcommon.$lux-hover-color};
45
+ --mat-option-focus-state-layer-color: #{luxcommon.$lux-hover-color};
46
+ --mat-option-hover-state-layer-color: #{luxcommon.$lux-hover-color};
47
+
48
+ .mdc-list-item__primary-text {
49
+ min-height: #{luxcommon.$lux-panel-option-min-height};
50
+ padding: #{luxcommon.$lux-panel-option-padding};
51
+ }
52
+ }
53
+ }
54
+
55
+ &.lux-select-panel-ac-multiple {
56
+ .mat-mdc-option {
57
+ .mdc-list-item__primary-text {
58
+ min-height: #{luxcommon.$lux-panel-option-min-height};
59
+ padding: #{luxcommon.$lux-panel-option-padding};
60
+ }
61
+ }
39
62
  }
40
63
  }
41
64
 
@@ -5,6 +5,11 @@
5
5
 
6
6
  .mat-mdc-menu-panel {
7
7
  --mat-menu-container-shape: #{luxcommon.$app-border-radius};
8
+
9
+ .mat-mdc-menu-item-text {
10
+ min-height: #{luxcommon.$lux-panel-option-min-height};
11
+ padding: #{luxcommon.$lux-panel-option-padding};
12
+ }
8
13
  }
9
14
 
10
15
  lux-menu {
@@ -31,13 +31,14 @@ lux-message-box {
31
31
  // da im Theme authentic der Schatten entfernt wurde, muss eine Weiße Messagebox eine Border erhalten.
32
32
  border: 1px solid luxpalette.$lux-primary-color;
33
33
  box-sizing: border-box;
34
- & button:not([disabled]).lux-button-rounded.mat-accent.lux-fab-rounded-default:not([class*="mat-elevation-z"]) {
34
+
35
+ & lux-button button.lux-button.mat-mdc-fab.lux-fab-rounded-default:not([class*="mat-elevation-z"]) {
35
36
  color: luxpalette.$lux-primary-color;
36
37
  }
37
38
  }
38
39
 
39
40
  & lux-button {
40
- button:not([disabled]).lux-button-rounded.mat-accent.lux-fab-rounded-default:not([class*="mat-elevation-z"]) {
41
+ button.lux-button.mat-mdc-fab.lux-fab-rounded-default:not([class*="mat-elevation-z"]) {
41
42
  color: #fff;
42
43
  background-color: transparent;
43
44
  @include luxelevations.lux-elevation-z0();
@@ -450,17 +450,19 @@ mat-card lux-tabs {
450
450
  justify-content: space-between;
451
451
  padding: 10px 10px 18px 10px;
452
452
 
453
- button,
454
- .mat-icon-button {
455
- font-size: 1.125rem;
456
- color: map.get(luxpalette.$lux-palette_primary, 500);
453
+ lux-button {
454
+ &.lux-datepicker-prev-month button.lux-button.mat-mdc-button {
455
+ padding: 0;
456
+ min-width: 24px;
457
+ }
457
458
 
458
- &:focus {
459
- @include luxfocus.focus-dark-mixin;
459
+ &.lux-datepicker-year button.lux-button.mat-mdc-button {
460
+ font-size: 1.125rem;
460
461
  }
461
462
 
462
- &:hover {
463
- @include luxfocus.lux-hovered-mixin;
463
+ &.lux-datepicker-next-month button.lux-button.mat-mdc-button {
464
+ padding: 0;
465
+ min-width: 24px;
464
466
  }
465
467
  }
466
468
  }
@@ -62,6 +62,10 @@ $lux-stepper-large-nav-item-completed-bg: #2e8533;
62
62
  // Overlay
63
63
  $lux-overlay-backdrop-color: rgba(0, 0, 0, 0.12);
64
64
 
65
+ // Options in Panels (z.B. Select, AutoComplete und Menu)
66
+ $lux-panel-option-min-height: 24px;
67
+ $lux-panel-option-padding: 12px 0;
68
+
65
69
  // Hintergrundfarben (z.B. Badge oder Progress)
66
70
  $componentBgColors: (
67
71
  "red": #db272e,
@@ -85,6 +85,10 @@
85
85
  // Overlay
86
86
  $lux-overlay-backdrop-color: themeCommon.$lux-overlay-backdrop-color,
87
87
 
88
+ // Options in Panels (z.B. Select, AutoComplete und Menu)
89
+ $lux-panel-option-min-height: themeCommon.$lux-panel-option-min-height,
90
+ $lux-panel-option-padding: themeCommon.$lux-panel-option-padding,
91
+
88
92
  // Hintergrundfarben (z.B. Badge oder Progress)
89
93
  $componentBgColors: themeCommon.$componentBgColors,
90
94