From b9e269b5952e21c0e88d3abb3f3a0ca803d387be Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 27 Oct 2009 20:38:24 +0000 Subject: style voting badge git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@440 b3834d28-1941-0410-a4f8-b48e95affb8f --- www/scuttle.css | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'www/scuttle.css') diff --git a/www/scuttle.css b/www/scuttle.css index e014745..0275986 100644 --- a/www/scuttle.css +++ b/www/scuttle.css @@ -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 { -- cgit v1.2.3