From 5ba53394fcda4ae9cfa9af52b37fb67517deeb5a Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 25 May 2011 19:43:36 +0200 Subject: implement request #1989987: theme support. merge themes branch with --squash --- www/icon.png | Bin 771 -> 0 bytes www/images/b_edit.png | Bin 451 -> 0 bytes www/images/bg_admin.png | Bin 1212 -> 0 bytes www/images/bg_bar.png | Bin 873 -> 0 bytes www/images/bg_header.png | Bin 684 -> 0 bytes www/images/bg_sidebar.png | Bin 726 -> 0 bytes www/images/loading.gif | Bin 1582 -> 0 bytes www/images/logo.png | Bin 2973 -> 0 bytes www/images/logo_24.gif | Bin 1530 -> 0 bytes www/images/rss.gif | Bin 401 -> 0 bytes www/images/thumbs_up.orig.png | Bin 19257 -> 0 bytes www/images/vote-against-voted.png | Bin 419 -> 0 bytes www/images/vote-against.png | Bin 495 -> 0 bytes www/images/vote-for-voted.png | Bin 415 -> 0 bytes www/images/vote-for.png | Bin 625 -> 0 bytes www/jsScuttle.php | 5 +- www/scuttle.css | 657 ----------------------- www/themes/default/icon.png | Bin 0 -> 771 bytes www/themes/default/images/b_edit.png | Bin 0 -> 451 bytes www/themes/default/images/bg_admin.png | Bin 0 -> 1212 bytes www/themes/default/images/bg_bar.png | Bin 0 -> 873 bytes www/themes/default/images/bg_header.png | Bin 0 -> 684 bytes www/themes/default/images/bg_sidebar.png | Bin 0 -> 726 bytes www/themes/default/images/loading.gif | Bin 0 -> 1582 bytes www/themes/default/images/logo.png | Bin 0 -> 2973 bytes www/themes/default/images/logo_24.gif | Bin 0 -> 1530 bytes www/themes/default/images/rss.gif | Bin 0 -> 401 bytes www/themes/default/images/thumbs_up.orig.png | Bin 0 -> 19257 bytes www/themes/default/images/vote-against-voted.png | Bin 0 -> 419 bytes www/themes/default/images/vote-against.png | Bin 0 -> 495 bytes www/themes/default/images/vote-for-voted.png | Bin 0 -> 415 bytes www/themes/default/images/vote-for.png | Bin 0 -> 625 bytes www/themes/default/scuttle.css | 657 +++++++++++++++++++++++ www/themes/testdummy/images/logo.png | Bin 0 -> 2890 bytes www/themes/testdummy/scuttle.css | 12 + 35 files changed, 672 insertions(+), 659 deletions(-) delete mode 100644 www/icon.png delete mode 100644 www/images/b_edit.png delete mode 100644 www/images/bg_admin.png delete mode 100644 www/images/bg_bar.png delete mode 100644 www/images/bg_header.png delete mode 100644 www/images/bg_sidebar.png delete mode 100644 www/images/loading.gif delete mode 100644 www/images/logo.png delete mode 100644 www/images/logo_24.gif delete mode 100644 www/images/rss.gif delete mode 100644 www/images/thumbs_up.orig.png delete mode 100644 www/images/vote-against-voted.png delete mode 100644 www/images/vote-against.png delete mode 100644 www/images/vote-for-voted.png delete mode 100644 www/images/vote-for.png delete mode 100644 www/scuttle.css create mode 100644 www/themes/default/icon.png create mode 100644 www/themes/default/images/b_edit.png create mode 100644 www/themes/default/images/bg_admin.png create mode 100644 www/themes/default/images/bg_bar.png create mode 100644 www/themes/default/images/bg_header.png create mode 100644 www/themes/default/images/bg_sidebar.png create mode 100644 www/themes/default/images/loading.gif create mode 100644 www/themes/default/images/logo.png create mode 100644 www/themes/default/images/logo_24.gif create mode 100644 www/themes/default/images/rss.gif create mode 100644 www/themes/default/images/thumbs_up.orig.png create mode 100644 www/themes/default/images/vote-against-voted.png create mode 100644 www/themes/default/images/vote-against.png create mode 100644 www/themes/default/images/vote-for-voted.png create mode 100644 www/themes/default/images/vote-for.png create mode 100644 www/themes/default/scuttle.css create mode 100644 www/themes/testdummy/images/logo.png create mode 100644 www/themes/testdummy/scuttle.css (limited to 'www') diff --git a/www/icon.png b/www/icon.png deleted file mode 100644 index be864a7..0000000 Binary files a/www/icon.png and /dev/null differ diff --git a/www/images/b_edit.png b/www/images/b_edit.png deleted file mode 100644 index 05711a0..0000000 Binary files a/www/images/b_edit.png and /dev/null differ diff --git a/www/images/bg_admin.png b/www/images/bg_admin.png deleted file mode 100644 index c707779..0000000 Binary files a/www/images/bg_admin.png and /dev/null differ diff --git a/www/images/bg_bar.png b/www/images/bg_bar.png deleted file mode 100644 index 7152ba1..0000000 Binary files a/www/images/bg_bar.png and /dev/null differ diff --git a/www/images/bg_header.png b/www/images/bg_header.png deleted file mode 100644 index 6fa4161..0000000 Binary files a/www/images/bg_header.png and /dev/null differ diff --git a/www/images/bg_sidebar.png b/www/images/bg_sidebar.png deleted file mode 100644 index 0edb153..0000000 Binary files a/www/images/bg_sidebar.png and /dev/null differ diff --git a/www/images/loading.gif b/www/images/loading.gif deleted file mode 100644 index 859126e..0000000 Binary files a/www/images/loading.gif and /dev/null differ diff --git a/www/images/logo.png b/www/images/logo.png deleted file mode 100644 index 4afe565..0000000 Binary files a/www/images/logo.png and /dev/null differ diff --git a/www/images/logo_24.gif b/www/images/logo_24.gif deleted file mode 100644 index d5af64d..0000000 Binary files a/www/images/logo_24.gif and /dev/null differ diff --git a/www/images/rss.gif b/www/images/rss.gif deleted file mode 100644 index 094ba10..0000000 Binary files a/www/images/rss.gif and /dev/null differ diff --git a/www/images/thumbs_up.orig.png b/www/images/thumbs_up.orig.png deleted file mode 100644 index 1a89d0e..0000000 Binary files a/www/images/thumbs_up.orig.png and /dev/null differ diff --git a/www/images/vote-against-voted.png b/www/images/vote-against-voted.png deleted file mode 100644 index 740dfc8..0000000 Binary files a/www/images/vote-against-voted.png and /dev/null differ diff --git a/www/images/vote-against.png b/www/images/vote-against.png deleted file mode 100644 index f15ea4d..0000000 Binary files a/www/images/vote-against.png and /dev/null differ diff --git a/www/images/vote-for-voted.png b/www/images/vote-for-voted.png deleted file mode 100644 index 5abd43e..0000000 Binary files a/www/images/vote-for-voted.png and /dev/null differ diff --git a/www/images/vote-for.png b/www/images/vote-for.png deleted file mode 100644 index 5973ae9..0000000 Binary files a/www/images/vote-for.png and /dev/null differ diff --git a/www/jsScuttle.php b/www/jsScuttle.php index c166755..5e5f31b 100644 --- a/www/jsScuttle.php +++ b/www/jsScuttle.php @@ -3,6 +3,7 @@ $GLOBALS['saveInLastUrl'] = false; $httpContentType = 'text/javascript'; require_once 'www-header.php'; require_once 'SemanticScuttle/functions.php'; +$theme = new SemanticScuttle_Model_Theme($GLOBALS['theme']); $player_root = ROOT .'includes/player/'; ?> @@ -62,7 +63,7 @@ function isAvailable(input, response){ username = username.trim(); var availability = document.getElementById("availability"); if (username != '') { - usernameField.style.backgroundImage = 'url(images/loading.gif)'; + usernameField.style.backgroundImage = 'url(resource('images/loading.gif'); ?>)'; if (response != '') { usernameField.style.backgroundImage = 'none'; if (response == 'true') { @@ -92,7 +93,7 @@ function useAddress(ele) { function getTitle(input, response){ var title = document.getElementById('titleField'); if (title.value == '') { - title.style.backgroundImage = 'url(images/loading.gif)'; + title.style.backgroundImage = 'url(resource('images/loading.gif');?>)'; if (response != null) { title.style.backgroundImage = 'none'; title.value = response; diff --git a/www/scuttle.css b/www/scuttle.css deleted file mode 100644 index 9e87857..0000000 --- a/www/scuttle.css +++ /dev/null @@ -1,657 +0,0 @@ -/* Watch out. This file bugs (in the header) when it is formated with Eclipse (Ctrl+Shift+F)*/ - -/* BASE */ - -* { - font-family: "trebuchet ms", tahoma, sans-serif; -} -a { - color: #47A; - text-decoration: none; -} -a:hover { - color: #258; - text-decoration: underline; -} -a img { - border: 0; -} - - -body { - margin: 0; - padding: 0; -} -input[type=text], -input[type=password], -select, -textarea { - border: 1px solid #AAA; - padding: 0.1em; -} -input[type=text], -input[type=password], -textarea { - padding: 0.2em; -} -input[type=text]:focus, -input[type=password]:focus, -select:focus, -textarea:focus { - border-color: #666; -} -p.tipMsg, -p.error, -p.success { - border: 1px solid; - font-size: small; - margin: 0.5em; - padding: 0.5em; - width: 70%; -} -p.tipMsg { - background: #FFFF99; - border-color: #CC9900; - color: #CC9900; -} -p.error { - background: #FCC; - border-color: #966; - color: #633; -} -p.success { - background: #CFC; - border-color: #696; - color: #363; -} -td#availability { - color: #285; - font-weight: bold; -} -td#availability.not-available { - color: #F00; -} -textarea { - font-size: small; - padding: 0.2em; -} -th { - padding-right: 1em; - text-align: right; -} - -/* HEADER */ - -div#header { - background: #FFF url('images/bg_header.png') bottom repeat-x; - border-bottom: 3px solid #9CD; - clear: both; -} -div#header:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} -* html div#header { - height: 1%; -} -h1 { - float: left; - font-size: x-large; - font-weight: bold; - letter-spacing: 0.25em; - margin: 0; - padding: 1em; -} -html > body h1 { - background: url('images/logo.png') no-repeat 10px; - padding-left: 75px; -} -html > body div#header.popup h1 { - background: url('images/logo_24.gif') no-repeat 10px; - padding: 0.5em 0.5em 0.5em 50px; -} -/*html > body div#header #welcome { - position:absolute; - left:75px; -}*/ -#welcome { - border: 10px solid #995; - width: 66%; - padding: 10px; - text-align:center; - font-size: medium; -} -#bottom { - padding-top: 10px; - text-align: center; - font-size: xx-small; -} -h1 a { - color: #000; -} -h1 a:hover { - color: #000; -} -h2 { - background: #666 url('images/bg_bar.png') center center repeat-x; - border-bottom: 3px solid #DDD; - clear: both; - color: #FFF; - font-size: medium; - letter-spacing: 0.1em; - margin: 0 0 1em 0; - padding: 0.5em 1em; -} -h2 a, h2 a:hover { - color: #DDD; -} - -/*sup { - color: #77ABE0; - font-weight: bold; -}*/ - -/* NAVIGATION */ - -ul#navigation { - list-style-type: none; - margin: 0; - padding: 1.75em 1em; - width: auto; -} -ul#navigation a { - font-size: medium; - font-weight: bold; - padding: 0.2em 0.5em; -} -ul#navigation a:hover { - background: #7AD; - color: #FFF; -} -ul#navigation li { - float: left; -} -ul#navigation li.access { - float: right; -} - -/* BOOKMARKS */ - -ol#bookmarks { - list-style-type: none; - margin: 0; - padding: 0 1em; - width: 70%; -} -html > body ol#bookmarks { - margin: 0 1em; - padding: 0; -} -img.thumbnail { - float: left; - padding: 1px; - margin-right: 6px; - margin-bottom:4px; - cursor:pointer; - border:1px solid #AAA; -} -div.link a { - color: blue; - font-size: medium; -} -div.link a:visited { - color: purple; -} -div.address { - color: #285; -} -div.meta { - color: #285; -} -div.meta span { - color: #F00; -} -div.privateNote { - font-variant: small-caps; - font-size: small; - text-align: right; -} -li.xfolkentry { - border-bottom: 1px solid #DDD; - margin-bottom: 0; - padding: 1em 0.5em; -} -html > body li.xfolkentry { - border-bottom: 1px dotted #AAA; -} -li.xfolkentry div { - padding: 0.1em; -} -li.xfolkentry.deleted { - opacity: 0.5; -} -li.xfolkentry.private { - border-left: 3px solid #F00; -} -li.xfolkentry.shared { - border-left: 3px solid #FA0; -} -li.below-threshold > div { - border-right: 5px dotted #F00; -} - -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-badge .vote-for { - /*border-top-right-radius: 10px;*/ - /*border-top-left-radius: 10px;*/ - -moz-border-radius-topright: 10px; - -moz-border-radius-topleft: 10px; -} -.vote-badge .vote-against { - /*border-bottom-right-radius: 10px;*/ - /*border-bottom-left-radius: 10px;*/ - -moz-border-radius-bottomright: 10px; - -moz-border-radius-bottomleft: 10px; -} -.vote-badge a.vote-for:hover { - background-color: #ccffbb; -} -.vote-badge a.vote-against:hover { - background-color: #ffcccc; -} -.vote-badge-for .vote-for-inactive { - color: transparent; - background-color: #ccffbb; -} -.vote-badge-against .vote-against-inactive { - color: transparent; - 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-horiz .vote-for-inactive, -.vote-horiz .vote-against-inactive { - padding-left: 1.5em; - margin-left: 0.7em; -} -.vote-horiz a.vote-for:hover { - background-color: #ccffbb; -} -.vote-horiz a.vote-against:hover { - background-color: #ffcccc; -} -.vote-horiz .vote-for-inactive, .vote-horiz .vote-against-inactive { - color: #AAA; -} -.vote-horiz .vote-for { - background: url(images/vote-for.png) no-repeat; -} -.vote-horiz .vote-against { - background: url(images/vote-against.png) no-repeat; -} -.vote-horiz .vote-for-inactive { - background: url(images/vote-for-voted.png) no-repeat; -} -.vote-horiz .vote-against-inactive { - background: url(images/vote-against-voted.png) no-repeat; -} - - -/* SIDEBAR */ - -div#sidebar { - font-size: small; - position: absolute; - right: 1em; - top: 10em; - width: 25%; -} -div#sidebar a { - color: #995; -} -div#sidebar a:hover { - color: #773; -} -div#sidebar>div { - background: #FFF url('images/bg_sidebar.png') bottom repeat-x; - border: 1px solid #CC8; - color: #555; - margin-bottom: 1em; -} -div#sidebar h2 { - background: transparent; - border: 0; - color: #995; - letter-spacing: 0; - margin: 0; - padding: 0.5em 0; -} -div#sidebar hr { - display: none; -} -div#sidebar p { - margin: 1em; -} -div#sidebar p.tags a { - margin: 0; -} -div#sidebar table { - margin: 0.5em 0.5em 0 0.5em; -} -div#sidebar table td { - padding-bottom: 0.25em; - padding-right: 0.5em; -} -/* -div#sidebar ul { - list-style-type: none; - margin: 0; - padding: 0.5em; -} -div#sidebar ul li { - margin: 0.5em 0; -}*/ - -div#related { - padding: 0.5em; -} - -.crossTags { - padding:0px 3px; - border: 1px solid #999955 -} - -div#sidebar>div#maintagsmenu { - padding: 0.5em; - border: 5px solid #999955 -} - - - -/* TAGS */ - -p.commondescription { - padding-left:5px; - color: #555; - font-weight: bold; - font-size: medium; - border-left: 1px solid #CC8; - width: 70%; -} - -p.tags { - line-height: 2.25em; - /*margin: 2em 10%;*/ - text-align: justify; - vertical-align: middle; - width: 70%; -} -p.tags a, -p.tags span { - color: #47A; - margin-right: 0.5em; -} -p.tags span:hover { - cursor: pointer; - text-decoration: underline; -} -p.tags span.selected { - background: #CEC; -} - -.anchor { - cursor: pointer; - text-decoration: underline; -} - -.treeTag { - color: #999955; -} -.treeTag:hover { - cursor: pointer; - text-decoration: underline; -} -.treeTag.selected { - background: #CEC; -} - -/* PROFILE */ - -table.profile th { - width: 10em; -} - -table tr.ssl-current td { - background-color: #AFA; -} - -/* OTHER GUFF */ - -dd { - background: #CEC; - border-right: 4px solid #ACA; - color: #464; - padding: 6px; -} -dd a { - color: #464; -} -dd a:hover { - color: #000 !important; - text-decoration: underline !important; -} - -dl { - font-size: small; - margin: 1em; - width: 70%; -} -dl#profile dd { - background: #CDE; - border-color: #ABC; - color: #247; -} -dl#profile dt { - background: #BCE; - border-color: #9AC; - color: #245; - display: block; - font-weight: bold; - padding: 6px; -} -dl#profile a { - color: #446; -} -dl#profile a:hover { - color: #000 !important; - text-decoration: underline !important; -} -dl#meta dd { - line-height: 1.5em; -} -dl#meta dt { - background: #BDB; - color: #353; - display: block; - font-weight: bold; - padding: 6px; -} -dt { - border-right: 4px solid #9B9; -} -dt a { - background: #BDB; - color: #353; - display: block; - font-weight: bold; - padding: 6px; -} -dt a:hover { - background: #ACA; - border: 0; -} -form { - margin: 0; -} -form#search { - margin-right: 0.75em; - color: #CCC; - font-size: small; - float: right; - margin: 0; - position: absolute; - right: 0; - top: 6.4em; -} -form label, -form td, -form th { - font-size: small; -} -form table { - margin: 0 1em; -} -h3 { - background: #DDD; - color: #555; - font-size: small; - letter-spacing: 0.2em; - margin: 2em 1em 1em 1em; - padding: 0.25em 0.75em; -} -li { - font-size: small; - margin-bottom: 0.5em; -} -p { - font-size: small; - margin: 1em; -} -p#sort { - /*color: #CCC;*/ - font-size: small; - /*float: right;*/ - /*margin: 0;*/ - /*position: absolute;*/ - right: 0; - top: 7em; -} -html > body p#sort { - /*margin-right: 0.75em;*/ -} -p#sort a { - background: #AAA; - color: #555; - font-weight: normal; - margin-right: 0.5em; - padding: 0 1em; -} -html > body p#sort a { - margin-right: 0; -} -p#sort a:hover { - background: #CCC; - text-decoration: none !important; -} -p#sort span { - display: none; -} - -p.backToTop{ - text-align:center; -} - -p.paging { - font-size: small; - margin-left: 1em; - text-align:center; -} -p.paging a, -p.paging span.disable { - background: #888; - color: #FFF; - display: inline; - margin-right: 0.5em; - padding: 0.25em 1em; -} -p.paging a:hover { - background: #666; -} -p.paging span { - display: none; -} -p.paging span.disable { - background: #DDD; - color: #AAA; -} -div.collapsible p.tags { - line-height: 2.25em; - margin: 1em 2em; -} -th label { - padding-right: 1em; -} -ul { - margin-right: 1em; - width: 75%; -} - -.adminBackground { - /*background: #FFFFFF url(images/logo_24.png) no-repeat scroll center right;*/ - /*border-top: 1px solid; - border-color: #CC9900;*/ -} - -.adminBackground { - background: #FFF url('images/bg_admin.png') repeat-y top right; -} - -a.bookmarklet { - padding: 2px; - background-color: #AAFAEE; -} - -/* tree styles */ -#related-content.jstree-default.jstree-focused { - background: none !important; -} - - -/* add/edit bookmark */ -.ui-autocomplete { - width: 458px; -} diff --git a/www/themes/default/icon.png b/www/themes/default/icon.png new file mode 100644 index 0000000..be864a7 Binary files /dev/null and b/www/themes/default/icon.png differ diff --git a/www/themes/default/images/b_edit.png b/www/themes/default/images/b_edit.png new file mode 100644 index 0000000..05711a0 Binary files /dev/null and b/www/themes/default/images/b_edit.png differ diff --git a/www/themes/default/images/bg_admin.png b/www/themes/default/images/bg_admin.png new file mode 100644 index 0000000..c707779 Binary files /dev/null and b/www/themes/default/images/bg_admin.png differ diff --git a/www/themes/default/images/bg_bar.png b/www/themes/default/images/bg_bar.png new file mode 100644 index 0000000..7152ba1 Binary files /dev/null and b/www/themes/default/images/bg_bar.png differ diff --git a/www/themes/default/images/bg_header.png b/www/themes/default/images/bg_header.png new file mode 100644 index 0000000..6fa4161 Binary files /dev/null and b/www/themes/default/images/bg_header.png differ diff --git a/www/themes/default/images/bg_sidebar.png b/www/themes/default/images/bg_sidebar.png new file mode 100644 index 0000000..0edb153 Binary files /dev/null and b/www/themes/default/images/bg_sidebar.png differ diff --git a/www/themes/default/images/loading.gif b/www/themes/default/images/loading.gif new file mode 100644 index 0000000..859126e Binary files /dev/null and b/www/themes/default/images/loading.gif differ diff --git a/www/themes/default/images/logo.png b/www/themes/default/images/logo.png new file mode 100644 index 0000000..4afe565 Binary files /dev/null and b/www/themes/default/images/logo.png differ diff --git a/www/themes/default/images/logo_24.gif b/www/themes/default/images/logo_24.gif new file mode 100644 index 0000000..d5af64d Binary files /dev/null and b/www/themes/default/images/logo_24.gif differ diff --git a/www/themes/default/images/rss.gif b/www/themes/default/images/rss.gif new file mode 100644 index 0000000..094ba10 Binary files /dev/null and b/www/themes/default/images/rss.gif differ diff --git a/www/themes/default/images/thumbs_up.orig.png b/www/themes/default/images/thumbs_up.orig.png new file mode 100644 index 0000000..1a89d0e Binary files /dev/null and b/www/themes/default/images/thumbs_up.orig.png differ diff --git a/www/themes/default/images/vote-against-voted.png b/www/themes/default/images/vote-against-voted.png new file mode 100644 index 0000000..740dfc8 Binary files /dev/null and b/www/themes/default/images/vote-against-voted.png differ diff --git a/www/themes/default/images/vote-against.png b/www/themes/default/images/vote-against.png new file mode 100644 index 0000000..f15ea4d Binary files /dev/null and b/www/themes/default/images/vote-against.png differ diff --git a/www/themes/default/images/vote-for-voted.png b/www/themes/default/images/vote-for-voted.png new file mode 100644 index 0000000..5abd43e Binary files /dev/null and b/www/themes/default/images/vote-for-voted.png differ diff --git a/www/themes/default/images/vote-for.png b/www/themes/default/images/vote-for.png new file mode 100644 index 0000000..5973ae9 Binary files /dev/null and b/www/themes/default/images/vote-for.png differ diff --git a/www/themes/default/scuttle.css b/www/themes/default/scuttle.css new file mode 100644 index 0000000..9e87857 --- /dev/null +++ b/www/themes/default/scuttle.css @@ -0,0 +1,657 @@ +/* Watch out. This file bugs (in the header) when it is formated with Eclipse (Ctrl+Shift+F)*/ + +/* BASE */ + +* { + font-family: "trebuchet ms", tahoma, sans-serif; +} +a { + color: #47A; + text-decoration: none; +} +a:hover { + color: #258; + text-decoration: underline; +} +a img { + border: 0; +} + + +body { + margin: 0; + padding: 0; +} +input[type=text], +input[type=password], +select, +textarea { + border: 1px solid #AAA; + padding: 0.1em; +} +input[type=text], +input[type=password], +textarea { + padding: 0.2em; +} +input[type=text]:focus, +input[type=password]:focus, +select:focus, +textarea:focus { + border-color: #666; +} +p.tipMsg, +p.error, +p.success { + border: 1px solid; + font-size: small; + margin: 0.5em; + padding: 0.5em; + width: 70%; +} +p.tipMsg { + background: #FFFF99; + border-color: #CC9900; + color: #CC9900; +} +p.error { + background: #FCC; + border-color: #966; + color: #633; +} +p.success { + background: #CFC; + border-color: #696; + color: #363; +} +td#availability { + color: #285; + font-weight: bold; +} +td#availability.not-available { + color: #F00; +} +textarea { + font-size: small; + padding: 0.2em; +} +th { + padding-right: 1em; + text-align: right; +} + +/* HEADER */ + +div#header { + background: #FFF url('images/bg_header.png') bottom repeat-x; + border-bottom: 3px solid #9CD; + clear: both; +} +div#header:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +* html div#header { + height: 1%; +} +h1 { + float: left; + font-size: x-large; + font-weight: bold; + letter-spacing: 0.25em; + margin: 0; + padding: 1em; +} +html > body h1 { + background: url('images/logo.png') no-repeat 10px; + padding-left: 75px; +} +html > body div#header.popup h1 { + background: url('images/logo_24.gif') no-repeat 10px; + padding: 0.5em 0.5em 0.5em 50px; +} +/*html > body div#header #welcome { + position:absolute; + left:75px; +}*/ +#welcome { + border: 10px solid #995; + width: 66%; + padding: 10px; + text-align:center; + font-size: medium; +} +#bottom { + padding-top: 10px; + text-align: center; + font-size: xx-small; +} +h1 a { + color: #000; +} +h1 a:hover { + color: #000; +} +h2 { + background: #666 url('images/bg_bar.png') center center repeat-x; + border-bottom: 3px solid #DDD; + clear: both; + color: #FFF; + font-size: medium; + letter-spacing: 0.1em; + margin: 0 0 1em 0; + padding: 0.5em 1em; +} +h2 a, h2 a:hover { + color: #DDD; +} + +/*sup { + color: #77ABE0; + font-weight: bold; +}*/ + +/* NAVIGATION */ + +ul#navigation { + list-style-type: none; + margin: 0; + padding: 1.75em 1em; + width: auto; +} +ul#navigation a { + font-size: medium; + font-weight: bold; + padding: 0.2em 0.5em; +} +ul#navigation a:hover { + background: #7AD; + color: #FFF; +} +ul#navigation li { + float: left; +} +ul#navigation li.access { + float: right; +} + +/* BOOKMARKS */ + +ol#bookmarks { + list-style-type: none; + margin: 0; + padding: 0 1em; + width: 70%; +} +html > body ol#bookmarks { + margin: 0 1em; + padding: 0; +} +img.thumbnail { + float: left; + padding: 1px; + margin-right: 6px; + margin-bottom:4px; + cursor:pointer; + border:1px solid #AAA; +} +div.link a { + color: blue; + font-size: medium; +} +div.link a:visited { + color: purple; +} +div.address { + color: #285; +} +div.meta { + color: #285; +} +div.meta span { + color: #F00; +} +div.privateNote { + font-variant: small-caps; + font-size: small; + text-align: right; +} +li.xfolkentry { + border-bottom: 1px solid #DDD; + margin-bottom: 0; + padding: 1em 0.5em; +} +html > body li.xfolkentry { + border-bottom: 1px dotted #AAA; +} +li.xfolkentry div { + padding: 0.1em; +} +li.xfolkentry.deleted { + opacity: 0.5; +} +li.xfolkentry.private { + border-left: 3px solid #F00; +} +li.xfolkentry.shared { + border-left: 3px solid #FA0; +} +li.below-threshold > div { + border-right: 5px dotted #F00; +} + +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-badge .vote-for { + /*border-top-right-radius: 10px;*/ + /*border-top-left-radius: 10px;*/ + -moz-border-radius-topright: 10px; + -moz-border-radius-topleft: 10px; +} +.vote-badge .vote-against { + /*border-bottom-right-radius: 10px;*/ + /*border-bottom-left-radius: 10px;*/ + -moz-border-radius-bottomright: 10px; + -moz-border-radius-bottomleft: 10px; +} +.vote-badge a.vote-for:hover { + background-color: #ccffbb; +} +.vote-badge a.vote-against:hover { + background-color: #ffcccc; +} +.vote-badge-for .vote-for-inactive { + color: transparent; + background-color: #ccffbb; +} +.vote-badge-against .vote-against-inactive { + color: transparent; + 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-horiz .vote-for-inactive, +.vote-horiz .vote-against-inactive { + padding-left: 1.5em; + margin-left: 0.7em; +} +.vote-horiz a.vote-for:hover { + background-color: #ccffbb; +} +.vote-horiz a.vote-against:hover { + background-color: #ffcccc; +} +.vote-horiz .vote-for-inactive, .vote-horiz .vote-against-inactive { + color: #AAA; +} +.vote-horiz .vote-for { + background: url(images/vote-for.png) no-repeat; +} +.vote-horiz .vote-against { + background: url(images/vote-against.png) no-repeat; +} +.vote-horiz .vote-for-inactive { + background: url(images/vote-for-voted.png) no-repeat; +} +.vote-horiz .vote-against-inactive { + background: url(images/vote-against-voted.png) no-repeat; +} + + +/* SIDEBAR */ + +div#sidebar { + font-size: small; + position: absolute; + right: 1em; + top: 10em; + width: 25%; +} +div#sidebar a { + color: #995; +} +div#sidebar a:hover { + color: #773; +} +div#sidebar>div { + background: #FFF url('images/bg_sidebar.png') bottom repeat-x; + border: 1px solid #CC8; + color: #555; + margin-bottom: 1em; +} +div#sidebar h2 { + background: transparent; + border: 0; + color: #995; + letter-spacing: 0; + margin: 0; + padding: 0.5em 0; +} +div#sidebar hr { + display: none; +} +div#sidebar p { + margin: 1em; +} +div#sidebar p.tags a { + margin: 0; +} +div#sidebar table { + margin: 0.5em 0.5em 0 0.5em; +} +div#sidebar table td { + padding-bottom: 0.25em; + padding-right: 0.5em; +} +/* +div#sidebar ul { + list-style-type: none; + margin: 0; + padding: 0.5em; +} +div#sidebar ul li { + margin: 0.5em 0; +}*/ + +div#related { + padding: 0.5em; +} + +.crossTags { + padding:0px 3px; + border: 1px solid #999955 +} + +div#sidebar>div#maintagsmenu { + padding: 0.5em; + border: 5px solid #999955 +} + + + +/* TAGS */ + +p.commondescription { + padding-left:5px; + color: #555; + font-weight: bold; + font-size: medium; + border-left: 1px solid #CC8; + width: 70%; +} + +p.tags { + line-height: 2.25em; + /*margin: 2em 10%;*/ + text-align: justify; + vertical-align: middle; + width: 70%; +} +p.tags a, +p.tags span { + color: #47A; + margin-right: 0.5em; +} +p.tags span:hover { + cursor: pointer; + text-decoration: underline; +} +p.tags span.selected { + background: #CEC; +} + +.anchor { + cursor: pointer; + text-decoration: underline; +} + +.treeTag { + color: #999955; +} +.treeTag:hover { + cursor: pointer; + text-decoration: underline; +} +.treeTag.selected { + background: #CEC; +} + +/* PROFILE */ + +table.profile th { + width: 10em; +} + +table tr.ssl-current td { + background-color: #AFA; +} + +/* OTHER GUFF */ + +dd { + background: #CEC; + border-right: 4px solid #ACA; + color: #464; + padding: 6px; +} +dd a { + color: #464; +} +dd a:hover { + color: #000 !important; + text-decoration: underline !important; +} + +dl { + font-size: small; + margin: 1em; + width: 70%; +} +dl#profile dd { + background: #CDE; + border-color: #ABC; + color: #247; +} +dl#profile dt { + background: #BCE; + border-color: #9AC; + color: #245; + display: block; + font-weight: bold; + padding: 6px; +} +dl#profile a { + color: #446; +} +dl#profile a:hover { + color: #000 !important; + text-decoration: underline !important; +} +dl#meta dd { + line-height: 1.5em; +} +dl#meta dt { + background: #BDB; + color: #353; + display: block; + font-weight: bold; + padding: 6px; +} +dt { + border-right: 4px solid #9B9; +} +dt a { + background: #BDB; + color: #353; + display: block; + font-weight: bold; + padding: 6px; +} +dt a:hover { + background: #ACA; + border: 0; +} +form { + margin: 0; +} +form#search { + margin-right: 0.75em; + color: #CCC; + font-size: small; + float: right; + margin: 0; + position: absolute; + right: 0; + top: 6.4em; +} +form label, +form td, +form th { + font-size: small; +} +form table { + margin: 0 1em; +} +h3 { + background: #DDD; + color: #555; + font-size: small; + letter-spacing: 0.2em; + margin: 2em 1em 1em 1em; + padding: 0.25em 0.75em; +} +li { + font-size: small; + margin-bottom: 0.5em; +} +p { + font-size: small; + margin: 1em; +} +p#sort { + /*color: #CCC;*/ + font-size: small; + /*float: right;*/ + /*margin: 0;*/ + /*position: absolute;*/ + right: 0; + top: 7em; +} +html > body p#sort { + /*margin-right: 0.75em;*/ +} +p#sort a { + background: #AAA; + color: #555; + font-weight: normal; + margin-right: 0.5em; + padding: 0 1em; +} +html > body p#sort a { + margin-right: 0; +} +p#sort a:hover { + background: #CCC; + text-decoration: none !important; +} +p#sort span { + display: none; +} + +p.backToTop{ + text-align:center; +} + +p.paging { + font-size: small; + margin-left: 1em; + text-align:center; +} +p.paging a, +p.paging span.disable { + background: #888; + color: #FFF; + display: inline; + margin-right: 0.5em; + padding: 0.25em 1em; +} +p.paging a:hover { + background: #666; +} +p.paging span { + display: none; +} +p.paging span.disable { + background: #DDD; + color: #AAA; +} +div.collapsible p.tags { + line-height: 2.25em; + margin: 1em 2em; +} +th label { + padding-right: 1em; +} +ul { + margin-right: 1em; + width: 75%; +} + +.adminBackground { + /*background: #FFFFFF url(images/logo_24.png) no-repeat scroll center right;*/ + /*border-top: 1px solid; + border-color: #CC9900;*/ +} + +.adminBackground { + background: #FFF url('images/bg_admin.png') repeat-y top right; +} + +a.bookmarklet { + padding: 2px; + background-color: #AAFAEE; +} + +/* tree styles */ +#related-content.jstree-default.jstree-focused { + background: none !important; +} + + +/* add/edit bookmark */ +.ui-autocomplete { + width: 458px; +} diff --git a/www/themes/testdummy/images/logo.png b/www/themes/testdummy/images/logo.png new file mode 100644 index 0000000..4a8f8ba Binary files /dev/null and b/www/themes/testdummy/images/logo.png differ diff --git a/www/themes/testdummy/scuttle.css b/www/themes/testdummy/scuttle.css new file mode 100644 index 0000000..c62cd19 --- /dev/null +++ b/www/themes/testdummy/scuttle.css @@ -0,0 +1,12 @@ +@import url(../default/scuttle.css); + +body { + background-color: #FEA; +} + +html > body h1 { + background: url('images/logo.png') no-repeat 10px; +} +div#header { + background: #FEA; +} -- cgit v1.2.3