@massimo-cassandro/minimo 0.10.7 → 0.10.9
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/buttons/buttons.css +6 -14
package/package.json
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
/* TODO dividere in più file secondo
|
|
1
|
+
/* TODO dividere in più file secondo la variante? */
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
outline btns: primary/secondary + fondo body bg o trasparente
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
button, [role='button'], .btn {
|
|
3
|
+
button, [role='button'], .btn, .btn-reset {
|
|
9
4
|
&:not([disabled]) {
|
|
10
5
|
cursor: pointer;
|
|
11
6
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
pointer-events: none; /* fa sì che le icone non intercettano il click destinata ai pulsanti */
|
|
7
|
+
& svg, &[disabled] {
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
16
10
|
}
|
|
17
11
|
|
|
18
12
|
.btn-reset, .btn-link, .btn-close {
|
|
@@ -35,7 +29,6 @@ a.btn {
|
|
|
35
29
|
}
|
|
36
30
|
|
|
37
31
|
.btn {
|
|
38
|
-
|
|
39
32
|
display: inline-block;
|
|
40
33
|
padding: var(--btn-padding-block) var(--btn-padding-inline);
|
|
41
34
|
font-size: var(--btn-font-size);
|
|
@@ -51,7 +44,6 @@ a.btn {
|
|
|
51
44
|
|
|
52
45
|
&[disabled] {
|
|
53
46
|
font-style: italic;
|
|
54
|
-
pointer-events: none;
|
|
55
47
|
cursor: not-allowed;
|
|
56
48
|
opacity: var(--btn-disabled-opacity);
|
|
57
49
|
filter: grayscale(60%);
|
|
@@ -59,7 +51,6 @@ a.btn {
|
|
|
59
51
|
|
|
60
52
|
svg {
|
|
61
53
|
width: 1em;
|
|
62
|
-
pointer-events: none;
|
|
63
54
|
fill: currentColor;
|
|
64
55
|
}
|
|
65
56
|
|
|
@@ -92,6 +83,7 @@ a.btn {
|
|
|
92
83
|
}
|
|
93
84
|
|
|
94
85
|
|
|
86
|
+
/* TODO button con solo icona o cosa? controllare: completare o eliminare */
|
|
95
87
|
&.btn-icon {
|
|
96
88
|
display: inline-flex;
|
|
97
89
|
flex-flow: row nowrap;
|