Commit | Line | Data |
---|---|---|
73f055ca RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
3 | scrollbar { | |
73f055ca RK |
4 | position: relative; |
5 | background-color: transparent; | |
6 | background-image: none; | |
7 | z-index: 2147483647; | |
d98dc319 | 8 | padding: 2px; |
73f055ca RK |
9 | } |
10 | ||
7c0a01f2 RK |
11 | /* Scrollbar code will reset the margin to the correct side depending on |
12 | where layout actually puts the scrollbar */ | |
73f055ca | 13 | scrollbar[orient="vertical"] { |
7c0a01f2 | 14 | margin-left: -10px; |
d98dc319 RK |
15 | min-width: 3px; |
16 | max-width: 3px; | |
73f055ca RK |
17 | } |
18 | ||
19 | scrollbar[orient="horizontal"] { | |
82b4252f | 20 | margin-top: -10px; |
d98dc319 RK |
21 | min-height: 3px; |
22 | max-height: 3px; | |
d2ce251d RK |
23 | } |
24 | ||
25 | scrollbar slider { | |
26 | /* background-color: transparent; */ | |
27 | border-radius: 3px; | |
73f055ca RK |
28 | } |
29 | ||
d98dc319 RK |
30 | scrollbar:not(:hover) slider { |
31 | background-color: rgba(64, 64, 72, 0.3); | |
32 | } | |
33 | ||
73f055ca | 34 | scrollbar thumb { |
73f055ca | 35 | border-width: 0px !important; |
d98dc319 | 36 | /* background-color: rgba(0,0,0,0.2) !important; */ |
d2ce251d | 37 | background-image: none; |
73f055ca RK |
38 | border-radius: 3px !important; |
39 | } | |
40 | ||
d98dc319 RK |
41 | scrollbar:not(:hover) thumb { |
42 | background-color: rgba(160, 144, 144, 0.3) !important; | |
43 | } | |
44 | ||
73f055ca | 45 | scrollbar scrollbarbutton, scrollbar gripper { |
7c0a01f2 | 46 | display: none !important; /* need !important to override forced display in LCARStrek */ |
73f055ca | 47 | } |