/* ***** 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 Communicator client code, released
 * March 31, 1998.
 *
 * The Initial Developer of the Original Code is
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 1998-2001
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Joe Hewitt (hewitt@netscape.com)
 *   Patrick Thompson (sailfish@unforgettable.com)
 *   Manuel Reimer (Manuel.Reimer@gmx.de)
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either of 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 ***** */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: primary toolbar buttons ::::: */

.toolbarbutton-1 {
  list-style-image: url("chrome://editor/skin/icons/editoricons.png");
}

#newButton {
  -moz-image-region: rect(120px 29px 149px 0);
}

#newButton:hover:active {
  -moz-image-region: rect(120px 59px 149px 30px);
}

#newButton[disabled="true"] {
  -moz-image-region: rect(120px 89px 149px 60px) !important;
}

#openButton {
  -moz-image-region: rect(150px 29px 179px 0);
}

#openButton:hover:active {
  -moz-image-region: rect(150px 59px 179px 30px);
}

#openButton[disabled="true"] {
  -moz-image-region: rect(150px 89px 179px 60px) !important;
}

#saveButton {
  -moz-image-region: rect(210px 29px 239px 0);
}

#saveButton:hover:active {
  -moz-image-region: rect(210px 59px 239px 30px);
}

#saveButton[disabled="true"] {
  -moz-image-region: rect(210px 89px 239px 60px) !important;
}

#publishButton {
  -moz-image-region: rect(300px 29px 329px 0);
}

#publishButton:hover:active {
  -moz-image-region: rect(300px 59px 329px 30px);
}

#publishButton[disabled="true"] {
  -moz-image-region: rect(300px 89px 329px 60px) !important;
}

#previewButton {
  -moz-image-region: rect(180px 29px 209px 0);
}

#previewButton:hover:active {
  -moz-image-region: rect(180px 59px 209px 30px);
}

#previewButton[disabled="true"] {
  -moz-image-region: rect(180px 89px 209px 60px) !important;
}

#linkButton {
  -moz-image-region: rect(90px 29px 119px 0);
}

#linkButton:hover:active {
  -moz-image-region: rect(90px 59px 119px 30px);
}

#linkButton[disabled="true"] {
  -moz-image-region: rect(90px 89px 119px 60px) !important;
}

#imageButton {
  -moz-image-region: rect(60px 29px 89px 0);
}

#imageButton:hover:active {
  -moz-image-region: rect(60px 59px 89px 30px);
}

#imageButton[disabled="true"] {
  -moz-image-region: rect(60px 89px 89px 60px) !important;
}

#namedAnchorButton {
  -moz-image-region: rect(0 29px 29px 0);
}

#namedAnchorButton:hover:active {
  -moz-image-region: rect(0 59px 29px 30px);
}

#namedAnchorButton[disabled="true"] {
  -moz-image-region: rect(0 89px 29px 60px) !important;
}

#hlineButton {
  -moz-image-region: rect(30px 29px 59px 0);
}

#hlineButton:hover:active {
  -moz-image-region: rect(30px 59px 59px 30px);
}

#hlineButton[disabled="true"] {
  -moz-image-region: rect(30px 89px 59px 60px) !important;
}

#tableButton {
  -moz-image-region: rect(270px 29px 299px 0);
}

#tableButton:hover:active {
  -moz-image-region: rect(270px 59px 299px 30px);
}

#tableButton[disabled="true"] {
  -moz-image-region: rect(270px 89px 299px 60px) !important;
}

#spellingButton {
  -moz-image-region: rect(240px 29px 269px 0);
}

#spellingButton:hover:active {
  -moz-image-region: rect(240px 59px 269px 30px);
}

#spellingButton[disabled="true"] {
  -moz-image-region: rect(240px 89px 269px 60px) !important;
}

#cutButton {
  -moz-image-region: rect(330px 29px 359px 0);
}

#cutButton:hover:active {
  -moz-image-region: rect(330px 59px 359px 30px);
}

#cutButton[disabled="true"] {
  -moz-image-region: rect(330px 89px 359px 60px) !important;
}

#copyButton {
  -moz-image-region: rect(360px 29px 389px 0);
}

#copyButton:hover:active {
  -moz-image-region: rect(360px 59px 389px 30px);
}

#copyButton[disabled="true"] {
  -moz-image-region: rect(360px 89px 389px 60px) !important;
}

#pasteButton {
  -moz-image-region: rect(390px 29px 419px 0);
}

#pasteButton:hover:active {
  -moz-image-region: rect(390px 59px 419px 30px);
}

#pasteButton[disabled="true"] {
  -moz-image-region: rect(390px 89px 419px 60px) !important;
}

#findButton {
  -moz-image-region: rect(420px 29px 449px 0);
}

#findButton:hover:active {
  -moz-image-region: rect(420px 59px 449px 30px);
}

#findButton[disabled="true"] {
  -moz-image-region: rect(420px 89px 449px 60px) !important;
}

