mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fix 3rd level menu item background-color in dark mode [ci skip]
This commit is contained in:
parent
dea2eb54af
commit
0a1dcfc55a
|
@ -1196,6 +1196,7 @@
|
|||
color: rgb(166, 158, 146);
|
||||
}
|
||||
|
||||
.wy-menu-vertical li.toctree-l2.current a,
|
||||
.wy-menu-vertical li.toctree-l3.current a {
|
||||
background-color: #363636;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@media (prefers-color-scheme: light) {
|
||||
|
||||
.wy-menu-vertical li.toctree-l2.current a,
|
||||
.wy-menu-vertical li.toctree-l3.current a {
|
||||
background-color: #c9c9c9;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ jQuery(document).ready(function ($) {
|
|||
var $upperA = $sidebarItem.parent().children('a');
|
||||
var $upperAParent = $upperA.parent();
|
||||
if ($upperAParent.hasClass('toctree-l2')) {
|
||||
$a.css('background-color', '#c9c9c9');
|
||||
$a.css('padding-left', '4em');
|
||||
} else if ($upperAParent.hasClass('toctree-l3')) {
|
||||
if (!$upperA.find('.toctree-expand').length) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user