Merge pull request #16622 from nextcloud/design/scrollbar

Standardize scrollbar color and width across Webkit and Firefox
This commit is contained in:
John Molakvoæ 2019-08-01 14:57:14 +02:00 committed by GitHub
commit a0a43de499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,8 @@ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pr
font-family: inherit;
vertical-align: baseline;
cursor: default;
scrollbar-color: var(--color-border-dark) transparent;
scrollbar-width: thin;
}
html, body {
@ -146,7 +148,7 @@ body {
/* SCROLLING */
::-webkit-scrollbar {
width: 9px;
width: 6px;
height: 5px;
}
@ -155,10 +157,11 @@ body {
}
::-webkit-scrollbar-thumb {
background: var(--color-background-darker);
background: var(--color-border-dark);
border-radius: var(--border-radius);
}
/* SELECTION */
::selection {