update: 修复样式规则报错

This commit is contained in:
Gsh
2025-06-28 14:33:13 +08:00
parent 330845a387
commit 24d2908cca
11 changed files with 177 additions and 31 deletions

View File

@@ -1,35 +1,33 @@
// 公共的图表按钮样式
.btn-icon-btn {
display: inline-block;
align-items: center;
justify-content: center;
display: inline-block;
border: 1px solid transparent;
border-radius: 30%;
padding: 4px;
cursor: pointer;
border: 1px solid transparent;
border-radius: 30%;
transition: all 0.3s ease;
// 鼠标移入
&:hover {
background-color: rgb(0, 0, 0, .05);
background-color: rgb(0 0 0 / 5%);
.svg-icon {
color: rgb(0, 0, 0, .6);
color: rgb(0 0 0 / 60%);
}
}
// 鼠标按下
&:active {
background-color: rgb(0, 0, 0, .08);
background-color: rgb(0 0 0 / 8%);
.svg-icon {
color: rgb(0, 0, 0, .7);
color: rgb(0 0 0 / 70%);
}
}
// 图标
.svg-icon {
color: rgb(0 0 0 / 50%);
user-select: none;
color: rgb(0, 0, 0, .5);
}
}