diff options
Diffstat (limited to 'ext/css')
-rw-r--r-- | ext/css/display.css | 14 | ||||
-rw-r--r-- | ext/css/popup-outer.css | 3 |
2 files changed, 8 insertions, 9 deletions
diff --git a/ext/css/display.css b/ext/css/display.css index f0908021..f703be85 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -309,25 +309,25 @@ a { /* Scrollbars */ -:root:not([data-theme=default]) .scrollbar { +:root:not([data-theme=light]) .scrollbar { scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color); } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar { width: auto; } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar-button { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar-button { height: 0; } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar-thumb { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb-color); } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar-track { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar-track { background-color: var(--scrollbar-thumb-color); } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar-track-piece { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar-track-piece { background-color: var(--scrollbar-track-color); } -:root:not([data-theme=default]) .scrollbar::-webkit-scrollbar-corner { +:root:not([data-theme=light]) .scrollbar::-webkit-scrollbar-corner { background-color: var(--scrollbar-track-color); } :root .scrollbar-inverse { diff --git a/ext/css/popup-outer.css b/ext/css/popup-outer.css index 119a6b90..e020a956 100644 --- a/ext/css/popup-outer.css +++ b/ext/css/popup-outer.css @@ -31,8 +31,7 @@ iframe.yomichan-popup[data-theme=dark] { background-color: #1e1e1e; border-color: #666666; } -iframe.yomichan-popup[data-outer-theme=dark], -iframe.yomichan-popup[data-outer-theme=auto][data-site-color=dark] { +iframe.yomichan-popup[data-outer-theme=dark] { box-shadow: 0 0 10em rgba(255, 255, 255, 0.5); } iframe.yomichan-popup[data-popup-display-mode=full-width] { |