update style and ss

This commit is contained in:
MCHost
2025-07-06 21:46:26 -04:00
parent 4fd52b75b8
commit ab5b0194eb
4 changed files with 220 additions and 15 deletions

View File

@@ -206,25 +206,37 @@
}
[role="switch"]>div:first-child {
@apply block w-full h-full rounded-full bg-gray-700 transition-colors duration-200;
@apply block w-full h-full rounded-full bg-gray-600 transition-colors duration-200;
}
[role="switch"]>div:last-child {
@apply absolute w-4 h-4 rounded-full bg-white top-1 transition-all duration-200;
@apply absolute w-4 h-4 rounded-full bg-white top-1 left-1 transition-all duration-200 shadow-sm;
}
[role="switch"][aria-checked="true"]>div:first-child {
@apply bg-blue-600;
@apply bg-gradient-to-r from-blue-600 to-blue-800;
}
[role="switch"][aria-checked="true"]>div:last-child {
@apply left-5;
}
[role="switch"][aria-checked="false"]>div:first-child {
@apply bg-gray-600;
}
[role="switch"][aria-checked="false"]>div:last-child {
@apply left-1;
}
[role="switch"]:hover:not([aria-disabled="true"])>div:first-child {
@apply bg-gradient-to-r from-blue-700 to-blue-900;
}
[role="switch"][aria-disabled="true"]>div:first-child {
@apply bg-gray-600 cursor-not-allowed opacity-50;
}
#sftpIframe {
@apply w-full rounded;
height: 50vh;