Skip to content

Instantly share code, notes, and snippets.

@joubertnel
Created March 7, 2011 22:54
Show Gist options
  • Save joubertnel/859438 to your computer and use it in GitHub Desktop.
Save joubertnel/859438 to your computer and use it in GitHub Desktop.
Diff of SC.BaseTheme.imageButtonRenderDelegate and the corresponding CSS file
diff --git a/themes/ace/resources/button/ace/button.css b/themes/ace/resources/button/ace/button.css
index 6934b86..4d3b2eb 100644
--- a/themes/ace/resources/button/ace/button.css
+++ b/themes/ace/resources/button/ace/button.css
@@ -26,3 +26,16 @@ $theme.button {
margin-top: 0px;
}
}
+
+
+$theme.image-button {
+ border: 0px none;
+
+ .img {
+ position:absolute;
+ left: 0px;
+ top: 0px;
+ right: 0px;
+ bottom: 0px;
+ }
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment