toolkit/themes/windows/help/help.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/windows/help/help.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,115 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +@import url("chrome://global/skin/");
     1.9 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.10 +
    1.11 +#HelpToolbar toolbarbutton {
    1.12 +  -moz-box-orient: horizontal !important;
    1.13 +  min-width: 0px;
    1.14 +  list-style-image: url("chrome://help/skin/Toolbar.png");
    1.15 +  margin: 0 !important;
    1.16 +  padding: 4px 5px;
    1.17 +}
    1.18 +
    1.19 +#HelpToolbar:-moz-locale-dir(rtl) toolbarbutton {
    1.20 +  list-style-image: url("chrome://help/skin/Toolbar-rtl.png");
    1.21 +}
    1.22 +
    1.23 +/* Hide labels for the toolbar because we really don't need them what with the
    1.24 +   tooltips */
    1.25 +#HelpToolbar .toolbarbutton-text {
    1.26 +  display: none;
    1.27 +}
    1.28 +
    1.29 +/* With no labels, we don't need the margin on the icon that separates it
    1.30 +   from the label */
    1.31 +#HelpToolbar .toolbarbutton-icon {
    1.32 +  -moz-margin-end: 0;
    1.33 +}
    1.34 +
    1.35 +/* Set the minimum sidebar width so the help contents aren't squeezed together.*/
    1.36 +#help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
    1.37 +
    1.38 +/* ----- BACK BUTTON ----- */
    1.39 +
    1.40 +#help-back-button {
    1.41 +  -moz-image-region: rect(0px 24px 24px 0px); 
    1.42 +}
    1.43 +
    1.44 +#help-back-button:not([disabled="true"]):hover { 
    1.45 +  -moz-image-region: rect(24px 24px 48px 0px); 
    1.46 +}
    1.47 +
    1.48 +#help-back-button[disabled="true"] { 
    1.49 +  -moz-image-region: rect(48px 24px 72px 0px); 
    1.50 +}
    1.51 +
    1.52 +#help-back-button:not([disabled="true"]):hover:active { 
    1.53 +  -moz-image-region: rect(72px 24px 96px 0px); 
    1.54 +}
    1.55 +
    1.56 +#help-back-button .toolbarbutton-menubutton-button {
    1.57 +  -moz-box-align: end !important;
    1.58 +}
    1.59 +
    1.60 +/* ----- FORWARD BUTTON ----- */
    1.61 +
    1.62 +#help-forward-button {
    1.63 +  -moz-image-region: rect(0px 48px 24px 24px); 
    1.64 +}
    1.65 +
    1.66 +#help-forward-button:not([disabled="true"]):hover {
    1.67 +  -moz-image-region: rect(24px 48px 48px 24px); 
    1.68 +}
    1.69 +
    1.70 +#help-forward-button[disabled="true"] {
    1.71 +  -moz-image-region: rect(48px 48px 72px 24px); 
    1.72 +}
    1.73 +
    1.74 +#help-forward-button:not([disabled="true"]):hover:active {
    1.75 +  -moz-image-region: rect(72px 48px 96px 24px); 
    1.76 +}
    1.77 +
    1.78 +/* ----- HOME BUTTON ----- */
    1.79 +
    1.80 +#help-home-button { 
    1.81 +  -moz-image-region: rect(0px 72px 24px 48px); 
    1.82 +}
    1.83 +
    1.84 +#help-home-button:not([disabled="true"]):hover { 
    1.85 +  -moz-image-region: rect(24px 72px 48px 48px); 
    1.86 +}
    1.87 +
    1.88 +#help-home-button[disabled="true"] { 
    1.89 +  -moz-image-region: rect(48px 72px 72px 48px); 
    1.90 +}
    1.91 +
    1.92 +#help-home-button:not([disabled="true"]):hover:active { 
    1.93 +  -moz-image-region: rect(72px 72px 96px 48px); 
    1.94 +}
    1.95 +
    1.96 +/* ----- PRINT BUTTON ----- */
    1.97 +
    1.98 +#help-print-button { 
    1.99 +  -moz-image-region: rect(0px 96px 24px 72px); 
   1.100 +}
   1.101 +
   1.102 +#help-print-button:not([disabled="true"]):hover { 
   1.103 +  -moz-image-region: rect(24px 96px 48px 72px); 
   1.104 +}
   1.105 +
   1.106 +#help-print-button[disabled="true"] { 
   1.107 +  -moz-image-region: rect(48px 96px 72px 72px); 
   1.108 +}
   1.109 +
   1.110 +#help-print-button:not([disabled="true"]):hover:active { 
   1.111 +  -moz-image-region: rect(72px 96px 96px 72px); 
   1.112 +}
   1.113 +
   1.114 +/* ----- OTHER ----- */
   1.115 +
   1.116 +#context-copy[disabled="true"] {
   1.117 +  display: none;
   1.118 +}

mercurial