X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fhelp%2Fhelp.css;fp=EarlyBlue%2Fhelp%2Fhelp.css;h=01cfeff6cb38a99c8ee020df06ec19f1d3cae18c;hp=0000000000000000000000000000000000000000;hb=86609099c5905442cd908d7e7309c9551e1102f1;hpb=e181d49eeb1dcbecff7259949174b68c78b547c9 diff --git a/EarlyBlue/help/help.css b/EarlyBlue/help/help.css new file mode 100644 index 00000000..01cfeff6 --- /dev/null +++ b/EarlyBlue/help/help.css @@ -0,0 +1,123 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Help CSS + * + * The Initial Developer of the Original Code is + * R.J. Keller + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Robert Kaiser + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +@import url("chrome://global/skin/"); +@import url("chrome://communicator/skin/"); +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#HelpToolbar > toolbarbutton { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); +} + +/* Hide labels for the toolbar because we really don't need them what with the + tooltips */ +#HelpToolbar .toolbarbutton-text { + display: none; +} + +/* With no labels, we don't need the margin on the icon that separates it + from the label */ +#HelpToolbar .toolbarbutton-icon { + -moz-margin-end: 0; +} + +#help-back-button > toolbarbutton, +#help-forward-button > toolbarbutton { + list-style-image: inherit; + -moz-image-region: inherit; +} + +toolbarbutton > dropmarker { + -moz-image-region: auto; +} + +/* Set the minimum sidebar width so the help contents aren't squeezed together.*/ +#help-sidebar { min-width: 15em; width: 20em; max-width: 25em; } + +#search-sidebar-closebutton { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} + +/* ----- BACK BUTTON ----- */ + +#help-back-button { + -moz-image-region: rect(42px 25px 63px 0px); +} + +#help-back-button[disabled="true"] { + -moz-image-region: rect(42px 50px 63px 25px); +} + +#help-back-button .toolbarbutton-menubutton-button { + -moz-box-align: end !important; +} + +/* ----- FORWARD BUTTON ----- */ + +#help-forward-button { + -moz-image-region: rect(63px 25px 84px 0px); +} + +#help-forward-button[disabled="true"] { + -moz-image-region: rect(63px 50px 84px 25px); +} + +/* ----- HOME BUTTON ----- */ + +#help-home-button { + -moz-image-region: rect(84px 25px 105px 0px); +} + +#help-home-button[disabled="true"] { + -moz-image-region: rect(84px 50px 105px 25px); +} + +/* ----- PRINT BUTTON ----- */ + +#help-print-button { + -moz-image-region: rect(0px 25px 21px 0px); +} + +#help-print-button[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +/* ----- OTHER ----- */ + +#context-copy[disabled="true"] { + display: none; +}