[extensions-web] Use CSS to format extension list separators.



commit 88dee720db1a4b3fd3bc62d0dbb65cbd8b8b3442
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 27 17:37:34 2011 -0400

    Use CSS to format extension list separators.

 .../extensions/templates/extensions/list.html      |    1 -
 sweettooth/static/css/sweettooth.css               |    7 +++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/list.html b/sweettooth/extensions/templates/extensions/list.html
index 8339305..82026b5 100644
--- a/sweettooth/extensions/templates/extensions/list.html
+++ b/sweettooth/extensions/templates/extensions/list.html
@@ -13,7 +13,6 @@
       <p class="description">
         {{ extension.description }}
       </p>
-      <hr>
     </li>
   {% endwith %}
   {% endfor %}
diff --git a/sweettooth/static/css/sweettooth.css b/sweettooth/static/css/sweettooth.css
index 9aab633..c75717d 100644
--- a/sweettooth/static/css/sweettooth.css
+++ b/sweettooth/static/css/sweettooth.css
@@ -133,6 +133,13 @@ li.extension {
     list-style-type: none;
     list-style-position: inner;
     margin-left: 0px;
+
+    border-bottom: 1px solid #ccc;
+    border-bottom-color: rgba(0, 0, 0, 0.2);
+}
+
+li.extension:last-child {
+    border-bottom: 0;
 }
 
 .extension {



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