@ihk-gfi/lux-components-theme 15.0.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.
@@ -4,10 +4,46 @@
4
4
  @use "../luxpalette";
5
5
  @use "../luxelevations";
6
6
 
7
+ // Die lux-list besitzt eine unsichtbare Border für die Anzeige des Focus-Indicators
8
+ // damit dieser vollständig angzeigt werden kann, muss die Master-View ein passendes Padding anbieten
9
+ // damit der Master-Header/Master-Footer mit der Liste ausgerichtet werden, müssen sie ebenfalls mit dem
10
+ // passenden Padding/Margin versehen werden.
11
+ // Das Margin berechnet sich aus der Breite der Outline + 1px Abstand zu den Listitems.
12
+ $listmargin: calc(luxcommon.$outline-width + 1px);
13
+
7
14
  .lux-master-detail-ac {
15
+ // Hauptcontainer für die Komponente
16
+ display: flex;
17
+ flex-direction: row;
18
+ gap: 30px;
19
+ width: 100%;
8
20
  max-width: 100%;
21
+ height: 100%;
22
+ max-height: 100%;
23
+ overflow-y: hidden;
9
24
  z-index: 10;
25
+
26
+ &.lux-master-detail-ac-mobile {
27
+ gap: 0px;
28
+ }
29
+
30
+ // Hauptcontainer für den gesamten Master, steuert die Breite für die unterschiedlichen Bildschirmauflösungen
10
31
  .lux-master-ac-container {
32
+ display: flex;
33
+ flex-direction: column;
34
+ gap: 10px;
35
+ height: 100%;
36
+ max-height: 100%;
37
+ width: 30%;
38
+ max-width: 500px;
39
+ flex-shrink: 0;
40
+ box-sizing: border-box;
41
+
42
+ &.lux-master-ac-container-medium {
43
+ // die Breite berechnet sich aus 50% minus die Hälft der gap zwischen Master- und Detail-Container
44
+ min-width: calc(50% - 15px);
45
+ max-width: calc(50% - 15px);
46
+ }
11
47
  &.lux-master-closed {
12
48
  border: 1px solid luxcommon.$app-border-color;
13
49
  border-left-style: none;
@@ -19,14 +55,20 @@
19
55
  background-color: #fff;
20
56
  }
21
57
  &.lux-master-ac-container-mobile {
58
+ width: 100%;
59
+ max-width: unset;
22
60
  border: none;
23
61
  background-color: unset;
24
62
  }
25
63
  }
26
64
 
65
+ //Container für den Master-Header
27
66
  .lux-master-header-container-ac {
28
67
  z-index: 100;
29
68
  position: relative;
69
+ display: flex;
70
+ align-items: start;
71
+ justify-content: center;
30
72
 
31
73
  lux-button.master-ac-toggle {
32
74
  position: absolute;
@@ -43,10 +85,8 @@
43
85
 
44
86
  .lux-button-icon-round.lux-lx-icon.lux-no-size {
45
87
  // optische Anpassung für das "Chevron"-Icon, damit es zentriert im Button sitzt
46
- // Anpassung erforderlich, falls das Icon ausgetauscht wird
47
- padding-bottom: 2px;
48
- padding-right: 1px;
49
- padding-left: 1px;
88
+ // // Anpassung erforderlich, falls das Icon ausgetauscht wird
89
+ padding-bottom: 4px;
50
90
  }
51
91
  }
52
92
  button.lux-button.lux-button-rounded {
@@ -69,6 +109,10 @@
69
109
  mat-card-subtitle.mat-card-subtitle {
70
110
  font-size: 14px;
71
111
  }
112
+ .lux-master-header-content-container-ac {
113
+ flex: 1 1 100%;
114
+ max-width: 100%;
115
+ }
72
116
  }
73
117
 
74
118
  lux-filter-form .lux-filter-card,
@@ -99,15 +143,20 @@
99
143
  }
100
144
 
101
145
  .lux-master-view-ac {
102
- margin: 10px 0;
146
+ height: 100%;
147
+ overflow-y: hidden;
103
148
  z-index: 100;
104
149
 
105
150
  lux-list {
106
- border: none !important;
151
+ height: 100%;
152
+ overflow-y: auto;
107
153
  }
108
154
 
109
155
  lux-list-item {
110
- margin-bottom: 4px;
156
+ /**
157
+ * Die List-Items basieren auf einer Card, für die Masterliste werden hier die Schriftgrößen und der White-Space verkleinert
158
+ */
159
+
111
160
  mat-card.mat-card {
112
161
  margin: 0px;
113
162
 
@@ -127,16 +176,25 @@
127
176
  lux-list-item-content {
128
177
  display: block;
129
178
  }
179
+ .lux-list-empty-container {
180
+ margin: 20px auto;
181
+ }
182
+ .lux-list-empty-icon,
183
+ .lux-list-empty-icon-text {
184
+ color: rgb(158.1, 158.1, 158.1);
185
+ opacity: 1;
186
+ margin-bottom: 8px;
187
+ }
130
188
  }
131
189
 
132
190
  lux-master-footer-ac {
133
- padding: 10px 16px;
191
+ padding: 10px 12px 10px 16px;
134
192
  z-index: 100;
135
193
  border: 1px solid luxcommon.$app-border-color;
136
194
  border-radius: 4px;
137
195
  background-color: #fff;
138
196
  .lux-menu-extended {
139
- padding: 0;
197
+ padding: 4px;
140
198
  }
141
199
  }
142
200
 
@@ -145,6 +203,15 @@
145
203
  border: 1px solid luxcommon.$app-border-color;
146
204
  border-radius: 4px;
147
205
  background-color: #fff;
206
+ display: flex;
207
+ flex-direction: column;
208
+ flex-grow: 1;
209
+ gap: 20px;
210
+ max-height: 100%;
211
+
212
+ &.lux-empty-detail {
213
+ width: 100%;
214
+ }
148
215
 
149
216
  .lux-detail-header-ac {
150
217
  mat-card.mat-card.lux-card {
@@ -152,22 +219,10 @@
152
219
  }
153
220
  }
154
221
 
155
- .lux-detail-empty {
156
- position: absolute;
157
- top: 0;
158
- left: 0;
159
- right: 0;
160
- bottom: 0;
161
-
162
- &.lux-mobile {
163
- top: 60px;
164
- }
165
- }
166
-
167
222
  .lux-detail-empty-icon,
168
223
  .lux-detail-empty-icon-text {
169
- opacity: 0.6;
170
- padding: 0 8px;
224
+ color: rgb(158.1, 158.1, 158.1);
225
+ opacity: 1;
171
226
  }
172
227
  &.lux-detail-ac-container-mobile {
173
228
  border: none;
@@ -178,10 +233,13 @@
178
233
  }
179
234
  }
180
235
  .back-to-master-button-container {
236
+ display: flex;
237
+ align-items: center;
238
+ gap: 10px;
181
239
  padding: 4px;
182
240
 
183
241
  &:hover {
184
- background-color: luxcommon.$lux-hover-color;
242
+ color: luxcommon.$lux-hover-color;
185
243
  cursor: pointer;
186
244
  }
187
245
 
@@ -199,7 +257,7 @@
199
257
  }
200
258
  .back-to-master-label {
201
259
  font-size: 16px;
202
- color: map.get(luxpalette.$lux-palette-primary, 300);
260
+ color: map.get(luxpalette.$lux-palette-primary, 500);
203
261
  }
204
262
  }
205
263
  .lux-detail-view-container {
@@ -543,16 +543,22 @@ lux-filter-form lux-accordion {
543
543
  }
544
544
 
545
545
  .lux-master-ac-container {
546
- padding: 2px 0 2px 2px;
546
+ padding: 3px 0 3px 3px;
547
547
  &.lux-master-closed {
548
548
  flex: 1 1 30px !important;
549
549
  max-width: 30px !important;
550
550
  min-width: 30px !important;
551
551
  }
552
+ lux-list {
553
+ padding: 0 3px;
554
+ }
555
+ lux-master-header-ac {
556
+ margin: 3px;
557
+ }
552
558
  }
553
559
 
554
560
  lux-master-footer-ac {
555
- margin-bottom: 4px;
561
+ margin: 0 3px 4px 3px;
556
562
  border: none;
557
563
  @include luxelevations.lux-elevation-z2;
558
564
  }
@@ -1,9 +1,9 @@
1
1
  // Media Queries
2
- $mat-xsmall: 'max-width: 599px' !default;
3
- $mat-small: 'max-width: 959px' !default;
4
- $mat-medium: 'max-width: 1279px' !default;
5
- $mat-large: 'max-width: 1919px' !default;
6
- $mat-xlarge: 'max-width: 5000px' !default;
2
+ $mat-xsmall: "max-width: 599px" !default;
3
+ $mat-small: "max-width: 959px" !default;
4
+ $mat-medium: "max-width: 1279px" !default;
5
+ $mat-large: "max-width: 1919px" !default;
6
+ $mat-xlarge: "max-width: 5000px" !default;
7
7
 
8
8
  // Font
9
- $app-font-family: Roboto, Helvetica Neue, sans-serif !default;
9
+ $app-font-family: Source Sans Pro, Helvetica Neue, sans-serif !default;