diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-29 15:58:59 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-29 15:58:59 +0000 |
commit | 1e602edccc85d35293bde19dd2a451cbcd09bad7 (patch) | |
tree | b8588112b577fad58fc8c1a85a62a3c2d8f9afad | |
parent | 9a46c81e8fb2498822706144ac8373dc5700db67 (diff) | |
download | ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.tar.gz ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.tar.bz2 ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.zip |
new theme
-rw-r--r-- | contrib/themes/simple_h/images/ampache.gif | bin | 0 -> 3296 bytes | |||
-rw-r--r-- | contrib/themes/simple_h/images/blankalbum.gif | bin | 0 -> 1069 bytes | |||
-rw-r--r-- | contrib/themes/simple_h/images/headph2-1.png | bin | 0 -> 24507 bytes | |||
-rw-r--r-- | contrib/themes/simple_h/screencap/01.JPG | bin | 0 -> 224471 bytes | |||
-rw-r--r-- | contrib/themes/simple_h/templates/style.inc | 260 | ||||
-rw-r--r-- | contrib/themes/simple_h/theme.cfg.php | 74 |
6 files changed, 334 insertions, 0 deletions
diff --git a/contrib/themes/simple_h/images/ampache.gif b/contrib/themes/simple_h/images/ampache.gif Binary files differnew file mode 100644 index 00000000..a6d7a9dc --- /dev/null +++ b/contrib/themes/simple_h/images/ampache.gif diff --git a/contrib/themes/simple_h/images/blankalbum.gif b/contrib/themes/simple_h/images/blankalbum.gif Binary files differnew file mode 100644 index 00000000..3dbc5170 --- /dev/null +++ b/contrib/themes/simple_h/images/blankalbum.gif diff --git a/contrib/themes/simple_h/images/headph2-1.png b/contrib/themes/simple_h/images/headph2-1.png Binary files differnew file mode 100644 index 00000000..c508967e --- /dev/null +++ b/contrib/themes/simple_h/images/headph2-1.png diff --git a/contrib/themes/simple_h/screencap/01.JPG b/contrib/themes/simple_h/screencap/01.JPG Binary files differnew file mode 100644 index 00000000..c97eb33b --- /dev/null +++ b/contrib/themes/simple_h/screencap/01.JPG diff --git a/contrib/themes/simple_h/templates/style.inc b/contrib/themes/simple_h/templates/style.inc new file mode 100644 index 00000000..6c084f2a --- /dev/null +++ b/contrib/themes/simple_h/templates/style.inc @@ -0,0 +1,260 @@ +<?php +/* + + Copyright (c) 2001 - 2005 Ampache.org + All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +/*! + @header Style File + @discussion this is the css that is included on every page of + ampache, mod this to change the look and feel of the site +*/ +?> +<style type="text/css"> +<!-- + body { + background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/headph2-1.png); ?>; + background-position: bottom right; + background-attachment: fixed; + background-repeat: no-repeat; + font-family: <?php echo conf('font') ?>; + font-size: <?php echo conf('font_size'); ?>px; + color: <?php echo conf('font_color2'); ?>; + } + + a { + color: <?php echo conf('font_color2') ?>; + font-family: <?php echo conf('font')?>; + } + + .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'); ?>; + } + + table.border { + border-top: solid; + border-style: none none none solid; + border-color: #4786d4; + border-width: thin; + padding-left: 5px; + } + + td { + padding: 0px 8px 0px 8px; + color: <?php echo conf('font_color2') ?>; + font-family: <?php echo conf('font')?>; + font-size: <?php echo conf('font_size'); ?>px; + } + + th { + padding-right: 10px; + } + + input { + color: <?php echo conf('font_color2'); ?>; + font-family: <?php echo conf('font'); ?>; + font-size: <?php echo conf('font_size'); ?>px; + font-weight: bold; + background-color: <?php echo conf('base_color2') ?>; + border-style: solid; + border-width: 1px; + border-color: #4786d4; /* <?php echo conf('bg_color2'); ?>; */ + margin: 2px 2px 2px 2px; + padding: 2px; + } + + select { + color: <?php echo conf('font_color2'); ?>; + font-family: <?php echo conf('font')?>; + font-size: <?php echo conf('font_size'); ?>px; + background-color: <?php echo conf('base_color2') ?>; + } + + textarea { + color: <?php echo conf('font_color2') ?>; + font-family: <?php echo conf('font')?>; + font-size: <?php echo conf('font_size'); ?>px; + } + + .table-header { + background: <?php echo conf('base_color2')?> repeat-x; + vertical-align: top; + } + +/*************** Main Menu *****************/ + #mainmenu { + float: left; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + border-top: 0px solid #000; + border-bottom: 0px solid #000; + border-right: 0px solid #000; + border-left: 0px solid #000; + background: <?php echo conf('base_color2');?> repeat-x; + } + #mainmenu li { + float: left; + margin: 0; + padding: 0 10px 0 10px; + border-right: 0px solid #000; + display: inline; + background: <?php echo conf('base_color2');?> repeat-x; + } + #mainmenu li.active { + background: <?php echo conf('base_color2');?> rep + } + #mainmenu a { + text-decoration: bold; + } + #mainmenu a:hover { + color: #000; + } + #mainmenu a:active { + color: #00a; + } +/*************** END Main Menu *************/ +/*************** Admin Menu *************/ + #adminmenu { + float: left; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + border-bottom: 0px solid #000; + border-right: 0px solid #000; + border-left: 0px solid #000; + border-top: 0px solid #000; + background: <?php echo conf('base_color2')?> repeat; + } + #adminmenu li { + float: left; + margin: 0; + padding: 0 20px 0 20px; + border-right: 0px solid #000; + display: inline; + background: <?php echo conf('base_color2');?> repeat-x; + } + #adminmenu li.active { + background: <?php echo conf('base_color2');?> repeat-x; + } + #adminmenu a { + text-decoration: none; + } + #adminmenu a:hover { + color: #000; + } + #adminmenu a:active { + color: #000; + } +/*************** END Main Menu *************/ +/*************** Page Header *********************/ + #pageheader { + background: <?php echo conf('bgcolor1');?>; + } +/*************** END Page Header *****************/ + .navitem + { + background: <?php echo conf('base_color2')?> repeat-x; + vertical-align: top; + text-align: center; + } + .header1 + { + color: <?php echo conf('font_color2'); ?>; + font-family: <?php echo conf('font'); ?>; + font-size: <?php echo conf('font_size') + 6; ?>px; + font-weight: 900; + } + .header2 + { + color: <?php echo conf('font_color2'); ?>; + font-family: <?php echo conf('font'); ?>; + font-size: <?php echo conf('font_size') + 2; ?>px; + font-weight: 900; + } + .active_navitem + { + background: <?php echo conf('bg_color1')?> repeat-x; + vertical-align: top; + text-align: center; + } + .headrow + { + background:<?php echo conf('row_color1'); ?>; + font-size: <?php echo conf('font_size'); ?>px; + } + .odd + { + background:<?php echo conf('row_color2'); ?>; + font-size: <?php echo conf('font_size'); ?>px; + } + .even + { + background:<?php echo conf('row_color3'); ?>; + 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; + } +--> +</style> diff --git a/contrib/themes/simple_h/theme.cfg.php b/contrib/themes/simple_h/theme.cfg.php new file mode 100644 index 00000000..608576cb --- /dev/null +++ b/contrib/themes/simple_h/theme.cfg.php @@ -0,0 +1,74 @@ +################## +#<?php exit(); ?># +################## + +########################### +# Simple Ampache Theme +########################### + +# Theme Name +# This is the actual name of the theme that +# will be displayed in the preferences screen +# DEFAULT: ampache-theme +name = "Simple_h" + +# Theme Author +# This is just a way of giving credit to the +# person who actually created this theme +# DEFAULT: N/A +author = "Lars Olafsen" + +# 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 = "Lars Olafsen" larsolafsen@gmail.com + +version = "1.0" + +#Image Credits +#Please give credit where credit is due +# background headphones by Alfonso Diaz http://sxc.hu/browse.phtml?f=view&id=293324 + +# 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 = "#" + +# Background Color 2 +bg_color2 = "#" + +# Base Color 1 +base_color1 = "#" + +# Base Color 2 +base_color2 = "#" + +# Font Color 1 +font_color1 = "#222" + +# Font Color 2 +font_color2 = "#222" + +# Font Color 3 +font_color3 = "#222" + +# Row Color 1 +row_color1 = "#" + +# Row Color 2 +row_color2 = "#" + +# Row Color 3 +row_color3 = "#" + +# Error Color +error_color = "#FF0000" + |