-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path_thin-scrollbars.user.css
More file actions
32 lines (26 loc) · 952 Bytes
/
_thin-scrollbars.user.css
File metadata and controls
32 lines (26 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ==UserStyle==
@name Thin scrollbars
@description Firefox only: Changes all scrollbars to their thin version.
@author Heracles Papatheodorou <email@heracl.es> (https://heracl.es)
@namespace https://heracl.es
@homepageURL https://github.com/Arty2/userstyles
@updateURL https://raw.githubusercontent.com/Arty2/userstyles/master/_thin-scrollbars.user.css
@supportURL https://github.com/Arty2/userstyles/issues
@version 0.1.1
@license MIT License
@preprocessor default
@var color fg-color "Foreground color" rgb(125,125,125)
@var color bg-color "Body background color" rgb(0,0,0)
@var color ebg-color "Element background color" rgba(0,0,0,0)
==/UserStyle== */
@-moz-document url-prefix("http") {
/* element scrollbars */
* {
scrollbar-color: var(--fg-color) var(--ebg-color);
scrollbar-width: thin !important;
}
/* window scrollbars */
body, html {
scrollbar-color: var(--fg-color) var(--bg-color);
}
}