michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @import url("chrome://global/skin/"); michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: #HelpToolbar toolbarbutton { michael@0: -moz-box-orient: horizontal !important; michael@0: min-width: 0px; michael@0: list-style-image: url("chrome://help/skin/Toolbar.png"); michael@0: margin: 0 !important; michael@0: padding: 4px 5px; michael@0: } michael@0: michael@0: #HelpToolbar:-moz-locale-dir(rtl) toolbarbutton { michael@0: list-style-image: url("chrome://help/skin/Toolbar-rtl.png"); michael@0: } michael@0: michael@0: /* Hide labels for the toolbar because we really don't need them what with the michael@0: tooltips */ michael@0: #HelpToolbar .toolbarbutton-text { michael@0: display: none; michael@0: } michael@0: michael@0: /* With no labels, we don't need the margin on the icon that separates it michael@0: from the label */ michael@0: #HelpToolbar .toolbarbutton-icon { michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: /* Set the minimum sidebar width so the help contents aren't squeezed together.*/ michael@0: #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; } michael@0: michael@0: /* ----- BACK BUTTON ----- */ michael@0: michael@0: #help-back-button { michael@0: -moz-image-region: rect(0px 24px 24px 0px); michael@0: } michael@0: michael@0: #help-back-button:not([disabled="true"]):hover { michael@0: -moz-image-region: rect(24px 24px 48px 0px); michael@0: } michael@0: michael@0: #help-back-button[disabled="true"] { michael@0: -moz-image-region: rect(48px 24px 72px 0px); michael@0: } michael@0: michael@0: #help-back-button:not([disabled="true"]):hover:active { michael@0: -moz-image-region: rect(72px 24px 96px 0px); michael@0: } michael@0: michael@0: #help-back-button .toolbarbutton-menubutton-button { michael@0: -moz-box-align: end !important; michael@0: } michael@0: michael@0: /* ----- FORWARD BUTTON ----- */ michael@0: michael@0: #help-forward-button { michael@0: -moz-image-region: rect(0px 48px 24px 24px); michael@0: } michael@0: michael@0: #help-forward-button:not([disabled="true"]):hover { michael@0: -moz-image-region: rect(24px 48px 48px 24px); michael@0: } michael@0: michael@0: #help-forward-button[disabled="true"] { michael@0: -moz-image-region: rect(48px 48px 72px 24px); michael@0: } michael@0: michael@0: #help-forward-button:not([disabled="true"]):hover:active { michael@0: -moz-image-region: rect(72px 48px 96px 24px); michael@0: } michael@0: michael@0: /* ----- HOME BUTTON ----- */ michael@0: michael@0: #help-home-button { michael@0: -moz-image-region: rect(0px 72px 24px 48px); michael@0: } michael@0: michael@0: #help-home-button:not([disabled="true"]):hover { michael@0: -moz-image-region: rect(24px 72px 48px 48px); michael@0: } michael@0: michael@0: #help-home-button[disabled="true"] { michael@0: -moz-image-region: rect(48px 72px 72px 48px); michael@0: } michael@0: michael@0: #help-home-button:not([disabled="true"]):hover:active { michael@0: -moz-image-region: rect(72px 72px 96px 48px); michael@0: } michael@0: michael@0: /* ----- PRINT BUTTON ----- */ michael@0: michael@0: #help-print-button { michael@0: -moz-image-region: rect(0px 96px 24px 72px); michael@0: } michael@0: michael@0: #help-print-button:not([disabled="true"]):hover { michael@0: -moz-image-region: rect(24px 96px 48px 72px); michael@0: } michael@0: michael@0: #help-print-button[disabled="true"] { michael@0: -moz-image-region: rect(48px 96px 72px 72px); michael@0: } michael@0: michael@0: #help-print-button:not([disabled="true"]):hover:active { michael@0: -moz-image-region: rect(72px 96px 96px 72px); michael@0: } michael@0: michael@0: /* ----- OTHER ----- */ michael@0: michael@0: #context-copy[disabled="true"] { michael@0: display: none; michael@0: }