diff --git a/firefox-extension/content/svg-edit-overlay.css b/firefox-extension/content/svg-edit-overlay.css new file mode 100644 index 00000000..4b7e9b54 --- /dev/null +++ b/firefox-extension/content/svg-edit-overlay.css @@ -0,0 +1,21 @@ +#svg-edit-statusbar-button { + list-style-image: url("chrome://svg-edit/content/editor/images/logo.png"); + display: -moz-box; + /*-moz-image-region: rect(16px, 16px, 32px, 0px);*/ + padding-left: 0px; + padding-right: 0px; + width: 16px; + height: 16px; + +} + +#svg-edit-statusbar-button[state="active"] { + list-style-image: url("chrome://svg-edit/content/editor/images/logo.png"); + -moz-image-region: rect(32px, 16px, 48px, 0px); +} + +#svg-edit-statusbar-button[state="error"] { + list-style-image: url("chrome://svg-edit/content/editor/images/logo.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + diff --git a/firefox-extension/content/svg-edit-overlay.xul b/firefox-extension/content/svg-edit-overlay.xul index d159048c..08fdd887 100644 --- a/firefox-extension/content/svg-edit-overlay.xul +++ b/firefox-extension/content/svg-edit-overlay.xul @@ -1,4 +1,7 @@ + + + @@ -11,4 +14,12 @@ oncommand="start_svg_edit();" /> + + + + +