@elderbyte/ngx-starter 19.1.0-beta.11 → 19.1.0-beta.13
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/fesm2022/elderbyte-ngx-starter.mjs +16 -16
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +0 -72
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.scss +6 -3
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +74 -83
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +0 -220
- 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/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 +0 -58
- package/theming/abstracts/_elder-design-tokens.scss +2 -2
- package/theming/base/_elder-component-themes.scss +10 -11
- package/theming/base/_elder-fixes-base.scss +0 -21
- package/theming/components/_elder-card-stack-theme.scss +72 -0
- package/theming/components/_elder-nav-theme.scss +24 -0
- package/theming/components/_elder-table-theme.scss +213 -0
- package/theming/components/elder-filter-chip-template-theme.scss +79 -0
- package/theming/components/elder-multi-select-chip-options-theme.scss +48 -0
- package/theming/components/elder-multi-select-chips-theme.scss +60 -0
- package/theming/components/elder-select-theme.scss +58 -0
- package/theming/utilities/_elder-color-utils.scss +2 -2
- package/src/lib/components/navigation/nav/_elder-nav-theme.scss +0 -66
- /package/{src/lib/components/select/_elder-select-base.scss → theming/components/_elder-select-base-mixin.scss} +0 -0
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@use '../../elder-select-base' as elder-select-base;
|
|
4
|
-
|
|
5
|
-
@mixin typography($typography-config) {
|
|
6
|
-
@include elder-select-base.typography($typography-config);
|
|
7
|
-
|
|
8
|
-
.elder-multi-select {
|
|
9
|
-
font-family: var(--md-sys-typescale-body-medium-font);
|
|
10
|
-
|
|
11
|
-
.elder-select-input {
|
|
12
|
-
height: var(--md-sys-typescale-body-medium-line-height);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.elder-prefix-icon {
|
|
16
|
-
margin-left: 3px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.elder-chip-input {
|
|
20
|
-
flex: 1 0 auto;
|
|
21
|
-
padding-left: 8px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.elder-chip-input-select {
|
|
25
|
-
flex: 1 0 140px;
|
|
26
|
-
max-width: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.elder-browse-icon {
|
|
30
|
-
margin-right: 4px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin theme($config-or-theme) {
|
|
36
|
-
@include typography($config-or-theme);
|
|
37
|
-
|
|
38
|
-
.elder-chip-text {
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
text-overflow: ellipsis;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.elder-trailing-icon {
|
|
45
|
-
color: var(--mdc-chip-with-trailing-icon-trailing-icon-color);
|
|
46
|
-
opacity: 0.54;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.cdk-drag-preview {
|
|
50
|
-
box-shadow: var(--elder-box-shadow-default);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.cdk-drag-placeholder {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.cdk-drag-animating {
|
|
58
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@use '../../elder-select-base' as elder-select-base;
|
|
4
|
-
|
|
5
|
-
@mixin typography($config-or-theme) {
|
|
6
|
-
$line-height-em: var(--md-sys-typescale-body-medium-line-height);
|
|
7
|
-
|
|
8
|
-
@include elder-select-base.typography($config-or-theme);
|
|
9
|
-
|
|
10
|
-
.elder-select {
|
|
11
|
-
font-family: var(--md-sys-typescale-body-medium-font);
|
|
12
|
-
|
|
13
|
-
.elder-input-prefix-icon-container {
|
|
14
|
-
padding-right: 3px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.elder-select-input {
|
|
19
|
-
height: $line-height-em;
|
|
20
|
-
font: inherit;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.elder-select-arrow {
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin theme($config-or-theme) {
|
|
29
|
-
// @debug mat.get-theme-typography($config-or-theme, body-medium, line-height);
|
|
30
|
-
// @debug mat.get-theme-typography($config-or-theme, body-medium, font-family);
|
|
31
|
-
@include typography($config-or-theme);
|
|
32
|
-
|
|
33
|
-
@keyframes shrink {
|
|
34
|
-
0% {
|
|
35
|
-
transform: scale(1);
|
|
36
|
-
}
|
|
37
|
-
100% {
|
|
38
|
-
transform: scale(0.75);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.loading {
|
|
43
|
-
animation: shrink 0.3s ease-in-out infinite alternate;
|
|
44
|
-
-webkit-animation: shrink 0.3s ease-in-out infinite alternate;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.clickable-icon {
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.full-width {
|
|
52
|
-
width: 100%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.elder-select-dropdown-input {
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
// cards, table etc bg
|
|
47
47
|
--mdc-elevated-card-container-color: var(--md-sys-color-surface-container-lowest);
|
|
48
48
|
--mdc-outlined-card-container-color: var(--mdc-elevated-card-container-color);
|
|
49
|
-
|
|
50
|
-
--mat-table-background-color:
|
|
49
|
+
// --mat-table-background-color: transparent;
|
|
50
|
+
--mat-table-background-color: var(--md-sys-color-surface-container-lowest);
|
|
51
51
|
--mat-paginator-container-background-color: var(--mat-table-background-color);
|
|
52
52
|
--elder-grid-background-color: var(--mat-table-background-color);
|
|
53
53
|
//--mat-table-header-container-height: 56px; // 56px is default
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
@use '../components/elder-chip-theme' as elder-chip;
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
4
|
-
@use '
|
|
5
|
-
@use '
|
|
6
|
-
|
|
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'
|
|
2
|
+
@use '../components/elder-table-theme.scss' as elder-table;
|
|
3
|
+
@use '../components/elder-nav-theme' as elder-nav;
|
|
4
|
+
@use '../components/elder-card-stack-theme.scss' as elder-card-stack;
|
|
5
|
+
@use '../components/elder-select-theme' as elder-select;
|
|
6
|
+
@use '../components/elder-multi-select-chips-theme'
|
|
9
7
|
as elder-multi-select-chips;
|
|
10
|
-
@use '
|
|
8
|
+
@use '../components/elder-multi-select-chip-options-theme'
|
|
11
9
|
as elder-multi-select-chip-options;
|
|
10
|
+
@use '../components/elder-filter-chip-template-theme' as elder-filter-chip-template;
|
|
12
11
|
|
|
13
12
|
@mixin theme($theme) {
|
|
14
13
|
@include elder-chip.theme($theme);
|
|
14
|
+
@include elder-table.theme($theme);
|
|
15
15
|
@include elder-nav.theme($theme);
|
|
16
|
+
@include elder-card-stack.theme($theme);
|
|
16
17
|
@include elder-select.theme($theme);
|
|
17
18
|
@include elder-multi-select-chips.theme($theme);
|
|
18
19
|
@include elder-multi-select-chip-options.theme($theme);
|
|
19
|
-
@include elder-
|
|
20
|
-
@include elder-card-stack.theme($theme);
|
|
21
|
-
@include elder-grid.theme($theme);
|
|
20
|
+
@include elder-filter-chip-template.theme($theme);
|
|
22
21
|
}
|
|
@@ -128,13 +128,6 @@
|
|
|
128
128
|
background-color: var(--md-sys-color-surface-container);
|
|
129
129
|
}
|
|
130
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
131
|
.elder-card-title {
|
|
139
132
|
padding-bottom: 0 !important;
|
|
140
133
|
margin-bottom: 6px !important;
|
|
@@ -293,10 +286,6 @@
|
|
|
293
286
|
}
|
|
294
287
|
|
|
295
288
|
// fix
|
|
296
|
-
.elder-pane .legacy-layout-card {
|
|
297
|
-
border-radius: 0 !important;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
289
|
.mat-mdc-card,
|
|
301
290
|
.mat-mdc-card-outlined {
|
|
302
291
|
// set normal mat-cards back to m2 border-radius
|
|
@@ -332,16 +321,6 @@
|
|
|
332
321
|
background-color: var(--md-sys-color-surface-container-lowest);
|
|
333
322
|
}
|
|
334
323
|
|
|
335
|
-
&.elder-dark-theme {
|
|
336
|
-
// brighter dark mode nav
|
|
337
|
-
.elder-nav-list-full {
|
|
338
|
-
background-color: var(--md-sys-color-surface-container-lowest) !important;
|
|
339
|
-
}
|
|
340
|
-
.nav-link-active {
|
|
341
|
-
color: var(--md-sys-color-primary) !important;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
324
|
/**************************************************************************
|
|
346
325
|
Elder panel
|
|
347
326
|
**************************************************************************/
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin theme($theme) {
|
|
4
|
+
.card-stack {
|
|
5
|
+
//background-color: var(--md-sys-color-surface-container);
|
|
6
|
+
border-radius: var(--elder-border-radius-sm);
|
|
7
|
+
border: var(--elder-border-light);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.card-list.cdk-drop-list-dragging {
|
|
11
|
+
border: 2px dashed var(--md-sys-color-outline-variant);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.stack-header {
|
|
15
|
+
height: 62px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.card-container {
|
|
19
|
+
min-width: 120px;
|
|
20
|
+
min-height: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card-list {
|
|
24
|
+
min-height: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.card {
|
|
28
|
+
border-radius: var(--elder-border-radius-sm);
|
|
29
|
+
box-shadow: var(--mat-app-elevation-shadow-level-1);
|
|
30
|
+
cursor: move;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
.card.cdk-drag-disabled.clickable {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
.card.cdk-drag-disabled.unclickable {
|
|
37
|
+
cursor: default;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.hoverme .hide {
|
|
41
|
+
visibility: hidden;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hoverme:hover .hide {
|
|
45
|
+
visibility: visible;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.rotate {
|
|
49
|
+
transform: rotate(-90deg);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.scrollable {
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
-webkit-overflow-scrolling: touch;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.noselect {
|
|
58
|
+
user-select: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.cdk-drag-placeholder {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.cdk-drag-animating {
|
|
66
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.card-list.cdk-drop-list-dragging .card:not(.cdk-drag-placeholder) {
|
|
70
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin theme($theme) {
|
|
4
|
+
&.elder-light-theme,
|
|
5
|
+
&.elder-dark-theme {
|
|
6
|
+
.nav-link-active {
|
|
7
|
+
color: var(--md-sys-color-primary) !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&.elder-light-theme elder-shell .elder-nav-list-full {
|
|
12
|
+
background-color: var(--md-sys-color-surface); // main nav bg color
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.elder-dark-theme elder-shell {
|
|
16
|
+
.elder-nav-list-full {
|
|
17
|
+
background-color: var(--md-sys-color-surface-container-high); // main nav bg color
|
|
18
|
+
}
|
|
19
|
+
.nav-link:hover,
|
|
20
|
+
.nav-group-button:hover {
|
|
21
|
+
background-color: var(--md-sys-color-surface-container) !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin theme($theme) {
|
|
4
|
+
.elder-mat-inner-table {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.elder-table-row.dense {
|
|
9
|
+
height: 42px !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.elder-mat-table-container {
|
|
13
|
+
border-radius: var(--elder-border-radius-sm);
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Style for the select column
|
|
19
|
+
*/
|
|
20
|
+
.mat-column-select {
|
|
21
|
+
overflow: initial;
|
|
22
|
+
min-width: 72px;
|
|
23
|
+
max-width: 5%;
|
|
24
|
+
width: 72px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.elder-row-removing {
|
|
28
|
+
text-decoration: line-through;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.elder-row-hidden {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/******************************
|
|
36
|
+
Clickable row
|
|
37
|
+
*******************************/
|
|
38
|
+
|
|
39
|
+
.elder-table-row {
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** https://bugzilla.mozilla.org/show_bug.cgi?id=1043520 **/
|
|
44
|
+
// firefox-scroll-fix
|
|
45
|
+
:host {
|
|
46
|
+
min-width: 0;
|
|
47
|
+
min-height: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.elder-table-hint {
|
|
51
|
+
color: gray;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.elder-table-footer {
|
|
55
|
+
height: var(--elder-data-element-footer-height);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.elder-table-checkbox {
|
|
59
|
+
opacity: 0.25;
|
|
60
|
+
|
|
61
|
+
-webkit-transition: opacity 0.5s ease-in-out;
|
|
62
|
+
-moz-transition: opacity 0.5s ease-in-out;
|
|
63
|
+
transition: opacity 0.5s ease-in-out;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.elder-table-row:hover .elder-table-checkbox {
|
|
67
|
+
opacity: 0.9;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.elder-table-checkbox-visible {
|
|
71
|
+
opacity: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.elder-table-inner {
|
|
75
|
+
background-color: var(--md-sys-color-surface-container-lowest);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.elder-table-row:focus {
|
|
79
|
+
// Disable browser focus style
|
|
80
|
+
box-shadow: none;
|
|
81
|
+
outline-style: none;
|
|
82
|
+
td {
|
|
83
|
+
background-color: var(
|
|
84
|
+
--elder-color-highlight-strong
|
|
85
|
+
); // OLD: background-color: mat.m2-get-color-from-palette($accent, default, 0.3);
|
|
86
|
+
border-bottom: var(
|
|
87
|
+
--md-sys-color-tertiary-fixed
|
|
88
|
+
); // OLD: border-bottom: 1px solid mat.m2-get-color-from-palette($accent, default);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.elder-table-row.elder-table-row-activated {
|
|
92
|
+
//background-color: var(--md-sys-color-surface-dim);
|
|
93
|
+
background-color: var(--elder-color-highlight-strong);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.elder-table-row.elder-table-row-selected {
|
|
97
|
+
background-color: var(--elder-color-highlight-variant);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.elder-table-row:hover {
|
|
101
|
+
background-color: var(--elder-color-highlight-light);
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.elder-mat-table-flat {
|
|
106
|
+
border: var(--elder-border-light);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.elder-table {
|
|
110
|
+
background-color: var(--mat-table-background-color);
|
|
111
|
+
|
|
112
|
+
// Fix line height of paginator section
|
|
113
|
+
.mat-mdc-paginator {
|
|
114
|
+
.mat-mdc-form-field,
|
|
115
|
+
.mat-mdc-floating-label {
|
|
116
|
+
line-height: unset;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.mat-mdc-select {
|
|
120
|
+
line-height: unset;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
$pad: 8px;
|
|
125
|
+
$pad-right: 12px;
|
|
126
|
+
|
|
127
|
+
.elder-mat-inner-table.mat-mdc-table {
|
|
128
|
+
.mat-mdc-header-cell {
|
|
129
|
+
padding-left: $pad;
|
|
130
|
+
padding-right: $pad-right;
|
|
131
|
+
|
|
132
|
+
// configure automatic wrapping of too long strings
|
|
133
|
+
overflow-wrap: normal;
|
|
134
|
+
word-wrap: normal;
|
|
135
|
+
word-break: normal;
|
|
136
|
+
white-space: unset;
|
|
137
|
+
hyphens: auto;
|
|
138
|
+
|
|
139
|
+
&:first-of-type {
|
|
140
|
+
padding-left: $pad + $pad-right;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:last-of-type {
|
|
144
|
+
padding-right: $pad; // TODO: This can lead to overflows in some cases, is there a better solution?
|
|
145
|
+
|
|
146
|
+
&[mat-sort-header]:not([arrowposition='before']) {
|
|
147
|
+
padding-right: $pad;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&[mat-sort-header] {
|
|
152
|
+
&[arrowposition='before'] {
|
|
153
|
+
padding-left: 0px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&:not([arrowposition='before']) {
|
|
157
|
+
padding-right: $pad-right;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
& > .mat-sort-header-container {
|
|
162
|
+
display: inline-flex;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.mat-mdc-cell {
|
|
167
|
+
padding-left: $pad;
|
|
168
|
+
padding-right: $pad-right;
|
|
169
|
+
|
|
170
|
+
overflow-wrap: normal;
|
|
171
|
+
word-wrap: normal;
|
|
172
|
+
word-break: normal;
|
|
173
|
+
white-space: unset;
|
|
174
|
+
hyphens: auto;
|
|
175
|
+
|
|
176
|
+
&:first-of-type {
|
|
177
|
+
padding-left: $pad + $pad-right;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&:last-of-type {
|
|
181
|
+
padding-right: $pad;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.mat-mdc-footer-cell {
|
|
186
|
+
padding-left: $pad;
|
|
187
|
+
padding-right: $pad-right;
|
|
188
|
+
font-weight: bold;
|
|
189
|
+
|
|
190
|
+
&:first-of-type {
|
|
191
|
+
padding-left: $pad + $pad-right;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:last-of-type {
|
|
195
|
+
padding-right: $pad;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.mat-mdc-paginator {
|
|
199
|
+
margin-left: -$pad;
|
|
200
|
+
margin-right: -$pad;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.mat-mdc-row {
|
|
207
|
+
background-color: var(--md-sys-color-surface-container-lowest);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.mat-mdc-header-row {
|
|
211
|
+
background: var(--md-sys-color-surface-container-lowest) !important;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// @use 'sass:map';
|
|
2
|
+
// @use '@angular/material' as mat;
|
|
3
|
+
// @use './elder-select-base-mixin' as elder-select-base;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// @mixin typography($typography-config) {
|
|
7
|
+
// $config: $typography-config; // TODO $typography-config
|
|
8
|
+
// // The unit-less line-height from the font config.
|
|
9
|
+
// $line-height: mat.line-height($config, body-1);
|
|
10
|
+
// $font-size: mat.font-size($config, body-1);
|
|
11
|
+
// $line-height-em: var(--md-sys-typescale-body-medium-line-height);
|
|
12
|
+
|
|
13
|
+
// @include elder-select-base.typography($typography-config);
|
|
14
|
+
|
|
15
|
+
// .elder-multi-select {
|
|
16
|
+
// font-family: mat.font-family($config);
|
|
17
|
+
|
|
18
|
+
// .elder-select-input {
|
|
19
|
+
// height: $line-height-em;
|
|
20
|
+
// }
|
|
21
|
+
|
|
22
|
+
// .elder-prefix-icon {
|
|
23
|
+
// margin-left: 3px;
|
|
24
|
+
// }
|
|
25
|
+
|
|
26
|
+
// .elder-chip-input {
|
|
27
|
+
// flex: 1 0 auto;
|
|
28
|
+
// padding-left: 8px;
|
|
29
|
+
// }
|
|
30
|
+
|
|
31
|
+
// .elder-chip-input-select {
|
|
32
|
+
// flex: 1 0 140px;
|
|
33
|
+
// max-width: 100%;
|
|
34
|
+
// }
|
|
35
|
+
|
|
36
|
+
// .elder-browse-icon {
|
|
37
|
+
// margin-right: 4px;
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
|
+
// }
|
|
41
|
+
|
|
42
|
+
@mixin theme($config-or-theme) {
|
|
43
|
+
// $color: mat.get-color-config($config-or-theme);
|
|
44
|
+
|
|
45
|
+
// $typography: mat.define-typography-config();
|
|
46
|
+
|
|
47
|
+
// @if $color != null {
|
|
48
|
+
// @include elder-select-base.color($color);
|
|
49
|
+
// }
|
|
50
|
+
|
|
51
|
+
// @if $typography != null {
|
|
52
|
+
// @include typography($typography);
|
|
53
|
+
// }
|
|
54
|
+
|
|
55
|
+
.elder-chip-text {
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
text-overflow: ellipsis;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.elder-trailing-icon {
|
|
62
|
+
color: var(--mdc-chip-with-trailing-icon-trailing-icon-color);
|
|
63
|
+
opacity: 0.54;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cdk-drag-preview {
|
|
67
|
+
// border-radius: var(--elder-border-radius-sm);
|
|
68
|
+
box-shadow: var(--elder-box-shadow-default);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.cdk-drag-placeholder {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.cdk-drag-animating {
|
|
76
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './elder-select-base-mixin' as elder-select-base;
|
|
4
|
+
|
|
5
|
+
@mixin typography($typography-config) {
|
|
6
|
+
@include elder-select-base.typography($typography-config);
|
|
7
|
+
|
|
8
|
+
.elder-multi-select {
|
|
9
|
+
font-family: var(--md-sys-typescale-body-medium-font);
|
|
10
|
+
|
|
11
|
+
.elder-select-input {
|
|
12
|
+
height: var(--md-sys-typescale-body-medium-line-height);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.elder-prefix-icon {
|
|
16
|
+
margin-left: 3px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.elder-chip-input {
|
|
20
|
+
flex: 1 0 auto;
|
|
21
|
+
padding-left: 8px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.elder-chip-input-select {
|
|
25
|
+
flex: 1 0 140px;
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.elder-browse-icon {
|
|
30
|
+
margin-right: 4px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin theme($config-or-theme) {
|
|
36
|
+
@include typography($config-or-theme);
|
|
37
|
+
|
|
38
|
+
.elder-chip-text {
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.elder-trailing-icon {
|
|
45
|
+
color: var(--mdc-chip-with-trailing-icon-trailing-icon-color);
|
|
46
|
+
opacity: 0.54;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './elder-select-base-mixin' as elder-select-base;
|
|
4
|
+
|
|
5
|
+
@mixin typography($typography-config) {
|
|
6
|
+
@include elder-select-base.typography($typography-config);
|
|
7
|
+
|
|
8
|
+
.elder-multi-select {
|
|
9
|
+
font-family: var(--md-sys-typescale-body-medium-font);
|
|
10
|
+
|
|
11
|
+
.elder-select-input {
|
|
12
|
+
height: var(--md-sys-typescale-body-medium-line-height);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.elder-prefix-icon {
|
|
16
|
+
margin-left: 3px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.elder-chip-input {
|
|
20
|
+
flex: 1 0 auto;
|
|
21
|
+
padding-left: 8px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.elder-chip-input-select {
|
|
25
|
+
flex: 1 0 140px;
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.elder-browse-icon {
|
|
30
|
+
margin-right: 4px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin theme($config-or-theme) {
|
|
36
|
+
@include typography($config-or-theme);
|
|
37
|
+
|
|
38
|
+
.elder-chip-text {
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.elder-trailing-icon {
|
|
45
|
+
color: var(--mdc-chip-with-trailing-icon-trailing-icon-color);
|
|
46
|
+
opacity: 0.54;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.cdk-drag-preview {
|
|
50
|
+
box-shadow: var(--elder-box-shadow-default);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.cdk-drag-placeholder {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cdk-drag-animating {
|
|
58
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
59
|
+
}
|
|
60
|
+
}
|