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