@massimo-cassandro/minimo 1.1.3 → 1.2.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/css/dimensions.css +7 -0
- package/src/css/display.css +56 -0
- package/src/css/margin-padding.css +99 -0
- package/src/css/overflow.css +4 -0
- package/src/css/position.css +4 -0
- package/src/css/text.css +12 -2
- package/src/css/visibility.css +50 -0
- package/src/minimo.css +7 -1
- package/src/css/utilities.css +0 -210
package/package.json
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* stylelint-disable declaration-no-important */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@media print {
|
|
5
|
+
.d-print-none {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.d-none {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
.d-inline {
|
|
14
|
+
display: inline !important;
|
|
15
|
+
}
|
|
16
|
+
.d-block {
|
|
17
|
+
display: block !important;
|
|
18
|
+
}
|
|
19
|
+
.d-inline-block {
|
|
20
|
+
display: inline-block !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@media (--media-medium-viewport-down) {
|
|
25
|
+
.d-md-down-none {
|
|
26
|
+
display: none !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/*
|
|
30
|
+
.d-md-up-block {
|
|
31
|
+
display: none;
|
|
32
|
+
|
|
33
|
+
@media (--media-medium-viewport-up) {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.d-md-up-flex {
|
|
38
|
+
display: none;
|
|
39
|
+
|
|
40
|
+
@media (--media-medium-viewport-up) {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
} */
|
|
44
|
+
|
|
45
|
+
/* .mobile-hidden {
|
|
46
|
+
@media (--media-large-viewport-down) {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@media (--media-large-viewport-down) {
|
|
52
|
+
.sm-screen-hidden {
|
|
53
|
+
display: none !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
*/
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* stylelint-disable declaration-no-important */
|
|
2
|
+
|
|
3
|
+
/* TODO produzione utilities in automatico o con funzione css */
|
|
4
|
+
/* TODO produrre anche un versione con il naming bootstrap per facilitare eventuali migrazioni */
|
|
5
|
+
|
|
6
|
+
.mbs-xxs {
|
|
7
|
+
margin-block-start: var(--size-xxs) !important;
|
|
8
|
+
}
|
|
9
|
+
.mbs-0 {
|
|
10
|
+
margin-block-start: 0 !important;
|
|
11
|
+
}
|
|
12
|
+
.mbs {
|
|
13
|
+
margin-block-start: var(--size-base) !important;
|
|
14
|
+
}
|
|
15
|
+
.mbs-lg {
|
|
16
|
+
margin-block-start: var(--size-lg) !important;
|
|
17
|
+
}
|
|
18
|
+
.mbs-xl {
|
|
19
|
+
margin-block-start: var(--size-xl) !important;
|
|
20
|
+
}
|
|
21
|
+
.mbs-auto {
|
|
22
|
+
margin-block-start: auto !important;
|
|
23
|
+
}
|
|
24
|
+
/* @media (--media-large-viewport-up) {
|
|
25
|
+
|
|
26
|
+
.mt-dsk-lg {
|
|
27
|
+
margin-block-start: var(--size-lg);
|
|
28
|
+
}
|
|
29
|
+
} */
|
|
30
|
+
|
|
31
|
+
.mbe-0 {
|
|
32
|
+
margin-block-end: 0 !important;
|
|
33
|
+
}
|
|
34
|
+
.mbe {
|
|
35
|
+
margin-block-end: var(--size-base) !important;
|
|
36
|
+
}
|
|
37
|
+
.mbe-xs {
|
|
38
|
+
margin-block-end: var(--size-xs) !important;
|
|
39
|
+
}
|
|
40
|
+
.mbe-lg {
|
|
41
|
+
margin-block-end: var(--size-lg) !important;
|
|
42
|
+
}
|
|
43
|
+
.mbe-xl {
|
|
44
|
+
margin-block-end: var(--size-xl) !important;
|
|
45
|
+
}
|
|
46
|
+
/* @media (--media-large-viewport-up) {
|
|
47
|
+
|
|
48
|
+
.mb-dsk-lg {
|
|
49
|
+
margin-block-end: var(--size-lg);
|
|
50
|
+
}
|
|
51
|
+
} */
|
|
52
|
+
|
|
53
|
+
/* .grid-full-row {
|
|
54
|
+
grid-column: 1 / -1;
|
|
55
|
+
} */
|
|
56
|
+
|
|
57
|
+
.mis {
|
|
58
|
+
margin-inline-start: var(--size-base) !important;
|
|
59
|
+
}
|
|
60
|
+
.mis-auto {
|
|
61
|
+
margin-inline-start: auto !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.mie {
|
|
65
|
+
margin-inline-end: var(--size-base) !important;
|
|
66
|
+
}
|
|
67
|
+
.mie-xs {
|
|
68
|
+
margin-inline-end: var(--size-xs) !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.mi {
|
|
72
|
+
margin-inline: var(--size-base) !important;
|
|
73
|
+
}
|
|
74
|
+
.mi-0 {
|
|
75
|
+
margin-inline: 0 !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mb {
|
|
79
|
+
margin-block: var(--size-base) !important;
|
|
80
|
+
}
|
|
81
|
+
.mb-0 {
|
|
82
|
+
margin-block: 0 !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.mi-lg {
|
|
86
|
+
margin-inline: var(--size-lg) !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.mb-lg {
|
|
90
|
+
margin-block: var(--size-lg) !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.mi-xl {
|
|
94
|
+
margin-inline: var(--size-xl) !important;
|
|
95
|
+
}
|
|
96
|
+
.mb-xl {
|
|
97
|
+
margin-block: var(--size-xl) !important;
|
|
98
|
+
}
|
|
99
|
+
|
package/src/css/text.css
CHANGED
|
@@ -74,12 +74,22 @@ em, .italic {
|
|
|
74
74
|
.font-italic {
|
|
75
75
|
font-style: italic;
|
|
76
76
|
}
|
|
77
|
-
.font-
|
|
78
|
-
font-weight: var(--font-weight-
|
|
77
|
+
.font-light {
|
|
78
|
+
font-weight: var(--font-weight-light);
|
|
79
|
+
}
|
|
80
|
+
.font-regular {
|
|
81
|
+
font-weight: var(--font-weight-regular);
|
|
82
|
+
}
|
|
83
|
+
.font-medium {
|
|
84
|
+
font-weight: var(--font-weight-medium);
|
|
79
85
|
}
|
|
80
86
|
.font-semibold {
|
|
81
87
|
font-weight: var(--font-weight-semibold);
|
|
82
88
|
}
|
|
89
|
+
.font-bold {
|
|
90
|
+
font-weight: var(--font-weight-bold);
|
|
91
|
+
}
|
|
92
|
+
|
|
83
93
|
.text-xs {
|
|
84
94
|
font-size: var(--font-size-xs);
|
|
85
95
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* stylelint-disable declaration-no-important */
|
|
2
|
+
|
|
3
|
+
/* purgecss start ignore */
|
|
4
|
+
.visually-hidden {
|
|
5
|
+
display: block;
|
|
6
|
+
width: 1px !important;
|
|
7
|
+
height: 1px !important;
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
margin: -1px !important;
|
|
10
|
+
overflow: hidden !important;
|
|
11
|
+
white-space: nowrap !important;
|
|
12
|
+
border: 0 !important;
|
|
13
|
+
clip-path: rect(0 0 0 0) !important;
|
|
14
|
+
}
|
|
15
|
+
.visibility-hidden {
|
|
16
|
+
visibility: hidden;
|
|
17
|
+
}
|
|
18
|
+
/* purgecss end ignore */
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* TODO da rivedere */
|
|
22
|
+
/* @media (--media-xlarge-viewport-up) {
|
|
23
|
+
.xlg-visually-hidden {
|
|
24
|
+
display: block;
|
|
25
|
+
width: 1px !important;
|
|
26
|
+
height: 1px !important;
|
|
27
|
+
padding: 0 !important;
|
|
28
|
+
margin: -1px !important;
|
|
29
|
+
overflow: hidden !important;
|
|
30
|
+
white-space: nowrap !important;
|
|
31
|
+
border: 0 !important;
|
|
32
|
+
clip-path: rect(0 0 0 0) !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
@media (--media-large-viewport-up) {
|
|
36
|
+
.lg-visually-hidden {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 1px !important;
|
|
39
|
+
height: 1px !important;
|
|
40
|
+
padding: 0 !important;
|
|
41
|
+
margin: -1px !important;
|
|
42
|
+
overflow: hidden !important;
|
|
43
|
+
white-space: nowrap !important;
|
|
44
|
+
border: 0 !important;
|
|
45
|
+
clip-path: rect(0 0 0 0) !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
*/
|
|
50
|
+
|
package/src/minimo.css
CHANGED
|
@@ -33,5 +33,11 @@
|
|
|
33
33
|
@import '@minimo/css/flex.css';
|
|
34
34
|
@import '@minimo/css/grid.css';
|
|
35
35
|
@import '@minimo/css/details.css';
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
@import '@minimo/css/dimensions.css';
|
|
38
|
+
@import '@minimo/css/display.css';
|
|
39
|
+
@import '@minimo/css/margin-padding.css';
|
|
40
|
+
@import '@minimo/css/overflow.css';
|
|
41
|
+
@import '@minimo/css/position.css';
|
|
42
|
+
@import '@minimo/css/visibility.css';
|
|
37
43
|
|
package/src/css/utilities.css
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
/* da bootstrap */
|
|
2
|
-
/* stylelint-disable declaration-no-important */
|
|
3
|
-
|
|
4
|
-
/* purgecss start ignore */
|
|
5
|
-
.visually-hidden {
|
|
6
|
-
display: block;
|
|
7
|
-
width: 1px !important;
|
|
8
|
-
height: 1px !important;
|
|
9
|
-
padding: 0 !important;
|
|
10
|
-
margin: -1px !important;
|
|
11
|
-
overflow: hidden !important;
|
|
12
|
-
white-space: nowrap !important;
|
|
13
|
-
border: 0 !important;
|
|
14
|
-
clip-path: rect(0 0 0 0) !important;
|
|
15
|
-
}
|
|
16
|
-
.visibility-hidden {
|
|
17
|
-
visibility: hidden;
|
|
18
|
-
}
|
|
19
|
-
/* purgecss end ignore */
|
|
20
|
-
|
|
21
|
-
.overflow-hidden {
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@media (--media-medium-viewport-down) {
|
|
26
|
-
.d-md-down-none {
|
|
27
|
-
display: none !important;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
/*
|
|
31
|
-
.d-md-up-block {
|
|
32
|
-
display: none;
|
|
33
|
-
|
|
34
|
-
@media (--media-medium-viewport-up) {
|
|
35
|
-
display: block;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.d-md-up-flex {
|
|
39
|
-
display: none;
|
|
40
|
-
|
|
41
|
-
@media (--media-medium-viewport-up) {
|
|
42
|
-
display: flex;
|
|
43
|
-
}
|
|
44
|
-
} */
|
|
45
|
-
|
|
46
|
-
/* TODO da rivedere */
|
|
47
|
-
/* @media (--media-xlarge-viewport-up) {
|
|
48
|
-
.xlg-visually-hidden {
|
|
49
|
-
display: block;
|
|
50
|
-
width: 1px !important;
|
|
51
|
-
height: 1px !important;
|
|
52
|
-
padding: 0 !important;
|
|
53
|
-
margin: -1px !important;
|
|
54
|
-
overflow: hidden !important;
|
|
55
|
-
white-space: nowrap !important;
|
|
56
|
-
border: 0 !important;
|
|
57
|
-
clip-path: rect(0 0 0 0) !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
@media (--media-large-viewport-up) {
|
|
61
|
-
.lg-visually-hidden {
|
|
62
|
-
display: block;
|
|
63
|
-
width: 1px !important;
|
|
64
|
-
height: 1px !important;
|
|
65
|
-
padding: 0 !important;
|
|
66
|
-
margin: -1px !important;
|
|
67
|
-
overflow: hidden !important;
|
|
68
|
-
white-space: nowrap !important;
|
|
69
|
-
border: 0 !important;
|
|
70
|
-
clip-path: rect(0 0 0 0) !important;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@media (--media-large-viewport-down) {
|
|
75
|
-
.sm-screen-hidden {
|
|
76
|
-
display: none !important;
|
|
77
|
-
}
|
|
78
|
-
} */
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
@media print {
|
|
82
|
-
.d-print-none {
|
|
83
|
-
display: none;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.d-none {
|
|
88
|
-
display: none !important;
|
|
89
|
-
}
|
|
90
|
-
.d-inline {
|
|
91
|
-
display: inline !important;
|
|
92
|
-
}
|
|
93
|
-
.d-block {
|
|
94
|
-
display: block !important;
|
|
95
|
-
}
|
|
96
|
-
.d-inline-block {
|
|
97
|
-
display: inline-block !important;
|
|
98
|
-
}
|
|
99
|
-
/* .position-relative {
|
|
100
|
-
position: relative;
|
|
101
|
-
} */
|
|
102
|
-
|
|
103
|
-
/* .mobile-hidden {
|
|
104
|
-
@media (--media-large-viewport-down) {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
|
107
|
-
} */
|
|
108
|
-
|
|
109
|
-
/* TODO produzione utilities in automatico o con funzione css */
|
|
110
|
-
.w-100 {
|
|
111
|
-
width: 100% !important;
|
|
112
|
-
}
|
|
113
|
-
.w-auto {
|
|
114
|
-
width: auto !important;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.mbs-xxs {
|
|
118
|
-
margin-block-start: var(--size-xxs) !important;
|
|
119
|
-
}
|
|
120
|
-
.mbs-0 {
|
|
121
|
-
margin-block-start: 0 !important;
|
|
122
|
-
}
|
|
123
|
-
.mbs {
|
|
124
|
-
margin-block-start: var(--size-base) !important;
|
|
125
|
-
}
|
|
126
|
-
.mbs-lg {
|
|
127
|
-
margin-block-start: var(--size-lg) !important;
|
|
128
|
-
}
|
|
129
|
-
.mbs-xl {
|
|
130
|
-
margin-block-start: var(--size-xl) !important;
|
|
131
|
-
}
|
|
132
|
-
.mbs-auto {
|
|
133
|
-
margin-block-start: auto !important;
|
|
134
|
-
}
|
|
135
|
-
/* @media (--media-large-viewport-up) {
|
|
136
|
-
|
|
137
|
-
.mt-dsk-lg {
|
|
138
|
-
margin-block-start: var(--size-lg);
|
|
139
|
-
}
|
|
140
|
-
} */
|
|
141
|
-
|
|
142
|
-
.mbe-0 {
|
|
143
|
-
margin-block-end: 0 !important;
|
|
144
|
-
}
|
|
145
|
-
.mbe {
|
|
146
|
-
margin-block-end: var(--size-base) !important;
|
|
147
|
-
}
|
|
148
|
-
.mbe-xs {
|
|
149
|
-
margin-block-end: var(--size-xs) !important;
|
|
150
|
-
}
|
|
151
|
-
.mbe-lg {
|
|
152
|
-
margin-block-end: var(--size-lg) !important;
|
|
153
|
-
}
|
|
154
|
-
.mbe-xl {
|
|
155
|
-
margin-block-end: var(--size-xl) !important;
|
|
156
|
-
}
|
|
157
|
-
/* @media (--media-large-viewport-up) {
|
|
158
|
-
|
|
159
|
-
.mb-dsk-lg {
|
|
160
|
-
margin-block-end: var(--size-lg);
|
|
161
|
-
}
|
|
162
|
-
} */
|
|
163
|
-
|
|
164
|
-
/* .grid-full-row {
|
|
165
|
-
grid-column: 1 / -1;
|
|
166
|
-
} */
|
|
167
|
-
|
|
168
|
-
.mis {
|
|
169
|
-
margin-inline-start: var(--size-base) !important;
|
|
170
|
-
}
|
|
171
|
-
.mis-auto {
|
|
172
|
-
margin-inline-start: auto !important;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.mie {
|
|
176
|
-
margin-inline-end: var(--size-base) !important;
|
|
177
|
-
}
|
|
178
|
-
.mie-xs {
|
|
179
|
-
margin-inline-end: var(--size-xs) !important;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.mi {
|
|
183
|
-
margin-inline: var(--size-base) !important;
|
|
184
|
-
}
|
|
185
|
-
.mi-0 {
|
|
186
|
-
margin-inline: 0 !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.mb {
|
|
190
|
-
margin-block: var(--size-base) !important;
|
|
191
|
-
}
|
|
192
|
-
.mb-0 {
|
|
193
|
-
margin-block: 0 !important;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.mi-lg {
|
|
197
|
-
margin-inline: var(--size-lg) !important;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.mb-lg {
|
|
201
|
-
margin-block: var(--size-lg) !important;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.mi-xl {
|
|
205
|
-
margin-inline: var(--size-xl) !important;
|
|
206
|
-
}
|
|
207
|
-
.mb-xl {
|
|
208
|
-
margin-block: var(--size-xl) !important;
|
|
209
|
-
}
|
|
210
|
-
|