Files
peko-admin-web/src/css/public.css

70 lines
1.4 KiB
CSS
Raw Normal View History

2023-10-11 15:28:33 +08:00
/* 主要的按钮样式处理 */
/*鼠标点击后移开,恢复本身样式*/
.primary,
.primary:focus:not(.primary:hover) {
2023-11-02 17:12:14 +08:00
color: white;
background: #409eff;
2023-10-11 15:28:33 +08:00
}
2023-11-02 17:12:14 +08:00
2023-10-11 15:28:33 +08:00
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
2023-11-02 17:12:14 +08:00
.primary:focus,
.primary:hover {
2023-10-11 15:28:33 +08:00
color: white;
background: #409eff;
}
2023-11-02 17:12:14 +08:00
2023-10-11 15:28:33 +08:00
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.primary:active {
2023-11-02 17:12:14 +08:00
color: white;
background: #337ecc;
2023-10-11 15:28:33 +08:00
}
/*鼠标点击后移开,恢复本身样式*/
.danger,
.danger:focus:not(.danger:hover) {
2023-11-02 17:12:14 +08:00
color: white;
background: #f56c6c;
2023-10-11 15:28:33 +08:00
}
2023-11-02 17:12:14 +08:00
2023-10-11 15:28:33 +08:00
/* 危险的按钮样式 */
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
2023-11-02 17:12:14 +08:00
.danger:focus,
.danger:hover {
2023-10-11 15:28:33 +08:00
color: white;
background: #f56c6c;
}
2023-11-02 17:12:14 +08:00
2023-10-11 15:28:33 +08:00
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.danger:active {
2023-11-02 17:12:14 +08:00
color: white;
background: #c45656;
}
/*鼠标点击后移开,恢复本身样式*/
.success,
.success:focus:not(.success:hover) {
color: white;
background: #67c23a;
}
/* 危险的按钮样式 */
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.success:focus,
.success:hover {
color: white;
background: #b3e19d;
}
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.danger:active {
color: white;
background: #529b2e;
2023-10-11 15:28:33 +08:00
}