mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
refactor(SelectionToolbar): add transition effects to action buttons (#6869)
* refactor(SelectionToolbar): add transition effects to action buttons * refactor: reduce transition duration
This commit is contained in:
parent
dad9873529
commit
fab5674da7
@ -310,15 +310,22 @@ const ActionButton = styled.div`
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
padding: 4px 6px;
|
||||
transition: all 0.1s ease-in-out;
|
||||
will-change: color, background-color;
|
||||
|
||||
.btn-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: var(--color-selection-toolbar-text);
|
||||
background-color: transparent;
|
||||
transition: color 0.1s ease-in-out;
|
||||
will-change: color;
|
||||
}
|
||||
.btn-title {
|
||||
color: var(--color-selection-toolbar-text);
|
||||
--font-size: 14px;
|
||||
transition: color 0.1s ease-in-out;
|
||||
will-change: color;
|
||||
}
|
||||
&:hover {
|
||||
color: var(--color-primary);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user