RetroZilla/themes/modern/editor/editorPrimaryToolbar.css
2015-10-20 23:03:22 -04:00

319 lines
7.2 KiB
CSS

/* ***** 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.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):
* Joe Hewitt <hewitt@netscape.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 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;
}
#printButton {
list-style-image: url("chrome://communicator/skin/icons/btn1.gif");
-moz-image-region: rect(34px 49px 67px 0);
}
#printButton:hover {
-moz-image-region: rect(34px 99px 67px 50px);
}
#printButton:hover:active {
-moz-image-region: rect(34px 149px 67px 100px);
}
#printButton[disabled="true"] {
-moz-image-region: rect(34px 199px 67px 150px);
}
#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;
}