修改记住密码样式

This commit is contained in:
yangjun 2025-07-02 14:12:22 +08:00
parent 903200847f
commit 765edd2bf9
3 changed files with 54 additions and 0 deletions

View File

@ -515,4 +515,22 @@ html[data-theme='dark'] {
background: transparent; background: transparent;
} }
} }
/* Chrome/Edge/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
/* 重新设置背景色、文字色、边框等 */
background-color: #f5f5f5 !important;
color: #333333 !important;
/* 取消浏览器自己的内阴影 */
box-shadow: 0 0 0px 1000px #f5f5f5 inset !important;
/* 如果需要边框高亮,也可以一起重置 */
// border: 1px solid #ccc !important;
}
/* Firefox */
input:-moz-autofill {
background-color: #f5f5f5 !important;
color: #333333 !important;
}
</style> </style>

View File

@ -515,4 +515,22 @@ html[data-theme='dark'] {
background: transparent; background: transparent;
} }
} }
/* Chrome/Edge/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
/* 重新设置背景色、文字色、边框等 */
background-color: #f5f5f5 !important;
color: #333333 !important;
/* 取消浏览器自己的内阴影 */
box-shadow: 0 0 0px 1000px #f5f5f5 inset !important;
/* 如果需要边框高亮,也可以一起重置 */
// border: 1px solid #ccc !important;
}
/* Firefox */
input:-moz-autofill {
background-color: #f5f5f5 !important;
color: #333333 !important;
}
</style> </style>

View File

@ -515,4 +515,22 @@ html[data-theme='dark'] {
background: transparent; background: transparent;
} }
} }
/* Chrome/Edge/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
/* 重新设置背景色、文字色、边框等 */
background-color: #f5f5f5 !important;
color: #333333 !important;
/* 取消浏览器自己的内阴影 */
box-shadow: 0 0 0px 1000px #f5f5f5 inset !important;
/* 如果需要边框高亮,也可以一起重置 */
// border: 1px solid #ccc !important;
}
/* Firefox */
input:-moz-autofill {
background-color: #f5f5f5 !important;
color: #333333 !important;
}
</style> </style>