summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-07-30 16:39:37 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-07-31 18:36:39 +0200
commitc92e6192a57357b8634dff43df12fc303246cf10 (patch)
tree854da41fe64b080c52e679957803ca38f6a7afa2 /core/css/styles.scss
parentd4eb8481fa124e5841a3dcecb1e34465af178ef6 (diff)
downloadnextcloud-server-c92e6192a57357b8634dff43df12fc303246cf10.tar.gz
nextcloud-server-c92e6192a57357b8634dff43df12fc303246cf10.zip
Standardize scrollbar color and width across Webkit and Firefox
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 5cad35d7784..aca0cde23b8 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -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 {