style(editor): 悬停组件菜单样式优化

This commit is contained in:
roymondchen 2023-09-20 15:36:48 +08:00
parent 5a25899b57
commit 740c2a73fa

View File

@ -44,20 +44,7 @@
}
}
&.active {
background-color: $--theme-color;
.tmagic-design-button,
.tmagic-design-button:active,
.tmagic-design-button:focus {
color: #fff;
background-color: $--theme-color;
}
&.menu-item i {
color: #fff;
}
}
&.button {
&:hover {
background-color: $--hover-color;
.tmagic-design-button,
@ -70,5 +57,20 @@
color: $--font-color;
}
}
&.active {
background-color: $--theme-color;
.tmagic-design-button,
.tmagic-design-button:active,
.tmagic-design-button:focus {
color: #fff;
background-color: transparent;
}
&.menu-item i {
color: #fff;
}
}
}
}
}