Remove scrollbar customizations (#29800)

Fixes https://github.com/go-gitea/gitea/issues/29652. Removes all
scrollbar customization as per popular vote on
https://github.com/go-gitea/gitea/issues/29652#issuecomment-1985846162.

There is one more case of `-webkit-scrollbar` left in CSS and
https://github.com/go-gitea/gitea/pull/29400 will get rid of that as
well.
This commit is contained in:
silverwind 2024-03-15 05:45:45 +01:00 committed by GitHub
parent 2eb7c564df
commit 0827552d9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 24 deletions

View File

@ -105,33 +105,9 @@ progress::-moz-progress-bar {
} }
* { * {
scrollbar-color: var(--color-primary) transparent;
caret-color: var(--color-caret); caret-color: var(--color-caret);
} }
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px var(--color-primary);
border: 2px solid transparent;
border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb:window-inactive {
box-shadow: inset 0 0 0 6px var(--color-primary);
}
::-webkit-scrollbar-thumb:hover {
box-shadow: inset 0 0 0 6px var(--color-primary-dark-2);
}
::-webkit-scrollbar-corner {
background: transparent;
}
::file-selector-button { ::file-selector-button {
border: 1px solid var(--color-light-border); border: 1px solid var(--color-light-border);
color: var(--color-text-light); color: var(--color-text-light);