mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-16 18:09:22 +08:00
style(editor): 悬停组件菜单样式优化
This commit is contained in:
parent
5a25899b57
commit
740c2a73fa
@ -44,30 +44,32 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.button {
|
||||||
background-color: $--theme-color;
|
&:hover {
|
||||||
.tmagic-design-button,
|
background-color: $--hover-color;
|
||||||
.tmagic-design-button:active,
|
.tmagic-design-button,
|
||||||
.tmagic-design-button:focus {
|
.tmagic-design-button:active,
|
||||||
color: #fff;
|
.tmagic-design-button:focus {
|
||||||
|
color: $--font-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.menu-item i {
|
||||||
|
color: $--font-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.active {
|
||||||
background-color: $--theme-color;
|
background-color: $--theme-color;
|
||||||
}
|
.tmagic-design-button,
|
||||||
|
.tmagic-design-button:active,
|
||||||
|
.tmagic-design-button:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
&.menu-item i {
|
&.menu-item i {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: $--hover-color;
|
|
||||||
.tmagic-design-button,
|
|
||||||
.tmagic-design-button:active,
|
|
||||||
.tmagic-design-button:focus {
|
|
||||||
color: $--font-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.menu-item i {
|
|
||||||
color: $--font-color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user