]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
add horizontal voting styles
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 2 Nov 2009 09:37:14 +0000 (09:37 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 2 Nov 2009 09:37:14 +0000 (09:37 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@497 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks.tpl.php
www/scuttle.css

index 0e49e03cfa43bf513911914746251591363771d5..d0b5dff082efb443d4aca6fb725f70a83e026694 100644 (file)
@@ -343,6 +343,7 @@ if($currenttag!= '') {
 
                echo '<div class="meta">'.  $cats . $copy . $edit . $update ."</div>\n";
                echo $privateNoteField!=''?'<div class="privateNote" title="'. T_('Private Note on this bookmark') .'">'.$privateNoteField."</div>\n":'';
+        include 'bookmarks-vote-horizontal.inc.tpl.php';
                echo '</div>';
 
                echo "</li>\n";
index e8051bcc78d96f1690f751149d051d9837a400ce..e7fbf811772ee1efba4856f98359470793363142 100644 (file)
@@ -264,22 +264,22 @@ li.xfolkentry div div.description span.anchorBookmark {
 .vote-badge a:hover {
     text-decoration: none;
 }
-.vote-for {
+.vote-badge .vote-for {
     /*border-top-right-radius: 10px;*/
     /*border-top-left-radius: 10px;*/
     -moz-border-radius-topright: 10px;
     -moz-border-radius-topleft: 10px;
 }
-.vote-against {
+.vote-badge .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 {
+.vote-badge a.vote-for:hover {
     background-color: #ccffbb;
 }
-a.vote-against:hover {
+.vote-badge a.vote-against:hover {
     background-color: #ffcccc;
 }
 .vote-badge .vote-for-inactive, .vote-badge .vote-against-inactive {
@@ -293,6 +293,26 @@ a.vote-against:hover {
     background-color: #ffcccc;
 }
 
+/* bookmark voting horizontal */
+div.vote-horiz .voting {
+    font-weight: bold;
+}
+li.xfolkentry div.vote-horiz-for {
+    border-left: 1em solid #ccffbb;
+    padding-left: 0.5em;
+}
+li.xfolkentry div.vote-horiz-against {
+    border-left: 1em solid #ffcccc;
+    padding-left: 0.5em;
+}
+.vote-horiz a.vote-for:hover {
+    background-color: #ccffbb;
+}
+.vote-horiz a.vote-against:hover {
+    background-color: #ffcccc;
+}
+
+
 /* SIDEBAR */
 
 div#sidebar {