/* ***** 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 {
  -moz-image-region: rect(120px 59px 149px 30px);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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