@ihk-gfi/lux-components-theme 14.4.0 → 14.6.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.
@@ -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,30 @@ 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
+ & .lux-button-label {
159
+ padding-right: 24px;
160
+ &::after {
161
+ content: "";
162
+ position: absolute;
163
+ width: 20px;
164
+ height: 20px;
165
+ right: 0;
166
+ top: 14px;
167
+ margin: 0 10px 0 4px;
168
+ background-color: luxpalette.$lux-primary-color;
169
+ -webkit-mask: url(luxicons.$checkmark);
170
+ -webkit-mask-repeat: no-repeat;
171
+ -webkit-mask-position: center;
172
+ -webkit-mask-size: cover;
173
+ mask: url(luxicons.$checkmark);
174
+ mask-repeat: no-repeat;
175
+ mask-position: center;
176
+ mask-size: cover;
177
+ }
175
178
  }
176
179
  }
177
180
 
178
- &:not([disabled=true]):hover {
181
+ &:not([disabled="true"]):hover {
179
182
  background-color: map-get(luxpalette.$lux-palette_primary, 300) !important;
180
183
  color: #ffffff;
181
184
  .mat-icon-no-color {
@@ -185,8 +188,8 @@ lux-app-header-ac {
185
188
  background-color: #ffffff;
186
189
  }
187
190
  }
188
-
189
- &:not([disabled=true]):focus-visible {
191
+
192
+ &:not([disabled="true"]):focus-visible {
190
193
  background-color: map-get(luxpalette.$lux-palette_primary, 300);
191
194
  color: #ffffff;
192
195
  .mat-icon-no-color {
@@ -0,0 +1,35 @@
1
+ @use "../luxpalette";
2
+
3
+ lux-checkbox-container-ac {
4
+ .lux-label-container {
5
+ min-height: 1.2em;
6
+ font-size: 0.75rem;
7
+ line-height: 1.2em;
8
+ color: luxpalette.$lux-primary-color;
9
+ margin: 0 calc(0.5em + 1px) 0.25em calc(0.5em + 1px);
10
+ }
11
+
12
+ .lux-checkbox-container {
13
+ display: flex;
14
+ flex-flow: row wrap;
15
+ place-content: stretch flex-start;
16
+ align-items: stretch;
17
+ gap: 10px;
18
+ max-width: 100%;
19
+
20
+ &.lux-vertical {
21
+ flex-direction: column;
22
+ }
23
+
24
+ lux-form-control-wrapper .lux-form-control-wrapper {
25
+ margin: 0;
26
+ .lux-form-control-label-authentic,
27
+ .lux-form-control-misc-authentic {
28
+ display: none !important;
29
+ }
30
+ .lux-form-control-container-authentic.lux-no-input-row {
31
+ padding: 0;
32
+ }
33
+ }
34
+ }
35
+ }
@@ -112,6 +112,16 @@ lux-form-control-wrapper {
112
112
  }
113
113
  }
114
114
 
115
+ &.lux-dense-authentic {
116
+ margin: 0;
117
+ .lux-form-control-container-authentic {
118
+ padding: 0.375em 0.5em;
119
+ &.lux-no-input-row {
120
+ padding: 0.375em 0em;
121
+ }
122
+ }
123
+ }
124
+
115
125
  // Definitionen der einzelnen States der Form-Controls
116
126
  &:hover:not(.lux-form-control-disabled-authentic):not(.lux-focused-authentic):not(.lux-form-control-error-authentic) {
117
127
  .lux-form-control-container-authentic:not(.lux-no-input-row) {
@@ -59,6 +59,7 @@ lux-lookup-combobox-ac {
59
59
  font-family: luxcommon.$app-font-family;
60
60
  }
61
61
  .mat-autocomplete-panel.lux-autocomplete-panel-ac,
62
+ .mat-autocomplete-panel.lux-autocomplete-panel-dense-ac,
62
63
  .mat-select-panel.lux-select-panel-ac,
63
64
  .mat-select-panel.lux-select-panel-ac-multiple {
64
65
  border: 2px solid luxpalette.$lux-primary-color;
@@ -70,13 +71,14 @@ lux-lookup-combobox-ac {
70
71
  }
71
72
  }
72
73
 
73
- .mat-autocomplete-panel.lux-autocomplete-panel-ac {
74
+ .mat-autocomplete-panel.lux-autocomplete-panel-ac,
75
+ .mat-autocomplete-panel.lux-autocomplete-panel-dense-ac {
74
76
  min-width: calc(100% + 14px) !important;
75
77
  max-width: calc(100% + 14px) !important;
76
78
  margin: 13px -9px 0px;
77
- border: 2px solid luxpalette.$lux-primary-color;
78
- border-radius: 4px;
79
- box-shadow: none !important;
79
+ }
80
+ .mat-autocomplete-panel.lux-autocomplete-panel-dense-ac {
81
+ margin-top: 7px;
80
82
  }
81
83
  }
82
84
 
@@ -157,7 +159,7 @@ lux-datetimepicker-ac {
157
159
  .lux-datetimepicker-overlay .mat-card.lux-card {
158
160
  border: 2px solid luxpalette.$lux-primary-color;
159
161
  box-shadow: none !important;
160
- margin: 13px -9px;
162
+ margin: 13px -9px 0;
161
163
 
162
164
  & .mat-calendar-header button:hover {
163
165
  background-color: #fff !important;
@@ -277,6 +279,9 @@ textarea {
277
279
  text-align: inherit;
278
280
  font-size: luxcommon.$form-control-font-size;
279
281
  }
282
+ lux-textarea-ac text-area {
283
+ line-height: normal;
284
+ }
280
285
 
281
286
  /**
282
287
  * Theming für LUX-Chips
@@ -327,8 +332,9 @@ lux-chips-ac {
327
332
  }
328
333
  }
329
334
  }
330
- .lux-chips-ac-autocomplete-panel.mat-autocomplete-panel {
331
- margin-top: -21px;
335
+ .lux-chips-ac-autocomplete-panel.mat-autocomplete-panel,
336
+ .lux-chips-ac-autocomplete-panel-dense.mat-autocomplete-panel {
337
+ margin-top: -22px;
332
338
  margin-left: 0;
333
339
  margin-right: 0;
334
340
  border-radius: 4px;
@@ -336,6 +342,9 @@ lux-chips-ac {
336
342
  box-shadow: none !important;
337
343
  border: 2px solid luxpalette.$lux-primary-color;
338
344
  }
345
+ .lux-chips-ac-autocomplete-panel-dense.mat-autocomplete-panel {
346
+ margin-top: -18px;
347
+ }
339
348
 
340
349
  /*
341
350
  * Theming for LUX-Slider
@@ -3,59 +3,73 @@
3
3
  @use "../luxcommon";
4
4
  @use "../luxpalette";
5
5
 
6
-
7
6
  lux-link-plain {
7
+ display: inline-flex;
8
+ align-items: baseline;
8
9
  .link-wrapper {
9
- display: inline-block;
10
+ display: flex;
11
+ gap: 0.25em;
12
+ align-items: baseline;
10
13
  font-family: inherit;
11
- font-size: inherit;
12
- font-weight: inherit;
13
- color: map.get(luxpalette.$lux-palette-primary, A700);
14
-
15
14
  .lux-link-plain-text {
16
- text-decoration: none;
15
+ font-family: inherit;
16
+ font-size: inherit;
17
+ font-weight: inherit;
18
+ text-decoration: inherit;
19
+ color: inherit;
20
+ display: flex;
17
21
  }
18
22
 
19
23
  lux-icon {
20
24
  font-size: inherit;
21
- vertical-align: middle;
22
- line-height: 1;
23
- i, mat-icon {
24
- color: map.get(luxpalette.$lux-palette-primary, A700);
25
- padding: 0 !important;
26
- }
25
+ display: flex;
26
+ mat-icon.mat-icon.lux-lx-icon-no-size {
27
+ padding: 0px !important;
28
+ width: 0.8em;
29
+ height: 0.8em;
30
+ overflow: visible;
31
+ }
27
32
  }
28
33
 
29
- &.lux-disabled {
30
- color: luxcommon.$dark-disabled-text;
31
- cursor: text;
32
- lux-icon {
33
- i, mat-icon {
34
- color: luxcommon.$dark-disabled-text;
35
- }
36
- }
34
+ &:focus-visible:not(.lux-disabled) {
35
+ @include luxfocus.focus-dark-mixin;
36
+ border-radius: 2px;
37
37
  }
38
+ }
38
39
 
39
- &:hover:not(.lux-disabled) {
40
- color: luxcommon.$lux-hover-color;
41
- text-decoration: underline;
42
- cursor: pointer;
43
- lux-icon {
44
- i, mat-icon {
45
- color: luxcommon.$lux-hover-color;
46
- }
40
+ &.default-style {
41
+ color: map.get(luxpalette.$lux-palette-primary, A700);
42
+ font-family: inherit;
43
+ lux-icon {
44
+ i,
45
+ mat-icon {
46
+ color: map.get(luxpalette.$lux-palette-primary, A700);
47
47
  }
48
48
  }
49
-
50
- &:focus:not(.lux-disabled, :hover) {
51
- @include luxfocus.focus-dark-mixin;
52
- border-radius: 2px;
49
+ }
50
+
51
+ &.lux-disabled,
52
+ .link-wrapper.lux-disabled {
53
+ color: luxcommon.$dark-disabled-text;
54
+ cursor: text;
55
+ text-decoration: none;
56
+ lux-icon {
57
+ i,
58
+ mat-icon {
59
+ color: luxcommon.$dark-disabled-text;
60
+ }
53
61
  }
54
62
  }
55
- &.breadcrump-item .link-wrapper{
56
- color: inherit;
57
- lux-icon mat-icon {
58
- color: inherit;
63
+
64
+ &:hover:not(.lux-disabled) {
65
+ color: map.get(luxpalette.$lux-palette-primary, 300);
66
+ text-decoration: underline;
67
+ cursor: pointer;
68
+ lux-icon {
69
+ i,
70
+ mat-icon {
71
+ color: map.get(luxpalette.$lux-palette-primary, 300);
72
+ }
59
73
  }
60
74
  }
61
- }
75
+ }
@@ -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
+ }
@@ -1096,3 +1096,15 @@ lux-textarea-ac {
1096
1096
  line-height: normal;
1097
1097
  }
1098
1098
  }
1099
+
1100
+ lux-checkbox-container-ac {
1101
+ .lux-checkbox-container {
1102
+ row-gap: 6px;
1103
+ }
1104
+ .lux-label-container {
1105
+ margin: 0 0 0.25em 0;
1106
+ }
1107
+ lux-checkbox-ac lux-form-control-wrapper .lux-form-control-wrapper .lux-form-control-container-authentic.lux-no-input-row {
1108
+ height: auto;
1109
+ }
1110
+ }