@elderbyte/ngx-starter 19.1.0-beta.2 → 19.1.0-beta.21
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 +1203 -1145
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/utils/public_api.d.ts +1 -0
- package/lib/components/data-view/base/elder-data-view-base.d.ts +14 -0
- package/lib/components/layout/basic-pane-layout/basic-pane-layout.component.d.ts +1 -6
- 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/lib/components/select/single/elder-select/elder-select.component.d.ts +1 -1
- package/package.json +1 -1
- 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 +6 -5
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +70 -82
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +86 -105
- 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/navigation/nav/nav-group/elder-nav-group.component.scss +22 -3
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +38 -4
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +2 -2
- 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/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 +198 -0
- package/theming/{system/_elder-config.scss → abstracts/_elder-scss-variables.scss} +34 -0
- package/theming/{system/_elder-defaults.scss → abstracts/_elder-set-defaults-fn.scss} +8 -8
- package/theming/abstracts/_elder-starter-theme.scss +45 -0
- package/theming/abstracts/_elder-theme-main.scss +92 -0
- package/theming/{style-tweaks/_elder-common.scss → base/_elder-common-base.scss} +26 -11
- package/theming/{style-tweaks/_elder-style-fixes.scss → base/_elder-fixes-base.scss} +29 -66
- package/theming/{style-tweaks/_elder-form.scss → base/_elder-form-base.scss} +7 -4
- package/theming/components/_elder-chip-theme.scss +213 -0
- package/theming/components/_elder-select-theme.scss +75 -0
- package/theming/{utility-classes/_elder-color-helpers.scss → utilities/_elder-color-utils.scss} +7 -14
- package/theming/utilities/_elder-common-utils.scss +20 -0
- package/theming/{utility-classes/_elder-flex-layout.scss → utilities/_elder-flex-layout-utils.scss} +108 -2
- package/theming/{utility-classes/_elder-layout-system.scss → utilities/_elder-layout-utils.scss} +226 -201
- package/theming/{utility-classes/_elder-typography-helpers.scss → utilities/_elder-typography-utils.scss} +1 -1
- package/lib/components/m3-sidenav/m3-sidenav.component.d.ts +0 -5
- 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/system/_elder-design-tokens.scss +0 -101
- 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 -8
- /package/theming/{style-tweaks/_elder-style-tweak-mixins.scss → base/_elder-base-mixins.scss} +0 -0
|
@@ -37,10 +37,12 @@ export declare abstract class ElderDataViewBaseComponent implements IElderDataVi
|
|
|
37
37
|
*/
|
|
38
38
|
private _dense;
|
|
39
39
|
/**
|
|
40
|
+
* @deprecated This property is no longer relevant, since we always render the elements as embedded.
|
|
40
41
|
* The appearance of the surrounding card container.
|
|
41
42
|
*/
|
|
42
43
|
private _appearance;
|
|
43
44
|
/**
|
|
45
|
+
* @deprecated This property is no longer relevant, since we always render the elements as embedded.
|
|
44
46
|
* If true, this table is in embedded mode.
|
|
45
47
|
* No borders / floating visible so that the table can be embedded into another container
|
|
46
48
|
*/
|
|
@@ -101,9 +103,21 @@ export declare abstract class ElderDataViewBaseComponent implements IElderDataVi
|
|
|
101
103
|
* @deprecated Switch to appearance="raised"
|
|
102
104
|
*/
|
|
103
105
|
set float(value: BooleanInput);
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated , since we always render the elements as embedded.
|
|
108
|
+
*/
|
|
104
109
|
set appearance(value: MatCardAppearance);
|
|
110
|
+
/**
|
|
111
|
+
* @deprecated , since we always render the elements as embedded.
|
|
112
|
+
*/
|
|
105
113
|
get appearance(): MatCardAppearance;
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated , since we always render the elements as embedded.
|
|
116
|
+
*/
|
|
106
117
|
set embedded(value: boolean | '');
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated , since we always render the elements as embedded.
|
|
120
|
+
*/
|
|
107
121
|
get embedded(): boolean | '';
|
|
108
122
|
/***************************************************************************
|
|
109
123
|
* *
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { QueryList } from '@angular/core';
|
|
2
|
-
import { ElderPaneComponent } from '../public_api';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class ElderBasicPaneLayoutComponent {
|
|
5
3
|
class: string;
|
|
6
|
-
children: QueryList<ElderPaneComponent>;
|
|
7
|
-
hasChild: boolean;
|
|
8
|
-
ngAfterContentInit(): void;
|
|
9
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderBasicPaneLayoutComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderBasicPaneLayoutComponent, "elder-basic-pane-layout", never, {}, {},
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderBasicPaneLayoutComponent, "elder-basic-pane-layout", never, {}, {}, never, ["*"], true, never>;
|
|
11
6
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ElderPaneActionsComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneActionsComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneActionsComponent, "elder-pane-actions", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ElderPaneHeaderComponent {
|
|
3
|
+
class: string;
|
|
4
|
+
title: import("@angular/core").InputSignal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneHeaderComponent, "elder-pane-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, ["mat-icon, [mat-icon-button]", "[start]", "elder-pane-title", "[center]", "elder-pane-actions", "[end]", "*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ElderPaneTitleComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneTitleComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneTitleComponent, "elder-pane-title", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ElderPaneContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneContentComponent, "elder-pane-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class ElderPaneComponent {
|
|
3
3
|
class: string;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneComponent, "elder-pane", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneComponent, "elder-pane", never, {}, {}, never, ["elder-pane-header", "elder-pane-content", "*"], true, never>;
|
|
6
6
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export * from './pane/pane.component';
|
|
2
|
+
export * from './pane/pane-content.component';
|
|
3
|
+
export * from './pane/header/pane-header.component';
|
|
4
|
+
export * from './pane/header/pane-title.component';
|
|
5
|
+
export * from './pane/header/pane-actions.component';
|
|
2
6
|
export * from './basic-pane-layout/basic-pane-layout.component';
|
|
@@ -144,6 +144,6 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
|
|
|
144
144
|
*/
|
|
145
145
|
protected writeToControl(value: TValue): void;
|
|
146
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSelectComponent<any, any, any>, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSelectComponent<any, any, any>, "elder-select", never, { "nullDisplay": { "alias": "nullDisplay"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "entityId": { "alias": "entityId"; "required": false; }; }, { "entityIdChange": "entityIdChange"; "entityIdUpdated": "entityIdUpdated"; "entityChange": "entityChange"; "entityUpdated": "entityUpdated"; }, never, never, true, never>;
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSelectComponent<any, any, any>, "elder-select", never, { "nullDisplay": { "alias": "nullDisplay"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "entityId": { "alias": "entityId"; "required": false; }; }, { "entityIdChange": "entityIdChange"; "entityIdUpdated": "entityIdUpdated"; "entityChange": "entityChange"; "entityUpdated": "entityUpdated"; "entity$": "entity"; }, never, never, true, never>;
|
|
148
148
|
}
|
|
149
149
|
export {};
|
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
border-radius: var(--elder-border-radius-sm);
|
|
7
|
-
border: var(--elder-border-light);
|
|
8
|
-
}
|
|
1
|
+
.card-stack {
|
|
2
|
+
//background-color: var(--md-sys-color-surface-container);
|
|
3
|
+
border-radius: var(--elder-border-radius-sm);
|
|
4
|
+
border: var(--elder-border-light);
|
|
5
|
+
}
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
7
|
+
.card-list.cdk-drop-list-dragging {
|
|
8
|
+
border: 2px dashed var(--md-sys-color-outline-variant);
|
|
13
9
|
}
|
|
14
10
|
|
|
15
11
|
.stack-header {
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.elevated-card {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
background-color: var(--mdc-elevated-card-container-color);
|
|
19
|
+
border-radius: var(--elder-border-radius-sm);
|
|
20
|
+
border-radius: var(--elder-pane-border-radius);
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
box-shadow: var(--mat-app-elevation-shadow-level-5, none);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.toolbar-dark-bg {
|
|
24
|
-
background-color: var(--md-sys-color-surface-container);
|
|
25
|
-
border-radius: 10px;
|
|
26
|
+
background-color: var(--md-sys-color-surface-container-low);
|
|
26
27
|
}
|
|
@@ -1,87 +1,5 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
1
|
$elder-tile-padding: 8px;
|
|
4
2
|
|
|
5
|
-
@mixin theme($theme) {
|
|
6
|
-
.elder-grid-container {
|
|
7
|
-
border-radius: var(--elder-border-radius-sm);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
mat-card:has(> .elder-grid-container) {
|
|
11
|
-
background-color: var(--md-sys-color-surface-container-lowest);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.elder-grid-flat {
|
|
15
|
-
border: var(--elder-border-light);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.elder-grid-toolbar {
|
|
19
|
-
min-height: 44px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.elder-grid-footer {
|
|
23
|
-
min-height: 44px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.elder-grid-tile {
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
flex: 0 1 100%;
|
|
29
|
-
flex-grow: 1;
|
|
30
|
-
margin: 0 $elder-tile-padding;
|
|
31
|
-
width: 100%;
|
|
32
|
-
height: 100%;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
// background-color: rgba(
|
|
35
|
-
// mat.get-theme-color($theme, neutral, 80),
|
|
36
|
-
// 0.34
|
|
37
|
-
// ); // default background
|
|
38
|
-
background-color: var(--md-sys-color-surface-container-low);
|
|
39
|
-
text-align: left;
|
|
40
|
-
transition:
|
|
41
|
-
box-shadow 200ms cubic-bezier(0, 0, 0.2, 1),
|
|
42
|
-
border 0.25s linear;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.elder-grid-tile:hover {
|
|
46
|
-
//border-color: rgba(var(--md-sys-color-primary), 0.75);
|
|
47
|
-
border-color: var(--md-sys-color-primary);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.elder-grid-tile-content:hover .elder-grid-tile-overlay {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
background-color: rgba(white, 0.08);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.elder-grid-tile:active {
|
|
56
|
-
z-index: 100;
|
|
57
|
-
box-shadow: var(--elder-box-shadow-default);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.elder-grid-tile-check {
|
|
61
|
-
pointer-events: auto;
|
|
62
|
-
mat-icon {
|
|
63
|
-
color: var(--md-sys-color-outline-variant);
|
|
64
|
-
background-color: var(--md-sys-color-surface);
|
|
65
|
-
border-radius: 12px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
mat-icon.elder-selected {
|
|
69
|
-
color: var(--md-sys-color-tertiary);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.elder-grid-tile-check:hover {
|
|
74
|
-
mat-icon {
|
|
75
|
-
color: var(--md-sys-color-primary);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:host {
|
|
81
|
-
min-width: 0;
|
|
82
|
-
min-height: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
3
|
.elder-grid-tile-row {
|
|
86
4
|
display: flex;
|
|
87
5
|
flex-direction: row;
|
|
@@ -127,3 +45,73 @@ $elder-tile-padding: 8px;
|
|
|
127
45
|
.elder-grid-tile-overlay-hidden {
|
|
128
46
|
opacity: 0;
|
|
129
47
|
}
|
|
48
|
+
|
|
49
|
+
.elder-grid-container {
|
|
50
|
+
background-color: var(--elder-grid-background-color);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// mat-card:has(> .elder-grid-container) {
|
|
54
|
+
// background-color: var(--md-sys-color-surface-container-lowest);
|
|
55
|
+
// }
|
|
56
|
+
|
|
57
|
+
.elder-grid-flat {
|
|
58
|
+
border: var(--elder-border-light);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.elder-grid-toolbar {
|
|
62
|
+
min-height: 44px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.elder-grid-footer {
|
|
66
|
+
min-height: var(--elder-data-element-footer-height);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.elder-grid-tile {
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
flex: 0 1 100%;
|
|
72
|
+
flex-grow: 1;
|
|
73
|
+
margin: 0 $elder-tile-padding;
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
border-radius: var(--elder-pane-border-radius);
|
|
78
|
+
background-color: var(--md-sys-color-surface-container-low);
|
|
79
|
+
text-align: left;
|
|
80
|
+
transition:
|
|
81
|
+
box-shadow 200ms cubic-bezier(0, 0, 0.2, 1),
|
|
82
|
+
border 0.25s linear;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.elder-grid-tile:hover {
|
|
86
|
+
//border-color: rgba(var(--md-sys-color-primary), 0.75);
|
|
87
|
+
border-color: var(--md-sys-color-primary);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.elder-grid-tile-content:hover .elder-grid-tile-overlay {
|
|
91
|
+
opacity: 1;
|
|
92
|
+
background-color: rgba(white, 0.08);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.elder-grid-tile:active {
|
|
96
|
+
z-index: 100;
|
|
97
|
+
box-shadow: var(--elder-box-shadow-default);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.elder-grid-tile-check {
|
|
101
|
+
pointer-events: auto;
|
|
102
|
+
mat-icon {
|
|
103
|
+
color: var(--md-sys-color-outline-variant);
|
|
104
|
+
background-color: var(--md-sys-color-surface);
|
|
105
|
+
border-radius: 12px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
mat-icon.elder-selected {
|
|
109
|
+
color: var(--md-sys-color-tertiary);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.elder-grid-tile-check:hover {
|
|
114
|
+
mat-icon {
|
|
115
|
+
color: var(--md-sys-color-primary);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,138 +1,120 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
:host {
|
|
2
|
+
/** https://bugzilla.mozilla.org/show_bug.cgi?id=1043520 **/
|
|
3
|
+
// firefox-scroll-fix
|
|
4
|
+
min-width: 0;
|
|
5
|
+
min-height: 0;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
& {
|
|
8
|
-
--mat-paginator-container-background-color: var(--md-sys-color-surface-container-low);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.elder-mat-inner-table {
|
|
8
|
+
.elder-mat-inner-table {
|
|
12
9
|
width: 100%;
|
|
13
|
-
|
|
10
|
+
}
|
|
14
11
|
|
|
15
|
-
|
|
12
|
+
.elder-table-row.dense {
|
|
16
13
|
height: 42px !important;
|
|
17
|
-
|
|
14
|
+
}
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
.elder-mat-table-container {
|
|
20
17
|
border-radius: var(--elder-border-radius-sm);
|
|
21
18
|
overflow: hidden;
|
|
22
|
-
|
|
19
|
+
}
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Style for the select column
|
|
23
|
+
*/
|
|
24
|
+
.mat-column-select {
|
|
28
25
|
overflow: initial;
|
|
29
26
|
min-width: 72px;
|
|
30
27
|
max-width: 5%;
|
|
31
28
|
width: 72px;
|
|
32
|
-
|
|
29
|
+
}
|
|
33
30
|
|
|
34
|
-
|
|
31
|
+
.elder-row-removing {
|
|
35
32
|
text-decoration: line-through;
|
|
36
|
-
|
|
33
|
+
}
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
.elder-row-hidden {
|
|
39
36
|
display: none;
|
|
40
|
-
|
|
37
|
+
}
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
/******************************
|
|
40
|
+
Clickable row
|
|
41
|
+
*******************************/
|
|
45
42
|
|
|
46
|
-
|
|
43
|
+
.elder-table-row {
|
|
47
44
|
cursor: pointer;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
/** https://bugzilla.mozilla.org/show_bug.cgi?id=1043520 **/
|
|
51
|
-
// firefox-scroll-fix
|
|
52
|
-
:host {
|
|
53
|
-
min-width: 0;
|
|
54
|
-
min-height: 0;
|
|
55
|
-
}
|
|
45
|
+
}
|
|
56
46
|
|
|
57
|
-
|
|
47
|
+
.elder-table-hint {
|
|
58
48
|
color: gray;
|
|
59
|
-
|
|
49
|
+
}
|
|
60
50
|
|
|
61
|
-
|
|
62
|
-
height:
|
|
63
|
-
|
|
51
|
+
.elder-table-footer {
|
|
52
|
+
height: var(--elder-data-element-footer-height);
|
|
53
|
+
}
|
|
64
54
|
|
|
65
|
-
|
|
55
|
+
.elder-table-checkbox {
|
|
66
56
|
opacity: 0.25;
|
|
67
|
-
|
|
68
|
-
-webkit-transition: opacity 0.5s ease-in-out;
|
|
69
|
-
-moz-transition: opacity 0.5s ease-in-out;
|
|
70
57
|
transition: opacity 0.5s ease-in-out;
|
|
71
|
-
|
|
58
|
+
}
|
|
72
59
|
|
|
73
|
-
|
|
60
|
+
.elder-table-row:hover .elder-table-checkbox {
|
|
74
61
|
opacity: 0.9;
|
|
75
|
-
|
|
62
|
+
}
|
|
76
63
|
|
|
77
|
-
|
|
64
|
+
.elder-table-checkbox-visible {
|
|
78
65
|
opacity: 1;
|
|
79
|
-
|
|
66
|
+
}
|
|
80
67
|
|
|
81
|
-
|
|
68
|
+
.elder-table-inner {
|
|
82
69
|
background-color: var(--md-sys-color-surface-container-lowest);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
.elder-table-row:hover {
|
|
86
|
-
background-color: var(--md-sys-color-surface-container);
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
70
|
+
}
|
|
89
71
|
|
|
90
|
-
|
|
72
|
+
.elder-table-row:focus {
|
|
91
73
|
// Disable browser focus style
|
|
92
74
|
box-shadow: none;
|
|
93
75
|
outline-style: none;
|
|
94
76
|
td {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
); // OLD: background-color: mat.m2-get-color-from-palette($accent, default, 0.3);
|
|
98
|
-
border-bottom: var(
|
|
99
|
-
--md-sys-color-tertiary-fixed
|
|
100
|
-
); // OLD: border-bottom: 1px solid mat.m2-get-color-from-palette($accent, default);
|
|
77
|
+
background-color: var(--elder-color-highlight-strong);
|
|
78
|
+
border-bottom: var(--md-sys-color-tertiary-fixed);
|
|
101
79
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
80
|
+
}
|
|
81
|
+
.elder-table-row.elder-table-row-activated {
|
|
82
|
+
background-color: var(--elder-color-highlight-strong);
|
|
83
|
+
}
|
|
107
84
|
|
|
108
|
-
|
|
109
|
-
background-color: var(--
|
|
110
|
-
|
|
85
|
+
.elder-table-row.elder-table-row-selected {
|
|
86
|
+
background-color: var(--elder-color-highlight-variant);
|
|
87
|
+
}
|
|
111
88
|
|
|
112
|
-
|
|
89
|
+
.elder-table-row:hover {
|
|
90
|
+
background-color: var(--elder-color-highlight-light);
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.elder-mat-table-flat {
|
|
113
95
|
border: var(--elder-border-light);
|
|
114
|
-
|
|
96
|
+
}
|
|
115
97
|
|
|
116
|
-
|
|
98
|
+
.elder-table {
|
|
117
99
|
background-color: var(--mat-table-background-color);
|
|
118
100
|
|
|
119
101
|
// Fix line height of paginator section
|
|
120
102
|
.mat-mdc-paginator {
|
|
121
|
-
|
|
122
|
-
|
|
103
|
+
.mat-mdc-form-field,
|
|
104
|
+
.mat-mdc-floating-label {
|
|
123
105
|
line-height: unset;
|
|
124
|
-
|
|
106
|
+
}
|
|
125
107
|
|
|
126
|
-
|
|
108
|
+
.mat-mdc-select {
|
|
127
109
|
line-height: unset;
|
|
128
|
-
|
|
110
|
+
}
|
|
129
111
|
}
|
|
130
112
|
|
|
131
113
|
$pad: 8px;
|
|
132
114
|
$pad-right: 12px;
|
|
133
115
|
|
|
134
116
|
.elder-mat-inner-table.mat-mdc-table {
|
|
135
|
-
|
|
117
|
+
.mat-mdc-header-cell {
|
|
136
118
|
padding-left: $pad;
|
|
137
119
|
padding-right: $pad-right;
|
|
138
120
|
|
|
@@ -144,33 +126,33 @@
|
|
|
144
126
|
hyphens: auto;
|
|
145
127
|
|
|
146
128
|
&:first-of-type {
|
|
147
|
-
|
|
129
|
+
padding-left: $pad + $pad-right;
|
|
148
130
|
}
|
|
149
131
|
|
|
150
132
|
&:last-of-type {
|
|
151
|
-
|
|
133
|
+
padding-right: $pad; // TODO: This can lead to overflows in some cases, is there a better solution?
|
|
152
134
|
|
|
153
|
-
|
|
135
|
+
&[mat-sort-header]:not([arrowposition='before']) {
|
|
154
136
|
padding-right: $pad;
|
|
155
|
-
|
|
137
|
+
}
|
|
156
138
|
}
|
|
157
139
|
|
|
158
140
|
&[mat-sort-header] {
|
|
159
|
-
|
|
141
|
+
&[arrowposition='before'] {
|
|
160
142
|
padding-left: 0px;
|
|
161
|
-
|
|
143
|
+
}
|
|
162
144
|
|
|
163
|
-
|
|
145
|
+
&:not([arrowposition='before']) {
|
|
164
146
|
padding-right: $pad-right;
|
|
165
|
-
|
|
147
|
+
}
|
|
166
148
|
}
|
|
167
149
|
|
|
168
150
|
& > .mat-sort-header-container {
|
|
169
|
-
|
|
151
|
+
display: inline-flex;
|
|
170
152
|
}
|
|
171
|
-
|
|
153
|
+
}
|
|
172
154
|
|
|
173
|
-
|
|
155
|
+
.mat-mdc-cell {
|
|
174
156
|
padding-left: $pad;
|
|
175
157
|
padding-right: $pad-right;
|
|
176
158
|
|
|
@@ -181,40 +163,39 @@
|
|
|
181
163
|
hyphens: auto;
|
|
182
164
|
|
|
183
165
|
&:first-of-type {
|
|
184
|
-
|
|
166
|
+
padding-left: $pad + $pad-right;
|
|
185
167
|
}
|
|
186
168
|
|
|
187
169
|
&:last-of-type {
|
|
188
|
-
|
|
170
|
+
padding-right: $pad;
|
|
189
171
|
}
|
|
190
|
-
|
|
172
|
+
}
|
|
191
173
|
|
|
192
|
-
|
|
174
|
+
.mat-mdc-footer-cell {
|
|
193
175
|
padding-left: $pad;
|
|
194
176
|
padding-right: $pad-right;
|
|
195
177
|
font-weight: bold;
|
|
196
178
|
|
|
197
179
|
&:first-of-type {
|
|
198
|
-
|
|
180
|
+
padding-left: $pad + $pad-right;
|
|
199
181
|
}
|
|
200
182
|
|
|
201
183
|
&:last-of-type {
|
|
202
|
-
|
|
184
|
+
padding-right: $pad;
|
|
203
185
|
}
|
|
204
186
|
|
|
205
187
|
.mat-mdc-paginator {
|
|
206
|
-
|
|
207
|
-
|
|
188
|
+
margin-left: -$pad;
|
|
189
|
+
margin-right: -$pad;
|
|
208
190
|
}
|
|
209
|
-
}
|
|
210
191
|
}
|
|
211
|
-
|
|
192
|
+
}
|
|
193
|
+
}
|
|
212
194
|
|
|
213
|
-
|
|
195
|
+
.mat-mdc-row {
|
|
214
196
|
background-color: var(--md-sys-color-surface-container-lowest);
|
|
215
|
-
|
|
197
|
+
}
|
|
216
198
|
|
|
217
|
-
|
|
199
|
+
.mat-mdc-header-row {
|
|
218
200
|
background: var(--md-sys-color-surface-container-lowest) !important;
|
|
219
|
-
}
|
|
220
201
|
}
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.elder-drop-zone.is-dragover {
|
|
21
|
-
border: 4px solid var(--md-sys-color-tertiary
|
|
22
|
-
background-color: var(--md-sys-color-tertiary);
|
|
21
|
+
border: 4px solid var(--md-sys-color-tertiary);
|
|
22
|
+
background-color: var(--md-sys-color-tertiary-container);
|
|
23
23
|
|
|
24
24
|
.elder-drop-zone-icon {
|
|
25
|
-
color: var(--md-sys-color-tertiary
|
|
25
|
+
color: var(--md-sys-color-tertiary);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.elder-drop-zone-prompt {
|
|
29
|
-
color: var(--md-sys-color-tertiary
|
|
29
|
+
color: var(--md-sys-color-tertiary);
|
|
30
30
|
}
|
|
31
31
|
}
|