diff firefoxaddon/template/skin/overlay.css_tmpl @ 0:9869cf47fcf8 default tip

initial commit of Firefox addon template
author k0s <k0scist@gmail.com>
date Sun, 28 Mar 2010 16:25:58 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/firefoxaddon/template/skin/overlay.css_tmpl	Sun Mar 28 16:25:58 2010 -0400
@@ -0,0 +1,22 @@
+/* This is just an example.  You shouldn't do this. */
+#${package}-hello
+{
+  color: red ! important;
+}
+#${package}-toolbar-button
+{
+  list-style-image: url("chrome://${package}/skin/toolbar-button.png");
+  -moz-image-region: rect(0px 24px 24px 0px);
+}
+#${package}-toolbar-button:hover
+{
+  -moz-image-region: rect(24px 24px 48px  0px);
+}
+[iconsize="small"] #${package}-toolbar-button
+{
+  -moz-image-region: rect( 0px 40px 16px 24px);
+}
+[iconsize="small"] #${package}-toolbar-button:hover
+{
+  -moz-image-region: rect(24px 40px 40px 24px);
+}