add horizontal voting styles
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@497 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
77f21adb83
commit
b622fda3ad
2 changed files with 25 additions and 4 deletions
|
@ -343,6 +343,7 @@ if($currenttag!= '') {
|
||||||
|
|
||||||
echo '<div class="meta">'. $cats . $copy . $edit . $update ."</div>\n";
|
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":'';
|
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 '</div>';
|
||||||
|
|
||||||
echo "</li>\n";
|
echo "</li>\n";
|
||||||
|
|
|
@ -264,22 +264,22 @@ li.xfolkentry div div.description span.anchorBookmark {
|
||||||
.vote-badge a:hover {
|
.vote-badge a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.vote-for {
|
.vote-badge .vote-for {
|
||||||
/*border-top-right-radius: 10px;*/
|
/*border-top-right-radius: 10px;*/
|
||||||
/*border-top-left-radius: 10px;*/
|
/*border-top-left-radius: 10px;*/
|
||||||
-moz-border-radius-topright: 10px;
|
-moz-border-radius-topright: 10px;
|
||||||
-moz-border-radius-topleft: 10px;
|
-moz-border-radius-topleft: 10px;
|
||||||
}
|
}
|
||||||
.vote-against {
|
.vote-badge .vote-against {
|
||||||
/*border-bottom-right-radius: 10px;*/
|
/*border-bottom-right-radius: 10px;*/
|
||||||
/*border-bottom-left-radius: 10px;*/
|
/*border-bottom-left-radius: 10px;*/
|
||||||
-moz-border-radius-bottomright: 10px;
|
-moz-border-radius-bottomright: 10px;
|
||||||
-moz-border-radius-bottomleft: 10px;
|
-moz-border-radius-bottomleft: 10px;
|
||||||
}
|
}
|
||||||
a.vote-for:hover {
|
.vote-badge a.vote-for:hover {
|
||||||
background-color: #ccffbb;
|
background-color: #ccffbb;
|
||||||
}
|
}
|
||||||
a.vote-against:hover {
|
.vote-badge a.vote-against:hover {
|
||||||
background-color: #ffcccc;
|
background-color: #ffcccc;
|
||||||
}
|
}
|
||||||
.vote-badge .vote-for-inactive, .vote-badge .vote-against-inactive {
|
.vote-badge .vote-for-inactive, .vote-badge .vote-against-inactive {
|
||||||
|
@ -293,6 +293,26 @@ a.vote-against:hover {
|
||||||
background-color: #ffcccc;
|
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 */
|
/* SIDEBAR */
|
||||||
|
|
||||||
div#sidebar {
|
div#sidebar {
|
||||||
|
|
Loading…
Reference in a new issue