@ihk-gfi/lux-components-theme 13.0.0 → 14.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.
- package/README.md +9 -0
- package/package.json +7 -7
- package/prebuilt-themes/luxtheme-authentic-min.css +1 -0
- package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -0
- package/prebuilt-themes/{luxtheme-orange.css → luxtheme-authentic.css} +7303 -5035
- package/prebuilt-themes/luxtheme-authentic.css.map +1 -0
- package/prebuilt-themes/luxtheme-blue-min.css +1 -1
- package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-blue.css +4734 -3248
- package/prebuilt-themes/luxtheme-blue.css.map +1 -1
- package/prebuilt-themes/luxtheme-green-min.css +1 -1
- package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-green.css +4920 -3449
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/src/authentic/_custom.scss +1101 -0
- package/src/authentic/_luxcommon.scss +128 -0
- package/src/authentic/_luxpalette.scss +106 -0
- package/src/authentic/luxtheme.scss +103 -0
- package/src/base/_luxSvgIcons.scss +5 -0
- package/src/base/_luxcommon.scss +98 -0
- package/src/base/_luxcomponents.scss +422 -190
- package/src/base/_luxelevations.scss +8 -10
- package/src/base/_luxfocus.scss +276 -107
- package/src/base/_luxpalette.scss +9 -0
- package/src/base/_luxstyles.scss +132 -116
- package/src/base/_luxtheme.scss +10 -6
- package/src/base/components/_luxAppHeaderAc.scss +187 -0
- package/src/base/components/_luxFormControlWrapper.scss +174 -0
- package/src/base/components/_luxFormControlsAuthentic.scss +357 -0
- package/src/base/components/_luxLinkPlain.scss +61 -0
- package/src/base/components/_luxMasterDetailAc.scss +206 -0
- package/src/base/components/_luxTileAc.scss +63 -0
- package/src/blue/_custom.scss +103 -1
- package/src/blue/_luxcommon.scss +13 -2
- package/src/blue/_luxpalette.scss +4 -3
- package/src/blue/luxtheme.scss +102 -10
- package/src/green/_custom.scss +201 -104
- package/src/green/_luxcommon.scss +16 -5
- package/src/green/_luxpalette.scss +4 -3
- package/src/green/luxtheme.scss +103 -13
- package/src/public/global.scss +6 -10
- package/prebuilt-themes/luxtheme-orange-min.css +0 -1
- package/prebuilt-themes/luxtheme-orange-min.css.map +0 -1
- package/prebuilt-themes/luxtheme-orange.css.map +0 -1
- package/src/base/_luxicons.scss +0 -2
- package/src/orange/_custom.scss +0 -66
- package/src/orange/_luxcommon.scss +0 -90
- package/src/orange/_luxpalette.scss +0 -106
- package/src/orange/luxtheme.scss +0 -10
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "../luxfocus";
|
|
4
|
+
@use "../luxcommon";
|
|
5
|
+
@use "../luxpalette";
|
|
6
|
+
@use "../../public/global";
|
|
7
|
+
@use "../luxelevations";
|
|
8
|
+
@use "../luxSvgIcons" as luxicons;
|
|
9
|
+
|
|
10
|
+
lux-app-header-ac {
|
|
11
|
+
display: block;
|
|
12
|
+
|
|
13
|
+
.lux-image {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
padding: 4px;
|
|
16
|
+
&:focus-visible {
|
|
17
|
+
@include luxfocus.focus-dark-mixin;
|
|
18
|
+
border-radius: 4px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
lux-button {
|
|
23
|
+
button.lux-button.lux-button-rounded {
|
|
24
|
+
min-width: 36px; //Weil der Menu-Trigger hier ein andere Min-width setzt- könnte vielleich geändert werden?
|
|
25
|
+
width: 36px;
|
|
26
|
+
padding-left: 0px !important;
|
|
27
|
+
padding-right: 0px !important;
|
|
28
|
+
background-color: transparent;
|
|
29
|
+
@include luxelevations.lux-elevation-z0;
|
|
30
|
+
|
|
31
|
+
lux-icon {
|
|
32
|
+
color: luxpalette.$lux-primary-color;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:hover:not([disabled]).mat-fab:hover.mat-primary {
|
|
36
|
+
lux-icon {
|
|
37
|
+
color: #ffffff !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&:focus-visible:not([disabled]).mat-fab.mat-primary.cdk-focused.cdk-keyboard-focused {
|
|
41
|
+
background-color: transparent !important;
|
|
42
|
+
lux-icon {
|
|
43
|
+
color: map.get(luxpalette.$lux-palette_primary, 700) !important;
|
|
44
|
+
}
|
|
45
|
+
@include luxfocus.focus-dark-mixin;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.menu-opened {
|
|
50
|
+
button.lux-button.lux-button-rounded {
|
|
51
|
+
background-color: map.get(luxpalette.$lux-palette_primary, 300);
|
|
52
|
+
lux-icon {
|
|
53
|
+
color: #ffffff !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.lux-menu-trigger-default {
|
|
59
|
+
button.mat-button.lux-button {
|
|
60
|
+
&:hover {
|
|
61
|
+
background-color: map.get(luxpalette.$lux-palette-primary, 300) !important;
|
|
62
|
+
color: #ffffff !important;
|
|
63
|
+
}
|
|
64
|
+
&:focus-visible:not(:hover) {
|
|
65
|
+
color: map.get(luxpalette.$lux-palette-primary, 700)!important;
|
|
66
|
+
background-color: transparent !important;
|
|
67
|
+
}
|
|
68
|
+
&:active {
|
|
69
|
+
color: map.get(luxpalette.$lux-palette-primary, 700)!important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.lux-app-header-top-bar {
|
|
76
|
+
padding: 4px 24px;
|
|
77
|
+
min-height: 52px;
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
color: luxcommon.$dark-primary-text;
|
|
80
|
+
background-color: #fff;
|
|
81
|
+
|
|
82
|
+
&.lux-mobile {
|
|
83
|
+
padding: 4px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
lux-menu {
|
|
87
|
+
width: unset;
|
|
88
|
+
.lux-menu-extended {
|
|
89
|
+
overflow: unset;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.lux-app-header-nav-bar {
|
|
95
|
+
background-color: map.get(luxpalette.$lux-palette-primary, 50);
|
|
96
|
+
padding: 4px 24px;
|
|
97
|
+
min-height: 30px;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
|
|
101
|
+
&.lux-mobile {
|
|
102
|
+
padding: 4px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.lux-app-title {
|
|
106
|
+
color:luxcommon.$dark-primary-text;
|
|
107
|
+
padding: 4px;
|
|
108
|
+
font-size: 20px;
|
|
109
|
+
font-weight: 700;
|
|
110
|
+
font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
|
|
111
|
+
|
|
112
|
+
&.lux-mobile {
|
|
113
|
+
font-size: 16px;
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.lux-header-ac-nav-menu {
|
|
119
|
+
lux-button.lux-menu-item {
|
|
120
|
+
button.lux-button .lux-button-label {
|
|
121
|
+
font-size: 16px !important;
|
|
122
|
+
letter-spacing: 0px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.nav-item-selected button.lux-button .lux-button-label {
|
|
126
|
+
font-weight: 600;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.lux-menu-extended {
|
|
131
|
+
padding: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.cdk-overlay-pane {
|
|
137
|
+
button.lux-menu-item {
|
|
138
|
+
margin: 0px;
|
|
139
|
+
|
|
140
|
+
&.lux-selected-item-ac {
|
|
141
|
+
font-weight: 600;
|
|
142
|
+
& .lux-button-label::after {
|
|
143
|
+
content: '';
|
|
144
|
+
position: absolute;
|
|
145
|
+
width: 20px;
|
|
146
|
+
height: 20px;
|
|
147
|
+
right: 0;
|
|
148
|
+
top: 14px;
|
|
149
|
+
margin: 0 10px 0 4px;
|
|
150
|
+
background-color: luxpalette.$lux-primary-color;
|
|
151
|
+
-webkit-mask: url(luxicons.$checkmark);
|
|
152
|
+
-webkit-mask-repeat: no-repeat;
|
|
153
|
+
-webkit-mask-position: center;
|
|
154
|
+
-webkit-mask-size: cover;
|
|
155
|
+
mask: url(luxicons.$checkmark);
|
|
156
|
+
mask-repeat: no-repeat;
|
|
157
|
+
mask-position: center;
|
|
158
|
+
mask-size: cover;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&:not([disabled=true]):hover {
|
|
163
|
+
background-color: map-get(luxpalette.$lux-palette_primary, 300) !important;
|
|
164
|
+
color: #ffffff;
|
|
165
|
+
.mat-icon-no-color {
|
|
166
|
+
color: #ffffff;
|
|
167
|
+
}
|
|
168
|
+
&::after {
|
|
169
|
+
background-color: #ffffff;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:not([disabled=true]):focus-visible {
|
|
174
|
+
background-color: map-get(luxpalette.$lux-palette_primary, 300);
|
|
175
|
+
color: #ffffff;
|
|
176
|
+
.mat-icon-no-color {
|
|
177
|
+
color: #ffffff;
|
|
178
|
+
}
|
|
179
|
+
@include luxfocus.focus-dark-mixin-inline;
|
|
180
|
+
&::after {
|
|
181
|
+
width: 16px;
|
|
182
|
+
background-color: #ffffff;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../luxfocus";
|
|
3
|
+
@use "../luxstyles";
|
|
4
|
+
@use "../luxcommon";
|
|
5
|
+
@use "../luxpalette";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@mixin crop {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
}
|
|
14
|
+
@mixin form-label {
|
|
15
|
+
min-height: 1.2em;
|
|
16
|
+
font-size: 0.75em;
|
|
17
|
+
line-height: 1.2em;
|
|
18
|
+
color: luxcommon.$dark-secondary-text;
|
|
19
|
+
}
|
|
20
|
+
lux-form-control-wrapper {
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
.lux-form-control-wrapper {
|
|
24
|
+
display: flex;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
font-size: luxcommon.$form-control-font-size;
|
|
27
|
+
color: luxcommon.$dark-primary-text;
|
|
28
|
+
margin: 0.25em 0;
|
|
29
|
+
|
|
30
|
+
.lux-form-control-label-authentic {
|
|
31
|
+
@include form-label;
|
|
32
|
+
color: map.get(luxpalette.$lux-palette_primary, 500);
|
|
33
|
+
margin: 0 calc(0.5em + 1px) 0.25em calc(0.5em + 1px);
|
|
34
|
+
> * {
|
|
35
|
+
@include crop;
|
|
36
|
+
}
|
|
37
|
+
&.lux-label-long-format {
|
|
38
|
+
> * {
|
|
39
|
+
white-space: normal;
|
|
40
|
+
text-overflow: unset;
|
|
41
|
+
word-wrap: break-word;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.lux-form-control-container-authentic {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
padding: 0.75em 0.5em;
|
|
49
|
+
font-size: luxcommon.$form-control-font-size;
|
|
50
|
+
color: luxcommon.$dark-primary-text;
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
line-height: 1.5em;
|
|
53
|
+
border: 1px solid luxcommon.$form-border-color;
|
|
54
|
+
border-radius: 4px;
|
|
55
|
+
&.lux-no-input-row {
|
|
56
|
+
// lux-toggel-ac, lux-checkbox-ac, lux-slider-ac, lux-radio-ac werden auf der Baseline ausgerichtet
|
|
57
|
+
// haben aber nicht den Rahmen, den die Input-Elemente haben
|
|
58
|
+
background-color: transparent;
|
|
59
|
+
border: none;
|
|
60
|
+
padding: 0.75em 0em;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.lux-form-control-misc-authentic {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
margin: 0.25em calc(0.5em + 1px) 0 calc(0.5em + 1px);
|
|
67
|
+
|
|
68
|
+
@include form-label;
|
|
69
|
+
word-wrap: break-word;
|
|
70
|
+
|
|
71
|
+
.lux-form-control-character-counter-authentic {
|
|
72
|
+
min-width: 40px;
|
|
73
|
+
margin-left: 2px;
|
|
74
|
+
color: luxcommon.$dark-secondary-text !important;
|
|
75
|
+
text-align: end;
|
|
76
|
+
|
|
77
|
+
&:only-child {
|
|
78
|
+
width: 100%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// zusätzlicher Container für Elemente, die einen input-prefix/input-suffix haben
|
|
84
|
+
// aktuell: lux-autocomplete-ac und lux-input-ac
|
|
85
|
+
.lux-input-row-authentic {
|
|
86
|
+
font-size: luxcommon.$form-control-font-size;
|
|
87
|
+
min-height: 1.5em;
|
|
88
|
+
|
|
89
|
+
.lux-input-prefix-container,
|
|
90
|
+
.lux-input-suffix-container {
|
|
91
|
+
width: auto;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
display: inline-block;
|
|
94
|
+
max-height: 1.5em;
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
lux-icon {
|
|
98
|
+
i {
|
|
99
|
+
padding: 0 !important;
|
|
100
|
+
margin: 0;
|
|
101
|
+
font-size: 1em;
|
|
102
|
+
}
|
|
103
|
+
mat-icon {
|
|
104
|
+
padding: 0 !important;
|
|
105
|
+
margin: 0;
|
|
106
|
+
font-size: 1.5em !important;
|
|
107
|
+
&.lux-lx-icon-no-size {
|
|
108
|
+
width: 1em;
|
|
109
|
+
height: 1em;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Definitionen der einzelnen States der Form-Controls
|
|
118
|
+
&:hover:not(.lux-form-control-disabled-authentic):not(.lux-focused-authentic):not(.lux-form-control-error-authentic) {
|
|
119
|
+
.lux-form-control-container-authentic:not(.lux-no-input-row) {
|
|
120
|
+
border-color: black;
|
|
121
|
+
box-shadow: 0 0 0 1px black inset;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
&.lux-focused-authentic{
|
|
125
|
+
.lux-form-control-label-authentic > * {
|
|
126
|
+
color: map.get(luxpalette.$lux-palette_primary, 400);
|
|
127
|
+
}
|
|
128
|
+
.lux-form-control-container-authentic:not(.lux-no-input-row) {
|
|
129
|
+
border-color: map.get(luxpalette.$lux-palette_primary, 500);
|
|
130
|
+
box-shadow: 0 0 0 1px map.get(luxpalette.$lux-palette_primary, 500) inset;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.lux-form-control-error-authentic:not(.lux-form-control-disabled-authentic) {
|
|
135
|
+
.lux-form-control-label-authentic > * {
|
|
136
|
+
color: map.get(luxpalette.$lux-palette_warn, 500);
|
|
137
|
+
}
|
|
138
|
+
.lux-form-control-container-authentic:not(.lux-no-input-row) {
|
|
139
|
+
border-color: map.get(luxpalette.$lux-palette_warn, 500);
|
|
140
|
+
box-shadow: 0 0 0 1px map.get(luxpalette.$lux-palette_warn, 500) inset;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&.lux-form-control-disabled-authentic {
|
|
145
|
+
.lux-form-control-container-authentic,
|
|
146
|
+
.lux-form-control-label-authentic,
|
|
147
|
+
.lux-form-control-misc-authentic > * {
|
|
148
|
+
color: luxcommon.$dark-disabled-text;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.lux-form-control-readonly-authentic,
|
|
153
|
+
&.lux-form-control-disabled-authentic {
|
|
154
|
+
pointer-events: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Change Autocomplete styles in Chrome*/
|
|
161
|
+
input:-webkit-autofill,
|
|
162
|
+
input:-webkit-autofill:hover,
|
|
163
|
+
input:-webkit-autofill:focus,
|
|
164
|
+
textarea:-webkit-autofill,
|
|
165
|
+
textarea:-webkit-autofill:hover,
|
|
166
|
+
textarea:-webkit-autofill:focus,
|
|
167
|
+
select:-webkit-autofill,
|
|
168
|
+
select:-webkit-autofill:hover,
|
|
169
|
+
select:-webkit-autofill:focus {
|
|
170
|
+
box-shadow: 0 0 0px 1000px var(--lux-theme-primary-50) inset;
|
|
171
|
+
-webkit-box-shadow: 0 0 0px 1000px var(--lux-theme-primary-50) inset;
|
|
172
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../luxcommon";
|
|
3
|
+
@use "../luxpalette";
|
|
4
|
+
@use "../../public/global";
|
|
5
|
+
@use "../luxelevations";
|
|
6
|
+
@use "../luxfocus";
|
|
7
|
+
@use "../../base/luxSvgIcons" as luxicons;
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* Theming for LUX-Select
|
|
11
|
+
*/
|
|
12
|
+
lux-select-ac, lux-lookup-combobox-ac {
|
|
13
|
+
|
|
14
|
+
& .lux-panel-opened {
|
|
15
|
+
//duch das Verschieben des Panels, verdeckt ein Teil der Overlay-Pane das Selectfeld
|
|
16
|
+
// dieses ist damit als Trigger zum Schließen des Panels nicht mehr erreichbar
|
|
17
|
+
// daher wird temporär der z-index erhöht
|
|
18
|
+
.lux-form-control-container-authentic {
|
|
19
|
+
z-index: 10000;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
mat-select {
|
|
24
|
+
font-family: luxcommon.$app-font-family;
|
|
25
|
+
height: calc( 1.5em - 1px) !important;
|
|
26
|
+
// bisher noch nicht klar, warum das mat-select einen Pixel an Höhe mehr beansprucht, als es tatsächlich Hoch ist
|
|
27
|
+
// daher wird hier die Höhe korrigiert, damit die Baseline eingehalten ist
|
|
28
|
+
|
|
29
|
+
.mat-select-arrow-wrapper{
|
|
30
|
+
margin-left: 2px;
|
|
31
|
+
height: 24px;
|
|
32
|
+
width: 24px;
|
|
33
|
+
|
|
34
|
+
.mat-select-arrow {
|
|
35
|
+
border: none;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
margin: 0;
|
|
39
|
+
background-color: luxpalette.$lux-primary-color;
|
|
40
|
+
-webkit-mask: url(luxicons.$arrow-button-down);
|
|
41
|
+
-webkit-mask-repeat: no-repeat;
|
|
42
|
+
-webkit-mask-position: center;
|
|
43
|
+
-webkit-mask-size: cover;
|
|
44
|
+
mask: url(luxicons.$arrow-button-down);
|
|
45
|
+
mask-repeat: no-repeat;
|
|
46
|
+
mask-position: center;
|
|
47
|
+
mask-size: cover;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[aria-disabled="true"] .mat-select-arrow {
|
|
52
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&[aria-disabled="false"] .mat-select-arrow {
|
|
56
|
+
background-color: luxpalette.$lux-primary-color;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Checkbox wird im Cdk-Overlay dargestellt und hängt nicht unter der Component selbst.
|
|
62
|
+
.lux-select-panel-ac .mat-pseudo-checkbox-checked,
|
|
63
|
+
.lux-select-panel-ac-multiple .mat-pseudo-checkbox-checked {
|
|
64
|
+
background-color: luxpalette.$lux-primary-color;
|
|
65
|
+
}
|
|
66
|
+
.cdk-overlay-pane {
|
|
67
|
+
.mat-option {
|
|
68
|
+
font-family: luxcommon.$app-font-family;
|
|
69
|
+
}
|
|
70
|
+
.mat-autocomplete-panel.lux-autocomplete-panel-ac,
|
|
71
|
+
.mat-select-panel.lux-select-panel-ac,
|
|
72
|
+
.mat-select-panel.lux-select-panel-ac-multiple {
|
|
73
|
+
min-width: calc(100% + 14px) !important;
|
|
74
|
+
max-width: calc(100% + 14px) !important;
|
|
75
|
+
margin: 34px 7px;
|
|
76
|
+
border: 2px solid luxpalette.$lux-primary-color;
|
|
77
|
+
border-radius: 4px;
|
|
78
|
+
box-shadow: none !important;
|
|
79
|
+
|
|
80
|
+
.mat-pseudo-checkbox {
|
|
81
|
+
color: luxpalette.$lux-primary-color;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.mat-select-panel.lux-select-panel-ac-multiple {
|
|
85
|
+
margin: 34px 31px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.mat-autocomplete-panel.lux-autocomplete-panel-ac {
|
|
89
|
+
min-width: calc(100% + 14px) !important;
|
|
90
|
+
max-width: calc(100% + 14px) !important;
|
|
91
|
+
margin: 13px -9px;
|
|
92
|
+
border: 2px solid luxpalette.$lux-primary-color;
|
|
93
|
+
border-radius: 4px;
|
|
94
|
+
box-shadow: none !important;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
* Theming für Lux-Checkbox
|
|
100
|
+
*/
|
|
101
|
+
lux-checkbox-ac {
|
|
102
|
+
label {
|
|
103
|
+
font-family: luxcommon.$app-font-family;
|
|
104
|
+
font-size: luxcommon.$form-control-font-size;
|
|
105
|
+
color: luxcommon.$dark-primary-text;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
|
|
108
|
+
.mat-checkbox-label {
|
|
109
|
+
-ms-word-break: break-word;
|
|
110
|
+
word-break: break-word;
|
|
111
|
+
white-space: normal;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.mat-checkbox-ripple {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
.mat-checkbox-inner-container {
|
|
119
|
+
// die Checkbox soll größer sein, als von Material vorgegeben
|
|
120
|
+
width: 1.25em;
|
|
121
|
+
height: 1.25em;
|
|
122
|
+
margin-top: 3px;
|
|
123
|
+
//bei mehrzeiligen Labels wird die Checkbox oben und nicht zentriert angezeigt
|
|
124
|
+
//dieses wird von material über das Margin gelöst und nicht über align-items o.ä.
|
|
125
|
+
//da wir die Größe der Box geändert haben mussten wir das Margin ebenfalls anpassen
|
|
126
|
+
.mat-checkbox-frame {
|
|
127
|
+
border-color: luxpalette.$lux-primary-color;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
& .mat-checkbox-disabled {
|
|
132
|
+
label {
|
|
133
|
+
color: luxcommon.$dark-disabled-text;
|
|
134
|
+
}
|
|
135
|
+
.mat-checkbox-inner-container .mat-checkbox-frame {
|
|
136
|
+
border-color: luxcommon.$dark-disabled-text;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
lux-datepicker-ac, lux-datetimepicker-ac {
|
|
142
|
+
mat-datepicker-toggle {
|
|
143
|
+
height: 24px !important;
|
|
144
|
+
width: 24px !important;
|
|
145
|
+
|
|
146
|
+
.mat-icon-button {
|
|
147
|
+
height: 24px !important;
|
|
148
|
+
width: 24px !important;
|
|
149
|
+
line-height: 1.5;
|
|
150
|
+
font-size: inherit;
|
|
151
|
+
|
|
152
|
+
lux-icon.lux-datepicker-toggle-icon, mat-icon.mat-icon {
|
|
153
|
+
height: 24px !important;
|
|
154
|
+
width: 24px !important;
|
|
155
|
+
padding: 0px !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.mat-button-disabled {
|
|
159
|
+
svg {
|
|
160
|
+
color: luxcommon.$dark-disabled-text;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
.cdk-overlay-pane .mat-datepicker-content,
|
|
167
|
+
.lux-datetimepicker-overlay .mat-card.lux-card {
|
|
168
|
+
border: 2px solid luxpalette.$lux-primary-color;
|
|
169
|
+
box-shadow: none !important;
|
|
170
|
+
margin: 13px -9px;
|
|
171
|
+
|
|
172
|
+
& .mat-calendar-header button:hover {
|
|
173
|
+
background-color: #fff !important;
|
|
174
|
+
color: map-get(luxpalette.$lux-palette_primary, 300);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
* Theming für lux-Toggle
|
|
180
|
+
*/
|
|
181
|
+
lux-toggle-ac {
|
|
182
|
+
.mat-slide-toggle {
|
|
183
|
+
label {
|
|
184
|
+
color: luxcommon.$dark-primary-text;
|
|
185
|
+
font-family: luxcommon.$app-font-family;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.mat-slide-toggle-thumb {
|
|
189
|
+
@include luxelevations.lux-elevation-z1;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.mat-disabled {
|
|
193
|
+
label .mat-slide-toggle-content {
|
|
194
|
+
color: luxcommon.$dark-disabled-text;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.mat-checked {
|
|
198
|
+
.mat-slide-toggle-bar {
|
|
199
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.mat-slide-toggle-thumb {
|
|
203
|
+
background-color: #666666 ;
|
|
204
|
+
// $dark-secondary-text als Hex ohne Transparenz
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&:not(.mat-checked) {
|
|
209
|
+
.mat-slide-toggle-bar {
|
|
210
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
211
|
+
//Hintergrund zur Schriftfarbe anpassen
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/*
|
|
219
|
+
* Theming for LUX-Radio
|
|
220
|
+
*/
|
|
221
|
+
lux-radio-ac {
|
|
222
|
+
// damit ist der Focus-Indicator rund, wie bei Toggle-Thumb und Chips
|
|
223
|
+
.mat-radio-container {
|
|
224
|
+
border-radius: 50%;
|
|
225
|
+
}
|
|
226
|
+
.mat-radio-label {
|
|
227
|
+
color: luxcommon.$dark-primary-text;
|
|
228
|
+
font-family: luxcommon.$app-font-family;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.mat-radio-checked {
|
|
232
|
+
|
|
233
|
+
&.mat-radio-disabled label .mat-radio-container {
|
|
234
|
+
span.mat-radio-inner-circle {
|
|
235
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
span.mat-radio-outer-circle {
|
|
239
|
+
border-color: luxcommon.$dark-disabled-text;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.mat-radio-disabled label.mat-radio-label {
|
|
245
|
+
.mat-radio-label-content {
|
|
246
|
+
color: luxcommon.$dark-disabled-text;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.mat-radio-container {
|
|
250
|
+
span.mat-radio-inner-circle {
|
|
251
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
span.mat-radio-outer-circle {
|
|
255
|
+
border-color: luxcommon.$dark-disabled-text;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/*
|
|
262
|
+
* Theming for LUX-Input/LUX-Textarea
|
|
263
|
+
*/
|
|
264
|
+
// Umstylen des Standard-Aussehens von Inputs/Textareas
|
|
265
|
+
input, input.mat-input-element,
|
|
266
|
+
textarea {
|
|
267
|
+
font: inherit;
|
|
268
|
+
background: 0 0;
|
|
269
|
+
color: currentColor;
|
|
270
|
+
border: none;
|
|
271
|
+
outline: 0;
|
|
272
|
+
padding: 0;
|
|
273
|
+
margin: 0;
|
|
274
|
+
width: 100%;
|
|
275
|
+
max-width: 100%;
|
|
276
|
+
vertical-align: bottom;
|
|
277
|
+
text-align: inherit;
|
|
278
|
+
font-size: luxcommon.$form-control-font-size;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Theming für LUX-Chips
|
|
284
|
+
*/
|
|
285
|
+
lux-chips-ac {
|
|
286
|
+
.lux-chips-autocomplete-icon {
|
|
287
|
+
color: var(--lux-theme-primary-500);
|
|
288
|
+
font-size: 24px;
|
|
289
|
+
padding-right: 4px;
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
|
|
292
|
+
&.lux-disabled {
|
|
293
|
+
color: var(--lux-theme-dark-disabled-text);
|
|
294
|
+
cursor: default;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
.lux-chips {
|
|
298
|
+
mat-chip {
|
|
299
|
+
// Löschicon (luxSelected=true)
|
|
300
|
+
&.mat-chip-selected .mat-chip-remove {
|
|
301
|
+
color: luxcommon.$app-data-bg !important;
|
|
302
|
+
opacity: 1 !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Löschicon (luxSelected=false)
|
|
306
|
+
&:not(.mat-chip-selected) .mat-chip-remove {
|
|
307
|
+
color: luxcommon.$app-data-bg !important;
|
|
308
|
+
opacity: 1 !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&.mat-chip-disabled {
|
|
312
|
+
background-color: luxcommon.$dark-disabled-text !important;
|
|
313
|
+
color: luxcommon.$app-data-bg !important;
|
|
314
|
+
opacity: 1;
|
|
315
|
+
|
|
316
|
+
lux-icon {
|
|
317
|
+
i,
|
|
318
|
+
mat-icon {
|
|
319
|
+
color: luxcommon.$app-data-bg;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
mat-chip-list {
|
|
325
|
+
& div.mat-chip-list-wrapper {
|
|
326
|
+
margin: 0px 0px 0px -4px;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
.lux-chips-ac-autocomplete-panel.mat-autocomplete-panel {
|
|
332
|
+
margin-top: -21px;
|
|
333
|
+
margin-left: 0;
|
|
334
|
+
margin-right: 0;
|
|
335
|
+
border-radius: 4px;
|
|
336
|
+
|
|
337
|
+
box-shadow: none !important;
|
|
338
|
+
border: 2px solid luxpalette.$lux-primary-color;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/*
|
|
342
|
+
* Theming for LUX-Slider
|
|
343
|
+
*/
|
|
344
|
+
lux-slider-ac {
|
|
345
|
+
mat-slider.lux-slider-ac {
|
|
346
|
+
&.mat-slider-horizontal {
|
|
347
|
+
height: 1.5em;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
.lux-show-thumb-label-always {
|
|
351
|
+
&.mat-slider-disabled {
|
|
352
|
+
.mat-slider-thumb-label {
|
|
353
|
+
background-color: luxcommon.$dark-disabled-text;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|