style: 优化样式

This commit is contained in:
Baobhan Sith
2025-05-24 21:02:07 +08:00
parent eb6ddae8de
commit cef88bb739
+12
View File
@@ -208,3 +208,15 @@ button.bg-primary:hover .far,
button.bg-primary:hover .fab {
color: white !important; /* Keep white on hover */
}
/* 移除按钮的聚焦光圈 */
button:focus {
outline: none !important;
box-shadow: none !important; /* 同时移除 box-shadow 以防其被用于聚焦指示 */
}
/* 针对使用 :focus-visible 的浏览器 */
button:focus-visible {
outline: none !important;
box-shadow: none !important;
}