@jetbrains/ring-ui 6.0.23 → 6.0.24
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.
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
&::after {
|
|
42
42
|
position: absolute;
|
|
43
|
-
top:
|
|
43
|
+
top: 50%;
|
|
44
44
|
left: 3px;
|
|
45
45
|
|
|
46
46
|
width: var(--ring-unit);
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);
|
|
52
52
|
|
|
53
|
-
transform: scale(0);
|
|
53
|
+
transform: scale(0) translateY(-50%);
|
|
54
54
|
|
|
55
55
|
opacity: 0;
|
|
56
56
|
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
&::after {
|
|
85
85
|
transition: none;
|
|
86
86
|
|
|
87
|
-
transform: scale(1);
|
|
87
|
+
transform: scale(1) translateY(-50%);
|
|
88
88
|
|
|
89
89
|
opacity: 1;
|
|
90
90
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
&::before {
|
|
74
74
|
position: absolute;
|
|
75
|
-
top:
|
|
75
|
+
top: 50%;
|
|
76
76
|
left: -1px;
|
|
77
77
|
|
|
78
78
|
box-sizing: border-box;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
transition: transform timing-function duration;
|
|
86
86
|
|
|
87
|
-
transform: translateX(padding);
|
|
87
|
+
transform: translateX(padding) translateY(-50%);
|
|
88
88
|
|
|
89
89
|
border: solid 1px var(--ring-switch-border-color);
|
|
90
90
|
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
124
124
|
& .input:checked + ::before {
|
|
125
|
-
transform: translateX(calc(var(--ring-unit) * 1.5 - padding));
|
|
125
|
+
transform: translateX(calc(var(--ring-unit) * 1.5 - padding)) translateY(-50%);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
149
149
|
& .input:checked + ::before {
|
|
150
|
-
transform: translateX(12px);
|
|
150
|
+
transform: translateX(12px) translateY(-50%);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
|
|
173
173
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
174
174
|
& .input:checked + ::before {
|
|
175
|
-
transform: translateX(calc(var(--ring-unit) * 2 - padding));
|
|
175
|
+
transform: translateX(calc(var(--ring-unit) * 2 - padding)) translateY(-50%);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|