aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/base.css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-15 05:45:45 +0100
committerGitHub <noreply@github.com>2024-03-15 04:45:45 +0000
commit0827552d9ab6bec5fccef86139cbad3ae7b582b7 (patch)
treef5b70ab3fec6e4bda4f783ea809810c074c8462d /web_src/css/base.css
parent2eb7c564df950fb96a1970559719003e979ff30a (diff)
downloadgitea-0827552d9ab6bec5fccef86139cbad3ae7b582b7.tar.gz
gitea-0827552d9ab6bec5fccef86139cbad3ae7b582b7.zip
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.
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r--web_src/css/base.css24
1 files changed, 0 insertions, 24 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 510a28ad9f..4083ec0413 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -105,33 +105,9 @@ progress::-moz-progress-bar {
}
* {
- scrollbar-color: var(--color-primary) transparent;
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 {
border: 1px solid var(--color-light-border);
color: var(--color-text-light);