@ihk-gfi/lux-components-theme 11.11.0 → 13.0.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 +6 -0
- package/package.json +1 -1
- 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 +478 -38
- 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 +522 -57
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/prebuilt-themes/luxtheme-orange-min.css +1 -1
- package/prebuilt-themes/luxtheme-orange-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-orange.css +478 -38
- package/prebuilt-themes/luxtheme-orange.css.map +1 -1
- package/src/base/_luxcomponents.scss +493 -47
- package/src/base/_luxelevations.scss +51 -0
- package/src/base/_luxfocus.scss +79 -12
- package/src/base/_luxicons.scss +2 -0
- package/src/base/_luxstyles.scss +31 -4
- package/src/blue/_luxcommon.scss +6 -0
- package/src/blue/luxtheme.scss +1 -1
- package/src/green/_custom.scss +55 -22
- package/src/green/_luxcommon.scss +6 -0
- package/src/green/luxtheme.scss +1 -0
- package/src/orange/_luxcommon.scss +6 -0
- package/src/orange/luxtheme.scss +2 -2
- package/CHANGELOG.md +0 -73
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import "../../node_modules/@angular/material/core/style/elevation";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
Mixins für die Bestimmung der Schatten, um den Components eine "Höhe" zu geben
|
|
6
|
+
Sortierung erfolgt nach "Material Design Specification"
|
|
7
|
+
https://material.io/design/environment/elevation.html#default-elevations
|
|
8
|
+
und nutzt die "Elevation Sass mixins" von @angular/material/core/style/elevation.scss
|
|
9
|
+
https://material.angular.io/guide/elevation
|
|
10
|
+
Wichtig: Hierbei handelt es sich um eine reine optische Elevation.
|
|
11
|
+
Der z-index wird dadurch nicht verändert!
|
|
12
|
+
|
|
13
|
+
Folgenden Components wurden die lux-elevation-z# mixins zugewiesen
|
|
14
|
+
lux-elevation-z0: (kein Schatten/niedrigste Ebene)
|
|
15
|
+
- im lux-Master-Detail wird die Card ohne Schatten genutzt, im Header der lux-rounded-Button ohne Schatten
|
|
16
|
+
lux-elevation-z1: (Strukturierende Elemente ohne Funktion)
|
|
17
|
+
- lux-card,lux-master-header/-footer/detail-contianer, wegen der geringen Größe Toggle-Thumb,
|
|
18
|
+
lux-elevation-z2: ("klickbare" Elemente)
|
|
19
|
+
- lux-buttons (luxRaised/luxRounded), lux-tile, lux-accordion
|
|
20
|
+
lux-elevation-z4: (Listen/Menüs im cdk-overlay)
|
|
21
|
+
- lux-message-box, lux-datepicker, lux-datetimepicker, lux-autocomplete, lux-select, lux-menu
|
|
22
|
+
lux-elevation-z6:
|
|
23
|
+
- lux-snackbar, lux-app-header
|
|
24
|
+
lux-elevation-z16:
|
|
25
|
+
- lux-side-nav (drawer)
|
|
26
|
+
lux-elevation-z24: (höchste Ebene)
|
|
27
|
+
- lux-dialog
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
@mixin lux-elevation-z0 {
|
|
31
|
+
@include mat-elevation(0);
|
|
32
|
+
}
|
|
33
|
+
@mixin lux-elevation-z1 {
|
|
34
|
+
@include mat-elevation(1);
|
|
35
|
+
}
|
|
36
|
+
@mixin lux-elevation-z2 {
|
|
37
|
+
@include mat-elevation(2);
|
|
38
|
+
}
|
|
39
|
+
@mixin lux-elevation-z4 {
|
|
40
|
+
@include mat-elevation(4);
|
|
41
|
+
}
|
|
42
|
+
@mixin lux-elevation-z6 {
|
|
43
|
+
@include mat-elevation(6);
|
|
44
|
+
}
|
|
45
|
+
@mixin lux-elevation-z16 {
|
|
46
|
+
@include mat-elevation(16);
|
|
47
|
+
}
|
|
48
|
+
@mixin lux-elevation-z24 {
|
|
49
|
+
@include mat-elevation(24);
|
|
50
|
+
}
|
|
51
|
+
|
package/src/base/_luxfocus.scss
CHANGED
|
@@ -11,6 +11,13 @@ $outline-bright: $outline-width $outline-style $outline-color-bright !important;
|
|
|
11
11
|
outline: $outline-dark;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@mixin focus-dark-mixin-inline {
|
|
15
|
+
// der Focus um Elemente in Panels wird mit negativen Margin nach in das Element verlegt
|
|
16
|
+
// damit wird er nicht mehr am Rand abgeschnitten oder verdeckt
|
|
17
|
+
outline: $outline-dark;
|
|
18
|
+
outline-offset: -$outline-width;
|
|
19
|
+
}
|
|
20
|
+
|
|
14
21
|
@mixin focus-bright-mixin {
|
|
15
22
|
outline: $outline-bright;
|
|
16
23
|
}
|
|
@@ -198,6 +205,9 @@ lux-chips {
|
|
|
198
205
|
& .mat-standard-chip:focus {
|
|
199
206
|
@include focus-dark-mixin;
|
|
200
207
|
}
|
|
208
|
+
.mat-chip.mat-standard-chip:after { //mat-overlay für focus deaktivieren
|
|
209
|
+
background-color: unset;
|
|
210
|
+
}
|
|
201
211
|
}
|
|
202
212
|
|
|
203
213
|
/** ########## Form-Control ########## **/
|
|
@@ -228,6 +238,12 @@ lux-form-control {
|
|
|
228
238
|
height: 2px;
|
|
229
239
|
border-bottom: 2px solid $lux-selected-border-color;
|
|
230
240
|
}
|
|
241
|
+
|
|
242
|
+
&.lux-form-control-error {
|
|
243
|
+
.lux-form-control-container:after {
|
|
244
|
+
border-bottom: 2px solid $lux-warn-color;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
231
247
|
}
|
|
232
248
|
}
|
|
233
249
|
|
|
@@ -236,6 +252,7 @@ lux-datepicker {
|
|
|
236
252
|
mat-datepicker-toggle {
|
|
237
253
|
button:focus {
|
|
238
254
|
@include focus-dark-mixin;
|
|
255
|
+
border-radius: 4px;
|
|
239
256
|
}
|
|
240
257
|
|
|
241
258
|
.mat-button-focus-overlay {
|
|
@@ -282,6 +299,7 @@ lux-datetimepicker {
|
|
|
282
299
|
mat-datepicker-toggle {
|
|
283
300
|
button:focus {
|
|
284
301
|
@include focus-dark-mixin;
|
|
302
|
+
border-radius: 4px;
|
|
285
303
|
}
|
|
286
304
|
|
|
287
305
|
.mat-button-focus-overlay {
|
|
@@ -364,11 +382,13 @@ lux-table {
|
|
|
364
382
|
}
|
|
365
383
|
|
|
366
384
|
&:focus {
|
|
367
|
-
|
|
385
|
+
@include focus-dark-mixin-inline;
|
|
386
|
+
border-radius: 4px;
|
|
368
387
|
}
|
|
369
388
|
|
|
370
389
|
&.mat-active {
|
|
371
|
-
@include focus-dark-mixin;
|
|
390
|
+
@include focus-dark-mixin-inline;
|
|
391
|
+
border-radius: 4px;
|
|
372
392
|
}
|
|
373
393
|
|
|
374
394
|
&:hover {
|
|
@@ -442,15 +462,17 @@ lux-button {
|
|
|
442
462
|
|
|
443
463
|
/** ########## Autocomplete ########## **/
|
|
444
464
|
// Class, welche das aufgeklappte Panel referenziert
|
|
445
|
-
.lux-autocomplete-panel {
|
|
465
|
+
.lux-autocomplete-panel, .lux-chips-autocomplete-panel {
|
|
446
466
|
mat-option {
|
|
447
467
|
|
|
448
468
|
&:focus {
|
|
449
|
-
@include focus-dark-mixin;
|
|
469
|
+
@include focus-dark-mixin-inline;
|
|
470
|
+
border-radius: 4px;
|
|
450
471
|
}
|
|
451
472
|
|
|
452
473
|
&.mat-active {
|
|
453
|
-
@include focus-dark-mixin;
|
|
474
|
+
@include focus-dark-mixin-inline;
|
|
475
|
+
border-radius: 4px;
|
|
454
476
|
}
|
|
455
477
|
|
|
456
478
|
&:hover {
|
|
@@ -698,17 +720,62 @@ lux-message-box {
|
|
|
698
720
|
|
|
699
721
|
/** ########## Stepper large ########## **/
|
|
700
722
|
lux-stepper-large {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
723
|
+
.lux-stepper-large-nav-item {
|
|
724
|
+
|
|
725
|
+
// Links allgemein
|
|
726
|
+
a {
|
|
727
|
+
&:focus {
|
|
728
|
+
outline: none;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&.lux-focused {
|
|
732
|
+
outline: $outline-dark;
|
|
733
|
+
}
|
|
704
734
|
}
|
|
705
735
|
|
|
706
|
-
|
|
707
|
-
|
|
736
|
+
// Link ausgewählt
|
|
737
|
+
&.lux-active {
|
|
738
|
+
.lux-stepper-large-nav-item-label-container {
|
|
739
|
+
a.lux-stepper-large-nav-item-label-link {
|
|
740
|
+
cursor: text;
|
|
741
|
+
&:hover {
|
|
742
|
+
color: unset;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
708
746
|
}
|
|
709
747
|
|
|
710
|
-
|
|
711
|
-
|
|
748
|
+
// Links nicht ausgewählt
|
|
749
|
+
&:not(.lux-active) {
|
|
750
|
+
&:not(.lux-completed) {
|
|
751
|
+
.lux-stepper-large-nav-item-label-container {
|
|
752
|
+
a.lux-stepper-large-nav-item-label-link {
|
|
753
|
+
&:hover {
|
|
754
|
+
color: #2E8533;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
&.lux-completed {
|
|
761
|
+
.lux-stepper-large-nav-item-label-container {
|
|
762
|
+
a.lux-stepper-large-nav-item-label-link {
|
|
763
|
+
&:hover {
|
|
764
|
+
color: #56BD66;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
712
769
|
}
|
|
713
770
|
}
|
|
714
771
|
}
|
|
772
|
+
|
|
773
|
+
/** ########## File-Upload ########## **/
|
|
774
|
+
.lux-file-upload-drop-container {
|
|
775
|
+
margin-left: $outline-width;
|
|
776
|
+
margin-right: $outline-width;
|
|
777
|
+
|
|
778
|
+
&:focus {
|
|
779
|
+
outline: $outline-dark;
|
|
780
|
+
}
|
|
781
|
+
}
|
package/src/base/_luxstyles.scss
CHANGED
|
@@ -36,6 +36,12 @@ $paletteNamen: primary, accent, warn;
|
|
|
36
36
|
--lux-theme-form-control-height-small: #{$form-control-height-small};
|
|
37
37
|
--lux-theme-form-control-font-size: #{$form-control-font-size};
|
|
38
38
|
--lux-theme-form-control-font-size-small: #{$form-control-font-size-small};
|
|
39
|
+
--lux-theme-form-control-label-padding: #{$form-control-label-padding};
|
|
40
|
+
--lux-theme-form-control-container-padding: #{$form-control-container-padding};
|
|
41
|
+
--lux-theme-form-control-misc-margin: #{$form-control-misc-margin};
|
|
42
|
+
--lux-theme-form-control-complete-height: #{$form-control-complete-height};
|
|
43
|
+
--lux-theme-form-control-buffer: #{$form-control-buffer};
|
|
44
|
+
--lux-theme-form-control-margin: #{$form-control-margin};
|
|
39
45
|
|
|
40
46
|
// Button
|
|
41
47
|
--lux-theme-button-height: #{$button-height};
|
|
@@ -192,11 +198,20 @@ h6 {
|
|
|
192
198
|
-webkit-border-radius: 4px;
|
|
193
199
|
-moz-border-radius: 4px;
|
|
194
200
|
border-radius: 4px;
|
|
195
|
-
|
|
201
|
+
margin: 16px 0;
|
|
202
|
+
padding: 16px 16px;
|
|
196
203
|
border: 1px solid $dark-dividers;
|
|
197
204
|
display: flex;
|
|
198
|
-
margin: 0 0 16px 0;
|
|
199
205
|
word-break: break-word;
|
|
206
|
+
|
|
207
|
+
&.column {
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
gap: 16px;
|
|
210
|
+
}
|
|
211
|
+
&.row {
|
|
212
|
+
flex-direction: row;
|
|
213
|
+
gap: 16px;
|
|
214
|
+
}
|
|
200
215
|
}
|
|
201
216
|
|
|
202
217
|
.lux-highlight-section-label {
|
|
@@ -204,6 +219,19 @@ h6 {
|
|
|
204
219
|
margin-left: 0;
|
|
205
220
|
}
|
|
206
221
|
|
|
222
|
+
.lux-simple-form {
|
|
223
|
+
margin: 4px 0;
|
|
224
|
+
display: flex;
|
|
225
|
+
&.column {
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
gap: 16px;
|
|
228
|
+
}
|
|
229
|
+
&.row {
|
|
230
|
+
flex-direction: row;
|
|
231
|
+
gap: 16px;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
207
235
|
.lux-app-container {
|
|
208
236
|
flex-direction: column;
|
|
209
237
|
box-sizing: border-box;
|
|
@@ -266,7 +294,7 @@ lux-card.lux-card-grow {
|
|
|
266
294
|
}
|
|
267
295
|
|
|
268
296
|
.lux-display-none {
|
|
269
|
-
display: none;
|
|
297
|
+
display: none !important;
|
|
270
298
|
}
|
|
271
299
|
|
|
272
300
|
.lux-display-none-important {
|
|
@@ -356,7 +384,6 @@ lux-card.lux-card-grow {
|
|
|
356
384
|
position: relative;
|
|
357
385
|
margin: 0 !important;
|
|
358
386
|
min-width: unset !important;
|
|
359
|
-
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
360
387
|
// Die Snackbar wird durch die App umpositioniert, bevor sie sichtbar geschaltet wird.
|
|
361
388
|
// Würde man die Snackbar nicht verstecken, würde sie von der initialen Position zur neuen
|
|
362
389
|
// springen.
|
package/src/blue/_luxcommon.scss
CHANGED
|
@@ -24,6 +24,12 @@ $form-control-height: 24px;
|
|
|
24
24
|
$form-control-height-small: 18px;
|
|
25
25
|
$form-control-font-size: 15px;
|
|
26
26
|
$form-control-font-size-small: 12px;
|
|
27
|
+
$form-control-label-padding: 2px 0 0 0;
|
|
28
|
+
$form-control-container-padding: 6px 0 0 0;
|
|
29
|
+
$form-control-misc-margin: 4px 0 2px 0;
|
|
30
|
+
$form-control-complete-height: 70px;
|
|
31
|
+
$form-control-buffer: 4px;
|
|
32
|
+
$form-control-margin: 0px;
|
|
27
33
|
|
|
28
34
|
// Button
|
|
29
35
|
$button-height: 45px;
|
package/src/blue/luxtheme.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@import "luxpalette";
|
|
2
2
|
@import "../public/global";
|
|
3
3
|
@import "luxcommon";
|
|
4
|
+
@import "../base/luxelevations";
|
|
4
5
|
@import "../base/luxcomponents";
|
|
5
6
|
@import "../base/luxfocus";
|
|
6
7
|
@import "../base/luxstyles";
|
|
7
8
|
@import "../../node_modules/@angular/material/theming";
|
|
8
9
|
@import "../base/luxtheme";
|
|
9
10
|
@import "custom";
|
|
10
|
-
|
package/src/green/_custom.scss
CHANGED
|
@@ -2,6 +2,7 @@ $button-font-size: 22px;
|
|
|
2
2
|
$light-green: #E4F1E4;
|
|
3
3
|
$light-gray: #EFF3F6;
|
|
4
4
|
$light-blue: #E3EBF5;
|
|
5
|
+
$dark-green: #2E8533;
|
|
5
6
|
|
|
6
7
|
body {
|
|
7
8
|
color: #003366;
|
|
@@ -211,8 +212,9 @@ lux-app-header {
|
|
|
211
212
|
*/
|
|
212
213
|
lux-button button.lux-button {
|
|
213
214
|
|
|
214
|
-
font-weight:
|
|
215
|
-
|
|
215
|
+
font-weight: normal !important;
|
|
216
|
+
align-items: center;
|
|
217
|
+
|
|
216
218
|
&.mat-button, &.mat-raised-button {
|
|
217
219
|
border-radius: 18px;
|
|
218
220
|
height: $button-height;
|
|
@@ -234,14 +236,15 @@ lux-button button.lux-button {
|
|
|
234
236
|
&.lux-icon-button {
|
|
235
237
|
border-radius: 18px;
|
|
236
238
|
height: $button-height;
|
|
237
|
-
padding-top: 4px;
|
|
238
|
-
padding-bottom: 2px;
|
|
239
239
|
|
|
240
240
|
& lux-icon {
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
line-height: 1;
|
|
242
|
+
i {
|
|
243
243
|
font-size: 1em;
|
|
244
244
|
}
|
|
245
|
+
mat-icon {
|
|
246
|
+
font-size: 1.2em !important;
|
|
247
|
+
}
|
|
245
248
|
}
|
|
246
249
|
}
|
|
247
250
|
|
|
@@ -249,11 +252,12 @@ lux-button button.lux-button {
|
|
|
249
252
|
border-radius: 16px !important;
|
|
250
253
|
height: $button-fav-height;
|
|
251
254
|
width: $button-fav-height;
|
|
252
|
-
|
|
255
|
+
font-size: $button-font-size;
|
|
253
256
|
& lux-icon {
|
|
257
|
+
line-height: 1;
|
|
254
258
|
i,
|
|
255
259
|
mat-icon {
|
|
256
|
-
font-size: 1.
|
|
260
|
+
font-size: 1.2em !important;
|
|
257
261
|
}
|
|
258
262
|
}
|
|
259
263
|
}
|
|
@@ -291,6 +295,13 @@ lux-tile {
|
|
|
291
295
|
.lux-highlight {
|
|
292
296
|
color: #003366;
|
|
293
297
|
}
|
|
298
|
+
|
|
299
|
+
.lux-tile-label {
|
|
300
|
+
flex-shrink: 1;
|
|
301
|
+
flex-grow: 0;
|
|
302
|
+
min-height: 70px;
|
|
303
|
+
max-height: 70px;
|
|
304
|
+
}
|
|
294
305
|
}
|
|
295
306
|
|
|
296
307
|
lux-tile {
|
|
@@ -301,18 +312,17 @@ lux-tile {
|
|
|
301
312
|
|
|
302
313
|
mat-card[class~=lux-cursor] {
|
|
303
314
|
|
|
304
|
-
box-shadow: 0px 2px 1px -1px rgb(0 51 102 / 60%), 0px 1px 1px 0px rgb(0 51 102 / 50%), 0px 1px 3px 0px rgb(0 51 102 / 40%) !important;
|
|
305
|
-
|
|
306
315
|
&:focus {
|
|
307
316
|
@include focus-dark-mixin;
|
|
308
317
|
}
|
|
309
318
|
|
|
310
319
|
&:hover {
|
|
311
320
|
background-color: white !important;
|
|
312
|
-
|
|
321
|
+
// farbiger Schatten beim Hover
|
|
322
|
+
@include mat-elevation(2, $dark-green, 1);
|
|
313
323
|
|
|
314
324
|
h2 {
|
|
315
|
-
color: #
|
|
325
|
+
color: #56bd66;
|
|
316
326
|
}
|
|
317
327
|
}
|
|
318
328
|
}
|
|
@@ -333,16 +343,12 @@ lux-tile {
|
|
|
333
343
|
/*
|
|
334
344
|
* Theming for LUX-Form-Controls
|
|
335
345
|
*/
|
|
336
|
-
$form-control-padding: 10px 5px 10px 5px;
|
|
337
346
|
$form-control-label-padding-bottom: 4px;
|
|
338
347
|
$form-control-border-radius: 4px;
|
|
339
348
|
$form-control-old-border-bottom: 0px;
|
|
340
349
|
|
|
341
350
|
lux-checkbox, lux-toggle, lux-radio, lux-slider {
|
|
342
351
|
& .lux-form-control {
|
|
343
|
-
margin-right: 4px;
|
|
344
|
-
margin-left: 4px;
|
|
345
|
-
|
|
346
352
|
.lux-form-control-label {
|
|
347
353
|
padding-bottom: $form-control-label-padding-bottom;
|
|
348
354
|
}
|
|
@@ -361,11 +367,12 @@ lux-checkbox, lux-toggle, lux-radio, lux-slider {
|
|
|
361
367
|
}
|
|
362
368
|
}
|
|
363
369
|
|
|
370
|
+
.mat-select-value {
|
|
371
|
+
color: $dark-secondary-text;
|
|
372
|
+
}
|
|
373
|
+
|
|
364
374
|
lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datepicker, lux-datetimepicker, lux-chips {
|
|
365
375
|
& .lux-form-control {
|
|
366
|
-
margin-right: 4px;
|
|
367
|
-
margin-left: 4px;
|
|
368
|
-
|
|
369
376
|
.lux-form-control-label {
|
|
370
377
|
padding-bottom: $form-control-label-padding-bottom;
|
|
371
378
|
}
|
|
@@ -373,7 +380,7 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
|
|
|
373
380
|
.lux-form-control-container {
|
|
374
381
|
border: 1px solid $form-border-color;
|
|
375
382
|
border-radius: $form-control-border-radius;
|
|
376
|
-
padding: $form-control-padding;
|
|
383
|
+
padding: $form-control-container-padding;
|
|
377
384
|
|
|
378
385
|
&:after {
|
|
379
386
|
border-bottom: $form-control-old-border-bottom;
|
|
@@ -395,6 +402,10 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
|
|
|
395
402
|
.lux-form-control-container {
|
|
396
403
|
border-color: $lux-selected-border-color !important;
|
|
397
404
|
box-shadow: 0 0 0 2px $lux-warn-color, 0 0 4px 2px $lux-warn-color;
|
|
405
|
+
|
|
406
|
+
&:after {
|
|
407
|
+
border-bottom: $form-control-old-border-bottom;
|
|
408
|
+
}
|
|
398
409
|
}
|
|
399
410
|
|
|
400
411
|
.lux-form-control-misc {
|
|
@@ -409,7 +420,7 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
|
|
|
409
420
|
color: $dark-disabled-text !important;
|
|
410
421
|
border: 1px dashed $dark-disabled-text !important;
|
|
411
422
|
border-radius: $form-control-border-radius;
|
|
412
|
-
padding: $form-control-padding;
|
|
423
|
+
padding: $form-control-container-padding;
|
|
413
424
|
|
|
414
425
|
&:after {
|
|
415
426
|
border-bottom: $form-control-old-border-bottom;
|
|
@@ -428,7 +439,17 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
|
|
|
428
439
|
box-shadow: 0 0 0 2px $lux-selected-border-color, 0 0 4px 2px $lux-selected-border-color;
|
|
429
440
|
|
|
430
441
|
&:after {
|
|
431
|
-
border-bottom: $form-control-old-border-bottom;
|
|
442
|
+
border-bottom: $form-control-old-border-bottom !important;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
&.lux-form-control-error {
|
|
447
|
+
.lux-form-control-container {
|
|
448
|
+
border-color: $lux-warn-color !important;
|
|
449
|
+
box-shadow: 0 0 0 2px $lux-warn-color, 0 0 4px 2px $lux-warn-color;
|
|
450
|
+
}
|
|
451
|
+
&:after {
|
|
452
|
+
border-bottom: $form-control-old-border-bottom !important;
|
|
432
453
|
}
|
|
433
454
|
}
|
|
434
455
|
}
|
|
@@ -452,6 +473,18 @@ lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datep
|
|
|
452
473
|
}
|
|
453
474
|
}
|
|
454
475
|
|
|
476
|
+
/*
|
|
477
|
+
* Theming für LUX-Layout-Form-Row
|
|
478
|
+
*/
|
|
479
|
+
lux-layout-form-row {
|
|
480
|
+
lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datepicker, lux-datetimepicker, lux-chips {
|
|
481
|
+
& .lux-form-control {
|
|
482
|
+
margin-right: 0px;
|
|
483
|
+
margin-left: 0px;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
455
488
|
/*
|
|
456
489
|
* Theming für LUX-Checkbox
|
|
457
490
|
*/
|
|
@@ -24,6 +24,12 @@ $form-control-height: 24px;
|
|
|
24
24
|
$form-control-height-small: 18px;
|
|
25
25
|
$form-control-font-size: 15px;
|
|
26
26
|
$form-control-font-size-small: 12px;
|
|
27
|
+
$form-control-label-padding: 2px 0 4px 0;
|
|
28
|
+
$form-control-container-padding: 10px 5px 10px 5px;
|
|
29
|
+
$form-control-misc-margin: 4px 0 2px 0;
|
|
30
|
+
$form-control-complete-height: 84px;
|
|
31
|
+
$form-control-buffer: 6px;
|
|
32
|
+
$form-control-margin: 0px;
|
|
27
33
|
|
|
28
34
|
// Button
|
|
29
35
|
$button-height: 45px;
|
package/src/green/luxtheme.scss
CHANGED
|
@@ -24,6 +24,12 @@ $form-control-height: 24px;
|
|
|
24
24
|
$form-control-height-small: 18px;
|
|
25
25
|
$form-control-font-size: 15px;
|
|
26
26
|
$form-control-font-size-small: 12px;
|
|
27
|
+
$form-control-label-padding: 2px 0 0 0;
|
|
28
|
+
$form-control-container-padding: 6px 0 0 0;
|
|
29
|
+
$form-control-misc-margin: 4px 0 2px 0;
|
|
30
|
+
$form-control-complete-height: 70px;
|
|
31
|
+
$form-control-buffer: 4px;
|
|
32
|
+
$form-control-margin: 0px;
|
|
27
33
|
|
|
28
34
|
// Button
|
|
29
35
|
$button-height: 45px;
|
package/src/orange/luxtheme.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@import "luxpalette";
|
|
2
2
|
@import "../public/global";
|
|
3
3
|
@import "luxcommon";
|
|
4
|
+
@import "../base/luxelevations";
|
|
4
5
|
@import "../base/luxcomponents";
|
|
5
6
|
@import "../base/luxfocus";
|
|
6
7
|
@import "../base/luxstyles";
|
|
7
8
|
@import "../../node_modules/@angular/material/theming";
|
|
8
9
|
@import "../base/luxtheme";
|
|
9
|
-
@import "custom";
|
|
10
|
-
|
|
10
|
+
@import "custom";
|
package/CHANGELOG.md
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# Version 11.11.0
|
|
2
|
-
- **allgemein**: Die Font Awesome- und Material-Icons sollen nicht über die Server von Google und Font Awesome direkt importiert werden. [Issue 17](https://github.com/IHK-GfI/lux-components-theme/issues/17)
|
|
3
|
-
- **stepper-large**: lux-stepper-larger - Der Inhaltscontainer soll sich automatisch der Größe seines Containers anpassen. [Issue 18](https://github.com/IHK-GfI/lux-components-theme/issues/18)
|
|
4
|
-
|
|
5
|
-
# Version 11.10.0
|
|
6
|
-
## New - Theme "green"
|
|
7
|
-
- **stepper-large**: Styles für den neuen Stepper (lux-stepper-large) entwickeln. [Issue 16](https://github.com/IHK-GfI/lux-components-theme/issues/16)
|
|
8
|
-
|
|
9
|
-
# Version 11.9.0
|
|
10
|
-
- **allgemein**: Die folgenden neuen CSS-Klassen wurden eingeführt: [Issue 15](https://github.com/IHK-GfI/lux-components-theme/issues/15)
|
|
11
|
-
- lux-display-none-important
|
|
12
|
-
- lux-hidden-important
|
|
13
|
-
|
|
14
|
-
# Version 11.8.0
|
|
15
|
-
## New - Theme "green"
|
|
16
|
-
- **tabs**: Die Schrift der Tablabels soll auf die Schrift "Korb (700) 22px" umgestellt werden. [Issue 14](https://github.com/IHK-GfI/lux-components-theme/issues/14)
|
|
17
|
-
- **tabs**: Die Hover- und Active-Farbe soll auf den Wert "E3EBF5" eingestellt werden. [Issue 14](https://github.com/IHK-GfI/lux-components-theme/issues/14)
|
|
18
|
-
|
|
19
|
-
# Version 11.7.1
|
|
20
|
-
## Bug Fixes - Theme "green"
|
|
21
|
-
- **checkbox**: Deaktivierte Checkbox wird nicht angezeigt. [Issue 13](https://github.com/IHK-GfI/lux-components-theme/issues/13)
|
|
22
|
-
|
|
23
|
-
# Version 11.7.0
|
|
24
|
-
## New
|
|
25
|
-
- **allgemein**: Die folgenden neuen CSS-Variablen wurden eingeführt: [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
26
|
-
- `--lux-theme-form-control-default-height-not-scalable`
|
|
27
|
-
- `--lux-theme-form-control-height`
|
|
28
|
-
- `--lux-theme-form-control-height-small`
|
|
29
|
-
- `--lux-theme-form-control-font-size`
|
|
30
|
-
- `--lux-theme-form-control-font-size-small`
|
|
31
|
-
|
|
32
|
-
## New - Theme "green"
|
|
33
|
-
- **checkbox**: Checkboxen abgerundet darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
34
|
-
- **radio**: Aktivierte Radio-Buttons mit Haken-Icon darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
35
|
-
- **form-fields**: Eingabefelder mit abgerundetem Rahmen und Label darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
36
|
-
- **table**: Die Zeilenhintergrundfarbe alternierend in Weiß und Hellgrau darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
37
|
-
- **table**: Den Tabellenheader in Grün darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
38
|
-
- **datepicker**: Überschriften (Wochentage) mit zwei Buchstaben darstellen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
39
|
-
- **datepicker**: Tagehintergrund in hellblauen Kästchen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
40
|
-
- **datepicker**: Selektierter Tag als dunkelblaues Kästchen. [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
41
|
-
- **datepicker**: Monatsname unterhalb der Tagesspaltenköpfe soll entfallen (falls möglich). [Issue 12](https://github.com/IHK-GfI/lux-components-theme/issues/12)
|
|
42
|
-
|
|
43
|
-
# Version 11.6.1
|
|
44
|
-
## Bug Fixes
|
|
45
|
-
- **table**: Falsche Fokusdarstellung bei den Tabellenzellen (td-Tags) [Issue 11](https://github.com/IHK-GfI/lux-components-theme/issues/11)
|
|
46
|
-
|
|
47
|
-
# Version 11.6.0
|
|
48
|
-
## New
|
|
49
|
-
- **badge-notification**: Accent-Farbe noch ans Theme anpassen [Issue 7](https://github.com/IHK-GfI/lux-components-theme/issues/7)
|
|
50
|
-
- **allgemein**: Themefarben auch als Css-Variablen zur Verfügung stellen [Issue 8](https://github.com/IHK-GfI/lux-components-theme/issues/8)
|
|
51
|
-
|
|
52
|
-
# Version 11.5.0
|
|
53
|
-
## New
|
|
54
|
-
- **green**: Die Buttons und Schriften im Theme "green" überarbeiten. [Issue 6](https://github.com/IHK-GfI/lux-components-theme/issues/6)
|
|
55
|
-
|
|
56
|
-
## Bug Fixes
|
|
57
|
-
- **button**: Unterschiedliche Buttonhöhen (mit/ohne Icons) korrigieren [Issue 5](https://github.com/IHK-GfI/lux-components-theme/issues/5)
|
|
58
|
-
|
|
59
|
-
# Version 11.4.0
|
|
60
|
-
## New
|
|
61
|
-
- **lux-datetimepicker**: Styles für den neuen Datetimepicker inklusive Uhrzeit bereitstellen. [Issue 4](https://github.com/IHK-GfI/lux-components/issues/4)
|
|
62
|
-
|
|
63
|
-
# Version 11.3.0
|
|
64
|
-
## New
|
|
65
|
-
- **green**: Theme "green" vollständig überarbeiten. [Issue 3](https://github.com/IHK-GfI/lux-components-theme/issues/3)
|
|
66
|
-
|
|
67
|
-
# Version 11.2.1
|
|
68
|
-
## Bug Fixes
|
|
69
|
-
- **tab-notification**: "Tab Notification"-Icons haben fälschlicherweise einen roten Rand. [Issue 2](https://github.com/IHK-GfI/lux-components-theme/issues/2)
|
|
70
|
-
|
|
71
|
-
# Version 11.2.0
|
|
72
|
-
## New
|
|
73
|
-
- **tooltip**: Schriftgröße erhöhen. [Issue 1](https://github.com/IHK-GfI/lux-components-theme/issues/1)
|