X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Feditor%2FeditorPrimaryToolbar.css;h=3aad0c31db1bafa885032be6bf904392fa8cc315;hp=c7917be56f1e8b62312e857baec1ec32e1616d63;hb=b2c22e16028356f3685110af18e2e39da48ddb8c;hpb=74d14f90a7085ce7d63f78d6124b57e9a8422d3f diff --git a/EarlyBlue/editor/editorPrimaryToolbar.css b/EarlyBlue/editor/editorPrimaryToolbar.css index c7917be5..3aad0c31 100644 --- a/EarlyBlue/editor/editorPrimaryToolbar.css +++ b/EarlyBlue/editor/editorPrimaryToolbar.css @@ -1,154 +1,149 @@ -/* ***** 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/icons/newfile.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(84px 25px 105px 0px); } #newButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; + -moz-image-region: rect(84px 50px 105px 25px); } #openButton { - list-style-image: url("chrome://editor/skin/icons/openfile.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(105px 25px 126px 0px); } #openButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; + -moz-image-region: rect(105px 50px 126px 25px); } #saveButton { - list-style-image: url("chrome://editor/skin/icons/savefile.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(147px 25px 168px 0px); } #saveButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; + -moz-image-region: rect(147px 50px 168px 25px); } -#saveButton[dirty="true"] { - list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); -} - -#saveButton[dirty="true"][disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; -} - -/* #publishButton { - list-style-image: url("chrome://editor/skin/icons/publish.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(210px 25px 231px 0px); } #publishButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; + -moz-image-region: rect(210px 50px 231px 25px); } -*/ #previewButton { - list-style-image: url("chrome://editor/skin/icons/preview.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(126px 25px 147px 0px); } #previewButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; + -moz-image-region: rect(126px 50px 147px 25px); } #printButton { - list-style-image: url("chrome://global/skin/icons/print.gif"); + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); } #printButton[disabled="true"] { - list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; + -moz-image-region: rect(0px 50px 21px 25px); } -/* #findButton { - list-style-image: url("chrome://editor/skin/icons/find.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(294px 25px 315px 0px); } #findButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; + -moz-image-region: rect(294px 50px 315px 25px); } -*/ #linkButton { - list-style-image: url("chrome://editor/skin/icons/link.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(63px 25px 84px 0px); } #linkButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; + -moz-image-region: rect(63px 50px 84px 25px); } #imageButton { - list-style-image: url("chrome://editor/skin/icons/image.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(42px 25px 63px 0px); } #imageButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; + -moz-image-region: rect(42px 50px 63px 25px); } #namedAnchorButton { - list-style-image: url("chrome://editor/skin/icons/anchor.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); } #namedAnchorButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; + -moz-image-region: rect(0px 50px 21px 25px); } #hlineButton { - list-style-image: url("chrome://editor/skin/icons/hline.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(21px 25px 42px 0px); } #hlineButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; + -moz-image-region: rect(21px 50px 42px 25px); } #tableButton { - list-style-image: url("chrome://editor/skin/icons/table.gif"); + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(189px 25px 210px 0px); } #tableButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; + -moz-image-region: rect(189px 50px 210px 25px); } #spellingButton { - list-style-image: url("chrome://editor/skin/icons/spell.gif"); -} + list-style-image: url("chrome://editor/skin/icons/editoricons.png"); + -moz-image-region: rect(168px 25px 189px 0px); +} #spellingButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; + -moz-image-region: rect(168px 50px 189px 25px); +} + +#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); +} + +#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); +} + +#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); }