@ihk-gfi/lux-components-theme 14.5.0 → 14.7.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.
@@ -16,7 +16,6 @@ h4,
16
16
  h5,
17
17
  h6 {
18
18
  color: rgba(black, 0.87);
19
- font-weight: normal;
20
19
  font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
21
20
  }
22
21
 
@@ -37,16 +36,14 @@ label {
37
36
  border: 2px solid luxpalette.$lux-primary-color;
38
37
  box-shadow: none !important;
39
38
 
40
- .lux-menu-item {
41
- color: luxpalette.$lux-primary-color;
42
- }
43
-
44
- .mat-menu-item .mat-icon-no-color {
45
- color: luxpalette.$lux-primary-color;
46
- }
39
+ .mat-menu-item:not([disabled="true"]) {
40
+ &.lux-menu-item {
41
+ color: luxpalette.$lux-primary-color;
42
+ }
47
43
 
48
- .mat-menu-content:not(:empty) {
49
- padding: 0;
44
+ .mat-icon-no-color {
45
+ color: luxpalette.$lux-primary-color;
46
+ }
50
47
  }
51
48
 
52
49
  .lux-menu-item:not([disabled="true"]):hover {
@@ -6,6 +6,7 @@
6
6
  @use "components/luxFormControlsAuthentic.scss";
7
7
  @use "components/luxMasterDetailAc.scss";
8
8
  @use "components/luxCheckboxContainerAc.scss";
9
+ @use "components/luxTextbox.scss";
9
10
  @use "luxcommon";
10
11
  @use "luxpalette";
11
12
  @use "../public/global";
@@ -207,6 +208,20 @@ lux-button button.lux-button {
207
208
  width: luxcommon.$button-font-size;
208
209
  }
209
210
  }
211
+
212
+ .lux-button-badge {
213
+ color: #fff;
214
+ border-radius: 4px;
215
+ padding: 1px 4px;
216
+ font-size: 11px;
217
+ line-height: normal;
218
+ max-width: 38px;
219
+ display: inline-block;
220
+ overflow: hidden;
221
+ text-overflow: ellipsis;
222
+ white-space: nowrap;
223
+ box-sizing: border-box;
224
+ }
210
225
  }
211
226
 
212
227
  /**
@@ -937,6 +952,49 @@ lux-master-header {
937
952
  }
938
953
  }
939
954
 
955
+ /* Menu-Overlay-Panel anpassen */
956
+ .lux-menu-panel {
957
+ .lux-menu-item {
958
+ font-size: 16px;
959
+ display: block;
960
+ &.with-badge {
961
+ display: inline-flex;
962
+ align-items: center;
963
+ justify-content: flex-start;
964
+ flex-wrap: nowrap;
965
+ width: 100%;
966
+ max-width: 100%;
967
+ }
968
+ .lux-button-label.with-badge {
969
+ display: inline-block;
970
+ overflow: hidden;
971
+ text-overflow: ellipsis;
972
+ white-space: nowrap;
973
+ }
974
+ .lux-button-badge {
975
+ color: #fff;
976
+ border-radius: 4px;
977
+ padding: 1px 4px;
978
+ font-size: 11px;
979
+ line-height: normal;
980
+ min-width: 15px;
981
+ max-width: 38px;
982
+ display: inline-block;
983
+ overflow: hidden;
984
+ text-overflow: ellipsis;
985
+ white-space: nowrap;
986
+ box-sizing: border-box;
987
+ letter-spacing: 1.25px;
988
+ }
989
+ }
990
+ .lux-menu-item-icon {
991
+ vertical-align: middle;
992
+ mat-icon {
993
+ margin: 0;
994
+ }
995
+ }
996
+ }
997
+
940
998
  /*
941
999
  * Theming for LUX-Message-Box
942
1000
  */
@@ -31,7 +31,7 @@ lux-app-header-ac {
31
31
  align-items: center;
32
32
 
33
33
  @include luxelevations.lux-elevation-z0;
34
-
34
+
35
35
  &.mat-fab .mat-button-wrapper {
36
36
  line-height: 20px;
37
37
  max-height: 20px;
@@ -45,8 +45,8 @@ lux-app-header-ac {
45
45
  }
46
46
 
47
47
  &:hover:not([disabled]).mat-fab:hover.mat-primary {
48
- lux-icon {
49
- color: #ffffff !important;
48
+ lux-icon {
49
+ color: #ffffff !important;
50
50
  }
51
51
  }
52
52
  &:focus-visible:not([disabled]).mat-fab.mat-primary.cdk-focused.cdk-keyboard-focused {
@@ -55,7 +55,7 @@ lux-app-header-ac {
55
55
  color: map.get(luxpalette.$lux-palette_primary, 700) !important;
56
56
  }
57
57
  @include luxfocus.focus-dark-mixin;
58
- }
58
+ }
59
59
  }
60
60
 
61
61
  &.menu-opened {
@@ -74,16 +74,16 @@ lux-app-header-ac {
74
74
  color: #ffffff !important;
75
75
  }
76
76
  &:focus-visible:not(:hover) {
77
- color: map.get(luxpalette.$lux-palette-primary, 700)!important;
77
+ color: map.get(luxpalette.$lux-palette-primary, 700) !important;
78
78
  background-color: transparent !important;
79
79
  }
80
80
  &:active {
81
- color: map.get(luxpalette.$lux-palette-primary, 700)!important;
81
+ color: map.get(luxpalette.$lux-palette-primary, 700) !important;
82
82
  }
83
83
  }
84
84
  }
85
85
  }
86
-
86
+
87
87
  .lux-app-header-top-bar {
88
88
  padding: 10px 24px;
89
89
  min-height: 64px;
@@ -94,7 +94,7 @@ lux-app-header-ac {
94
94
  &.lux-mobile {
95
95
  padding: 4px;
96
96
  }
97
-
97
+
98
98
  lux-menu {
99
99
  width: unset;
100
100
  .lux-menu-extended {
@@ -120,7 +120,7 @@ lux-app-header-ac {
120
120
  }
121
121
 
122
122
  .lux-app-title {
123
- color:luxcommon.$dark-primary-text;
123
+ color: luxcommon.$dark-primary-text;
124
124
  font-size: 20px;
125
125
  font-weight: 400;
126
126
  font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
@@ -138,7 +138,7 @@ lux-app-header-ac {
138
138
  letter-spacing: 0px;
139
139
  }
140
140
 
141
- &.nav-item-selected button.lux-button .lux-button-label {
141
+ &.nav-item-selected button.lux-button .lux-button-label {
142
142
  font-weight: 600;
143
143
  }
144
144
  }
@@ -155,27 +155,31 @@ lux-app-header-ac {
155
155
 
156
156
  &.lux-selected-item-ac {
157
157
  font-weight: 600;
158
- & .lux-button-label::after {
159
- content: '';
160
- position: absolute;
161
- width: 20px;
162
- height: 20px;
163
- right: 0;
164
- top: 14px;
165
- margin: 0 10px 0 4px;
166
- background-color: luxpalette.$lux-primary-color;
167
- -webkit-mask: url(luxicons.$checkmark);
168
- -webkit-mask-repeat: no-repeat;
169
- -webkit-mask-position: center;
170
- -webkit-mask-size: cover;
171
- mask: url(luxicons.$checkmark);
172
- mask-repeat: no-repeat;
173
- mask-position: center;
174
- mask-size: cover;
158
+ color: luxpalette.$lux-primary-color;
159
+ & .lux-button-label {
160
+ padding-right: 24px;
161
+ &::after {
162
+ content: "";
163
+ position: absolute;
164
+ width: 20px;
165
+ height: 20px;
166
+ right: 0;
167
+ top: 14px;
168
+ margin: 0 10px 0 4px;
169
+ background-color: luxpalette.$lux-primary-color;
170
+ -webkit-mask: url(luxicons.$checkmark);
171
+ -webkit-mask-repeat: no-repeat;
172
+ -webkit-mask-position: center;
173
+ -webkit-mask-size: cover;
174
+ mask: url(luxicons.$checkmark);
175
+ mask-repeat: no-repeat;
176
+ mask-position: center;
177
+ mask-size: cover;
178
+ }
175
179
  }
176
180
  }
177
181
 
178
- &:not([disabled=true]):hover {
182
+ &:not([disabled="true"]):hover {
179
183
  background-color: map-get(luxpalette.$lux-palette_primary, 300) !important;
180
184
  color: #ffffff;
181
185
  .mat-icon-no-color {
@@ -185,8 +189,8 @@ lux-app-header-ac {
185
189
  background-color: #ffffff;
186
190
  }
187
191
  }
188
-
189
- &:not([disabled=true]):focus-visible {
192
+
193
+ &:not([disabled="true"]):focus-visible {
190
194
  background-color: map-get(luxpalette.$lux-palette_primary, 300);
191
195
  color: #ffffff;
192
196
  .mat-icon-no-color {
@@ -23,24 +23,24 @@
23
23
  background-color: unset;
24
24
  }
25
25
  }
26
-
27
- .lux-master-header-container-ac {
26
+
27
+ .lux-master-header-container-ac {
28
28
  z-index: 100;
29
- position:relative;
29
+ position: relative;
30
30
 
31
31
  lux-button.master-ac-toggle {
32
32
  position: absolute;
33
33
  right: -18px;
34
34
  top: 17px;
35
35
  z-index: 1000;
36
-
36
+
37
37
  button.lux-button.lux-button-rounded {
38
- @include luxelevations.lux-elevation-z0;
38
+ @include luxelevations.lux-elevation-z0;
39
39
  border: 1px solid luxcommon.$app-border-color;
40
40
  color: map.get(luxpalette.$lux-palette-primary, 500);
41
41
  background-color: #fff !important;
42
42
  }
43
-
43
+
44
44
  .lux-button-icon-round.lux-lx-icon.lux-no-size {
45
45
  // optische Anpassung für das "Chevron"-Icon, damit es zentriert im Button sitzt
46
46
  // Anpassung erforderlich, falls das Icon ausgetauscht wird
@@ -50,9 +50,9 @@
50
50
  }
51
51
  }
52
52
  button.lux-button.lux-button-rounded {
53
- &:hover:not([disabled]){
53
+ &:hover:not([disabled]) {
54
54
  color: luxcommon.$lux-hover-color;
55
- border-radius: 50%
55
+ border-radius: 50%;
56
56
  }
57
57
  &:active:not([disabled]) {
58
58
  color: map.get(luxpalette.$lux-palette-primary, 700);
@@ -62,7 +62,8 @@
62
62
  .lux-menu-extended {
63
63
  padding: 0px;
64
64
  }
65
- mat-card-title, h2 {
65
+ mat-card-title,
66
+ h2 {
66
67
  font-size: 16px;
67
68
  }
68
69
  mat-card-subtitle.mat-card-subtitle {
@@ -76,7 +77,8 @@
76
77
  mat-card.mat-card {
77
78
  padding: 12px;
78
79
  }
79
- mat-card-title, h2 {
80
+ mat-card-title,
81
+ h2 {
80
82
  font-size: 16px;
81
83
  }
82
84
  mat-card-subtitle.mat-card-subtitle {
@@ -99,13 +101,13 @@
99
101
  .lux-master-view-ac {
100
102
  margin: 10px 0;
101
103
  z-index: 100;
102
-
104
+
103
105
  lux-list {
104
106
  border: none !important;
105
107
  }
106
-
108
+
107
109
  lux-list-item {
108
- margin-bottom: 4px;
110
+ margin-bottom: 4px;
109
111
  mat-card.mat-card {
110
112
  margin: 0px;
111
113
 
@@ -120,11 +122,11 @@
120
122
  }
121
123
  }
122
124
  }
123
-
125
+
124
126
  lux-list-item,
125
127
  lux-list-item-content {
126
128
  display: block;
127
- }
129
+ }
128
130
  }
129
131
 
130
132
  lux-master-footer-ac {
@@ -143,21 +145,25 @@
143
145
  border: 1px solid luxcommon.$app-border-color;
144
146
  border-radius: 4px;
145
147
  background-color: #fff;
146
-
148
+
147
149
  .lux-detail-header-ac {
148
150
  mat-card.mat-card.lux-card {
149
151
  border: none;
150
152
  }
151
153
  }
152
-
154
+
153
155
  .lux-detail-empty {
154
156
  position: absolute;
155
157
  top: 0;
156
158
  left: 0;
157
159
  right: 0;
158
160
  bottom: 0;
161
+
162
+ &.lux-mobile {
163
+ top: 60px;
164
+ }
159
165
  }
160
-
166
+
161
167
  .lux-detail-empty-icon,
162
168
  .lux-detail-empty-icon-text {
163
169
  opacity: 0.6;
@@ -173,7 +179,7 @@
173
179
  }
174
180
  .back-to-master-button-container {
175
181
  padding: 4px;
176
-
182
+
177
183
  &:hover {
178
184
  background-color: luxcommon.$lux-hover-color;
179
185
  cursor: pointer;
@@ -181,7 +187,7 @@
181
187
 
182
188
  lux-button.back-to-master-button {
183
189
  button.lux-button.lux-button-rounded {
184
- @include luxelevations.lux-elevation-z0;
190
+ @include luxelevations.lux-elevation-z0;
185
191
  border: 1px solid luxcommon.$app-border-color;
186
192
  color: map.get(luxpalette.$lux-palette-primary, 500);
187
193
  }
@@ -203,4 +209,4 @@
203
209
  }
204
210
  }
205
211
  }
206
- }
212
+ }
@@ -0,0 +1,80 @@
1
+ @use "sass:map";
2
+ @use "../luxfocus";
3
+ @use "../luxcommon";
4
+ @use "../luxpalette";
5
+
6
+ $textbox_yellow: rgba(244, 203, 37, 1);
7
+ $textbox_yellow_light: rgba(253, 248, 225, 1);
8
+
9
+ lux-textbox {
10
+ .lux-textbox-container {
11
+ display: grid;
12
+ grid-template-columns: 1.5em 1fr;
13
+ gap: 1.5em;
14
+ row-gap: 1em;
15
+ border: 1px solid map.get(luxpalette.$lux-palette-primary, 500);
16
+ border-radius: 4px;
17
+ padding: 1.5em;
18
+
19
+ background-color: #ffffff;
20
+
21
+ h3.lux-textbox-title {
22
+ margin: 0;
23
+ }
24
+
25
+ .lux-textbox-icon {
26
+ width: 24px;
27
+ height: 24px;
28
+ justify-self: start;
29
+ align-self: start;
30
+ color: luxpalette.$lux-primary-color;
31
+ mat-icon.mat-icon.lux-lx-icon-no-size {
32
+ padding: 0 !important;
33
+ }
34
+ }
35
+
36
+ .lux-textbox-content {
37
+ color: luxcommon.$dark-primary-text;
38
+ grid-column-start: 2;
39
+ font-size: 1rem;
40
+ p {
41
+ padding: 0;
42
+ margin: 0;
43
+ }
44
+ }
45
+
46
+ &.lux-no-icon {
47
+ grid-template-columns: 1fr;
48
+
49
+ .lux-text-box-title,
50
+ .lux-textbox-content {
51
+ grid-column: 1 / -1;
52
+ }
53
+ }
54
+
55
+ &.lux-blue {
56
+ background: linear-gradient(90deg, map.get(luxpalette.$lux-palette-primary, 50), #ffffff);
57
+ }
58
+ &.lux-green {
59
+ background: linear-gradient(90deg, map.get(luxpalette.$lux-palette-accent, 50), #ffffff);
60
+ border-color: luxpalette.$lux-accent-color;
61
+ lux-icon.lux-textbox-icon {
62
+ color: luxpalette.$lux-accent-color;
63
+ }
64
+ }
65
+ &.lux-red {
66
+ background: linear-gradient(90deg, map.get(luxpalette.$lux-palette-warn, 50), #ffffff);
67
+ border-color: luxpalette.$lux-warn-color;
68
+ lux-icon.lux-textbox-icon {
69
+ color: luxpalette.$lux-warn-color;
70
+ }
71
+ }
72
+ &.lux-yellow {
73
+ background: linear-gradient(90deg, $textbox_yellow_light, #ffffff);
74
+ border-color: $textbox_yellow;
75
+ lux-icon.lux-textbox-icon {
76
+ color: $textbox_yellow;
77
+ }
78
+ }
79
+ }
80
+ }
@@ -311,6 +311,13 @@ lux-button button.lux-button {
311
311
  }
312
312
  }
313
313
  }
314
+
315
+ .lux-button-badge {
316
+ border-radius: 8px;
317
+ padding: 2px 8px;
318
+ font-size: 14px;
319
+ max-width: 48px;
320
+ }
314
321
  }
315
322
 
316
323
  /*