@natec/mef-dev-ui-kit 22.0.317 → 22.0.353

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natec/mef-dev-ui-kit",
3
- "version": "22.0.317",
3
+ "version": "22.0.353",
4
4
  "description": "MEF.DEV UI Kit Library",
5
5
  "author": {
6
6
  "name": "NATEC"
@@ -41,6 +41,9 @@
41
41
  "./styles/theme": {
42
42
  "sass": "./src/lib/styles/theme.scss"
43
43
  },
44
+ "./styles/toastr": {
45
+ "sass": "./src/lib/styles/toastr.scss"
46
+ },
44
47
  "./package.json": {
45
48
  "default": "./package.json"
46
49
  },
@@ -0,0 +1,172 @@
1
+ @use 'vars' as v;
2
+
3
+ @mixin dark-theme {
4
+ // Shared dark appearance for the base grid and optional table/bordered layers.
5
+ // Include after each layer so its light palette remains unchanged.
6
+ .md-theme-dark {
7
+ :is(md-grid, .md-grid) {
8
+ color: var(--md-color-text);
9
+ background-color: var(--md-color-surface);
10
+ border-color: var(--md-color-border);
11
+
12
+ .md-grid-actions-toolbar,
13
+ .md-grid-header,
14
+ .md-grid-header-cell,
15
+ .md-grid-footer,
16
+ .md-grid-group-header {
17
+ background-color: var(--md-color-surface-muted);
18
+ color: var(--md-color-text-subtle);
19
+ border-color: var(--md-color-border);
20
+ }
21
+
22
+ .md-grid-actions-toolbar + .md-grid-scroll-container {
23
+ box-shadow: inset 0 0 0 1px var(--md-color-border);
24
+ }
25
+
26
+ .md-grid-body { background-color: var(--md-color-surface); }
27
+ .md-grid-card, .md-grid-empty {
28
+ background-color: var(--md-color-surface);
29
+ border-color: var(--md-color-border);
30
+ }
31
+ .md-grid-cell, .md-grid-actions-cell {
32
+ color: var(--md-color-text);
33
+ border-color: var(--md-color-border);
34
+ }
35
+ .md-grid-empty-text, .md-grid-mobile-label, .md-grid-pager-info {
36
+ color: var(--md-color-text-subtle);
37
+ }
38
+ .md-grid-sort-icon { color: var(--md-color-text-muted); }
39
+ .md-grid-header-cell.sort-active,
40
+ .md-grid-sort-asc, .md-grid-sort-desc {
41
+ color: var(--md-color-primary);
42
+ }
43
+ // Match the light header typography and override table modifier separators.
44
+ .md-grid-header-cell {
45
+ font-weight: 300;
46
+ text-transform: uppercase;
47
+ letter-spacing: 0.5px;
48
+
49
+ &:not(:first-child) {
50
+ border-left: 1px solid var(--md-color-border);
51
+ }
52
+ }
53
+ .md-grid-header-cell.sortable {
54
+ &:hover, &:has(.md-grid-header-sort-trigger:focus-visible) {
55
+ background-color: var(--md-color-surface-hover);
56
+ }
57
+ }
58
+ .md-grid-resize-handle::after { background: var(--md-color-border); }
59
+ .md-grid-resize-handle:hover::after { background: var(--md-color-focus); }
60
+ .md-grid-action-btn {
61
+ color: var(--md-color-text-subtle);
62
+ &:hover { background-color: var(--md-color-surface-hover); }
63
+ }
64
+ @each $action, $token in (edit: primary, save: success, cancel: danger) {
65
+ .md-grid-action-#{$action} {
66
+ color: var(--md-color-#{$token});
67
+ &:hover {
68
+ color: var(--md-color-#{$token});
69
+ background-color: color-mix(in srgb, var(--md-color-#{$token}) 16%, transparent);
70
+ }
71
+ }
72
+ }
73
+ .md-grid-pager-btn, .md-paginator-page-size-select {
74
+ background-color: var(--md-color-surface);
75
+ color: var(--md-color-text);
76
+ border-color: var(--md-color-border);
77
+ &:hover:not(:disabled) {
78
+ background-color: var(--md-color-surface-hover);
79
+ color: var(--md-color-primary);
80
+ }
81
+ &:disabled { color: var(--md-color-text-muted); }
82
+ }
83
+ .md-paginator-page-size-label { color: var(--md-color-text-subtle); }
84
+ .md-grid-action-btn:focus-visible,
85
+ .md-grid-header-sort-trigger:focus-visible,
86
+ .md-grid-pager-btn:focus-visible,
87
+ .md-paginator-page-size-select:focus-visible {
88
+ outline: 2px solid var(--md-color-focus);
89
+ outline-offset: -2px;
90
+ }
91
+ .md-grid-scroll-container, .md-grid-body {
92
+ scrollbar-color: var(--md-color-border) var(--md-color-surface);
93
+ &::-webkit-scrollbar-track { background: var(--md-color-surface); }
94
+ &::-webkit-scrollbar-thumb { background: var(--md-color-border); }
95
+ }
96
+ }
97
+
98
+ // Cover both zebra variants, including grouped rows. The kit marks hover
99
+ // and editing backgrounds important, so those two overrides must match it.
100
+ :is(.md-grid.zebra, .md-grid.zebra.grey, .md-grid-table.zebra-white, .md-grid-table.zebra-grey, .md-grid-bordered.zebra) {
101
+ .md-grid-card:nth-child(odd),
102
+ .md-grid-group-rows .md-grid-card:nth-child(odd) { background-color: var(--md-color-surface); }
103
+ .md-grid-card:nth-child(even),
104
+ .md-grid-group-rows .md-grid-card:nth-child(even) { background-color: var(--md-color-surface-muted); }
105
+ }
106
+ :is(.md-grid, .md-grid-table.zebra-white, .md-grid-table.zebra-grey, .md-grid-bordered.zebra) {
107
+ .md-grid-card:hover {
108
+ background-color: var(--md-color-surface-hover) !important;
109
+ }
110
+ .md-grid-card.md-grid-card-editing {
111
+ background-color: var(--md-color-surface-selected) !important;
112
+ border-color: var(--md-color-focus);
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ // A quieter light header with stronger labels and clear sort/focus feedback.
119
+ // Exclude dark grids explicitly, including grids inside a dark themed section.
120
+ @mixin light-header {
121
+ .md-grid:not(.md-theme-dark, .md-theme-dark *) {
122
+ .md-grid-header {
123
+ background: v.$light-gray-3;
124
+ box-shadow: inset 0 -1px 0 v.$light-gray-2;
125
+ }
126
+
127
+ .md-grid-header-cell {
128
+ background: transparent;
129
+ color: v.$dark-gray-1;
130
+ font-weight: 300;
131
+ text-transform: uppercase;
132
+ letter-spacing: 0.5px;
133
+ border-left-color: v.$light-gray-2;
134
+
135
+ &.sortable {
136
+ transition: background-color 0.15s ease, color 0.15s ease;
137
+
138
+ &:hover,
139
+ &:has(.md-grid-header-sort-trigger:hover) {
140
+ background: v.$light-gray-2;
141
+ }
142
+
143
+ &:has(.md-grid-header-sort-trigger:focus-visible) {
144
+ background: v.$light-gray-2;
145
+ box-shadow: inset 0 0 0 2px v.$link;
146
+ }
147
+ }
148
+
149
+ &.sort-active {
150
+ color: v.$link;
151
+ box-shadow: inset 0 -2px 0 v.$link;
152
+ }
153
+
154
+ &.sort-active:has(.md-grid-header-sort-trigger:focus-visible) {
155
+ box-shadow: inset 0 0 0 2px v.$link;
156
+ }
157
+ }
158
+
159
+ .md-grid-sort-icon {
160
+ flex-shrink: 0;
161
+ color: v.$light-gray-1;
162
+
163
+ &.md-grid-sort-asc,
164
+ &.md-grid-sort-desc {
165
+ color: v.$link;
166
+ }
167
+ }
168
+
169
+ .md-grid-resize-handle::after { background: v.$light-gray-2; }
170
+ .md-grid-resize-handle:hover::after { background: v.$link; }
171
+ }
172
+ }
@@ -1 +1,6 @@
1
+ @use '@angular/cdk/a11y' as a11y;
1
2
  @use 'theme';
3
+
4
+ // LiveAnnouncer is attached to body and outlives individual overlay components.
5
+ // Keep its accessibility styles global so announcements never affect page layout.
6
+ @include a11y.a11y-visually-hidden();
@@ -0,0 +1,93 @@
1
+ Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,3 +1,19 @@
1
+ // Self-host the exact breadcrumb weights used in the Platform Figma file.
2
+ @font-face {
3
+ font-family: 'Lato';
4
+ font-style: normal;
5
+ font-weight: 300;
6
+ font-display: swap;
7
+ src: url('./fonts/google/lato/Lato-Light.ttf') format('truetype');
8
+ }
9
+ @font-face {
10
+ font-family: 'Lato';
11
+ font-style: normal;
12
+ font-weight: 600;
13
+ font-display: swap;
14
+ src: url('./fonts/google/lato/Lato-SemiBold.ttf') format('truetype');
15
+ }
16
+
1
17
  @font-face {
2
18
  font-family: 'Montserrat';
3
19
  font-style: normal;
@@ -35,6 +35,18 @@
35
35
  --md-spacing-4: 16px;
36
36
  --md-spacing-5: 20px;
37
37
  --md-spacing-6: 24px;
38
+ --md-spacing-8: 32px;
39
+ --md-spacing-10: 40px;
40
+ --md-text-sm: 12px;
41
+ --md-text-md: 14px;
42
+ --md-text-lg: 16px;
43
+ --md-text-title: 20px;
44
+ --md-focus-width: 2px;
45
+ --md-focus-offset: 2px;
46
+ --md-target-size: 36px;
47
+ --md-duration-fast: 150ms;
48
+ --md-page-background: var(--md-color-surface);
49
+ --md-panel-radius: var(--md-radius-lg);
38
50
 
39
51
  --md-button-radius: var(--md-radius-md);
40
52
  --md-button-font-family: var(--md-font-heading);
@@ -64,7 +76,7 @@
64
76
  --md-color-info: #{v.$link-on-dark};
65
77
 
66
78
  --md-color-text: #{v.$black-color};
67
- --md-color-text-muted: #{v.$light-gray-1};
79
+ --md-color-text-muted: #626872;
68
80
  --md-color-text-subtle: #{v.$dark-gray-2};
69
81
  --md-color-heading: #{v.$dark-gray-1};
70
82
  --md-color-link: #{v.$link};
@@ -99,7 +111,7 @@
99
111
  --md-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.18);
100
112
 
101
113
  --md-button-primary-bg: #{v.$dark-gray-2};
102
- --md-button-primary-hover-bg: #{v.$light-gray-1};
114
+ --md-button-primary-hover-bg: #626872;
103
115
  --md-button-primary-color: #{v.$white};
104
116
  --md-button-primary-hover-color: #{v.$white};
105
117
  --md-button-secondary-bg: #{v.$light-gray-2};
@@ -250,6 +262,7 @@
250
262
  }
251
263
 
252
264
  @mixin md-theme-dark {
265
+ --md-page-background: #101318;
253
266
  color-scheme: dark;
254
267
 
255
268
  --md-color-black: #05070a;
@@ -0,0 +1,2 @@
1
+ // Compatibility entry point: all platform toasts use the same theme-aware styles.
2
+ @forward 'toastr';
@@ -0,0 +1,2 @@
1
+ // Compatibility entry point: all platform toasts use the same theme-aware styles.
2
+ @forward 'toastr';
@@ -0,0 +1,2 @@
1
+ // Compatibility entry point: all platform toasts use the same theme-aware styles.
2
+ @forward 'toastr';
@@ -0,0 +1,251 @@
1
+ /* Toast styles extracted from Unibill; light appearance is preserved. */
2
+
3
+ .toast-center-center {
4
+ inset: 50% auto auto 50%;
5
+ transform: translate(-50%, -50%);
6
+ }
7
+
8
+ .toast-top-center {
9
+ inset: 0 0 auto auto;
10
+ width: 100%;
11
+ }
12
+
13
+ .toast-bottom-center {
14
+ inset: auto 0 0 auto;
15
+ width: 100%;
16
+ }
17
+
18
+ .toast-top-full-width {
19
+ inset: 0 0 auto auto;
20
+ width: 100%;
21
+ }
22
+
23
+ .toast-bottom-full-width {
24
+ inset: auto 0 0 auto;
25
+ width: 100%;
26
+ }
27
+
28
+ .toast-top-left {
29
+ inset: 12px auto auto 12px;
30
+ }
31
+
32
+ .toast-top-right {
33
+ inset: 12px 12px auto auto;
34
+ }
35
+
36
+ .toast-bottom-right {
37
+ inset: auto 12px 12px auto;
38
+ }
39
+
40
+ .toast-bottom-left {
41
+ inset: auto auto 12px 12px;
42
+ }
43
+
44
+ .toast-container {
45
+ position: fixed;
46
+ z-index: 999999;
47
+ display: flex;
48
+ flex-direction: column;
49
+ gap: 6px;
50
+ width: 300px;
51
+ pointer-events: none;
52
+ }
53
+
54
+ .toast-container * {
55
+ box-sizing: border-box;
56
+ }
57
+
58
+ .toast-container.toast-top-center .ngx-toastr,
59
+ .toast-container.toast-bottom-center .ngx-toastr {
60
+ width: 300px;
61
+ margin-right: auto;
62
+ margin-left: auto;
63
+ }
64
+
65
+ .toast-container.toast-top-full-width .ngx-toastr,
66
+ .toast-container.toast-bottom-full-width .ngx-toastr {
67
+ width: 96%;
68
+ margin-right: auto;
69
+ margin-left: auto;
70
+ }
71
+
72
+ .toast-title {
73
+ display: block;
74
+ margin-bottom: 2px;
75
+ font-weight: bold;
76
+ }
77
+
78
+ .toast-message {
79
+ display: block;
80
+ word-wrap: break-word;
81
+ }
82
+
83
+ .toast-message a,
84
+ .toast-message label {
85
+ color: #515050;
86
+ }
87
+
88
+ .toast-message a:hover {
89
+ color: #000;
90
+ text-decoration: none;
91
+ }
92
+
93
+ .toast-close-button {
94
+ position: relative;
95
+ inset: -0.3em -0.3em auto auto;
96
+ float: right;
97
+ border: 0;
98
+ padding: 0;
99
+ background: transparent;
100
+ color: #515050;
101
+ font-size: 20px;
102
+ font-weight: bold;
103
+ line-height: 20px;
104
+ text-shadow: 0 1px 0 #fff;
105
+ cursor: pointer;
106
+ }
107
+
108
+ .toast-close-button:hover,
109
+ .toast-close-button:focus {
110
+ color: #000;
111
+ text-decoration: none;
112
+ opacity: .4;
113
+ }
114
+
115
+ .toast-container .ngx-toastr {
116
+ position: relative;
117
+ overflow: hidden;
118
+ width: 300px;
119
+ margin: 0;
120
+ padding: 15px 15px 15px 50px;
121
+ border-radius: 5px;
122
+ background-color: #fff;
123
+ background-position: 15px center;
124
+ background-repeat: no-repeat;
125
+ background-size: 24px;
126
+ box-shadow: 0 0 12px #999;
127
+ color: #515050;
128
+ font-family: Montserrat, Arial, sans-serif;
129
+ font-size: 14px;
130
+ line-height: 20px;
131
+ pointer-events: auto;
132
+ word-break: break-word;
133
+ }
134
+
135
+ .toast-container .ngx-toastr:hover {
136
+ box-shadow: 0 0 12px #000;
137
+ opacity: 1;
138
+ cursor: pointer;
139
+ }
140
+
141
+ .toast-success {
142
+ border: 1px solid #0da899;
143
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAAvCAYAAABZl2IDAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIASURBVHgB1do/TsMwFMfx51RCjByhC1LZOEI7lD9i4gZwA24AN+AqlShiYGiP0BGJpUfoCpUS/KO4MmkSO3FsP3+nRoqcfJS0TZ9KlHBn88uH09fpuWm/jBJt9HLxVFDxnBW0MEEFJRiA8swf1bbEbnJBk8+b91XV/skhy0BVEzQpZB1QVQdNBmkCqqqgSSBtgaoylD2yLVClQ1kjuwJVCjogprkCkSBxLB8ERiyvZB9AJK/k6mu7nbBD9g1c3y43rJA+gNhmg/QFRCyQPoEoOtI3EEVFhgCiaMhQQBQFGRKIrCYDo7eroc2YwWqtwEBkRAJIeb6wGTMY14oARI23qwLKVYd/izeOGRrXigREtcgyUDtIa2hMIKpE1gG1g1lDYwPRAdIE1A5qhHIAon9IW6B28FooFyDaI9sCtZM4gHICol9kV6B2MnsoNyDaIefThXw5JocAFSKbUVHckWN9AtHuYWCwvZfcNTkk5yknHIFIe0+O5S171PmW7SMfQFT6dI0H9QVEFd+T4aE+gajmiScc1DcQNTy7+oeGACLDrxB/0FBAZJwM+ICGBCKr8Uef0NBAZD3j6QMaA4haDbJcoLGAqPW0rgs0JhB1Gkm2gcYGos5zVxsoByByGi43QbkAkRMSVUE5AZEzEulQbkDUyx8IP66Xa8q+J0LQjBsQ/QBtDmMuTOhEzAAAAABJRU5ErkJggg==');
144
+ }
145
+
146
+ .toast-error {
147
+ border: 1px solid #cf0106;
148
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAnCAYAAACWn7G7AAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKcSURBVHgBzZjfcdNAEMa/PeKQGR5wB1EqIOpA6cAdYFeAOwgdkA4MFRAqsCtAJaAS/MQwMdGyd7JjCcm+v5nR78WSpZPX391+tyvgFShxlZWY3CIxCgkxQdLbNaj+BaKyVJerEpgiEUmDBfEK4OLlnDGHmtwjEYREyLTPRc3V4EWu73L83SCSdMoS3Qdd8yBJsLI2P8tHdvoOKkT5j4gkehnopDIJZacCP+U5sEUg8cqq2nWKM+DiEyKIUtZD1T28Bb8Rdf9UCCBOWarXXveDph4z0R+NQE5YlaxLqrq/wHpT6O5mgVYWHixd6unPOl8yz3PsvnXuG/xTvMl5dwdPgpaB3apshFmZd7AmqRjxJk948K0b/JWNSJAukmyeVuYVrCn7dHGSCqKlmSlH/JQl+g5/3p954FTs7wsccQ7WZLU9qYbWYIbzzEpcFHDAKdgS06lb5UT97oCUvWNwrMrclFW/l3CxKkLR/5ILWDFWtrTeZbvBd//P+YmOY9/dgnal20hdN+xuzlVldmU9reonrq6PZ7sMztit7GywIVZFeC5apx/gg8XKlGVwgFVR1hrv2Y5rK3tenbp6MlhHqxoiOx5yBm90sg1b2WCC7ZNqjaBgJVGIHpvD0N1uuCobVlbVcwRXVTKVOsiobXnYynrK+rcqr0XfyvrKxlZVzF9F1RmzKuTsEcH0rayjrKha+PdVLSRQ6RQWnWfqd19Ou9ipZ6qbQ4PZVZbqFeLY9H+sjlBXaFnZS7ARVtUmpOqycLQyE2yTVAneR/23A+2fO0MspEzNa9ZsqSYP0kJHvS1pUTU+Ky0486xJlARI59wEO9RWjw7eHIJljB7eqsMBxk/VBMu0GHfAZjdbtKp6vWYnhSTENUYFV1LE/9Db7j+wytdsWfNn+wAAAABJRU5ErkJggg==');
149
+ }
150
+
151
+ .toast-warning {
152
+ border: 1px solid #f8d053;
153
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAnCAYAAACWn7G7AAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKcSURBVHgBzZjfcdNAEMa/PeKQGR5wB1EqIOpA6cAdYFeAOwgdkA4MFRAqsCtAJaAS/MQwMdGyd7JjCcm+v5nR78WSpZPX391+tyvgFShxlZWY3CIxCgkxQdLbNaj+BaKyVJerEpgiEUmDBfEK4OLlnDGHmtwjEYREyLTPRc3V4EWu73L83SCSdMoS3Qdd8yBJsLI2P8tHdvoOKkT5j4gkehnopDIJZacCP+U5sEUg8cqq2nWKM+DiEyKIUtZD1T28Bb8Rdf9UCCBOWarXXveDph4z0R+NQE5YlaxLqrq/wHpT6O5mgVYWHixd6unPOl8yz3PsvnXuG/xTvMl5dwdPgpaB3apshFmZd7AmqRjxJk948K0b/JWNSJAukmyeVuYVrCn7dHGSCqKlmSlH/JQl+g5/3p954FTs7wsccQ7WZLU9qYbWYIbzzEpcFHDAKdgS06lb5UT97oCUvWNwrMrclFW/l3CxKkLR/5ILWDFWtrTeZbvBd//P+YmOY9/dgnal20hdN+xuzlVldmU9reonrq6PZ7sMztit7GywIVZFeC5apx/gg8XKlGVwgFVR1hrv2Y5rK3tenbp6MlhHqxoiOx5yBm90sg1b2WCC7ZNqjaBgJVGIHpvD0N1uuCobVlbVcwRXVTKVOsiobXnYynrK+rcqr0XfyvrKxlZVzF9F1RmzKuTsEcH0rayjrKha+PdVLSRQ6RQWnWfqd19Ou9ipZ6qbQ4PZVZbqFeLY9H+sjlBXaFnZS7ARVtUmpOqycLQyE2yTVAneR/23A+2fO0MspEzNa9ZsqSYP0kJHvS1pUTU+Ky0486xJlARI59wEO9RWjw7eHIJljB7eqsMBxk/VBMu0GHfAZjdbtKp6vWYnhSTENUYFV1LE/9Db7j+wytdsWfNn+wAAAABJRU5ErkJggg==');
154
+ }
155
+
156
+ .toast-info {
157
+ border: 1px solid #48b0f7;
158
+ }
159
+
160
+ .toast-progress {
161
+ position: absolute;
162
+ inset: auto auto 0 0;
163
+ height: 4px;
164
+ background-color: #000;
165
+ opacity: .4;
166
+ }
167
+
168
+ @media all and (max-width: 240px) {
169
+ .toast-container .ngx-toastr {
170
+ width: 11em;
171
+ padding: 8px 8px 8px 50px;
172
+ }
173
+
174
+ .toast-container .toast-close-button {
175
+ inset: -0.2em -0.2em auto auto;
176
+ }
177
+ }
178
+
179
+ @media all and (min-width: 241px) and (max-width: 480px) {
180
+ .toast-container .ngx-toastr {
181
+ width: 18em;
182
+ padding: 8px 8px 8px 50px;
183
+ }
184
+
185
+ .toast-container .toast-close-button {
186
+ inset: -0.2em -0.2em auto auto;
187
+ }
188
+ }
189
+
190
+ @media all and (min-width: 481px) and (max-width: 768px) {
191
+ .toast-container .ngx-toastr {
192
+ width: 25em;
193
+ padding: 15px 15px 15px 50px;
194
+ }
195
+ }
196
+
197
+ // Dark appearance overrides; the light appearance above is preserved.
198
+ .md-theme-dark .toast-message a,
199
+ .md-theme-dark .toast-message label {
200
+ color: var(--md-color-text-subtle)
201
+ }
202
+ .md-theme-dark .toast-message a:hover {
203
+ color: var(--md-color-text)
204
+ }
205
+ .md-theme-dark .toast-close-button {
206
+ color: var(--md-color-text-subtle);
207
+ text-shadow: 0 1px 0 var(--md-color-surface)
208
+ }
209
+ .md-theme-dark .toast-close-button:hover,
210
+ .md-theme-dark .toast-close-button:focus {
211
+ color: var(--md-color-text)
212
+ }
213
+ .md-theme-dark .toast-container .ngx-toastr {
214
+ border-radius: var(--md-radius-md);
215
+ background-color: var(--md-color-surface);
216
+ box-shadow: var(--md-shadow-md);
217
+ color: var(--md-color-text-subtle);
218
+ font-family: "Montserrat", Arial, sans-serif
219
+ }
220
+ .md-theme-dark .toast-container .ngx-toastr:hover {
221
+ box-shadow: var(--md-shadow-lg)
222
+ }
223
+ .md-theme-dark .toast-success {
224
+ border: 1px solid var(--md-color-success)
225
+ }
226
+ .md-theme-dark .toast-error {
227
+ border: 1px solid var(--md-color-danger)
228
+ }
229
+ .md-theme-dark .toast-warning {
230
+ border: 1px solid var(--md-color-warning)
231
+ }
232
+ .md-theme-dark .toast-info {
233
+ border: 1px solid var(--md-color-info)
234
+ }
235
+ .md-theme-dark .toast-progress {
236
+ background-color: var(--md-color-surface-muted)
237
+ }
238
+ @media all and (max-width: 240px) {
239
+ .md-theme-dark .toast-container .ngx-toastr {
240
+ padding: var(--md-spacing-2) var(--md-spacing-2) var(--md-spacing-2) 50px
241
+ }
242
+ }
243
+ @media all and (min-width: 241px) and (max-width: 480px) {
244
+ .md-theme-dark .toast-container .ngx-toastr {
245
+ padding: var(--md-spacing-2) var(--md-spacing-2) var(--md-spacing-2) 50px
246
+ }
247
+ }
248
+
249
+ .toast-container:is(.toast-top-center, .toast-bottom-center, .toast-top-full-width, .toast-bottom-full-width) {
250
+ width: 100%;
251
+ }
@@ -1,3 +1,4 @@
1
+ @use '../../styles/cards-grid-theme' as grid-theme;
1
2
  @use '../../styles/vars.scss' as *;
2
3
  @use 'sass:color' as color;
3
4
 
@@ -224,7 +225,7 @@
224
225
  // RESPONSIVE
225
226
  // ═════════════════════════════════════════════════════════════════════════
226
227
 
227
- @media (max-width: 768px) {
228
+ @media (max-width: 767.98px) {
228
229
  font-size: 12px;
229
230
 
230
231
  .md-grid-footer {
@@ -235,7 +236,7 @@
235
236
  }
236
237
  }
237
238
 
238
- @media (max-width: 540px) {
239
+ @media (max-width: 767.98px) {
239
240
  .md-grid-body {
240
241
  padding: 6px;
241
242
  }
@@ -368,3 +369,7 @@
368
369
  }
369
370
  }
370
371
  }
372
+
373
+ @include grid-theme.dark-theme;
374
+
375
+ @include grid-theme.light-header;