@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
|
@@ -1,219 +1,223 @@
|
|
|
1
|
-
|
|
1
|
+
@layer components {
|
|
2
2
|
|
|
3
|
-
/*
|
|
3
|
+
/* frontend/src/web-components/s-datatable-component.module.css */
|
|
4
4
|
|
|
5
|
+
/* import delle custom properties gestito da jit-props */
|
|
5
6
|
|
|
6
|
-
/* purgecss start ignore */
|
|
7
7
|
|
|
8
|
-
/*
|
|
8
|
+
/* purgecss start ignore */
|
|
9
|
+
|
|
10
|
+
/* .datatable-wrapper.no-header .datatable-container {
|
|
9
11
|
border-top: 1px solid #d9d9d9;
|
|
10
12
|
} */
|
|
11
|
-
.datatableWrapper {
|
|
12
|
-
|
|
13
|
-
}
|
|
13
|
+
.datatableWrapper {
|
|
14
|
+
margin-block: var(--size-md);
|
|
15
|
+
}
|
|
14
16
|
|
|
15
|
-
.topArea {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
.topArea {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-flow: row nowrap;
|
|
20
|
+
gap: 2rem;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: flex-end;
|
|
23
|
+
padding-block-end: var(--size-xs);
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
/* stylelint-disable-next-line selector-class-pattern */
|
|
26
|
+
&:has(.info), &:has(:global(.datatable-top-slot)) {
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
|
-
}
|
|
28
30
|
|
|
29
|
-
.searchWrapper {
|
|
30
|
-
|
|
31
|
-
}
|
|
31
|
+
.searchWrapper {
|
|
32
|
+
max-width: 50%;
|
|
33
|
+
}
|
|
32
34
|
|
|
33
|
-
.table {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
.table {
|
|
36
|
+
margin-block: 0;
|
|
37
|
+
border-block: var(--_border); /* definito in minimo table */
|
|
36
38
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
thead {
|
|
40
|
+
th:has(.sortBtn) {
|
|
41
|
+
padding-inline-end: 0;
|
|
42
|
+
}
|
|
40
43
|
}
|
|
41
|
-
}
|
|
42
44
|
|
|
43
|
-
}
|
|
45
|
+
}
|
|
44
46
|
|
|
45
|
-
/* cella unica per indicare l'assenza di record */
|
|
46
|
-
.empty {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
47
|
+
/* cella unica per indicare l'assenza di record */
|
|
48
|
+
.empty {
|
|
49
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
50
|
+
padding-block: var(--size-sm) !important;
|
|
51
|
+
font-style: italic;
|
|
52
|
+
color: var(--text-muted);
|
|
53
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
54
|
+
text-align: center !important;
|
|
55
|
+
}
|
|
54
56
|
|
|
55
|
-
.hasIcon {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
.hasIcon {
|
|
58
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
59
|
+
text-align: center !important;
|
|
60
|
+
svg {
|
|
61
|
+
display: inline-block;
|
|
62
|
+
width: 1.05em;
|
|
63
|
+
}
|
|
61
64
|
}
|
|
62
|
-
}
|
|
63
65
|
|
|
64
66
|
|
|
65
|
-
[data-sortable='true'] {
|
|
67
|
+
[data-sortable='true'] {
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
@media (hover: hover) {
|
|
70
|
+
&:hover {
|
|
71
|
+
background-color: var(--sdt-thead-hover-background-color);
|
|
72
|
+
}
|
|
70
73
|
}
|
|
71
|
-
}
|
|
72
74
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
.sortBtn {
|
|
76
|
+
padding: 0 1.5em 0 0;
|
|
77
|
+
&::after {
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 50%;
|
|
80
|
+
right: .1em;
|
|
81
|
+
display: block;
|
|
82
|
+
width: 1em;
|
|
83
|
+
height: 1em;
|
|
84
|
+
translate: 0 -50%;
|
|
85
|
+
}
|
|
83
86
|
}
|
|
84
|
-
}
|
|
85
87
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
&:not(.sortAscending):not(.sortDescending){
|
|
89
|
+
.sortBtn::after {
|
|
90
|
+
content: url('../../icons/arrows-down-up.svg?cssInline');
|
|
91
|
+
opacity: .4;
|
|
92
|
+
}
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
|
-
|
|
93
|
-
.
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
.sortAscending {
|
|
96
|
+
.sortBtn::after {
|
|
97
|
+
content: url('../../icons/arrow-up.svg?cssInline');
|
|
98
|
+
}
|
|
96
99
|
}
|
|
97
|
-
|
|
98
|
-
.
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
.sortDescending {
|
|
101
|
+
.sortBtn::after {
|
|
102
|
+
content: url('../../icons/arrow-down.svg?cssInline');
|
|
103
|
+
}
|
|
101
104
|
}
|
|
102
|
-
}
|
|
103
105
|
|
|
104
|
-
.sortBtn {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
padding: var(--table-cell-padding-block) var(--table-cell-padding-inline);
|
|
111
|
-
line-height: var(--table-cell-line-height);
|
|
106
|
+
.sortBtn {
|
|
107
|
+
position: relative;
|
|
108
|
+
display: block;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
padding: var(--table-cell-padding-block) var(--table-cell-padding-inline);
|
|
113
|
+
line-height: var(--table-cell-line-height);
|
|
115
114
|
|
|
116
|
-
/* stylelint-disable selector-class-pattern */
|
|
117
|
-
:global(.text-start), :global(.text-left) {
|
|
118
|
-
.sortBtn {
|
|
119
115
|
text-align: start;
|
|
120
116
|
}
|
|
121
|
-
}
|
|
122
|
-
:global(.text-end), :global(.text-right) {
|
|
123
|
-
.sortBtn {
|
|
124
|
-
text-align: end;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
:global(.text-center) {
|
|
128
|
-
.sortBtn {
|
|
129
|
-
text-align: center;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
/* stylelint-enable selector-class-pattern */
|
|
133
|
-
|
|
134
|
-
.bottomArea {
|
|
135
|
-
display: flex;
|
|
136
|
-
flex-flow: row wrap;
|
|
137
|
-
gap: var(--size-md);
|
|
138
|
-
align-content: center;
|
|
139
|
-
align-items: center;
|
|
140
|
-
justify-content: flex-end;
|
|
141
|
-
margin-block-start: var(--size-xs);
|
|
142
|
-
}
|
|
143
|
-
.info {
|
|
144
|
-
font-size: var(--font-size-sm);
|
|
145
|
-
font-style: italic;
|
|
146
|
-
color: var(--text-muted);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/* pagination */
|
|
150
|
-
/* .paginationNav {} */
|
|
151
|
-
.paginationList, .paginationListItem, .paginationListItemBtn {
|
|
152
|
-
padding: 0;
|
|
153
|
-
margin: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.paginationList {
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-flow: row wrap;
|
|
159
|
-
gap: 0;
|
|
160
|
-
align-items: stretch;
|
|
161
|
-
justify-content: flex-start;
|
|
162
|
-
list-style: none;
|
|
163
|
-
}
|
|
164
|
-
.paginationListItem {
|
|
165
|
-
border: var(--sdt-pagination-border);
|
|
166
|
-
border-style: solid solid solid none;
|
|
167
117
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
118
|
+
/* stylelint-disable selector-class-pattern */
|
|
119
|
+
:global(.text-start), :global(.text-left) {
|
|
120
|
+
.sortBtn {
|
|
121
|
+
text-align: start;
|
|
122
|
+
}
|
|
171
123
|
}
|
|
172
|
-
|
|
173
|
-
|
|
124
|
+
:global(.text-end), :global(.text-right) {
|
|
125
|
+
.sortBtn {
|
|
126
|
+
text-align: end;
|
|
127
|
+
}
|
|
174
128
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
color: var(--sdt-hover-color);
|
|
179
|
-
background-color: var(--sdt-hover-background-color);
|
|
129
|
+
:global(.text-center) {
|
|
130
|
+
.sortBtn {
|
|
131
|
+
text-align: center;
|
|
180
132
|
}
|
|
181
133
|
}
|
|
134
|
+
/* stylelint-enable selector-class-pattern */
|
|
135
|
+
|
|
136
|
+
.bottomArea {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-flow: row wrap;
|
|
139
|
+
gap: var(--size-md);
|
|
140
|
+
align-content: center;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: flex-end;
|
|
143
|
+
margin-block-start: var(--size-xs);
|
|
144
|
+
}
|
|
145
|
+
.info {
|
|
146
|
+
font-size: var(--font-size-sm);
|
|
147
|
+
font-style: italic;
|
|
148
|
+
color: var(--text-muted);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* pagination */
|
|
152
|
+
/* .paginationNav {} */
|
|
153
|
+
.paginationList, .paginationListItem, .paginationListItemBtn {
|
|
154
|
+
padding: 0;
|
|
155
|
+
margin: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.paginationList {
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-flow: row wrap;
|
|
161
|
+
gap: 0;
|
|
162
|
+
align-items: stretch;
|
|
163
|
+
justify-content: flex-start;
|
|
164
|
+
list-style: none;
|
|
165
|
+
}
|
|
166
|
+
.paginationListItem {
|
|
167
|
+
border: var(--sdt-pagination-border);
|
|
168
|
+
border-style: solid solid solid none;
|
|
169
|
+
|
|
170
|
+
&:first-child {
|
|
171
|
+
border-inline-start-style: solid;
|
|
172
|
+
border-radius: var(--radius-xxs) 0 0 var(--radius-xxs);
|
|
173
|
+
}
|
|
174
|
+
&:last-child {
|
|
175
|
+
border-radius: 0 var(--radius-xxs) var(--radius-xxs) 0;
|
|
176
|
+
}
|
|
182
177
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
178
|
+
@media (hover: hover) {
|
|
179
|
+
&:hover {
|
|
180
|
+
color: var(--sdt-hover-color);
|
|
181
|
+
background-color: var(--sdt-hover-background-color);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
187
184
|
|
|
188
|
-
.paginationListItemBtn {
|
|
189
|
-
opacity: .7;
|
|
190
185
|
}
|
|
191
|
-
}
|
|
192
186
|
|
|
193
|
-
.
|
|
194
|
-
|
|
195
|
-
background-color: var(--sdt-hover-background-color);
|
|
196
|
-
}
|
|
187
|
+
.paginationDisabled {
|
|
188
|
+
pointer-events: none;
|
|
197
189
|
|
|
198
|
-
.paginationListItemBtn {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
height: 100%;
|
|
203
|
-
padding: var(--sdt-pagination-padding-block) var(--sdt-pagination-padding-inline);
|
|
204
|
-
color: inherit;
|
|
205
|
-
background-color: transparent;
|
|
206
|
-
border: none;
|
|
190
|
+
.paginationListItemBtn {
|
|
191
|
+
opacity: .7;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
207
194
|
|
|
208
|
-
|
|
209
|
-
|
|
195
|
+
.paginationActive {
|
|
196
|
+
color: var(--sdt-hover-color);
|
|
197
|
+
background-color: var(--sdt-hover-background-color);
|
|
210
198
|
}
|
|
211
199
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
200
|
+
.paginationListItemBtn {
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
height: 100%;
|
|
205
|
+
padding: var(--sdt-pagination-padding-block) var(--sdt-pagination-padding-inline);
|
|
206
|
+
color: inherit;
|
|
207
|
+
background-color: transparent;
|
|
208
|
+
border: none;
|
|
209
|
+
|
|
210
|
+
&.hasSvg {
|
|
211
|
+
padding-inline: calc(var(--sdt-pagination-padding-inline) / 2);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
svg {
|
|
215
|
+
width: 1em;
|
|
216
|
+
aspect-ratio: 1;
|
|
217
|
+
fill: currentColor;
|
|
218
|
+
}
|
|
216
219
|
}
|
|
217
|
-
}
|
|
218
220
|
|
|
219
|
-
/* purgecss end ignore */
|
|
221
|
+
/* purgecss end ignore */
|
|
222
|
+
|
|
223
|
+
}
|