mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: colours not moving with sidebar transition
This commit is contained in:
+28
-13
@@ -309,20 +309,35 @@ ul.magicDelete > li.deleting {
|
||||
left: -8px;
|
||||
}
|
||||
}
|
||||
#menu li.active > .sub > ul > .item {
|
||||
box-shadow: inset 3px 0 var(--item-colour, transparent);
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
transition: 100ms;
|
||||
}
|
||||
#menu li.active > .sub > ul > .item:hover {
|
||||
box-shadow: inset 6px 0 var(--item-colour, transparent);
|
||||
transition: 100ms;
|
||||
}
|
||||
#menu li.active > .sub > ul > .active {
|
||||
box-shadow: inset 6px 0 var(--item-colour, transparent);
|
||||
transition: 100ms;
|
||||
background: rgba(0, 0, 0, 0.3) !important;
|
||||
|
||||
#menu {
|
||||
li.active > .sub > ul > .item:not(.hasChildren) {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 3px;
|
||||
background: var(--item-colour, transparent);
|
||||
transition: width 100ms, transform 0.3s ease;
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
|
||||
&:hover::before,
|
||||
&.active::before {
|
||||
width: 6px;
|
||||
background: var(--item-colour, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
li.active > .sub > ul > .active {
|
||||
background: rgba(0, 0, 0, 0.3) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#menu li > label,
|
||||
#menu section > label {
|
||||
text-transform: none;
|
||||
|
||||
@@ -7,11 +7,13 @@
|
||||
overflow-y: scroll !important;
|
||||
}
|
||||
|
||||
#menu > ul:has(li.hasChildren.active) > li::before,
|
||||
#menu > ul ul:has(li.hasChildren.active) > li::before,
|
||||
#menu > ul:has(li.hasChildren.active) > li > label,
|
||||
#menu > ul:has(li.hasChildren.active) > li > svg,
|
||||
#menu > ul ul:has(li.hasChildren.active) > li > label,
|
||||
#menu > ul ul:has(li.hasChildren.active) > li > svg {
|
||||
transform: translateX(-20rem);
|
||||
transform: translateX(-320px);
|
||||
}
|
||||
|
||||
.sub .sub {
|
||||
|
||||
Reference in New Issue
Block a user