1
0
mirror of https://github.com/nileane/TangerineUI-for-Mastodon synced 2025-01-19 08:12:49 +09:00

Scrollbars were not excluded from the advanced view

This commit is contained in:
Niléane 2023-07-10 21:27:58 +02:00
parent d4d77f57f8
commit a2a7dd6fdd
No known key found for this signature in database

View File

@ -156,35 +156,31 @@
} }
} }
body.layout-single-column { body.layout-single-column {
background-color: var(--color-bg); background-color: var(--color-bg);
color: var(--color-fg); color: var(--color-fg);
font-family: ui-rounded, "mastodon-font-sans-serif", sans-serif; font-family: ui-rounded, "mastodon-font-sans-serif", sans-serif;
} }
/* 🖱️ Scrollbars */ /* 🖱️ Scrollbars */
::-webkit-scrollbar-track { :root:has(.layout-single-column) *::-webkit-scrollbar-track {
background-color: var(--color-bg); background-color: var(--color-bg);
padding: 2px; padding: 2px;
} }
::-webkit-scrollbar-thumb { :root:has(.layout-single-column) *::-webkit-scrollbar-thumb {
background-color: var(--color-accent); background-color: var(--color-accent);
border-radius: 50px; border-radius: 50px;
opacity: .3; opacity: .3;
} }
::-webkit-scrollbar-track:hover { :root:has(.layout-single-column) *::-webkit-scrollbar-track:hover {
background-color: var(--color-bg); background-color: var(--color-bg);
} }
::-webkit-scrollbar-thumb:hover { :root:has(.layout-single-column) *::-webkit-scrollbar-thumb:hover {
background-color: var(--color-accent); background-color: var(--color-accent);
opacity: .7; opacity: .7;
} }
@media screen and (max-width:1174px) { @media screen and (max-width:1174px) {
::-webkit-scrollbar { :root:has(.layout-single-column) *::-webkit-scrollbar {
display: none; display: none;
} }
} }