|
@@ -1279,11 +1279,11 @@ code { background: #f7fafc; padding: 4px 8px; border-radius: 4px; font-family: m
|
|
|
.toggle-row:last-child { margin-bottom: 0; }
|
|
.toggle-row:last-child { margin-bottom: 0; }
|
|
|
.toggle-row span { font-size: 13px; font-weight: 500; color: #4a5568; }
|
|
.toggle-row span { font-size: 13px; font-weight: 500; color: #4a5568; }
|
|
|
|
|
|
|
|
-/* Toggle switch */
|
|
|
|
|
|
|
+/* Toggle switch (for modals) */
|
|
|
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
|
|
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
|
|
|
.toggle-switch input { opacity: 0; width: 0; height: 0; }
|
|
.toggle-switch input { opacity: 0; width: 0; height: 0; }
|
|
|
-.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e0; border-radius: 26px; transition: 0.3s; }
|
|
|
|
|
-.toggle-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: 0.3s; }
|
|
|
|
|
|
|
+.toggle-switch .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e0; border-radius: 26px; transition: 0.3s; }
|
|
|
|
|
+.toggle-switch .toggle-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: 0.3s; }
|
|
|
.toggle-switch input:checked + .toggle-slider { background-color: #667eea; }
|
|
.toggle-switch input:checked + .toggle-slider { background-color: #667eea; }
|
|
|
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }
|
|
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }
|
|
|
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }
|
|
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }
|