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