@elderbyte/ngx-starter 19.1.0-beta.8 → 19.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/_index.scss +1 -1
- package/fesm2022/elderbyte-ngx-starter.mjs +1177 -1066
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/data-view/table/elder-table/elder-table.component.d.ts +2 -1
- package/lib/components/layout/pane/header/pane-actions.component.d.ts +5 -0
- package/lib/components/layout/pane/header/pane-header.component.d.ts +7 -0
- package/lib/components/layout/pane/header/pane-title.component.d.ts +5 -0
- package/lib/components/layout/pane/pane-content.component.d.ts +5 -0
- package/lib/components/layout/pane/pane.component.d.ts +1 -1
- package/lib/components/layout/public_api.d.ts +4 -0
- package/package.json +1 -1
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +4 -3
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +7 -11
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.scss +20 -11
- package/src/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.scss +3 -0
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +70 -83
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +3 -217
- package/src/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.scss +4 -4
- package/src/lib/components/forms/search/search-box/elder-search-box.component.scss +1 -0
- package/src/lib/components/labels/labels-input/labels-input.component.scss +0 -3
- package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +20 -5
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +33 -6
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +1 -1
- package/src/lib/components/panels/toggle-panel/elder-toggle-panel.component.scss +3 -0
- package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +0 -77
- package/src/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.scss +0 -48
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +0 -60
- package/src/lib/components/select/single/elder-select/elder-select.component.scss +14 -51
- package/src/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.scss +0 -11
- package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.scss +1 -1
- package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +1 -1
- package/theming/abstracts/_elder-design-tokens.scss +213 -0
- package/theming/{system/_elder-config.scss → abstracts/_elder-scss-variables.scss} +35 -0
- package/theming/{system/_elder-defaults.scss → abstracts/_elder-set-defaults-fn.scss} +8 -8
- package/theming/abstracts/_elder-starter-theme.scss +49 -0
- package/theming/abstracts/_elder-theme-main.scss +96 -0
- package/theming/{style-tweaks/_elder-common.scss → base/_elder-common-base.scss} +20 -45
- package/theming/base/_elder-fixes-base.scss +200 -0
- package/theming/{style-tweaks/_elder-form.scss → base/_elder-form-base.scss} +16 -2
- package/theming/base/_elder-root-base.scss +40 -0
- package/theming/components/_elder-chip-theme.scss +297 -0
- package/theming/components/_elder-select-theme.scss +79 -0
- package/theming/components/_elder-table-theme.scss +209 -0
- package/theming/components/_elder-toolbar-theme.scss +79 -0
- package/theming/{utility-classes/_elder-color-helpers.scss → utilities/_elder-color-utils.scss} +15 -14
- package/theming/utilities/_elder-common-utils.scss +55 -0
- package/theming/{utility-classes/_elder-flex-layout.scss → utilities/_elder-flex-layout-utils.scss} +3 -2
- package/theming/{utility-classes/_elder-layout-system.scss → utilities/_elder-layout-utils.scss} +199 -195
- package/theming/{utility-classes/_elder-typography-helpers.scss → utilities/_elder-typography-utils.scss} +1 -1
- package/src/lib/components/chips/_elder-chip-theme.scss +0 -129
- package/src/lib/components/navigation/nav/_elder-nav-theme.scss +0 -66
- package/src/lib/components/select/_elder-select-base.scss +0 -28
- package/theming/style-tweaks/_elder-color-variants.scss +0 -31
- package/theming/style-tweaks/_elder-component-themes.scss +0 -22
- package/theming/style-tweaks/_elder-reset.scss +0 -13
- package/theming/style-tweaks/_elder-style-fixes.scss +0 -387
- package/theming/system/_elder-design-tokens.scss +0 -139
- package/theming/system/_elder-m3-theme.scss +0 -156
- package/theming/system/_elder-starter-theme.scss +0 -45
- package/theming/utility-classes/_elder-common-helpers.scss +0 -20
- /package/theming/{style-tweaks/_elder-style-tweak-mixins.scss → base/_elder-base-mixins.scss} +0 -0
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
$colorStateNone: rgb(143, 143, 143);
|
|
5
|
-
$colorStateOpen: rgb(199, 199, 199);
|
|
6
|
-
|
|
7
|
-
$colorStateInProgress: rgb(33, 150, 243);
|
|
8
|
-
$colorStateCompleted: rgb(4, 170, 109);
|
|
9
|
-
$colorStateWarn: rgb(255, 145, 0);
|
|
10
|
-
$colorStateError: rgb(255, 0, 0);
|
|
11
|
-
$colorStateOther: rgb(121, 73, 252);
|
|
12
|
-
|
|
13
|
-
$level-low: rgb(4, 170, 109);
|
|
14
|
-
$level-medium: rgb(33, 150, 243);
|
|
15
|
-
$level-high: rgb(255, 145, 0);
|
|
16
|
-
$level-critical: rgb(255, 0, 0);
|
|
17
|
-
|
|
18
|
-
@mixin theme($config-or-theme) {
|
|
19
|
-
.mat-mdc-chip.elder-chip-label {
|
|
20
|
-
--mdc-chip-elevated-container-color: rgba(143, 143, 143, 0.2);
|
|
21
|
-
background-color: var(--mdc-chip-elevated-container-color);
|
|
22
|
-
|
|
23
|
-
&.color-primary {
|
|
24
|
-
background-color: var(--md-sys-color-primary-container);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.color-primary {
|
|
28
|
-
@include _theme_color_chip(
|
|
29
|
-
var(--md-sys-color-primary-container),
|
|
30
|
-
var(--md-sys-color-primary),
|
|
31
|
-
var(--md-sys-color-on-primary)
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.color-accent {
|
|
36
|
-
@include _theme_color_chip(
|
|
37
|
-
var(--md-sys-color-tertiary-container),
|
|
38
|
-
var(--md-sys-color-tertiary),
|
|
39
|
-
var(--md-sys-color-on-tertiary)
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.color-warn {
|
|
44
|
-
@include _theme_color_chip(
|
|
45
|
-
var(--md-sys-color-error-container),
|
|
46
|
-
var(--md-sys-color-error),
|
|
47
|
-
var(--md-sys-color-on-error)
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.none {
|
|
52
|
-
background-color: rgba($colorStateNone, 0.2);
|
|
53
|
-
border-color: $colorStateNone;
|
|
54
|
-
background-color: var(--md-sys-color-surface-variant);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&.state-open {
|
|
58
|
-
background-color: rgba($colorStateOpen, 0.2);
|
|
59
|
-
border-color: var(--md-sys-color-surface-variant);
|
|
60
|
-
.mat-mdc-chip-avatar {
|
|
61
|
-
color: var(--md-sys-color-surface-variant);
|
|
62
|
-
}
|
|
63
|
-
background-color: var(--md-sys-color-surface-container);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.state-in-progress {
|
|
67
|
-
--mdc-chip-elevated-container-color: var(--md-sys-color-primary-container);
|
|
68
|
-
--mdc-chip-label-text-color: var(--md-sys-color-on-primary-container);
|
|
69
|
-
}
|
|
70
|
-
&.state-completed {
|
|
71
|
-
--mdc-chip-elevated-container-color: var(--mdc-chip-elevated-selected-container-color);
|
|
72
|
-
--mdc-chip-label-text-color: var(--mdc-chip-elevated-on-container-color);
|
|
73
|
-
}
|
|
74
|
-
&.state-warn {
|
|
75
|
-
--mdc-chip-elevated-container-color: var(--md-sys-color-tertiary-container);
|
|
76
|
-
--mdc-chip-label-text-color: var(--md-sys-color-tertiary-on-container);
|
|
77
|
-
}
|
|
78
|
-
&.state-error {
|
|
79
|
-
--mdc-chip-elevated-container-color: var(--md-sys-color-error-container);
|
|
80
|
-
--mdc-chip-label-text-color: var(--md-sys-color-error-on-container);
|
|
81
|
-
}
|
|
82
|
-
&.state-other {
|
|
83
|
-
--mdc-chip-elevated-container-color: var(--md-sys-color-primary-fixed-dim);
|
|
84
|
-
--mdc-chip-label-text-color: var(--md-sys-color-on-primary-fixed);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.level-low {
|
|
88
|
-
@include _outlined-label-chip($level-low);
|
|
89
|
-
}
|
|
90
|
-
&.level-medium {
|
|
91
|
-
@include _outlined-label-chip($level-medium);
|
|
92
|
-
}
|
|
93
|
-
&.level-high {
|
|
94
|
-
@include _outlined-label-chip($level-high);
|
|
95
|
-
}
|
|
96
|
-
&.level-critical {
|
|
97
|
-
@include _outlined-label-chip($level-critical);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@mixin _theme_color_chip($color1, $color2, $color3) {
|
|
103
|
-
&.legacy {
|
|
104
|
-
background-color: $color2;
|
|
105
|
-
.mat-mdc-chip-action-label,
|
|
106
|
-
.mat-mdc-chip-avatar,
|
|
107
|
-
.mdc-evolution-chip__checkmark {
|
|
108
|
-
color: $color3;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
&.md3 {
|
|
112
|
-
background-color: $color1;
|
|
113
|
-
border-color: $color2;
|
|
114
|
-
.mat-mdc-chip-action-label,
|
|
115
|
-
.mat-mdc-chip-avatar,
|
|
116
|
-
.mdc-evolution-chip__checkmark {
|
|
117
|
-
//color: $color2;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@mixin _outlined-label-chip($color1) {
|
|
123
|
-
background-color: rgba($color1, 0.2);
|
|
124
|
-
border-color: $color1;
|
|
125
|
-
.mat-mdc-chip-action-label,
|
|
126
|
-
.mat-mdc-chip-avatar {
|
|
127
|
-
color: $color1;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
@mixin theme($theme) {
|
|
4
|
-
@include _group-theme($theme);
|
|
5
|
-
@include _link-theme($theme);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin _group-theme($theme) {
|
|
9
|
-
.nav-group-button:hover {
|
|
10
|
-
background-color: var(--md-sys-color-surface-container-high);
|
|
11
|
-
transition: background-color 0.5s;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.nav-group-button:not(.nav-group-button-open) {
|
|
15
|
-
.mat-icon {
|
|
16
|
-
color: var(--md-sys-color-on-surface);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.nav-group-button-active {
|
|
21
|
-
background-color: var(--md-sys-color-primary-fixed);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.nav-group-button-open {
|
|
25
|
-
padding-left: 11px !important; // -5 to counter border-left
|
|
26
|
-
.mat-icon {
|
|
27
|
-
color: var(--md-sys-color-primary);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin _link-theme($theme) {
|
|
33
|
-
.nav-link.nav-link-clickable {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
&:hover {
|
|
36
|
-
background-color: var(--md-sys-color-surface-container-high);
|
|
37
|
-
color: var(--md-sys-color-on-surface);
|
|
38
|
-
.mat-icon {
|
|
39
|
-
color: var(--md-sys-color-on-surface);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.nav-link.nav-link-disabled {
|
|
45
|
-
cursor: default;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.nav-link:hover {
|
|
49
|
-
background-color: var(--md-sys-color-surface-container-low);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.nav-link.nav-link-active {
|
|
53
|
-
background-color: var(--md-sys-color-surface-container-highest);
|
|
54
|
-
color: var(--md-sys-color-on-surface-container);
|
|
55
|
-
.mat-icon {
|
|
56
|
-
color: var(--md-sys-color-on-teriary);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nav-link.nav-link-inactive {
|
|
61
|
-
color: var(--md-sys-color-on-surface);
|
|
62
|
-
.mat-icon {
|
|
63
|
-
color: var(--md-sys-color-on-surface);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin typography($typography-config) {
|
|
5
|
-
$line-height-em: var(--md-sys-typescale-body-medium-line-height);
|
|
6
|
-
|
|
7
|
-
$icon-size: 16px;
|
|
8
|
-
$arrow-icon-size: 24px;
|
|
9
|
-
|
|
10
|
-
.elder-input-prefix-icon-container {
|
|
11
|
-
height: $line-height-em !important;
|
|
12
|
-
min-width: $line-height-em !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.elder-select-arrow {
|
|
16
|
-
width: $arrow-icon-size !important;
|
|
17
|
-
height: $arrow-icon-size !important;
|
|
18
|
-
line-height: $arrow-icon-size !important;
|
|
19
|
-
font-size: $arrow-icon-size !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.elder-icon-small {
|
|
23
|
-
width: $icon-size !important;
|
|
24
|
-
height: $icon-size !important;
|
|
25
|
-
line-height: $icon-size !important;
|
|
26
|
-
font-size: $icon-size !important;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Source: https://material.angular.io/guide/theming#using-component-color-variants
|
|
5
|
-
*
|
|
6
|
-
* This applies custom color variants for the legacy M2 color system for usage in M3.
|
|
7
|
-
* There are different mixins for many components (not all).
|
|
8
|
-
* You can find the list of the components and there supported color variants here:
|
|
9
|
-
* https://material.angular.io/guide/theming#using-component-color-variants
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
// Custom Color variants for m3. They can already be provided through
|
|
13
|
-
// "mat.color-variants-backwards-compatibility()"
|
|
14
|
-
// But can be customized in this mixin below:
|
|
15
|
-
|
|
16
|
-
@mixin elder-color-variants($theme) {
|
|
17
|
-
// Apply primary color variants for button components
|
|
18
|
-
mat-chip-option[color='primary'] {
|
|
19
|
-
@include mat.chips-color($theme, $color-variant: primary);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Apply secondary color variants for button components
|
|
23
|
-
mat-chip-option[color='danger'] {
|
|
24
|
-
@include mat.chips-color($theme, $color-variant: error);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Apply tertiary color variants for button components
|
|
28
|
-
mat-chip-option[color='accent'] {
|
|
29
|
-
@include mat.chips-color($theme, $color-variant: tertiary);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@use '../../src/lib/components/chips/elder-chip-theme' as elder-chip;
|
|
2
|
-
@use '../../src/lib/components/data-view/table/elder-table/elder-table.component' as elder-table;
|
|
3
|
-
@use '../../src/lib/components/navigation/nav/elder-nav-theme' as elder-nav;
|
|
4
|
-
@use '../../src/lib/components/data-view/grid/elder-grid/elder-grid.component' as elder-grid;
|
|
5
|
-
@use '../../src/lib/components/card-organizer/card-stack/elder-card-stack.component' as
|
|
6
|
-
elder-card-stack;
|
|
7
|
-
@use '../../src/lib/components/select/single/elder-select/elder-select.component' as elder-select;
|
|
8
|
-
@use '../../src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component'
|
|
9
|
-
as elder-multi-select-chips;
|
|
10
|
-
@use '../../src/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component'
|
|
11
|
-
as elder-multi-select-chip-options;
|
|
12
|
-
|
|
13
|
-
@mixin theme($theme) {
|
|
14
|
-
@include elder-chip.theme($theme);
|
|
15
|
-
@include elder-nav.theme($theme);
|
|
16
|
-
@include elder-select.theme($theme);
|
|
17
|
-
@include elder-multi-select-chips.theme($theme);
|
|
18
|
-
@include elder-multi-select-chip-options.theme($theme);
|
|
19
|
-
@include elder-table.theme($theme);
|
|
20
|
-
@include elder-card-stack.theme($theme);
|
|
21
|
-
@include elder-grid.theme($theme);
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/***************************************************************************
|
|
2
|
-
* *
|
|
3
|
-
* CSS reset *
|
|
4
|
-
* *
|
|
5
|
-
**************************************************************************/
|
|
6
|
-
|
|
7
|
-
@mixin elder-reset() {
|
|
8
|
-
*,
|
|
9
|
-
*::before,
|
|
10
|
-
*::after {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use './elder-style-tweak-mixins' as mixins;
|
|
3
|
-
@use 'sass:map';
|
|
4
|
-
|
|
5
|
-
@mixin elder-style-fixes($theme) {
|
|
6
|
-
@include _ng-style-fixes;
|
|
7
|
-
@include _mat-style-fixes($theme);
|
|
8
|
-
@include _mat3-fixes($theme);
|
|
9
|
-
|
|
10
|
-
// elder custom icons fill color
|
|
11
|
-
.mat-icon.svg-icon-inherit-color svg * {
|
|
12
|
-
fill: currentColor !important;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin _ng-style-fixes {
|
|
17
|
-
// Trick to ensure flex functionality within router-outlet
|
|
18
|
-
router-outlet.router-flex + * {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex: 1 1 auto;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
height: 100%; // Required for Safari
|
|
23
|
-
width: 100%;
|
|
24
|
-
min-height: 0; // Fixes scrolling vert
|
|
25
|
-
min-width: 0; // Fixes scrolling horz
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@mixin _mat-style-fixes($theme) {
|
|
30
|
-
// Globally disable automatic scrolling of Material Drawer Container
|
|
31
|
-
.mat-drawer-inner-container {
|
|
32
|
-
overflow: hidden !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Globally disable automatic scrolling of Material Drawer Content
|
|
36
|
-
.mat-drawer-content {
|
|
37
|
-
overflow: hidden !important;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/******************************
|
|
41
|
-
Material tab fix
|
|
42
|
-
*******************************/
|
|
43
|
-
|
|
44
|
-
.mat-mdc-tab-body-wrapper {
|
|
45
|
-
flex: 1 1 100% !important;
|
|
46
|
-
height: 100% !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.mat-mdc-tab-body {
|
|
50
|
-
display: flex !important;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/******************************
|
|
55
|
-
Material Chip fix
|
|
56
|
-
*******************************/
|
|
57
|
-
|
|
58
|
-
.mat-mdc-chip {
|
|
59
|
-
// Fixes default avatar on attribute usage (<mat-chip-avatar> vs matChipAvatar) which is broken in Angular Material 15.0.0
|
|
60
|
-
mat-chip-avatar {
|
|
61
|
-
.mat-icon {
|
|
62
|
-
width: 18px;
|
|
63
|
-
height: 18px;
|
|
64
|
-
line-height: 18px;
|
|
65
|
-
font-size: 18px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
img {
|
|
69
|
-
width: 18px;
|
|
70
|
-
height: 18px;
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
border-radius: 9px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/******************************
|
|
78
|
-
Material Badge Index
|
|
79
|
-
*******************************/
|
|
80
|
-
|
|
81
|
-
.mat-badge-content {
|
|
82
|
-
z-index: 1;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/******************************
|
|
86
|
-
Material chip make regular chips clickable when applying this class
|
|
87
|
-
*******************************/
|
|
88
|
-
|
|
89
|
-
.clickable-chip {
|
|
90
|
-
.mat-mdc-chip-action {
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/******************************
|
|
96
|
-
Styling toast messages
|
|
97
|
-
*******************************/
|
|
98
|
-
.elder-primary-text {
|
|
99
|
-
color: var(--md-sys-color-primary);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.elder-accent-text {
|
|
103
|
-
color: var(--md-sys-color-tertiary);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.elder-warn-text {
|
|
107
|
-
color: var(--md-sys-color-error);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@mixin _mat3-fixes($theme) {
|
|
112
|
-
// remove weird box shadow of card in overlay (Problem: Cards shouldn't be in overlay)
|
|
113
|
-
.mat-mdc-dialog-container .mat-mdc-card {
|
|
114
|
-
box-shadow: none;
|
|
115
|
-
}
|
|
116
|
-
// fix elder badge borders
|
|
117
|
-
elder-badge {
|
|
118
|
-
.mat-mdc-standard-chip .mat-mdc-chip-action::before {
|
|
119
|
-
border: none;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.mat-app-background {
|
|
124
|
-
display: block;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.mat-mdc-tab-group {
|
|
128
|
-
background-color: var(--md-sys-color-surface-container);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.legacy-layout-card {
|
|
132
|
-
background-color: var(--mdc-elevated-card-container-color);
|
|
133
|
-
border-radius: var(--elder-border-radius-sm);
|
|
134
|
-
box-shadow: var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1));
|
|
135
|
-
overflow: hidden; // this might cause issues, but is probably correct..
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.elder-card-title {
|
|
139
|
-
padding-bottom: 0 !important;
|
|
140
|
-
margin-bottom: 6px !important;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// remove extra background from drawer
|
|
144
|
-
.mat-drawer-container {
|
|
145
|
-
background-color: transparent !important;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// app header bg color
|
|
149
|
-
&.elder-light-theme,
|
|
150
|
-
&.elder-dark-theme {
|
|
151
|
-
.mat-toolbar {
|
|
152
|
-
&.mat-primary {
|
|
153
|
-
--mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
|
|
154
|
-
--mat-toolbar-container-background-color: var(--md-sys-color-primary);
|
|
155
|
-
.mat-mdc-icon-button {
|
|
156
|
-
color: var(--md-sys-color-on-primary);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
&.mat-accent {
|
|
160
|
-
--mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
|
|
161
|
-
--mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
|
|
162
|
-
.mat-mdc-icon-button {
|
|
163
|
-
color: var(--md-sys-color-on-tertiary);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.mat-toolbar.elder-toolbar-main-nav-button-container {
|
|
169
|
-
&.mat-primary,
|
|
170
|
-
&.mat-accent {
|
|
171
|
-
background-color: var(--elder-toolbar-main-nav-button-container-bg-color);
|
|
172
|
-
|
|
173
|
-
.mat-mdc-icon-button {
|
|
174
|
-
color: var(--elder-toolbar-main-nav-button-color);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&.elder-dark-theme {
|
|
181
|
-
.mat-toolbar,
|
|
182
|
-
.mat-toolbar.mat-primary,
|
|
183
|
-
.mat-toolbar.mat-accent {
|
|
184
|
-
background-color: var(--elder-dark-gray) !important;
|
|
185
|
-
* {
|
|
186
|
-
color: var(--md-sys-color-on-surface) !important;
|
|
187
|
-
}
|
|
188
|
-
.elder-toolbar-main-nav-button .mat-icon {
|
|
189
|
-
color: var(--md-sys-color-primary) !important;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
elder-app-header .elder-panel {
|
|
194
|
-
color: var(--md-sys-color-on-surface) !important;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**************************************************************************
|
|
199
|
-
* Start cloudfiles import 1
|
|
200
|
-
*************************************************************************/
|
|
201
|
-
|
|
202
|
-
.mat-mdc-tab-group {
|
|
203
|
-
background-color: transparent !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
elder-data-toolbar {
|
|
207
|
-
display: block;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**************************************************************************
|
|
211
|
-
* End cloudfiles import 1
|
|
212
|
-
*************************************************************************/
|
|
213
|
-
|
|
214
|
-
// Button colors
|
|
215
|
-
.mat-accent.mat-mdc-button-base {
|
|
216
|
-
--md-sys-color-tertiary: var(--md-sys-color-secondary);
|
|
217
|
-
--md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
|
|
218
|
-
--md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
|
|
219
|
-
--md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
// slide toggle colors
|
|
223
|
-
.mat-accent.mat-mdc-slide-toggle {
|
|
224
|
-
--md-sys-color-tertiary: var(--md-sys-color-secondary);
|
|
225
|
-
--md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
|
|
226
|
-
--md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
|
|
227
|
-
--md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// badge positioning
|
|
231
|
-
.mat-badge-above .mat-badge-content {
|
|
232
|
-
bottom: 82%;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// bring back the badge warn color that was removed in m3
|
|
236
|
-
.mat-badge-warn {
|
|
237
|
-
--mat-badge-background-color: var(--md-sys-color-error);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
& {
|
|
241
|
-
// fix button paddings to keep spacing
|
|
242
|
-
--elder-button-horizontal-padding: 19px;
|
|
243
|
-
--mat-protected-button-horizontal-padding: var(--elder-button-horizontal-padding);
|
|
244
|
-
--mat-outlined-button-horizontal-padding: var(--elder-button-horizontal-padding);
|
|
245
|
-
--mat-filled-button-horizontal-padding: var(--elder-button-horizontal-padding);
|
|
246
|
-
|
|
247
|
-
// mat toolbar title-text line height
|
|
248
|
-
--mat-toolbar-title-text-line-height: 36px;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// Sekundärfarbe anstatt Tertiärfarbe, da es wenig Sinn macht, auf dieses Element viel Aufmerksamkeit zu lenken
|
|
252
|
-
.elder-light-theme,
|
|
253
|
-
.elder-dark-theme {
|
|
254
|
-
&.mat-accent.mat-icon {
|
|
255
|
-
--mat-icon-color: var(--md-sys-color-secondary);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.elder-pane-grid {
|
|
260
|
-
display: flex;
|
|
261
|
-
flex-flow: row nowrap;
|
|
262
|
-
justify-content: space-around;
|
|
263
|
-
padding: var(--elder-pane-padding);
|
|
264
|
-
gap: var(--elder-pane-gap);
|
|
265
|
-
height: 100%;
|
|
266
|
-
align-items: stretch;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.elder-pane {
|
|
270
|
-
border-radius: var(--elder-pane-border-radius, var(--mat-app-corner-medium));
|
|
271
|
-
overflow: hidden;
|
|
272
|
-
background-color: var(--elder-pane-bg-color);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// scrollbar styling
|
|
276
|
-
::-webkit-scrollbar {
|
|
277
|
-
width: var(--elder-scrollbar-width);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
::-webkit-scrollbar-thumb {
|
|
281
|
-
background: var(--md-sys-color-outline-variant);
|
|
282
|
-
border-radius: 5px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
::-webkit-scrollbar-thumb:hover {
|
|
286
|
-
background: var(--md-sys-color-outline);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// fix
|
|
290
|
-
.elder-pane .legacy-layout-card {
|
|
291
|
-
border-radius: 0 !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.mat-mdc-card,
|
|
295
|
-
.mat-mdc-card-outlined {
|
|
296
|
-
// set normal mat-cards back to m2 border-radius
|
|
297
|
-
border-radius: var(--elder-border-radius-sm);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
// round input fields
|
|
301
|
-
&.deactivated {
|
|
302
|
-
elder-search-box .elder-search-box-field,
|
|
303
|
-
.mat-toolbar .mat-mdc-form-field {
|
|
304
|
-
background-color: var(--md-sys-color-surface-container-low);
|
|
305
|
-
border-radius: 24px !important;
|
|
306
|
-
|
|
307
|
-
// remove border from notch piece on input fields
|
|
308
|
-
.mat-mdc-notch-piece {
|
|
309
|
-
border-width: 0 !important;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.mat-toolbar .mat-mdc-form-field {
|
|
315
|
-
background-color: var(--elder-lightened-transparent-bg);
|
|
316
|
-
&,
|
|
317
|
-
*,
|
|
318
|
-
.mat-icon {
|
|
319
|
-
color: var(--md-sys-color-inverse-on-surface);
|
|
320
|
-
--mdc-outlined-text-field-input-text-color: var(--md-sys-color-inverse-on-surface) !important;
|
|
321
|
-
--mdc-outlined-text-field-caret-color: var(--md-sys-color-inverse-on-surface) !important;
|
|
322
|
-
}
|
|
323
|
-
// * {
|
|
324
|
-
// color: var(--md-sys-color-inverse-on-surface);
|
|
325
|
-
// border-color: var(--md-sys-color-inverse-on-surface);
|
|
326
|
-
// }
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.elder-pane {
|
|
330
|
-
background-color: var(--md-sys-color-surface-container-lowest);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
&.elder-dark-theme {
|
|
334
|
-
// brighter dark mode nav
|
|
335
|
-
.elder-nav-list-full {
|
|
336
|
-
background-color: var(--md-sys-color-surface-container-lowest) !important;
|
|
337
|
-
}
|
|
338
|
-
.nav-link-active {
|
|
339
|
-
color: var(--md-sys-color-primary) !important;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**************************************************************************
|
|
344
|
-
Elder panel
|
|
345
|
-
**************************************************************************/
|
|
346
|
-
.elder-panel {
|
|
347
|
-
background: var(--md-sys-color-primary-container);
|
|
348
|
-
color: var(--md-sys-color-on-primary-container);
|
|
349
|
-
transition: background-color 0.5s;
|
|
350
|
-
|
|
351
|
-
&.mat-primary,
|
|
352
|
-
&.mat-accent,
|
|
353
|
-
&.mat-warn {
|
|
354
|
-
background: var(--elder-dark-mode-color-surface, var(--md-sys-color-primary));
|
|
355
|
-
color: var(--elder-dark-mode-color-on-surface, var(--md-sys-color-on-primary));
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
// form field overrides
|
|
359
|
-
.mat-form-field-underline,
|
|
360
|
-
.mat-form-field-ripple,
|
|
361
|
-
.mat-focused .mat-form-field-ripple {
|
|
362
|
-
background-color: currentColor;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.mat-mdc-form-field-label,
|
|
366
|
-
.mat-focused .mat-form-field-label,
|
|
367
|
-
.mat-select-value,
|
|
368
|
-
.mat-select-arrow,
|
|
369
|
-
.mat-form-field.mat-focused .mat-select-arrow {
|
|
370
|
-
color: inherit;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.mat-mdc-input-element {
|
|
374
|
-
caret-color: currentColor;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
&.elder-light-theme,
|
|
379
|
-
&.elder-dark-theme {
|
|
380
|
-
--mdc-linear-progress-track-color: var(--elder-color-highlight-dim);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// disable icon button overflow
|
|
384
|
-
.mat-mdc-icon-button {
|
|
385
|
-
overflow: hidden;
|
|
386
|
-
}
|
|
387
|
-
}
|