代码格式修复

This commit is contained in:
李琦
2026-01-20 12:02:01 +08:00
parent 4aa757082b
commit 05b315013c
7 changed files with 308 additions and 125 deletions

View File

@@ -60,20 +60,6 @@
@apply border-art-accent ring-1 ring-art-accent outline-none bg-art-surface;
}
/* Fix autofill background color for admin inputs */
.admin-input:-webkit-autofill,
.admin-input:-webkit-autofill:hover,
.admin-input:-webkit-autofill:focus,
.admin-input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}
.admin-input:focus:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px #121214 inset !important;
}
.admin-btn-primary {
@apply bg-art-accent text-black font-medium px-5 py-2.5 rounded-md hover:opacity-90 active:scale-95 transition-all text-sm tracking-wide;
}
@@ -186,23 +172,3 @@ body {
html {
scroll-behavior: smooth;
}
/* Global autofill fix for all inputs (dark theme) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}
/* Specific fix for login page */
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus,
.login-input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}