Skip to content

Commit b09e4e7

Browse files
committed
update color for selected sidebar item
1 parent f5a9b3c commit b09e4e7

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

src/css/custom.css

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -439,49 +439,6 @@ code {
439439
box-shadow: none !important;
440440
}
441441

442-
/* Light mode sidebar background consistency */
443-
[data-theme='light'] .theme-doc-sidebar-container {
444-
background-color: #ffffff !important; /* Pure white background */
445-
}
446-
447-
[data-theme='light'] .menu__list-item {
448-
background-color: #ffffff !important; /* Pure white for all menu items */
449-
}
450-
451-
[data-theme='light'] .menu__link {
452-
background-color: #ffffff !important; /* Pure white for all menu links */
453-
}
454-
455-
[data-theme='light'] .menu__link--sublist {
456-
background-color: #ffffff !important; /* Pure white for sublist links */
457-
}
458-
459-
/* Remove any hover/active background colors in light mode */
460-
[data-theme='light'] .menu__link:hover,
461-
[data-theme='light'] .menu__link--sublist:hover,
462-
[data-theme='light'] .menu__link--active,
463-
[data-theme='light'] .menu__link--sublist--active {
464-
background-color: #ffffff !important; /* Keep white background on hover/active */
465-
}
466-
467-
/* Ensure consistent spacing and borders */
468-
[data-theme='light'] .menu__list-item {
469-
border: none !important;
470-
background: transparent !important;
471-
}
472-
473-
/* More aggressive targeting for light mode sidebar */
474-
[data-theme='light'] .theme-doc-sidebar-container * {
475-
background-color: #ffffff !important; /* Force white background on all sidebar elements */
476-
}
477-
478-
/* Target specific problematic elements */
479-
[data-theme='light'] .theme-doc-sidebar-container .menu__list-item,
480-
[data-theme='light'] .theme-doc-sidebar-container .menu__link,
481-
[data-theme='light'] .theme-doc-sidebar-container .menu__link--sublist {
482-
background-color: #ffffff !important;
483-
background: #ffffff !important;
484-
}
485442

486443
/* Sidebar font sizes for all levels */
487444
.theme-doc-sidebar-container {

0 commit comments

Comments
 (0)