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 /contrib/themes/simple_h/templates | |
parent | 9a46c81e8fb2498822706144ac8373dc5700db67 (diff) | |
download | ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.tar.gz ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.tar.bz2 ampache-1e602edccc85d35293bde19dd2a451cbcd09bad7.zip |
new theme
Diffstat (limited to 'contrib/themes/simple_h/templates')
-rw-r--r-- | contrib/themes/simple_h/templates/style.inc | 260 |
1 files changed, 260 insertions, 0 deletions
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> |