/* 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");

/* ::::: primary toolbar masthead ::::: */

#EditToolbar > .toolbar-holder > .toolbar-primary-icon {
  background-image: url("chrome://editor/skin/icons/mast-editor.gif");
  width: 57px;
}

.toolbar-primary-icon {
  width: 57px;
}

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

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

.toolbarseparator-primary {
  width: 9px !important;
}

#newButton {
  -moz-image-region: rect(136px 49px 169px 0);
}

#newButton:hover {
  -moz-image-region: rect(136px 99px 169px 50px);
}

#newButton:hover:active {
  -moz-image-region: rect(136px 149px 169px 100px);
}

#newButton[disabled="true"] {
  -moz-image-region: rect(136px 199px 169px 150px) !important;
}

#openButton {
  -moz-image-region: rect(170px 49px 203px 0);
}

#openButton:hover {
  -moz-image-region: rect(170px 99px 203px 50px);
}

#openButton:hover:active {
  -moz-image-region: rect(170px 149px 203px 100px);
}

#openButton[disabled="true"] {
  -moz-image-region: rect(170px 199px 203px 150px) !important;
}

#saveButton {
  -moz-image-region: rect(238px 49px 271px 0);
}

#saveButton:hover {
  -moz-image-region: rect(238px 99px 271px 50px);
}

#saveButton:hover:active {
  -moz-image-region: rect(238px 149px 271px 100px);
}

#saveButton[disabled="true"] {
  -moz-image-region: rect(238px 199px 271px 150px) !important;
}

#publishButton {
  -moz-image-region: rect(340px 49px 373px 0);
}

#publishButton:hover {
  -moz-image-region: rect(340px 99px 373px 50px);
}

#publishButton:hover:active {
  -moz-image-region: rect(340px 149px 373px 100px);
}

#publishButton[disabled="true"] {
  -moz-image-region: rect(340px 199px 373px 150px) !important;
}

#previewButton {
  -moz-image-region: rect(204px 49px 237px 0);
}

#previewButton:hover {
  -moz-image-region: rect(204px 99px 237px 50px);
}

#previewButton:hover:active {
  -moz-image-region: rect(204px 149px 237px 100px);
}

#previewButton[disabled="true"] {
  -moz-image-region: rect(204px 199px 237px 150px) !important;
}

#linkButton {
  -moz-image-region: rect(102px 49px 135px 0);
}

#linkButton:hover {
  -moz-image-region: rect(102px 99px 135px 50px);
}

#linkButton:hover:active {
  -moz-image-region: rect(102px 149px 135px 100px);
}

#linkButton[disabled="true"] {
  -moz-image-region: rect(102px 199px 135px 150px) !important;
}

#imageButton {
  -moz-image-region: rect(68px 49px 101px 0);
}

#imageButton:hover {
  -moz-image-region: rect(68px 99px 101px 50px);
}

#imageButton:hover:active {
  -moz-image-region: rect(68px 149px 101px 100px);
}

#imageButton[disabled="true"] {
  -moz-image-region: rect(68px 199px 101px 150px) !important;
}

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

#namedAnchorButton:hover {
  -moz-image-region: rect(0 99px 33px 50px);
}

#namedAnchorButton:hover:active {
  -moz-image-region: rect(0 149px 33px 100px);
}

#namedAnchorButton[disabled="true"] {
  -moz-image-region: rect(0 199px 33px 150px) !important;
}

#hlineButton {
  -moz-image-region: rect(34px 49px 67px 0);
}

#hlineButton:hover {
  -moz-image-region: rect(34px 99px 67px 50px);
}

#hlineButton:hover:active {
  -moz-image-region: rect(34px 149px 67px 100px);
}

#hlineButton[disabled="true"] {
  -moz-image-region: rect(34px 199px 67px 150px) !important;
}

#tableButton {
  -moz-image-region: rect(306px 49px 339px 0);
}

#tableButton:hover {
  -moz-image-region: rect(306px 99px 339px 50px);
}

#tableButton:hover:active {
  -moz-image-region: rect(306px 149px 339px 100px);
}

#tableButton[disabled="true"] {
  -moz-image-region: rect(306px 199px 339px 150px) !important;
}

#spellingButton {
  -moz-image-region: rect(272px 49px 305px 0);
}

#spellingButton:hover {
  -moz-image-region: rect(272px 99px 305px 50px);
}

#spellingButton:hover:active {
  -moz-image-region: rect(272px 149px 305px 100px);
}

#spellingButton[disabled="true"] {
  -moz-image-region: rect(272px 199px 305px 150px) !important;
}


#cutButton {
  -moz-image-region: rect(374px 49px 407px 0);
}

#cutButton:hover {
  -moz-image-region: rect(374px 99px 407px 50px);
}

#cutButton:hover:active {
  -moz-image-region: rect(374px 149px 407px 100px);
}

#cutButton[disabled="true"] {
  -moz-image-region: rect(374px 199px 407px 150px) !important;
}

#copyButton {
  -moz-image-region: rect(408px 49px 441px 0);
}

#copyButton:hover {
  -moz-image-region: rect(408px 99px 441px 50px);
}

#copyButton:hover:active {
  -moz-image-region: rect(408px 149px 441px 100px);
}

#copyButton[disabled="true"] {
  -moz-image-region: rect(408px 199px 441px 150px) !important;
}

#pasteButton {
  -moz-image-region: rect(442px 49px 475px 0);
}

#pasteButton:hover {
  -moz-image-region: rect(442px 99px 475px 50px);
}

#pasteButton:hover:active {
  -moz-image-region: rect(442px 149px 475px 100px);
}

#pasteButton[disabled="true"] {
  -moz-image-region: rect(442px 199px 475px 150px) !important;
}

#findButton {
  -moz-image-region: rect(476px 49px 509px 0);
}

#findButton:hover {
  -moz-image-region: rect(476px 99px 509px 50px);
}

#findButton:hover:active {
  -moz-image-region: rect(476px 149px 509px 100px);
}

#findButton[disabled="true"] {
  -moz-image-region: rect(476px 199px 509px 150px) !important;
}

