sensivity 2.5.17 → 2.5.19
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/public/css/style.css +3 -2
package/package.json
CHANGED
package/public/css/style.css
CHANGED
|
@@ -129,6 +129,7 @@ body {
|
|
|
129
129
|
.tgl input { opacity: 0; width: 0; height: 0; }
|
|
130
130
|
.tgl .track {
|
|
131
131
|
position: absolute; cursor: pointer; top: 2px; left: 2px; right: 2px; bottom: 2px;
|
|
132
|
+
display: flex; align-items: center; padding: 0 3px;
|
|
132
133
|
background: #151625; border-radius: 999px; transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
133
134
|
border: 1px solid #262942; overflow: hidden;
|
|
134
135
|
box-shadow: inset 0 1px 2px rgba(0,0,0,.45);
|
|
@@ -139,7 +140,7 @@ body {
|
|
|
139
140
|
opacity: 0; transition: opacity 0.2s ease;
|
|
140
141
|
}
|
|
141
142
|
.tgl .knob {
|
|
142
|
-
position:
|
|
143
|
+
position: relative; height: 18px; width: 18px; flex: 0 0 18px;
|
|
143
144
|
background: #767b94; border-radius: 50%; transition: transform 0.22s cubic-bezier(.4,0,.2,1), background 0.2s ease, box-shadow 0.2s ease;
|
|
144
145
|
z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
|
|
145
146
|
}
|
|
@@ -341,7 +342,7 @@ body {
|
|
|
341
342
|
|
|
342
343
|
.tgl { width: 50px; height: 34px; flex-basis: 50px; }
|
|
343
344
|
.tgl .track { top: 4px; left: 3px; right: 3px; bottom: 4px; }
|
|
344
|
-
.tgl .knob { height: 20px; width: 20px;
|
|
345
|
+
.tgl .knob { height: 20px; width: 20px; flex-basis: 20px; }
|
|
345
346
|
.tgl input:checked + .track .knob,
|
|
346
347
|
.tgl input:checked ~ .knob { transform: translateX(18px); }
|
|
347
348
|
|