toolkit/themes/windows/help/help.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

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 @import url("chrome://global/skin/");
michael@0 6 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 7
michael@0 8 #HelpToolbar toolbarbutton {
michael@0 9 -moz-box-orient: horizontal !important;
michael@0 10 min-width: 0px;
michael@0 11 list-style-image: url("chrome://help/skin/Toolbar.png");
michael@0 12 margin: 0 !important;
michael@0 13 padding: 4px 5px;
michael@0 14 }
michael@0 15
michael@0 16 #HelpToolbar:-moz-locale-dir(rtl) toolbarbutton {
michael@0 17 list-style-image: url("chrome://help/skin/Toolbar-rtl.png");
michael@0 18 }
michael@0 19
michael@0 20 /* Hide labels for the toolbar because we really don't need them what with the
michael@0 21 tooltips */
michael@0 22 #HelpToolbar .toolbarbutton-text {
michael@0 23 display: none;
michael@0 24 }
michael@0 25
michael@0 26 /* With no labels, we don't need the margin on the icon that separates it
michael@0 27 from the label */
michael@0 28 #HelpToolbar .toolbarbutton-icon {
michael@0 29 -moz-margin-end: 0;
michael@0 30 }
michael@0 31
michael@0 32 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
michael@0 33 #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
michael@0 34
michael@0 35 /* ----- BACK BUTTON ----- */
michael@0 36
michael@0 37 #help-back-button {
michael@0 38 -moz-image-region: rect(0px 24px 24px 0px);
michael@0 39 }
michael@0 40
michael@0 41 #help-back-button:not([disabled="true"]):hover {
michael@0 42 -moz-image-region: rect(24px 24px 48px 0px);
michael@0 43 }
michael@0 44
michael@0 45 #help-back-button[disabled="true"] {
michael@0 46 -moz-image-region: rect(48px 24px 72px 0px);
michael@0 47 }
michael@0 48
michael@0 49 #help-back-button:not([disabled="true"]):hover:active {
michael@0 50 -moz-image-region: rect(72px 24px 96px 0px);
michael@0 51 }
michael@0 52
michael@0 53 #help-back-button .toolbarbutton-menubutton-button {
michael@0 54 -moz-box-align: end !important;
michael@0 55 }
michael@0 56
michael@0 57 /* ----- FORWARD BUTTON ----- */
michael@0 58
michael@0 59 #help-forward-button {
michael@0 60 -moz-image-region: rect(0px 48px 24px 24px);
michael@0 61 }
michael@0 62
michael@0 63 #help-forward-button:not([disabled="true"]):hover {
michael@0 64 -moz-image-region: rect(24px 48px 48px 24px);
michael@0 65 }
michael@0 66
michael@0 67 #help-forward-button[disabled="true"] {
michael@0 68 -moz-image-region: rect(48px 48px 72px 24px);
michael@0 69 }
michael@0 70
michael@0 71 #help-forward-button:not([disabled="true"]):hover:active {
michael@0 72 -moz-image-region: rect(72px 48px 96px 24px);
michael@0 73 }
michael@0 74
michael@0 75 /* ----- HOME BUTTON ----- */
michael@0 76
michael@0 77 #help-home-button {
michael@0 78 -moz-image-region: rect(0px 72px 24px 48px);
michael@0 79 }
michael@0 80
michael@0 81 #help-home-button:not([disabled="true"]):hover {
michael@0 82 -moz-image-region: rect(24px 72px 48px 48px);
michael@0 83 }
michael@0 84
michael@0 85 #help-home-button[disabled="true"] {
michael@0 86 -moz-image-region: rect(48px 72px 72px 48px);
michael@0 87 }
michael@0 88
michael@0 89 #help-home-button:not([disabled="true"]):hover:active {
michael@0 90 -moz-image-region: rect(72px 72px 96px 48px);
michael@0 91 }
michael@0 92
michael@0 93 /* ----- PRINT BUTTON ----- */
michael@0 94
michael@0 95 #help-print-button {
michael@0 96 -moz-image-region: rect(0px 96px 24px 72px);
michael@0 97 }
michael@0 98
michael@0 99 #help-print-button:not([disabled="true"]):hover {
michael@0 100 -moz-image-region: rect(24px 96px 48px 72px);
michael@0 101 }
michael@0 102
michael@0 103 #help-print-button[disabled="true"] {
michael@0 104 -moz-image-region: rect(48px 96px 72px 72px);
michael@0 105 }
michael@0 106
michael@0 107 #help-print-button:not([disabled="true"]):hover:active {
michael@0 108 -moz-image-region: rect(72px 96px 96px 72px);
michael@0 109 }
michael@0 110
michael@0 111 /* ----- OTHER ----- */
michael@0 112
michael@0 113 #context-copy[disabled="true"] {
michael@0 114 display: none;
michael@0 115 }

mercurial