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