diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-27 20:38:24 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-27 20:38:24 +0000 |
commit | b9e269b5952e21c0e88d3abb3f3a0ca803d387be (patch) | |
tree | 636bef92743d6eefb04318baaa8c8f02042d61ed /www | |
parent | a5dae49520e7f4d7c42364c1be9907504c29b9c1 (diff) | |
download | semanticscuttle-b9e269b5952e21c0e88d3abb3f3a0ca803d387be.tar.gz semanticscuttle-b9e269b5952e21c0e88d3abb3f3a0ca803d387be.tar.bz2 |
style voting badge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@440 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www')
-rw-r--r-- | www/scuttle.css | 40 |
1 files changed, 40 insertions, 0 deletions
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 { |