]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
style voting badge
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 27 Oct 2009 20:38:24 +0000 (20:38 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 27 Oct 2009 20:38:24 +0000 (20:38 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@440 b3834d28-1941-0410-a4f8-b48e95affb8f

www/scuttle.css

index e0147456d6a9429b2c891a1d0039dd2c28d5d427..02759862a7cc73bab7c466d012ff746f4d3cf426 100644 (file)
@@ -247,6 +247,46 @@ li.xfolkentry div div.description span.anchorBookmark {
     /*font-family:monospace;*/
 }
 
+/* bookmark voting */
+.vote-badge {
+    float: left;
+    width: 3em;
+    margin: 5px;
+    border: 1px solid #CCCC88;
+    font-weight: bold;
+    border-radius: 10px;
+    -moz-border-radius: 10px;
+}
+.vote-badge span, .vote-badge a {
+    display: block;
+    text-align: center;
+}
+.vote-badge a:hover {
+    text-decoration: none;
+}
+.vote-for {
+    border-top-right-radius: 10px;
+    border-top-left-radius: 10px;
+    -moz-border-radius-topright: 10px;
+    -moz-border-radius-topleft: 10px;
+}
+.vote-against {
+    border-bottom-right-radius: 10px;
+    border-bottom-left-radius: 10px;
+    -moz-border-radius-bottomright: 10px;
+    -moz-border-radius-bottomleft: 10px;
+}
+a.vote-for:hover {
+    background-color: #ccffbb;
+}
+a.vote-against:hover {
+    background-color: #ffbbbb;
+}
+.vote-badge .vote-for-inactive, .vote-badge .vote-against-inactive {
+    font-size: 3px;
+    color: white;
+}
+
 /* SIDEBAR */
 
 div#sidebar {