@massimo-cassandro/minimo 1.21.1 → 1.21.3
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/design-tokens/tokens-config-sample.mjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/src/components/autocomplete/autocomplete.css +116 -118
- package/src/components/inner-nav/inner-nav.css +10 -13
- package/src/components/modal-alert/modal-alert.module.css +156 -159
- package/src/components/modal-popup/modal-popup.module.css +84 -88
- package/src/components/overlay/overlay.css +10 -14
- package/src/components/sf-macro/sf-macro.css +68 -72
- package/src/components/slide-up-down-toggle/slide-up-down-toggle.module.css +90 -94
- package/src/components/snackbar/snackbar.module.css +89 -93
- package/src/components/spinner/spinner-circle-basic.css +14 -18
- package/src/components/spinner/spinner.module.css +4 -8
- package/src/components/unsplash-page/unsplash-page.module.css +255 -260
- package/src/css/alerts.css +81 -85
- package/src/css/badge.css +13 -15
- package/src/css/buttons/btn-close.css +53 -56
- package/src/css/buttons/buttons-primary.css +34 -37
- package/src/css/buttons/buttons-secondary.css +34 -37
- package/src/css/buttons/buttons.css +80 -83
- package/src/css/buttons/status-buttons.css +87 -90
- package/src/css/container.css +5 -8
- package/src/css/data-formats.css +24 -28
- package/src/css/details.css +13 -17
- package/src/css/dimensions.css +9 -12
- package/src/css/display.css +37 -41
- package/src/css/flex.css +35 -39
- package/src/css/forms/fieldset.css +56 -59
- package/src/css/forms/form-collections.css +12 -16
- package/src/css/forms/form-disabled-readonly.css +28 -31
- package/src/css/forms/form-group.css +13 -18
- package/src/css/forms/form-utilities.css +34 -39
- package/src/css/forms/forms.css +132 -136
- package/src/css/forms/input-group.css +43 -47
- package/src/css/forms/switch.css +75 -78
- package/src/css/forms/validation.css +22 -26
- package/src/css/grid.css +62 -66
- package/src/css/headings.css +28 -32
- package/src/css/icons.css +57 -63
- package/src/css/layout-base.css +13 -15
- package/src/css/links.css +36 -39
- package/src/css/margin-padding-bootstrap-media.css +1832 -1835
- package/src/css/margin-padding-bootstrap.css +440 -443
- package/src/css/margin-padding-media.css +1832 -1835
- package/src/css/margin-padding.css +440 -443
- package/src/css/overflow.css +3 -7
- package/src/css/position.css +1 -6
- package/src/css/reset.css +46 -48
- package/src/css/svg.css +2 -5
- package/src/css/table.css +61 -63
- package/src/css/text.css +95 -98
- package/src/css/visibility.css +42 -45
- package/src/custom-properties.css +439 -442
- package/src/minimo.css +3 -2
- package/src/utilities/dom-builder-helpers/form-tags.js +90 -3
- package/src/web-components/s-datatable-component/s-datatable-component.module.css +172 -175
- package/types/classes.d.ts +1 -0
|
@@ -66,7 +66,7 @@ const config = {
|
|
|
66
66
|
// Wraps the generated custom properties inside a CSS `@layer` at-rule,
|
|
67
67
|
// e.g. addLayer: 'project' -> `@layer project { :root { ... } }`.
|
|
68
68
|
// Set to null, undefined or false (default) to emit no layer.
|
|
69
|
-
addLayer:
|
|
69
|
+
addLayer: false,
|
|
70
70
|
|
|
71
71
|
// Named groups of custom properties. Properties whose first hyphen-separated
|
|
72
72
|
// name segment matches one of a group's `prefixes` are pulled out, labelled
|
package/index.js
CHANGED
|
@@ -20,7 +20,7 @@ export { ValidationError } from './src/utilities/validation-error-class.js';
|
|
|
20
20
|
|
|
21
21
|
// domBuilder helpers
|
|
22
22
|
export { buildPictureTag } from './src/utilities/dom-builder-helpers/picture-tag.js';
|
|
23
|
-
export { buildInput, buildCheckbox, buildTextarea, buildFakeField } from './src/utilities/dom-builder-helpers/form-tags.js';
|
|
23
|
+
export { buildInput, buildCheckbox, buildTextarea, buildFakeField, buildSelect } from './src/utilities/dom-builder-helpers/form-tags.js';
|
|
24
24
|
|
|
25
25
|
// components
|
|
26
26
|
export { dismissAlerts } from './src/components/dismiss-alerts.js';
|
package/package.json
CHANGED
|
@@ -1,150 +1,148 @@
|
|
|
1
|
-
@layer components {
|
|
2
1
|
|
|
3
|
-
|
|
2
|
+
/* basato sul css di @tarekraafat/autocomplete.js */
|
|
4
3
|
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
.hmenu-subsection-emulazione {
|
|
6
|
+
overflow-y: visible;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ac-autocomplete-wrapper { /* assegnato all'elemento .form-group */
|
|
10
|
+
|
|
11
|
+
--ac-color: #333;
|
|
12
|
+
--ac-bg-color: #fff;
|
|
13
|
+
--ac-border-color: #666;
|
|
14
|
+
--ac-danger-color: #c00;
|
|
15
|
+
--ac-box-shadow: 0 0 10px rgb(0 0 0 / .6);
|
|
16
|
+
--ac-list-item-bg: #fff;
|
|
17
|
+
--ac-hover-color: var(--secondary-100);
|
|
18
|
+
|
|
19
|
+
position: relative;
|
|
20
|
+
|
|
21
|
+
ul {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 100%;
|
|
24
|
+
right: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
z-index: 1000;
|
|
27
|
+
max-height: 14rem;
|
|
28
|
+
padding: 0;
|
|
29
|
+
margin: .2rem 0 0;
|
|
30
|
+
overflow-y: scroll;
|
|
31
|
+
color: var(--ac-color);
|
|
32
|
+
outline: none;
|
|
33
|
+
background-color: var(--ac-bg-color);
|
|
34
|
+
border: 1px solid var(--ac-border-color);
|
|
35
|
+
border-radius: .6rem;
|
|
36
|
+
box-shadow: var(--ac-box-shadow);
|
|
37
|
+
|
|
38
|
+
&[hidden],
|
|
39
|
+
&:empty {
|
|
40
|
+
display: block;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transform: scale(0);
|
|
43
|
+
}
|
|
9
44
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--ac-color: #333;
|
|
13
|
-
--ac-bg-color: #fff;
|
|
14
|
-
--ac-border-color: #666;
|
|
15
|
-
--ac-danger-color: #c00;
|
|
16
|
-
--ac-box-shadow: 0 0 10px rgb(0 0 0 / .6);
|
|
17
|
-
--ac-list-item-bg: #fff;
|
|
18
|
-
--ac-hover-color: var(--secondary-100);
|
|
19
|
-
|
|
20
|
-
position: relative;
|
|
21
|
-
|
|
22
|
-
ul {
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 100%;
|
|
25
|
-
right: 0;
|
|
26
|
-
left: 0;
|
|
27
|
-
z-index: 1000;
|
|
28
|
-
max-height: 14rem;
|
|
45
|
+
li {
|
|
29
46
|
padding: 0;
|
|
30
|
-
margin: .
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
outline: none;
|
|
34
|
-
background-color: var(--ac-bg-color);
|
|
35
|
-
border: 1px solid var(--ac-border-color);
|
|
36
|
-
border-radius: .6rem;
|
|
37
|
-
box-shadow: var(--ac-box-shadow);
|
|
38
|
-
|
|
39
|
-
&[hidden],
|
|
40
|
-
&:empty {
|
|
41
|
-
display: block;
|
|
42
|
-
opacity: 0;
|
|
43
|
-
transform: scale(0);
|
|
44
|
-
}
|
|
47
|
+
margin: .3rem;
|
|
48
|
+
text-align: left;
|
|
49
|
+
list-style: none;
|
|
45
50
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
margin: .3rem;
|
|
49
|
-
text-align: left;
|
|
50
|
-
list-style: none;
|
|
51
|
+
/* stylelint-disable declaration-no-important, max-nesting-depth, selector-max-compound-selectors */
|
|
52
|
+
> div {
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
padding: .3rem .5rem;
|
|
55
|
+
background-color: var(--ac-list-item-bg);
|
|
56
|
+
border-radius: .35rem;
|
|
57
|
+
transition: all .2s ease;
|
|
54
58
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
.badge {
|
|
60
|
+
color: #fff;
|
|
61
|
+
background-color: var(--ac-hover-color);
|
|
62
|
+
}
|
|
59
63
|
|
|
64
|
+
&:hover {
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
background-color: var(--ac-hover-color) !important;
|
|
67
|
+
&, .text-muted {
|
|
68
|
+
color: #fff !important;
|
|
69
|
+
}
|
|
60
70
|
.badge {
|
|
61
|
-
color:
|
|
62
|
-
background-color:
|
|
71
|
+
color: var(--ac-hover-color) !important;
|
|
72
|
+
background-color: color-mix(in srgb, #fff 70%, transparent) !important;
|
|
63
73
|
}
|
|
64
74
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
background-color: var(--ac-hover-color) !important;
|
|
68
|
-
&, .text-muted {
|
|
69
|
-
color: #fff !important;
|
|
70
|
-
}
|
|
71
|
-
.badge {
|
|
72
|
-
color: var(--ac-hover-color) !important;
|
|
73
|
-
background-color: color-mix(in srgb, #fff 70%, transparent) !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
mark {
|
|
77
|
-
border-color: currentColor;
|
|
78
|
-
}
|
|
75
|
+
mark {
|
|
76
|
+
border-color: currentColor;
|
|
79
77
|
}
|
|
78
|
+
}
|
|
80
79
|
|
|
81
|
-
|
|
80
|
+
&.alert-item{
|
|
82
81
|
|
|
83
82
|
|
|
83
|
+
&, .text-muted {
|
|
84
|
+
color: var(--text-muted) !important;
|
|
85
|
+
}
|
|
86
|
+
background-color: color-mix(in srgb, var(--ac-danger-color) 1%, transparent);
|
|
87
|
+
&:hover {
|
|
84
88
|
&, .text-muted {
|
|
85
|
-
color:
|
|
89
|
+
color: rgb(255 255 255) !important;
|
|
86
90
|
}
|
|
87
|
-
background-color: color-mix(in srgb, var(--ac-danger-color) 1%, transparent);
|
|
88
|
-
&:hover {
|
|
89
|
-
&, .text-muted {
|
|
90
|
-
color: rgb(255 255 255) !important;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
mark {
|
|
96
|
-
padding: 0;
|
|
97
|
-
color: currentColor;
|
|
98
|
-
background-color: transparent;
|
|
99
|
-
border-bottom: 4px double var(--ac-danger-color);
|
|
100
|
-
|
|
101
|
-
/* stylelint-disable-next-line max-nesting-depth selector-max-type */
|
|
102
|
-
/* &::selection {
|
|
103
|
-
color: rgba(#ffffff, 0);
|
|
104
|
-
background-color: rgba(#ffffff, 0);
|
|
105
|
-
} */
|
|
106
91
|
}
|
|
107
92
|
}
|
|
108
|
-
/* stylelint-enable declaration-no-important, max-nesting-depth, selector-max-compound-selectors */
|
|
109
93
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
94
|
+
mark {
|
|
95
|
+
padding: 0;
|
|
96
|
+
color: currentColor;
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
border-bottom: 4px double var(--ac-danger-color);
|
|
99
|
+
|
|
100
|
+
/* stylelint-disable-next-line max-nesting-depth selector-max-type */
|
|
101
|
+
/* &::selection {
|
|
102
|
+
color: rgba(#ffffff, 0);
|
|
103
|
+
background-color: rgba(#ffffff, 0);
|
|
104
|
+
} */
|
|
105
|
+
}
|
|
113
106
|
}
|
|
114
|
-
|
|
107
|
+
/* stylelint-enable declaration-no-important, max-nesting-depth, selector-max-compound-selectors */
|
|
115
108
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
109
|
+
/* &[aria-selected='true'] {
|
|
110
|
+
background-color: var(--ada-grigio-2);
|
|
111
|
+
} */
|
|
119
112
|
}
|
|
120
113
|
}
|
|
121
114
|
|
|
115
|
+
.no-result {
|
|
116
|
+
padding: .4rem .6rem;
|
|
117
|
+
color: var(--ac-danger-color);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
122
120
|
|
|
123
|
-
/* badge multiple select */
|
|
124
|
-
.ac-badge {
|
|
125
|
-
margin: 0 .5rem .2rem 0;
|
|
126
|
-
font-size: .85rem;
|
|
127
|
-
line-height: 1;
|
|
128
|
-
white-space: nowrap;
|
|
129
121
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
display: inline-flex;
|
|
137
|
-
align-items: center;
|
|
138
|
-
justify-content: center;
|
|
139
|
-
padding: 0;
|
|
140
|
-
margin-left: 4px;
|
|
141
|
-
font-size: 1.2em;
|
|
142
|
-
line-height: 1;
|
|
143
|
-
color: currentColor;
|
|
144
|
-
background-color: transparent;
|
|
145
|
-
border: none;
|
|
146
|
-
border-radius: 50%;
|
|
122
|
+
/* badge multiple select */
|
|
123
|
+
.ac-badge {
|
|
124
|
+
margin: 0 .5rem .2rem 0;
|
|
125
|
+
font-size: .85rem;
|
|
126
|
+
line-height: 1;
|
|
127
|
+
white-space: nowrap;
|
|
147
128
|
|
|
129
|
+
&:has(.ac-badge-btn:hover) {
|
|
130
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
131
|
+
background-color: var(--ac-danger-color) !important;
|
|
148
132
|
}
|
|
133
|
+
}
|
|
134
|
+
.ac-badge-btn {
|
|
135
|
+
display: inline-flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
padding: 0;
|
|
139
|
+
margin-left: 4px;
|
|
140
|
+
font-size: 1.2em;
|
|
141
|
+
line-height: 1;
|
|
142
|
+
color: currentColor;
|
|
143
|
+
background-color: transparent;
|
|
144
|
+
border: none;
|
|
145
|
+
border-radius: 50%;
|
|
149
146
|
|
|
150
147
|
}
|
|
148
|
+
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/*! minimo - Inner Nav */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.inner-nav-main, .inner-nav {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: var(--inner-nav-gap);
|
|
6
|
+
justify-content: flex-end;
|
|
7
|
+
margin-block: var(--inner-nav-margin-block);
|
|
8
|
+
/* text-align: end; */
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
display:
|
|
7
|
-
gap: var(--inner-nav-gap);
|
|
8
|
-
justify-content: flex-end;
|
|
9
|
-
margin-block: var(--inner-nav-margin-block);
|
|
10
|
-
/* text-align: end; */
|
|
11
|
-
|
|
12
|
-
@media print {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
10
|
+
@media print {
|
|
11
|
+
display: none;
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
}
|
|
14
|
+
|
|
@@ -1,203 +1,200 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
overscroll-behavior: contain;
|
|
18
|
-
background-color: var(--malert-backdrop);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&, * {
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
}
|
|
1
|
+
/*! minimo - Modal Alert */
|
|
2
|
+
|
|
3
|
+
.malert {
|
|
4
|
+
width: 600px;
|
|
5
|
+
max-width: 90vw;
|
|
6
|
+
padding: 0;
|
|
7
|
+
margin: auto;
|
|
8
|
+
background-color: var(--malert-background-color);
|
|
9
|
+
border: none;
|
|
10
|
+
border-radius: var(--malert-border-radius);
|
|
11
|
+
box-shadow: var(--malert-box-shadow, var(--default-box-shadow));
|
|
12
|
+
/* box-shadow: 2px 2px 12px #000; */
|
|
13
|
+
|
|
14
|
+
&::backdrop {
|
|
15
|
+
overscroll-behavior: contain;
|
|
16
|
+
background-color: var(--malert-backdrop);
|
|
24
17
|
}
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
--_malert-color-fg: var(--malert-success-fg);
|
|
29
|
-
}
|
|
30
|
-
.info {
|
|
31
|
-
--_malert-color-bg: var(--malert-info-bg);
|
|
32
|
-
--_malert-color-fg: var(--malert-info-fg);
|
|
33
|
-
}
|
|
34
|
-
.warning {
|
|
35
|
-
--_malert-color-bg: var(--malert-warning-bg);
|
|
36
|
-
--_malert-color-fg: var(--malert-warning-fg);
|
|
37
|
-
}
|
|
38
|
-
.error {
|
|
39
|
-
--_malert-color-bg: var(--malert-error-bg);
|
|
40
|
-
--_malert-color-fg: var(--malert-error-fg);
|
|
41
|
-
}
|
|
42
|
-
.confirm {
|
|
43
|
-
--_malert-color-bg: var(--malert-confirm-bg);
|
|
44
|
-
--_malert-color-fg: var(--malert-confirm-fg);
|
|
19
|
+
&, * {
|
|
20
|
+
box-sizing: border-box;
|
|
45
21
|
}
|
|
22
|
+
}
|
|
46
23
|
|
|
24
|
+
.success {
|
|
25
|
+
--_malert-color-bg: var(--malert-success-bg);
|
|
26
|
+
--_malert-color-fg: var(--malert-success-fg);
|
|
27
|
+
}
|
|
28
|
+
.info {
|
|
29
|
+
--_malert-color-bg: var(--malert-info-bg);
|
|
30
|
+
--_malert-color-fg: var(--malert-info-fg);
|
|
31
|
+
}
|
|
32
|
+
.warning {
|
|
33
|
+
--_malert-color-bg: var(--malert-warning-bg);
|
|
34
|
+
--_malert-color-fg: var(--malert-warning-fg);
|
|
35
|
+
}
|
|
36
|
+
.error {
|
|
37
|
+
--_malert-color-bg: var(--malert-error-bg);
|
|
38
|
+
--_malert-color-fg: var(--malert-error-fg);
|
|
39
|
+
}
|
|
40
|
+
.confirm {
|
|
41
|
+
--_malert-color-bg: var(--malert-confirm-bg);
|
|
42
|
+
--_malert-color-fg: var(--malert-confirm-fg);
|
|
43
|
+
}
|
|
47
44
|
|
|
48
|
-
.innerWrapper{
|
|
49
|
-
display: flex;
|
|
50
|
-
flex-flow: column nowrap;
|
|
51
|
-
/* gap: .7rem; */
|
|
52
|
-
align-items: stretch;
|
|
53
|
-
justify-content: flex-start;
|
|
54
45
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
46
|
+
.innerWrapper{
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-flow: column nowrap;
|
|
49
|
+
/* gap: .7rem; */
|
|
50
|
+
align-items: stretch;
|
|
51
|
+
justify-content: flex-start;
|
|
52
|
+
|
|
53
|
+
@media screen and (min-width: 600px) {
|
|
54
|
+
flex-direction: row;
|
|
58
55
|
}
|
|
56
|
+
}
|
|
59
57
|
|
|
60
58
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
.mMark {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
width: 100%;
|
|
64
|
+
padding: .4rem;
|
|
65
|
+
background-color: var(--_malert-color-bg);
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
svg {
|
|
68
|
+
width: 100px;
|
|
69
|
+
aspect-ratio: 1;
|
|
70
|
+
background-color: transparent;
|
|
71
|
+
fill: var(--_malert-color-fg);
|
|
72
|
+
}
|
|
75
73
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
74
|
+
@media screen and (min-width: 600px) {
|
|
75
|
+
flex-direction: row;
|
|
76
|
+
align-items: flex-start;
|
|
77
|
+
width: auto;
|
|
78
|
+
padding: 1rem;
|
|
79
|
+
/* svg {
|
|
80
|
+
width: 100px;
|
|
81
|
+
} */
|
|
85
82
|
}
|
|
83
|
+
}
|
|
86
84
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
.mBody {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex: 1;
|
|
88
|
+
flex-flow: column nowrap;
|
|
89
|
+
gap: .5rem;
|
|
90
|
+
align-items: stretch;
|
|
91
|
+
justify-content: flex-start;
|
|
92
|
+
padding: .5rem;
|
|
95
93
|
|
|
96
|
-
|
|
94
|
+
text-align: center;
|
|
97
95
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
96
|
+
@media screen and (min-width: 600px) {
|
|
97
|
+
padding: 1rem;
|
|
98
|
+
text-align: left;
|
|
102
99
|
}
|
|
100
|
+
}
|
|
103
101
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
102
|
+
.mHeading {
|
|
103
|
+
font-family: var(--malert-heading-font-family);
|
|
104
|
+
font-size: var(--malert-heading-font-size);
|
|
105
|
+
font-weight: var(--malert-heading-font-weight);
|
|
106
|
+
line-height: var(--malert-heading-line-height);
|
|
107
|
+
}
|
|
108
|
+
.mText {
|
|
109
|
+
font-family: var(--malert-text-font-family);
|
|
110
|
+
font-size: var(--malert-text-font-size);
|
|
111
|
+
}
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
113
|
+
.mBtns {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-flow: column nowrap;
|
|
116
|
+
gap: 1rem;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: flex-end;
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
padding-top: 1rem;
|
|
121
|
+
margin-top: auto;
|
|
124
122
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
123
|
+
@media screen and (min-width: 600px) {
|
|
124
|
+
flex-direction: row-reverse;
|
|
125
|
+
justify-content: space-between;
|
|
129
126
|
}
|
|
127
|
+
}
|
|
130
128
|
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
.mAnimated {
|
|
131
|
+
transform: translateY(-500%);
|
|
132
|
+
animation: dialog-in .3s ease-out;
|
|
135
133
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
134
|
+
&[open] {
|
|
135
|
+
transform: none;
|
|
139
136
|
}
|
|
137
|
+
}
|
|
140
138
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
to {
|
|
147
|
-
opacity: 1;
|
|
148
|
-
transform: translateY(0);
|
|
149
|
-
}
|
|
139
|
+
@keyframes dialog-in {
|
|
140
|
+
from {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transform: translateY(-50%);
|
|
150
143
|
}
|
|
144
|
+
to {
|
|
145
|
+
opacity: 1;
|
|
146
|
+
transform: translateY(0);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
151
149
|
|
|
152
150
|
|
|
153
|
-
|
|
151
|
+
/* confirm button */
|
|
154
152
|
|
|
155
153
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
154
|
+
.btnConfirm {
|
|
155
|
+
--_button-bg-color: var(--malert-confirm-btn-bg);
|
|
156
|
+
--_button-fg-color: var(--malert-confirm-btn-fg);
|
|
157
|
+
--_button-border-color: var(--malert-confirm-btn-border-color);
|
|
160
158
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
&:focus {
|
|
169
|
-
outline: none;
|
|
159
|
+
@media (hover: hover) {
|
|
160
|
+
&:hover {
|
|
161
|
+
--_button-bg-color: var(--malert-confirm-btn-hover-bg);
|
|
162
|
+
--_button-fg-color: var(--malert-confirm-btn-hover-fg);
|
|
163
|
+
--_button-border-color: var(--malert-confirm-btn-hover-border-color);
|
|
170
164
|
}
|
|
165
|
+
}
|
|
166
|
+
&:focus {
|
|
167
|
+
outline: none;
|
|
168
|
+
}
|
|
171
169
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
&:focus-visible, &:active {
|
|
171
|
+
outline: var(--malert-confirm-btn-focus-outline-width) solid var(--malert-confirm-btn-focus-outline-color);
|
|
172
|
+
/* outline-offset: 4px; */
|
|
173
|
+
}
|
|
176
174
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
&:active {
|
|
176
|
+
--_button-bg-color: var(--malert-confirm-btn-active-bg);
|
|
177
|
+
--_button-fg-color: var(--malert-confirm-btn-active-fg);
|
|
178
|
+
--_button-border-color: var(--malert-confirm-btn-active-border-color);
|
|
179
|
+
}
|
|
182
180
|
|
|
183
181
|
|
|
184
|
-
|
|
182
|
+
&.btnHollow {
|
|
185
183
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
--_button-bg-color: var(--malert-confirm-btn-hollow-bg);
|
|
185
|
+
--_button-fg-color: var(--malert-confirm-btn-hollow-fg);
|
|
186
|
+
/* --_button-border-color: var(--__btn-o-primary-border-color); */
|
|
189
187
|
|
|
190
188
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
189
|
+
@media (hover: hover) {
|
|
190
|
+
&:hover {
|
|
191
|
+
--_button-bg-color: var(--malert-confirm-btn-hollow-hover-bg);
|
|
192
|
+
--_button-fg-color: var(--malert-confirm-btn-hollow-hover-fg);
|
|
193
|
+
/* --_button-border-color: var(--__btn-o-primary-hover-border-color); */
|
|
197
194
|
}
|
|
198
|
-
|
|
199
195
|
}
|
|
200
196
|
|
|
201
|
-
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
} /* end btnConfirm */
|
|
202
200
|
|
|
203
|
-
}
|