update: 修复样式规则报错
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user