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