X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Feditor%2FeditorPrimaryToolbar.css;h=cb616ac8f577ab02bf2ee1cd8ffa916f01c259be;hp=3614b35a78ae7db3be6336c37ae547c2c4fa7731;hb=21c0144b2194f018832e93a3b6e112d3bd4852cb;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/editor/editorPrimaryToolbar.css b/LCARStrek/editor/editorPrimaryToolbar.css index 3614b35a..cb616ac8 100644 --- a/LCARStrek/editor/editorPrimaryToolbar.css +++ b/LCARStrek/editor/editorPrimaryToolbar.css @@ -1,293 +1,230 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape 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/NPL/ - * - * 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.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * 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 NPL, 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 NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#newButton - { - list-style-image : url("chrome://editor/skin/images/newfile.gif"); - } - -#newButton[disabled="true"], -#newButton[disabled="true"]:hover, -#newButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/newfile-disabled.gif"); - } - -#newButton:hover, -#newButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/newfile-hover.gif"); - } - -#openButton - { - list-style-image : url("chrome://editor/skin/images/openfile.gif"); - } - -#openButton[disabled="true"], -#openButton[disabled="true"]:hover, -#openButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/openfile-disabled.gif"); - } - -#openButton:hover, -#openButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/openfile-hover.gif"); - } - -#saveButton - { - list-style-image : url("chrome://editor/skin/images/savefile.gif"); - } - -#saveButton[disabled="true"], -#saveButton[disabled="true"]:hover, -#saveButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/savefile-disabled.gif"); - } - -#saveButton:hover, -#saveButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/savefile-hover.gif"); - } - -#saveButton[dirty="true"] - { - list-style-image : url("chrome://editor/skin/images/savefile-dirty.gif"); - } - -#saveButton[dirty="true"][disabled="true"], -#saveButton[dirty="true"][disabled="true"]:hover, -#saveButton[dirty="true"][disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/savefile-disabled.gif"); - } - -#saveButton[dirty="true"]:hover, -#saveButton[dirty="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/savefile-hover.gif"); - } - -#publishButton - { - list-style-image : url("chrome://editor/skin/images/publish.gif"); - } - -#publishButton[disabled="true"], -#publishButton[disabled="true"]:hover, -#publishButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/publish-disabled.gif"); - } - -#publishButton:hover, -#publishButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/publish-hover.gif"); - } - -#previewButton - { - list-style-image : url("chrome://editor/skin/images/preview.gif"); - } - -#previewButton[disabled="true"], -#previewButton[disabled="true"]:hover, -#previewButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/preview-disabled.gif"); - } - -#previewButton:hover, -#previewButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/preview-hover.gif"); - } - -#printButton - { - list-style-image : url("chrome://global/skin/print.gif"); - } - -#printButton[disabled="true"], -#printButton[disabled="true"]:hover, -#printButton[disabled="true"][buttonover="true"], -#printButton[disabled="true"][buttondown="true"] - { - list-style-image : url("chrome://global/skin/print-disabled.gif"); - } - -#printButton:hover, -#printButton[buttonover="true"], -#printButton[buttondown="true"], -#printButton[open="true"] - { - list-style-image : url("chrome://global/skin/print-hover.gif"); - } - -#findButton - { - list-style-image : url("chrome://editor/skin/images/find.gif"); - } - -#findButton[disabled="true"], -#findButton[disabled="true"]:hover, -#findButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/find-disabled.gif"); - } - -#findButton:hover, -#findButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/find-hover.gif"); - } - -#linkButton - { - list-style-image : url("chrome://editor/skin/images/link.gif"); - } - -#linkButton[disabled="true"], -#linkButton[disabled="true"]:hover, -#linkButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/link-disabled.gif"); - } - -#linkButton:hover, -#linkButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/link-hover.gif"); - } - -#imageButton - { - list-style-image : url("chrome://editor/skin/images/image.gif"); - } - -#imageButton[disabled="true"], -#imageButton[disabled="true"]:hover, -#imageButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/image-disabled.gif"); - } - -#imageButton:hover, -#imageButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/image-hover.gif"); - } - -#namedAnchorButton - { - list-style-image : url("chrome://editor/skin/images/anchor.gif"); - } - -#namedAnchorButton[disabled="true"], -#namedAnchorButton[disabled="true"]:hover, -#namedAnchorButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/anchor-disabled.gif"); - } - -#namedAnchorButton:hover, -#namedAnchorButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/anchor-hover.gif"); - } - -#hlineButton - { - list-style-image : url("chrome://editor/skin/images/hline.gif"); - } - -#hlineButton[disabled="true"], -#hlineButton[disabled="true"]:hover, -#hlineButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/hline-disabled.gif"); - } - -#hlineButton:hover, -#hlineButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/hline-hover.gif"); - } - -#tableButton - { - list-style-image : url("chrome://editor/skin/images/table.gif"); - } - -#tableButton[disabled="true"], -#tableButton[disabled="true"]:hover, -#tableButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/table-disabled.gif"); - } - -#tableButton:hover, -#tableButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/table-hover.gif"); - } - -#spellingButton - { - list-style-image : url("chrome://editor/skin/images/spell.gif"); - } - -#spellingButton[disabled="true"], -#spellingButton[disabled="true"]:hover, -#spellingButton[disabled="true"]:hover:active - { - list-style-image : url("chrome://editor/skin/images/spell-disabled.gif"); - } - -#spellingButton:hover, -#spellingButton:hover:active - { - list-style-image : url("chrome://editor/skin/images/spell-hover.gif"); - } +#newButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(84px 25px 105px 0px); +} + +#newButton[disabled="true"] { + -moz-image-region: rect(84px 50px 105px 25px); +} + +#newButton:not([disabled="true"]):hover, +#newButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(84px 75px 105px 50px) +} + +#openButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(105px 25px 126px 0px); +} + +#openButton[disabled="true"] { + -moz-image-region: rect(105px 50px 126px 25px); +} + +#openButton:not([disabled="true"]):hover, +#openButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(105px 75px 126px 50px) +} + +#saveButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(147px 25px 168px 0px); +} + +#saveButton[disabled="true"] { + -moz-image-region: rect(147px 50px 168px 25px); +} + +#saveButton:not([disabled="true"]):hover, +#saveButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(147px 75px 168px 50px) +} + +#publishButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(210px 25px 231px 0px); +} + +#publishButton[disabled="true"] { + -moz-image-region: rect(210px 50px 231px 25px); +} + +#publishButton:not([disabled="true"]):hover, +#publishButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(210px 75px 231px 50px) +} + +#previewButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(126px 25px 147px 0px); +} + +#previewButton[disabled="true"] { + -moz-image-region: rect(126px 50px 147px 25px); +} + +#previewButton:not([disabled="true"]):hover, +#previewButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(126px 75px 147px 50px) +} + +#printButton { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); +} + +#printButton[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +#printButton:not([disabled="true"]):hover, +#printButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(0px 75px 21px 50px) +} + +#findButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(294px 25px 315px 0px); +} + +#findButton[disabled="true"] { + -moz-image-region: rect(294px 50px 315px 25px); +} + +#findButton:not([disabled="true"]):hover, +#findButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(294px 75px 315px 50px) +} + +#linkButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(63px 25px 84px 0px); +} + +#linkButton[disabled="true"] { + -moz-image-region: rect(63px 50px 84px 25px); +} + +#linkButton:not([disabled="true"]):hover, +#linkButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(63px 75px 84px 50px) +} + +#imageButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(42px 25px 63px 0px); +} + +#imageButton[disabled="true"] { + -moz-image-region: rect(42px 50px 63px 25px); +} + +#imageButton:not([disabled="true"]):hover, +#imageButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(42px 75px 63px 50px) +} + +#namedAnchorButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); +} + +#namedAnchorButton[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +#namedAnchorButton:not([disabled="true"]):hover, +#namedAnchorButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(0px 75px 21px 50px) +} + +#hlineButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(21px 25px 42px 0px); +} + +#hlineButton[disabled="true"] { + -moz-image-region: rect(21px 50px 42px 25px); +} + +#hlineButton:not([disabled="true"]):hover, +#hlineButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(21px 75px 42px 50px) +} + +#tableButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(189px 25px 210px 0px); +} + +#tableButton[disabled="true"] { + -moz-image-region: rect(189px 50px 210px 25px); +} + +#tableButton:not([disabled="true"]):hover, +#tableButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(189px 75px 210px 50px) +} + +#spellingButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(168px 25px 189px 0px); +} + +#spellingButton[disabled="true"] { + -moz-image-region: rect(168px 50px 189px 25px); +} + +#spellingButton:not([disabled="true"]):hover, +#spellingButton:not([disabled="true"]):hover:active, +#spellingButton[open="true"] { + -moz-image-region: rect(168px 75px 189px 50px); +} + +#cutButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(231px 25px 252px 0px); +} + +#cutButton[disabled="true"] { + -moz-image-region: rect(231px 50px 252px 25px); +} + +#cutButton:not([disabled="true"]):hover, +#cutButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(231px 75px 251px 50px) +} + +#copyButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(252px 25px 273px 0px); +} + +#copyButton[disabled="true"] { + -moz-image-region: rect(252px 50px 273px 25px); +} + +#copyButton:not([disabled="true"]):hover, +#copyButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(252px 75px 273px 50px) +} + +#pasteButton { + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(273px 25px 294px 0px); +} + +#pasteButton[disabled="true"] { + -moz-image-region: rect(273px 50px 294px 25px); +} + +#pasteButton:not([disabled="true"]):hover, +#pasteButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(273px 75px 294px 50px) +}