Skip to content

Commit

Permalink
theme switcher support (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
x0nix committed Jun 20, 2023
1 parent 7e89052 commit 9483613
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mptt/static/mptt/draggable-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
}

@media (prefers-color-scheme: dark) {
.tree-node.children {
html:not([data-theme="light"]) .tree-node.children {
background-image: url(disclosure-down-white.png);
}
.tree-node.closed {
html:not([data-theme="light"]) .tree-node.closed {
background-image: url(disclosure-right-white.png);
}
.drag-handle {
html:not([data-theme="light"]) .drag-handle {
background-image: url(arrow-move-white.png);
}

#result_list tbody tr:focus {
html:not([data-theme="light"]) #result_list tbody tr:focus {
background-color: var(--selected-row, #00363a) !important;
outline: 0px;
}
Expand Down

0 comments on commit 9483613

Please sign in to comment.