mozdev.org

Mozile (xhtml editing in your browser)    

resources:
Overview

extension.css

Summary

CSS rules for the Mozile Extension.

Version: 0.7

Author: James A. Overton


/* ***** BEGIN LICENSE BLOCK *****
 * Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
 * Full Terms at http://mozile.mozdev.org/license2.html
 *
 * 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 James A. Overton's code (james@overton.ca).
 *
 * The Initial Developer of the Original Code is James A. Overton.
 * Portions created by the Initial Developer are Copyright (C) 2005-2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *	James A. Overton <james@overton.ca>
 *
 * ***** END LICENSE BLOCK ***** */

/** 
 * @fileoverview CSS rules for the Mozile Extension.
 * @link http://mozile.mozdev.org 
 * @author James A. Overton <james@overton.ca>
 * @version 0.7
 */


/* Special "Edit This" button in toolbar palette */
/*#mozileEditButton {
}*/
#mozileEditButton {
  list-style-image: url("chrome://mozile/content/images/Mozile9-32.png");
  -moz-image-region: rect(0px 32px 32px 0px);
	-moz-box-orient: horizontal;
}


/* 32px Icon, used for Mac Large */
toolbar[iconpx="32"] #mozileEditButton {
  list-style-image: url("chrome://mozile/content/images/Mozile9-32.png") !important;
  -moz-image-region: rect(0px 32px 32px 0px) !important;
}
toolbar[iconpx="32"] #mozileEditButton[disabled="true"] {
  -moz-image-region: rect(0px 96px 32px 64px) !important;
}

/* Edit Mode */
toolbar[iconpx="32"] #mozileEditButton[status="editing"] {
  -moz-image-region: rect(32px 32px 64px 0px) !important;
}
toolbar[iconpx="32"] #mozileEditButton[next="editing"]:hover {
  -moz-image-region: rect(32px 32px 64px 0px) !important;
}
toolbar[iconpx="32"] #mozileEditButton[next="editing"]:active {
  -moz-image-region: rect(32px 64px 64px 32px) !important;
}

/* Enhance Mode */
toolbar[iconpx="32"] #mozileEditButton[status="enhanced"] {
  -moz-image-region: rect(64px 32px 96px 0px) !important;
}
toolbar[iconpx="32"] #mozileEditButton[next="enhanced"]:hover {
  -moz-image-region: rect(64px 32px 96px 0px) !important;
}
toolbar[iconpx="32"] #mozileEditButton[next="enhanced"]:active {
  -moz-image-region: rect(64px 64px 96px 32px) !important;
}


/* 24px Icon, used for Mac Small, Other Large */
toolbar[iconpx="24"] #mozileEditButton {
  list-style-image: url("chrome://mozile/content/images/Mozile9-24.png") !important;
  -moz-image-region: rect(0px 24px 24px 0px) !important;
}
toolbar[iconpx="24"] #mozileEditButton[disabled="true"] {
  -moz-image-region: rect(0px 72px 24px 48px) !important;
}

/* Edit Mode */
toolbar[iconpx="24"] #mozileEditButton[status="editing"] {
  -moz-image-region: rect(24px 24px 48px 0px) !important;
}
toolbar[iconpx="24"] #mozileEditButton[next="editing"]:hover {
  -moz-image-region: rect(24px 24px 48px 0px) !important;
}
toolbar[iconpx="24"] #mozileEditButton[next="editing"]:active {
  -moz-image-region: rect(24px 48px 48px 24px) !important;
}

/* Enhance Mode */
toolbar[iconpx="24"] #mozileEditButton[status="enhanced"] {
  -moz-image-region: rect(48px 24px 72px 0px) !important;
}
toolbar[iconpx="24"] #mozileEditButton[next="enhanced"]:hover {
  -moz-image-region: rect(48px 24px 72px 0px) !important;
}
toolbar[iconpx="24"] #mozileEditButton[next="enhanced"]:active {
  -moz-image-region: rect(48px 48px 72px 24px) !important;
}


/* 16px Icon, use for Other Small */
toolbar[iconpx="16"] #mozileEditButton {
  list-style-image: url("chrome://mozile/content/images/Mozile9-16.png") !important;
  -moz-image-region: rect(0px 16px 16px 0px) !important;
}
toolbar[iconpx="16"] #mozileEditButton[disabled="true"] {
  -moz-image-region: rect(0px 48px 16px 32px) !important;
}

/* Edit Mode */
toolbar[iconpx="16"] #mozileEditButton[status="editing"] {
  -moz-image-region: rect(16px 16px 32px 0px) !important;
}
toolbar[iconpx="16"] #mozileEditButton[next="editing"]:hover {
  -moz-image-region: rect(16px 16px 32px 0px) !important;
}
toolbar[iconpx="16"] #mozileEditButton[next="editing"]:active {
  -moz-image-region: rect(16px 32px 32px 16px) !important;
}

/* Enhance Mode */
toolbar[iconpx="16"] #mozileEditButton[status="enhanced"] {
  -moz-image-region: rect(32px 16px 48px 0px) !important;
}
toolbar[iconpx="16"] #mozileEditButton[next="enhanced"]:hover {
  -moz-image-region: rect(32px 16px 48px 0px) !important;
}
toolbar[iconpx="16"] #mozileEditButton[next="enhanced"]:active {
  -moz-image-region: rect(32px 32px 48px 16px) !important;
}



Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2019. All rights reserved. Terms of Use & Privacy Policy.