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,12 +33,14 @@
cursor: pointer; cursor: pointer;
} }
.refresh-icon{ .refresh-icon{
padding: 0 6px; .icon{
padding: 3px;
border-radius: 50%; border-radius: 50%;
&:hover { &:hover {
background: rgba(33, 37, 41, 0.04); background: rgba(33, 37, 41, 0.04);
} }
} }
}
.right .search-input { .right .search-input {
width: 248px; width: 248px;
margin-right: 8px; margin-right: 8px;

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,11 +312,11 @@ li {
font-size: 20px; font-size: 20px;
color: #74788d; color: #74788d;
cursor: pointer; cursor: pointer;
padding: 0px 6px; &-icon {
color: #74788d;
cursor: pointer;
border-radius: 50%; border-radius: 50%;
&:hover { padding: 3px;
}
&-icon:hover {
background: rgba(33, 37, 41, 0.04); background: rgba(33, 37, 41, 0.04);
} }
} }

View File

@@ -210,17 +210,18 @@
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;
.anticon {
padding: 3px;
border-radius: 50%; border-radius: 50%;
line-height: 12px;
&:hover { &:hover {
background: rgba(33, 37, 41, 0.04); background: rgba(33, 37, 41, 0.04);
} }
} }
} }
}
&-btn { &-btn {
font-size: 10px; font-size: 10px;