Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 6 | @namespace html url("http://www.w3.org/1999/xhtml"); |
michael@0 | 7 | |
michael@0 | 8 | scrollbar { |
michael@0 | 9 | -moz-appearance: scrollbar; |
michael@0 | 10 | -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); |
michael@0 | 11 | cursor: default; |
michael@0 | 12 | background-color: white; |
michael@0 | 13 | pointer-events: auto; |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | scrollbar[root="true"] { |
michael@0 | 17 | position: relative; |
michael@0 | 18 | z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | html|select[size]:not([size="0"]):not([size="1"]) > scrollbar, |
michael@0 | 22 | html|select[multiple] > scrollbar { |
michael@0 | 23 | -moz-appearance: scrollbar-small; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | @media all and (-moz-overlay-scrollbars) { |
michael@0 | 27 | scrollbar:not([active="true"]), |
michael@0 | 28 | scrollbar[disabled="true"] { |
michael@0 | 29 | visibility: hidden; |
michael@0 | 30 | } |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | /* ..... track ..... */ |
michael@0 | 34 | |
michael@0 | 35 | slider { |
michael@0 | 36 | -moz-appearance: scrollbartrack-horizontal; |
michael@0 | 37 | } |
michael@0 | 38 | |
michael@0 | 39 | slider[orient="vertical"] { |
michael@0 | 40 | -moz-appearance: scrollbartrack-vertical; |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | /* ..... thumb ..... */ |
michael@0 | 44 | |
michael@0 | 45 | thumb { |
michael@0 | 46 | -moz-appearance: scrollbarthumb-horizontal; |
michael@0 | 47 | } |
michael@0 | 48 | |
michael@0 | 49 | thumb[orient="vertical"] { |
michael@0 | 50 | -moz-appearance: scrollbarthumb-vertical; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | /* ..... increment ..... */ |
michael@0 | 54 | |
michael@0 | 55 | scrollbarbutton[type="increment"] { |
michael@0 | 56 | -moz-appearance: scrollbarbutton-right; |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { |
michael@0 | 60 | -moz-appearance: scrollbarbutton-down; |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | /* ..... decrement ..... */ |
michael@0 | 64 | |
michael@0 | 65 | scrollbarbutton[type="decrement"] { |
michael@0 | 66 | -moz-appearance: scrollbarbutton-left; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { |
michael@0 | 70 | -moz-appearance: scrollbarbutton-up; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | /* ::::: square at the corner of two scrollbars ::::: */ |
michael@0 | 74 | |
michael@0 | 75 | scrollcorner { |
michael@0 | 76 | /* XXX -moz-appearance: scrollcorner; */ |
michael@0 | 77 | -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base); |
michael@0 | 78 | width: 16px; |
michael@0 | 79 | cursor: default; |
michael@0 | 80 | background-color: white; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | /* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ |
michael@0 | 84 | @media print { |
michael@0 | 85 | html|div scrollbar { |
michael@0 | 86 | -moz-appearance: scrollbar; |
michael@0 | 87 | -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); |
michael@0 | 88 | cursor: default; |
michael@0 | 89 | } |
michael@0 | 90 | } |