styles:部分icon在hover的时候,需要有背景色

This commit is contained in:
黄海婷
2022-11-02 10:08:29 +08:00
committed by 早晚会起风
parent c69c289bc4
commit 805a704d34
5 changed files with 21 additions and 18 deletions

View File

@@ -33,10 +33,12 @@
cursor: pointer; cursor: pointer;
} }
.refresh-icon{ .refresh-icon{
padding: 0 6px; .icon{
border-radius: 50%; padding: 3px;
&:hover { border-radius: 50%;
background: rgba(33, 37, 41, 0.04); &:hover {
background: rgba(33, 37, 41, 0.04);
}
} }
} }
.right .search-input { .right .search-input {

View File

@@ -178,8 +178,8 @@
} }
} }
.rebalance-tooltip-bg { .rebalance-tooltip-bg {
padding: 6px; padding: 3px;
margin-left: -6px; margin-left: -3px;
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
border-radius: 50%; border-radius: 50%;

View File

@@ -37,7 +37,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 6px; padding: 3px;
border-radius: 50%; border-radius: 50%;
cursor: pointer; cursor: pointer;
.icon { .icon {

View File

@@ -312,14 +312,14 @@ li {
font-size: 20px; font-size: 20px;
color: #74788d; color: #74788d;
cursor: pointer; cursor: pointer;
padding: 0px 6px; &-icon {
color: #74788d; border-radius: 50%;
cursor: pointer; padding: 3px;
border-radius: 50%; }
&:hover { &-icon:hover {
background: rgba(33, 37, 41, 0.04); background: rgba(33, 37, 41, 0.04);
} }
} }
} }
&-right{ &-right{

View File

@@ -210,14 +210,15 @@
margin-bottom: 10px; margin-bottom: 10px;
.icon { .icon {
padding: 3px 3px 2px 3px;
margin-left: 4px; margin-left: 4px;
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
border-radius: 50%; .anticon {
line-height: 12px; padding: 3px;
&:hover { border-radius: 50%;
background: rgba(33, 37, 41, 0.04); &:hover {
background: rgba(33, 37, 41, 0.04);
}
} }
} }
} }