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 | |
michael@0 | 7 | toolbar { |
michael@0 | 8 | min-width: 1px; |
michael@0 | 9 | min-height: 20px; |
michael@0 | 10 | -moz-appearance: toolbar; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | menubar:-moz-lwtheme, |
michael@0 | 14 | toolbar:-moz-lwtheme { |
michael@0 | 15 | -moz-appearance: none; |
michael@0 | 16 | background: none; |
michael@0 | 17 | border-style: none; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | menubar { |
michael@0 | 21 | -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */ |
michael@0 | 22 | min-width: 1px; |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | .toolbar-holder { |
michael@0 | 26 | min-width: 1px; |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | .toolbar-primary { |
michael@0 | 30 | min-height: 24px; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | toolbarseparator { |
michael@0 | 34 | -moz-appearance: none; |
michael@0 | 35 | margin: 3px 4px; |
michael@0 | 36 | background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y; |
michael@0 | 37 | padding: 0; |
michael@0 | 38 | width: 1px !important; |
michael@0 | 39 | } |
michael@0 | 40 | |
michael@0 | 41 | /* ::::: toolbarpaletteitem ::::: */ |
michael@0 | 42 | |
michael@0 | 43 | toolbarpaletteitem { |
michael@0 | 44 | cursor: grab; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | toolbar[iconsize="small"] toolbarpaletteitem[type="spacer"] { |
michael@0 | 48 | min-width: 24px !important; |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | toolbarpaletteitem[type="spacer"] { |
michael@0 | 52 | min-width: 32px !important; |
michael@0 | 53 | } |
michael@0 | 54 | |
michael@0 | 55 | .toolbarpaletteitem-box[type="spacer"] { |
michael@0 | 56 | border: 1px solid #A3A3A3; |
michael@0 | 57 | background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; |
michael@0 | 58 | width: 32px; |
michael@0 | 59 | margin-top: 18px; |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | .toolbarpaletteitem-box[type="spring"] { |
michael@0 | 63 | border: 1px solid #A3A3A3; |
michael@0 | 64 | background: url("chrome://global/skin/toolbar/spring.png") #FFFFFF no-repeat; |
michael@0 | 65 | width: 32px; |
michael@0 | 66 | margin-top: 18px; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | .toolbarpaletteitem-box[type="spring"][place="toolbar"] { |
michael@0 | 70 | background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | .toolbarpaletteitem-box[type="spacer"][place="toolbar"], |
michael@0 | 74 | .toolbarpaletteitem-box[type="spring"][place="toolbar"] { |
michael@0 | 75 | margin: 2px; |
michael@0 | 76 | } |
michael@0 | 77 | |
michael@0 | 78 | .toolbarpaletteitem-box[type="separator"][place="palette"] { |
michael@0 | 79 | width: 2px; |
michael@0 | 80 | height: 50px; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | .toolbarpaletteitem-box[type="spacer"][place="palette"], |
michael@0 | 84 | .toolbarpaletteitem-box[type="spring"][place="palette"] { |
michael@0 | 85 | margin-top: 0; |
michael@0 | 86 | margin-bottom: 2px; |
michael@0 | 87 | height: 32px; |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | .toolbarpaletteitem-box[type="spring"][place="palette"] { |
michael@0 | 91 | background-position: center; |
michael@0 | 92 | margin-left: 8px; |
michael@0 | 93 | margin-right: 8px; |
michael@0 | 94 | } |
michael@0 | 95 | |
michael@0 | 96 | /* ..... drag and drop feedback ..... */ |
michael@0 | 97 | |
michael@0 | 98 | toolbarpaletteitem[place="toolbar"] { |
michael@0 | 99 | margin-left: -2px; |
michael@0 | 100 | margin-right: -2px; |
michael@0 | 101 | border-left: 2px solid transparent; |
michael@0 | 102 | border-right: 2px solid transparent; |
michael@0 | 103 | } |
michael@0 | 104 | |
michael@0 | 105 | toolbarpaletteitem[dragover="left"] { |
michael@0 | 106 | border-left-color: #000000; |
michael@0 | 107 | } |
michael@0 | 108 | |
michael@0 | 109 | toolbarpaletteitem[dragover="right"] { |
michael@0 | 110 | border-right-color: #000000; |
michael@0 | 111 | } |
michael@0 | 112 | |
michael@0 | 113 | toolbar[iconsize="small"] toolbarspacer { |
michael@0 | 114 | min-width: 24px !important; |
michael@0 | 115 | } |
michael@0 | 116 | |
michael@0 | 117 | toolbarspacer { |
michael@0 | 118 | min-width: 32px !important; |
michael@0 | 119 | } |
michael@0 | 120 |