@1024pix/pix-ui 42.0.0 → 42.0.2
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.
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
outline: none;
|
|
13
13
|
cursor: pointer;
|
|
14
14
|
|
|
15
|
-
&[aria-disabled] {
|
|
15
|
+
&[aria-disabled="true"] {
|
|
16
16
|
cursor: not-allowed;
|
|
17
17
|
opacity: 0.5;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
&:not([aria-disabled]) {
|
|
20
|
+
&:not([aria-disabled="true"]) {
|
|
21
21
|
&:hover {
|
|
22
22
|
background-color: var(--pix-primary-700);
|
|
23
23
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
&--blue, &--primary {
|
|
59
59
|
background-color: var(--pix-primary-500);
|
|
60
60
|
|
|
61
|
-
&:not([aria-disabled]) {
|
|
61
|
+
&:not([aria-disabled="true"]) {
|
|
62
62
|
&:hover {
|
|
63
63
|
background-color: var(--pix-primary-700);
|
|
64
64
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
&--green, &--success {
|
|
81
81
|
background-color: var(--pix-success-500);
|
|
82
82
|
|
|
83
|
-
&:not([aria-disabled]) {
|
|
83
|
+
&:not([aria-disabled="true"]) {
|
|
84
84
|
&:hover {
|
|
85
85
|
background-color: var(--pix-success-700);
|
|
86
86
|
}
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
color: var(--pix-neutral-900);
|
|
104
104
|
background-color: var(--pix-secondary-500);
|
|
105
105
|
|
|
106
|
-
&:not([aria-disabled]) {
|
|
106
|
+
&:not([aria-disabled="true"]) {
|
|
107
107
|
&:hover {
|
|
108
108
|
color: var(--pix-neutral-0);
|
|
109
109
|
background-color: var(--pix-secondary-700);
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
color: var(--pix-neutral-0);
|
|
130
130
|
background-color: var(--pix-error-500);
|
|
131
131
|
|
|
132
|
-
&:not([aria-disabled]) {
|
|
132
|
+
&:not([aria-disabled="true"]) {
|
|
133
133
|
&:hover {
|
|
134
134
|
background-color: var(--pix-error-700);
|
|
135
135
|
}
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
color: var(--pix-neutral-900);
|
|
153
153
|
background-color: var(--pix-neutral-20);
|
|
154
154
|
|
|
155
|
-
&:not([aria-disabled]) {
|
|
155
|
+
&:not([aria-disabled="true"]) {
|
|
156
156
|
&:hover {
|
|
157
157
|
background-color: var(--pix-neutral-100);
|
|
158
158
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
border: 2px solid var(--pix-primary-700);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
&:not([aria-disabled]) {
|
|
191
|
+
&:not([aria-disabled="true"]) {
|
|
192
192
|
&:hover {
|
|
193
193
|
color: var(--pix-neutral-0);
|
|
194
194
|
background-color: var(--pix-primary-500);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
border: 1px solid var(--pix-neutral-0);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
&:not([aria-disabled]) {
|
|
221
|
+
&:not([aria-disabled="true"]) {
|
|
222
222
|
&:hover {
|
|
223
223
|
color: var(--pix-neutral-900);
|
|
224
224
|
background-color: var(--pix-neutral-20);
|
|
@@ -38,31 +38,32 @@
|
|
|
38
38
|
outline: 2px solid var(--pix-primary-300);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
&[aria-disabled],
|
|
42
|
-
&[disabled],
|
|
43
|
-
&[readonly] {
|
|
41
|
+
&[aria-disabled="true"],
|
|
42
|
+
&[disabled="true"],
|
|
43
|
+
&[readonly="true"] {
|
|
44
44
|
color: var(--pix-neutral-500);
|
|
45
45
|
background-color: var(--pix-neutral-20);
|
|
46
46
|
border-color: var(--pix-neutral-100);
|
|
47
47
|
cursor: not-allowed;
|
|
48
48
|
|
|
49
|
-
&:hover {
|
|
49
|
+
&:hover, &:active {
|
|
50
50
|
background-color: var(--pix-neutral-20);
|
|
51
51
|
border-color: var(--pix-neutral-100);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&[readonly] {
|
|
55
|
+
&[readonly="true"] {
|
|
56
56
|
cursor: default;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
%pix-label {
|
|
61
|
-
@extend %pix-body-
|
|
61
|
+
@extend %pix-body-s;
|
|
62
62
|
|
|
63
63
|
display: block;
|
|
64
64
|
margin-bottom: var(--pix-spacing-1x);
|
|
65
65
|
color: var(--pix-neutral-900);
|
|
66
|
+
font-weight: var(--pix-font-medium);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
%pix-sublabel {
|