style: Update toolbar button hover and active states
- Updated styles and icons for hover and active states of toolbar buttons.
This commit is contained in:
parent
3859289218
commit
e73bbf4d6a
@ -344,14 +344,19 @@ const ToolbarButton = styled(Button)`
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
&.anticon {
|
.iconfont {
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
&.anticon,
|
||||||
|
&.iconfont {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
color: var(--color-icon);
|
color: var(--color-icon);
|
||||||
}
|
}
|
||||||
&:hover,
|
&:hover,
|
||||||
&.active {
|
&.active {
|
||||||
background-color: var(--color-background-soft);
|
background-color: var(--color-background-soft);
|
||||||
.anticon {
|
.anticon,
|
||||||
|
.iconfont {
|
||||||
color: var(--color-text-1);
|
color: var(--color-text-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user