/* ***** 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)
 *
 * 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/btn1.gif");
}

#newButton {
  -moz-image-region: rect(0 16px 16px 0);
}

#newButton:hover {
  -moz-image-region: rect(0 32px 16px 16px);
}

#newButton:hover:active {
  -moz-image-region: rect(0 48px 16px 32px);
}

#newButton[disabled="true"] {
  -moz-image-region: rect(0 64px 16px 48px) !important;
}

#openButton {
  -moz-image-region: rect(48px 16px 64px 0);
}

#openButton:hover {
  -moz-image-region: rect(48px 32px 64px 16px);
}

#openButton:hover:active {
  -moz-image-region: rect(48px 48px 64px 32px);
}

#openButton[disabled="true"] {
  -moz-image-region: rect(148px 64px 64px 48px) !important;
}

#saveButton {
  -moz-image-region: rect(80px 16px 96px 0);
}

#saveButton:hover {
  -moz-image-region: rect(80px 32px 96px 16px);
}

#saveButton:hover:active {
  -moz-image-region: rect(80px 48px 96px 32px);
}

#saveButton[disabled="true"] {
  -moz-image-region: rect(80px 64px 96px 48px) !important;
}

#publishButton {
  -moz-image-region: rect(176px 16px 192px 0);
}

#publishButton:hover {
  -moz-image-region: rect(176px 32px 192px 16px);
}

#publishButton:hover:active {
  -moz-image-region: rect(176px 48px 192px 32px);
}

#publishButton[disabled="true"] {
  -moz-image-region: rect(176px 64px 192px 48px) !important;
}

#previewButton {
  -moz-image-region: rect(64px 16px 80px 0);
}

#previewButton:hover {
  -moz-image-region: rect(64px 32px 80px 16px);
}

#previewButton:hover:active {
  -moz-image-region: rect(64px 48px 80px 32px);
}

#previewButton[disabled="true"] {
  -moz-image-region: rect(64px 64px 80px 48px) !important;
}

#printButton {
  -moz-image-region: rect(160px 16px 176px 0);
}

#printButton:hover {
  -moz-image-region: rect(160px 32px 176px 16px);
}

#printButton:hover:active {
  -moz-image-region: rect(160px 48px 176px 32px);
}

#printButton[disabled="true"] {
  -moz-image-region: rect(160px 64px 176px 48px) !important;
}

#linkButton {
  -moz-image-region: rect(16px 16px 32px 0);
}

#linkButton:hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}

#linkButton:hover:active {
  -moz-image-region: rect(16px 48px 32px 32px);
}

#linkButton[disabled="true"] {
  -moz-image-region: rect(16px 64px 32px 48px) !important;
}

#imageButton {
  -moz-image-region: rect(144px 16px 160px 0);
}

#imageButton:hover {
  -moz-image-region: rect(144px 32px 160px 16px);
}

#imageButton:hover:active {
  -moz-image-region: rect(144px 48px 160px 32px);
}

#imageButton[disabled="true"] {
  -moz-image-region: rect(144px 64px 160px 48px) !important;
}

#namedAnchorButton {
  -moz-image-region: rect(128px 16px 144px 0);
}

#namedAnchorButton:hover {
  -moz-image-region: rect(128px 32px 144px 16px);
}

#namedAnchorButton:hover:active {
  -moz-image-region: rect(128px 48px 144px 32px);
}

#namedAnchorButton[disabled="true"] {
  -moz-image-region: rect(128px 64px 144px 48px) !important;
}

#hlineButton {
  -moz-image-region: rect(32px 16px 48px 0);
}

#hlineButton:hover {
  -moz-image-region: rect(32px 32px 48px 16px);
}

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

#hlineButton[disabled="true"] {
  -moz-image-region: rect(32px 64px 48px 48px) !important;
}

#tableButton {
  -moz-image-region: rect(112px 16px 128px 0);
}

#tableButton:hover {
  -moz-image-region: rect(112px 32px 128px 16px);
}

#tableButton:hover:active {
  -moz-image-region: rect(112px 48px 128px 32px);
}

#tableButton[disabled="true"] {
  -moz-image-region: rect(112px 64px 128px 48px) !important;
}

#spellingButton {
  -moz-image-region: rect(96px 16px 112px 0);
}

#spellingButton:hover {
  -moz-image-region: rect(96px 32px 112px 16px);
}

#spellingButton:hover:active {
  -moz-image-region: rect(96px 48px 112px 32px);
}

#spellingButton[disabled="true"] {
  -moz-image-region: rect(96px 64px 112px 48px) !important;
}

#cutButton {
  -moz-image-region: rect(192px 16px 208px 0);
}

#cutButton:hover {
  -moz-image-region: rect(192px 32px 208px 16px);
}

#cutButton:hover:active {
  -moz-image-region: rect(192px 48px 208px 32px);
}

#cutButton[disabled="true"] {
  -moz-image-region: rect(192px 64px 208px 48px) !important;
}

#copyButton {
  -moz-image-region: rect(208px 16px 224px 0);
}

#copyButton:hover {
  -moz-image-region: rect(208px 32px 224px 16px);
}

#copyButton:hover:active {
  -moz-image-region: rect(208px 48px 224px 32px);
}

#copyButton[disabled="true"] {
  -moz-image-region: rect(208px 64px 224px 48px) !important;
}

#pasteButton {
  -moz-image-region: rect(224px 16px 240px 0);
}

#pasteButton:hover {
  -moz-image-region: rect(224px 32px 240px 16px);
}

#pasteButton:hover:active {
  -moz-image-region: rect(224px 48px 240px 32px);
}

#pasteButton[disabled="true"] {
  -moz-image-region: rect(224px 64px 240px 48px) !important;
}

#findButton {
  -moz-image-region: rect(240px 16px 256px 0);
}

#findButton:hover {
  -moz-image-region: rect(240px 32px 256px 16px);
}

#findButton:hover:active {
  -moz-image-region: rect(240px 48px 256px 32px);
}

#findButton[disabled="true"] {
  -moz-image-region: rect(240px 64px 256px 48px) !important;
}

#formButton {
  -moz-image-region: rect(256px 16px 272px 0);
}

#formButton:hover {
  -moz-image-region: rect(256px 32px 272px 16px);
}

#formButton:hover:active {
  -moz-image-region: rect(256px 48px 272px 32px);
}

#formButton[disabled="true"] {
  -moz-image-region: rect(256px 64px 272px 48px) !important;
}
