diff options
-rwxr-xr-x | contrib/themes/white_amps/images/ampache.gif | bin | 0 -> 3296 bytes | |||
-rwxr-xr-x | contrib/themes/white_amps/images/blankalbum.gif | bin | 0 -> 1069 bytes | |||
-rwxr-xr-x | contrib/themes/white_amps/images/headph2-1.png | bin | 0 -> 100419 bytes | |||
-rw-r--r-- | contrib/themes/white_amps/screencap/01.jpg | bin | 0 -> 378019 bytes | |||
-rwxr-xr-x | contrib/themes/white_amps/templates/default.css | 436 | ||||
-rwxr-xr-x | contrib/themes/white_amps/theme.cfg.php | 85 |
6 files changed, 521 insertions, 0 deletions
diff --git a/contrib/themes/white_amps/images/ampache.gif b/contrib/themes/white_amps/images/ampache.gif Binary files differnew file mode 100755 index 00000000..a6d7a9dc --- /dev/null +++ b/contrib/themes/white_amps/images/ampache.gif diff --git a/contrib/themes/white_amps/images/blankalbum.gif b/contrib/themes/white_amps/images/blankalbum.gif Binary files differnew file mode 100755 index 00000000..3dbc5170 --- /dev/null +++ b/contrib/themes/white_amps/images/blankalbum.gif diff --git a/contrib/themes/white_amps/images/headph2-1.png b/contrib/themes/white_amps/images/headph2-1.png Binary files differnew file mode 100755 index 00000000..542a377b --- /dev/null +++ b/contrib/themes/white_amps/images/headph2-1.png diff --git a/contrib/themes/white_amps/screencap/01.jpg b/contrib/themes/white_amps/screencap/01.jpg Binary files differnew file mode 100644 index 00000000..85f6c3a7 --- /dev/null +++ b/contrib/themes/white_amps/screencap/01.jpg diff --git a/contrib/themes/white_amps/templates/default.css b/contrib/themes/white_amps/templates/default.css new file mode 100755 index 00000000..7dbbb879 --- /dev/null +++ b/contrib/themes/white_amps/templates/default.css @@ -0,0 +1,436 @@ +<style type='text/css'> +<!-- + body + { + padding-top: 0px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + font-family: verdana, arial, Helvetica, sans-serif;; + font-size: 12px; + color: <?php echo conf('font_color2') ?>; + } + p + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') ?>px; + } + a + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + text-decoration:none; + } + a:visited + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + } + a:active + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + } + .text-box + { + padding-left:5px; + padding-top:5px; + margin-bottom:10px; + background-color: <?php echo conf('base_color1') ?>; + border-right:2px solid <?php echo conf('bg_color2') ?>; + border-bottom:2px solid <?php echo conf('bg_color2') ?>; + border-left:2px solid <?php echo conf('bg_color2') ?>; + border-top:2px solid <?php echo conf('bg_color2') ?>; + } + + .box-content{ + font-size:12px; + } + + table.tabledata + { + } + + td + { + padding: 0px 8px 0px 8px; + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') ?>px; + } + th + { + padding-right: 10px; + } + + input + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') ?>px; + font-weight: bold; + background-color: <?php echo conf('base_color2') ?>; + margin: 2px 2px 2px 2px; + } + select + { + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') ?>px; + background-color: <?php echo conf('base_color2') ?>; + } + textarea + { + background-color: <?php echo conf('base_color2') ?>; + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') ?>px; + } + .table-header + { + background: url(<?php echo conf('web_path') ?><?php echo conf('theme_path') ?>/images/ampache-light-bg.gif) <?php echo conf('base_color2')?> repeat-x; + vertical-align: top; + text-align:center; + line-height:18px; + } + +/*************** Page Header *********************/ + #pageheader { + background: #8B8B8B; + } +/*************** END Page Header *****************/ + .header1{ + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') + 6 ?>px; + font-weight: 900; + } + + .header2{ + color: <?php echo conf('font_color2') ?>; + font-family: verdana, arial, Helvetica, sans-serif; + font-size: <?php echo conf('font_size') + 2 ?>px; + font-weight: 900; + } + .headrow{ + background:<?php echo conf('row_color1') ?>; + font-size: <?php echo conf('font_size') ?>px; + } + .odd { + background: #FFFFFF; + font-size: <?php echo conf('font_size') ?>px; + } + .even{ + background: #EEEEEE; + font-size: <?php echo conf('font_size') ?>px; + } + .blank{ + background: #fff; + } + .border{ + background:<?php echo conf('bg_color2') ?>; + } + .header{ + font-size: <?php echo conf('font_size') ?>px; + } + .error{ + color: <?php echo conf('error_color') ?>; + } + .fatalerror{ + padding-top: 3px; + padding-bottom: 3px; + color: <?php echo conf('error_color') ?>; + border-right:4px solid <?php echo conf('error_color') ?>; + border-bottom:4px solid <?php echo conf('error_color') ?>; + border-left:4px solid <?php echo conf('error_color') ?>; + border-top:4px solid <?php echo conf('error_color') ?>; + font-size: <?php echo conf('font_size')+2 ?>px; + font-weight: 900; + text-align: center; + } + .disabled{ + text-decoration: line-through; + } + .alphabet{ + font-size: <?php echo conf('font_size') ?>px; + font-weight: normal; + } + .smallbutton{ + border:0px; + padding-left:1px; + padding-right:1px; + font-size: <?php echo conf('font_size') - 1 ?>px; + cursor: pointer; + } + .sidebar{ + margin-left:0px; + margin-top:0px; + margin-right:0px; + padding-right:0px; + padding-top: 0px; + padding-left: 0px; + width:160px; + background: <?php echo conf('base_color2') ?>; + } +/** + * Div Definitions + * These define how the page is layed out, be careful with these as changes to them + * can cause drastic layout changes + */ + #maincontrainer{ + margin:0px; + } + + #topbar{ + margin-left: 5px; + margin-top: 5px; + height: 80px; + background-color: <?php echo conf('bg_color1') ?>; + } + + #topbarright{ + float: right; + font-size:9px; + font-weight:normal; + font-family: verdana, arial, Helvetica, sans-serif; + } + + #topbarmiddle{ + float:left; + width:50%; + height:50px; + font-size:12px; + font-family: verdana, arial, Helvetica, sans-serif; + text-align:center; + + } + + #topbarleft{ + float: left; + } + #sidebar{ + clear: both; + height: 100%; + margin-left: 0px; + margin-top:-30px; + float: left; + width: 170px; + font-size:12px; + background-color: transparent; + } + + #sidebar ul{ + margin-left:0px; + margin-top:0px; + margin-bottom:0px; + margin-right: 0px; + padding: 0px; + list-style-type: none; + font-family: verdana, arial, Helvetica, sans-serif; + } + + #sidebar li { + margin: 0 0 1px 0; + padding-top:0px; + padding-bottom:0px; + } + + #sidebar a, .navbutton{ + display: block; + padding: 0px 10px; + color: <?php echo conf('font_color1') ?>; + background-color: <?php echo conf('row_color2') ?>; + text-decoration: none; + } + + #sidebar a:hover{ + color: <?php echo conf('font_color1') ?>; + background-color: <?php echo conf('row_color3') ?>; + text-decoration: none; + } + + #sidebar ul ul li { + margin: 0 0 1px 0; + } + + #sidebar ul ul a{ + display: block; + padding: 5px 5px 5px 15px; + width: 100px; + color: <?php echo conf('font_color1') ?>; + background-color: <?php echo conf('row_color1') ?>; + text-decoration: none; + } + + #navcontainer ul li{ + float:left; + width:100%; + } + + .subnavbutton{ + background-color: <?php echo conf('row_color1') ?>; + text-align:center; + text-decoration: none; + color: <?php echo conf('font_color2') ?>; + } + + #sidebar ul ul a:hover{ + color: <?php echo conf('font_color2') ?>; + background-color: <?php echo conf('row_color3') ?>; + text-decoration: none; + } + #content{ + margin-left:5px; + padding-top:0px; + padding-left:0px; + vertical-align:top; + } +/** + * End Div Definitions + * This is the end of the main structure def's + */ + +/** + * Needed for shaded submenue. + */ + #sidebar li:hover ul, #sidebar li.sfhover ul { + right: auto; /* this calls the submenu back when the parent li is hovered. */ + background-color: #EEEEFF; + filter:alpha(opacity=85); /* IE's opacity*/ + opacity: 0.85; + } + + #sidebar li ul { + float: left; + position: absolute; + margin: -4.5em 0 0 5.0em; /* for vertical menu; comment out otherwise */ + /* margin: 0.5em 0 0 -1.1em; /* for horizontal menu; comment out otherwise */ + right: +999em; /* this -999em puts the submenu item way off to the left until it's called back by a hover (below) */ + border:1px dotted; + border-color: #0000ff; + } + + a:visited + { + color: #0000FF; + font-family: verdana, arial, Helvetica, sans-serif; + } + + a:active { + color: #0000FF; + font-family: verdana, arial, Helvetica, sans-serif; + } + + .box { + padding:0px; + border: 1px solid #4786D4; + background-color: white; + filter:alpha(opacity=75); /* IE's opacity*/ + opacity: 0.75; + top:120px; + font-size:12px; + margin:2px; + } + + body{ + background: url(../images/headph2-1.png) no-repeat fixed bottom right; + } + + .box-title{ + border-bottom: solid 1px #4786D4; + font-weight: bold; + } + img{ + margin:5px; + } + + #navlist li{ + margin:10px; + } + +/************************************************/ +/* Styles for the star ratings */ +/************************************************/ + .star-rating{ + list-style:none; + margin: 0px; + padding:0px; + width: 80px; + height: 15px; + position: relative; + background: url(../../../images/ratings/star_rating.gif) top left repeat-x; + } + .star-rating li{ + padding:0px; + margin:0px; + float: right; + } + .star-rating li span{ + display:block; + width:16px; + height: 15px; + text-decoration: none; + text-indent: -9000px; + z-index: 20; + position: absolute; + padding: 0px; + } + .star-rating li span:hover{ + background: url(../../../images/ratings/star_rating.gif) left center; + z-index: 2; + left: 0px; + } + li.zero-stars span:hover { + background: url(../../../images/ratings/x.gif); + height: 15px; + left: 80px; + display: block; + } + span.zero-stars { + background: url(../../../images/ratings/x_off.gif); + height: 15px; + left: 80px; + display: block; + } + span.one-stars{ + left: 0px; + } + span.one-stars:hover{ + width:16px; + } + span.two-stars{ + left:16px; + } + span.two-stars:hover{ + width: 32px; + } + span.three-stars{ + left: 32px; + } + span.three-stars:hover{ + width: 48px; + } + span.four-stars{ + left: 48px; + } + span.four-stars:hover{ + width: 64px; + } + span.five-stars{ + left: 64px; + } + span.five-stars:hover{ + width: 80px; + } + li.current-rating{ + background: url(../../../images/ratings/star_rating.gif) left bottom; + position: absolute; + height: 15px; + display: block; + text-indent: -9000px; + z-index: 1; + } +--> +</style> + diff --git a/contrib/themes/white_amps/theme.cfg.php b/contrib/themes/white_amps/theme.cfg.php new file mode 100755 index 00000000..901eeed3 --- /dev/null +++ b/contrib/themes/white_amps/theme.cfg.php @@ -0,0 +1,85 @@ +# ################# +# <?php exit(); ?># +# ################# + +# ########################## +# Classic Ampache Theme +# ########################## + +# Theme Name +# This is the actual name of the theme that +# will be displayed in the preferences screen +# DEFAULT: ampache-theme +name = "White Amps" + +# Theme Author +# This is just a way of giving credit to the +# person who actually created this theme +# DEFAULT: N/A +author = "Roman v. Gemmeren" + +# Theme Maintainer +# This is just a way of listing who is responsible for +# maintaining this theme incase it's not working right +# please include an e-mail address so you can be contacted +# DEFAULT: N/A +maintainer = "Roman v. Gemmeren <strowi_at-hasnoname.de>" + +# Version +# This is the version of the Theme (usefull if you've updated it) +version = "1.0" + +# Orientation +# This was added as of 3.3.2-Alpha4, this tells Ampache if this theme +# uses vertical or horizontal orientation of the menu, if this is a horizontal +# theme then it will not show the quick search and quick random play forms +orientation = "vertical" + +# Submenu +# If this is set to simple the sub menu's will only be shown when you're on one of the +# respective pages. If you want to make the menu's something like the classic theme +# comment this out +# submenu = "simple" + +# Theme Colors +# ################## +[color] +# ################## +# Below is a list of the default colors for this theme, upon +# applying this theme the users color preferences will be reset +# to what is listed below... + +# Background Color 1 +bg_color1 = "#ffffff" + +# Background Color 2 +bg_color2 = "#000000" + +# Base Color 1 +base_color1 = "#bbbbbb" + +# Base Color 2 +base_color2 = "#dddddd" + +# Font Color 1 +font_color1 = "#222222" + +# Font Color 2 +font_color2 = "#000000" + +# Font Color 3 +font_color3 = "#ffffff" + +# Row Color 1 +row_color1 = "#cccccc" + +# Row Color 2 +row_color2 = "#bbbbbb" + +# Row Color 3 +row_color3 = "#dddddd" + +# Error Color +error_color = "#990033" + +font = "Comic Sans MS" |