mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
fix ant-menu
active bar position
This commit is contained in:
parent
be6a2253fd
commit
990fc1e487
@ -167,11 +167,29 @@
|
|||||||
// fix menu colors
|
// fix menu colors
|
||||||
.ant-menu-item {
|
.ant-menu-item {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
background-color: var(--background-color-primary) !important;
|
background-color: var(--background-color-primary) !important;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
|
||||||
|
width: 10px;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
background-color: var(--primaryColor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu-item:active {
|
.ant-menu-item:active {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user