mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
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:
parent
2eb7c564df
commit
0827552d9a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user