[extensions-web: 15/75] Make uninstalled button a bit prettier.



commit 6267083a25073a7c487d88b68ee5226c23cb48e6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 13 17:12:32 2011 -0400

    Make uninstalled button a bit prettier.

 sweettooth/static/css/sweettooth.css     |   18 ++++++++++++++++++
 sweettooth/static/images/edit-delete.png |  Bin 0 -> 2100 bytes
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/css/sweettooth.css b/sweettooth/static/css/sweettooth.css
index c616df1..3578f69 100644
--- a/sweettooth/static/css/sweettooth.css
+++ b/sweettooth/static/css/sweettooth.css
@@ -192,6 +192,24 @@ li.extension {
     display: none;
 }
 
+.extension .uninstall {
+    text-indent: -9999em;
+    border: none;
+    padding: 0;
+
+    background-color: transparent;
+    background-image: url(../images/edit-delete.png);
+
+    display: block;
+    position: absolute;
+    top: 0;
+    right: 0;
+    margin-top: 0.8em;
+    cursor: pointer;
+    width: 32px;
+    height: 32px;
+}
+
 /* Comments */
 /* ==================================================================== */
 
diff --git a/sweettooth/static/images/edit-delete.png b/sweettooth/static/images/edit-delete.png
new file mode 100644
index 0000000..72a1507
Binary files /dev/null and b/sweettooth/static/images/edit-delete.png differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]