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.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
8 #HelpToolbar toolbarbutton {
9 -moz-box-orient: horizontal !important;
10 min-width: 0px;
11 list-style-image: url("chrome://help/skin/Toolbar.png");
12 margin: 0 !important;
13 padding: 4px 5px;
14 }
16 #HelpToolbar:-moz-locale-dir(rtl) toolbarbutton {
17 list-style-image: url("chrome://help/skin/Toolbar-rtl.png");
18 }
20 /* Hide labels for the toolbar because we really don't need them what with the
21 tooltips */
22 #HelpToolbar .toolbarbutton-text {
23 display: none;
24 }
26 /* With no labels, we don't need the margin on the icon that separates it
27 from the label */
28 #HelpToolbar .toolbarbutton-icon {
29 -moz-margin-end: 0;
30 }
32 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
33 #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
35 /* ----- BACK BUTTON ----- */
37 #help-back-button {
38 -moz-image-region: rect(0px 24px 24px 0px);
39 }
41 #help-back-button:not([disabled="true"]):hover {
42 -moz-image-region: rect(24px 24px 48px 0px);
43 }
45 #help-back-button[disabled="true"] {
46 -moz-image-region: rect(48px 24px 72px 0px);
47 }
49 #help-back-button:not([disabled="true"]):hover:active {
50 -moz-image-region: rect(72px 24px 96px 0px);
51 }
53 #help-back-button .toolbarbutton-menubutton-button {
54 -moz-box-align: end !important;
55 }
57 /* ----- FORWARD BUTTON ----- */
59 #help-forward-button {
60 -moz-image-region: rect(0px 48px 24px 24px);
61 }
63 #help-forward-button:not([disabled="true"]):hover {
64 -moz-image-region: rect(24px 48px 48px 24px);
65 }
67 #help-forward-button[disabled="true"] {
68 -moz-image-region: rect(48px 48px 72px 24px);
69 }
71 #help-forward-button:not([disabled="true"]):hover:active {
72 -moz-image-region: rect(72px 48px 96px 24px);
73 }
75 /* ----- HOME BUTTON ----- */
77 #help-home-button {
78 -moz-image-region: rect(0px 72px 24px 48px);
79 }
81 #help-home-button:not([disabled="true"]):hover {
82 -moz-image-region: rect(24px 72px 48px 48px);
83 }
85 #help-home-button[disabled="true"] {
86 -moz-image-region: rect(48px 72px 72px 48px);
87 }
89 #help-home-button:not([disabled="true"]):hover:active {
90 -moz-image-region: rect(72px 72px 96px 48px);
91 }
93 /* ----- PRINT BUTTON ----- */
95 #help-print-button {
96 -moz-image-region: rect(0px 96px 24px 72px);
97 }
99 #help-print-button:not([disabled="true"]):hover {
100 -moz-image-region: rect(24px 96px 48px 72px);
101 }
103 #help-print-button[disabled="true"] {
104 -moz-image-region: rect(48px 96px 72px 72px);
105 }
107 #help-print-button:not([disabled="true"]):hover:active {
108 -moz-image-region: rect(72px 96px 96px 72px);
109 }
111 /* ----- OTHER ----- */
113 #context-copy[disabled="true"] {
114 display: none;
115 }