summaryrefslogtreecommitdiffstats
path: root/contrib/themes
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2006-10-15 19:18:40 +0000
committerpb1dft <pb1dft@ampache>2006-10-15 19:18:40 +0000
commitf4bf617e40d00d2670fe2b21b61de5e17473ed4b (patch)
tree878c68119781d7c08f8aa0b21f7204428ab70b9c /contrib/themes
parent78e5af0d4fd336c8f25d87e70ec1967aa977e236 (diff)
downloadampache-f4bf617e40d00d2670fe2b21b61de5e17473ed4b.tar.gz
ampache-f4bf617e40d00d2670fe2b21b61de5e17473ed4b.tar.bz2
ampache-f4bf617e40d00d2670fe2b21b61de5e17473ed4b.zip
Theme made compatible with newest version of Ampache
Diffstat (limited to 'contrib/themes')
-rwxr-xr-xcontrib/themes/Spiffy/screencap/01.jpgbin116612 -> 126979 bytes
-rw-r--r--contrib/themes/Spiffy/templates/default.css819
-rwxr-xr-xcontrib/themes/Spiffy/theme.cfg.php18
3 files changed, 563 insertions, 274 deletions
diff --git a/contrib/themes/Spiffy/screencap/01.jpg b/contrib/themes/Spiffy/screencap/01.jpg
index 1bf7cda8..f45117d3 100755
--- a/contrib/themes/Spiffy/screencap/01.jpg
+++ b/contrib/themes/Spiffy/screencap/01.jpg
Binary files differ
diff --git a/contrib/themes/Spiffy/templates/default.css b/contrib/themes/Spiffy/templates/default.css
index 819cc9c8..b650546d 100644
--- a/contrib/themes/Spiffy/templates/default.css
+++ b/contrib/themes/Spiffy/templates/default.css
@@ -1,272 +1,547 @@
-<?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'); ?>Spiffy
-
- font-family: Verdana;
- font-size: 12px;
- color: #f0f0f0;
- }
-
- p
- {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: 12px;
- }
- a
- {
- color: #f0f0f0;
- font-family: Verdana;
- }
- a:visited
- {
- color: #f0f0f0;
- font-family: Verdana;
- }
- a:active
- {
- color: #f0f0f0;
- font-family: Verdana;
- }
- .text-box
- {
- padding-left:5px;
- padding-top:5px;
- margin-bottom:10px;
- background-color: #ffbbff;
- border-right:2px solid #000000;
- border-bottom:2px solid #000000;
- border-left:2px solid #000000;
- border-top:2px solid #000000;
- }
- table.tabledata
- {
- }
-
- td
- {
- padding: 0px 8px 0px 8px;
- color: #f0f0f0;
- font-family: Verdana;
- font-size: 12px;
- }
- th
- {
- padding-right: 10px;
- }
- input
- {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: 12px;
- font-weight: bold;
- background-color: #cd96cd;
- border-style: solid;
- border-width: 1px;
- border-color: #000000;
- margin: 2px 2px 2px 2px;
- }
- select {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: 12px;
- background-color: #cd96cd;
- }
- textarea
- {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: 12px;
- }
- .table-header
- {
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat-x;
- vertical-align: top;
- }
-/*************** Main Menu *****************/
- #mainmenu {
- float: left;
- width: 100%;
- margin: 0;
- padding: 0;
- list-style: none;
- border-top: 1px solid #000;
- border-bottom: 1px solid #000;
- border-right: 1px solid #000;
- border-left: 1px solid #000;
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat-x;
-peat-x;
- }
- #mainmenu li {
- float: left;
- margin: 0;
- padding: 0 10px 0 10px;
- border-right: 1px solid #000;
- display: inline;
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat-x;
-peat-x;
- }
- #mainmenu li.active {
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-dark-bg.gif) #cd96cd rep
-eat-x;
- }
- #mainmenu a {
- text-decoration: none;
- }
- #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: 1px solid #000;
- border-right: 1px solid #000;
- border-left: 1px solid #000;
- border-top: 1px solid #000;
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat;
- }
- #adminmenu li {
- float: left;
- margin: 0;
- padding: 0 20px 0 20px;
- border-right: 1px solid #000;
- display: inline;
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat-x;
- }
- #adminmenu li.active {
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-dark-bg.gif) #cd96cd repeat-x;
- }
- #adminmenu a {
- text-decoration: none;
- }
- #adminmenu a:hover {
- color: #000;
- }
- #adminmenu a:active {
- color: #000;
- }
-/*************** END Main Menu *************/
-/*************** Page Header *********************/
- #pageheader {
- background: ;
- }
-/*************** END Page Header *****************/
- .navitem
- {
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-light-bg.gif) #cd96cd repeat-x;
- vertical-align: top;
- text-align: center;
- }
- .header1
- {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: <?php echo conf('font_size') + 6; ?>px;
- font-weight: 900;
- }
- .header2
- {
- color: #f0f0f0;
- font-family: Verdana;
- font-size: <?php echo conf('font_size') + 2; ?>px;
- font-weight: 900;
- }
- .active_navitem
- {
- background: url(<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache-dark-bg.gif) #ffffff repeat-x;
- vertical-align: top;
- text-align: center;
- }
- .headrow
- {
- background:#ff6eb4;
- font-size: 12px;
- }
- .odd
- {
- background:#ff6eb4;
- font-size: 12px;
- }
- .even
- {
- background:#ff6eb4;
- font-size: 12px;
- }
- .blank
- {
- background: #fff;
- }
- .border
- {
- background:#000000;
- }
- .header
- {
- font-size: 12px;
- }
- .error
- {
- color: #990033;
- }
- .fatalerror
- {
- padding-top: 3px;
- padding-bottom: 3px;
- color: #990033;
- border-right:4px solid #990033;
- border-bottom:4px solid #990033;
- border-left:4px solid #990033;
- border-top:4px solid #990033;
- font-size: <?php echo conf('font_size')+2; ?>px;
- font-weight: 900;
- text-align: center;
- }
- .disabled
- {
- text-decoration: line-through;
- }
- .alphabet
- {
- font-size: 12px;
- font-weight: normal;
- }
--->
-</style>
+<!--
+/*
+
+ Copyright (c) 2001 - 2006 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.
+
+*/
+-->
+p {
+ color: #000000;
+}
+
+a {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+}
+a:visited
+ {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ }
+a:active {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+}
+.text-box {
+ display: table-cell;
+ padding-left:5px;
+ padding-top:5px;
+ padding-right:5px;
+ margin-bottom:10px;
+ background-color: #FF6EB4;
+ border-right:2px solid #000000;
+ border-bottom:2px solid #000000;
+ border-left:2px solid #000000;
+ border-top:2px solid #000000;
+}
+.selected_button {
+ background-color: black;color:white;
+}
+.unselected_button {
+ /* there really isn't anything for this */
+}
+.display {}
+
+#mpdpl td {
+ padding: 0px 2px 0px 2px;
+ text-align: left;
+}
+table.tabledata {}
+td {
+ padding: 0px 8px 0px 8px;
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+}
+th {
+ padding-right: 10px;
+}
+input {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+ background-color: #CD96CD;
+ margin: 2px 2px 2px 2px;
+}
+select {
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ background-color: #CD96CD;
+}
+textarea {
+ background-color: #CD96CD;
+ color: #000000;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+}
+.table-header {
+ background: url(../images/ampache-light-bg.gif) #FF6EB4 repeat-x;
+ vertical-align: top;
+ color: #FFFFFF;
+}
+ .header1
+ {
+ color: #FFFFFF;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 18px;
+ font-weight: 900;
+ }
+ .header2
+ {
+ color: #FFFFFF;
+ font-family: Verdana, Helvetica, sans-serif;
+ font-size: 14px;
+ font-weight: 900;
+ }
+ .headrow
+ {
+ background:#FF6EB4;
+ font-size: 12px;
+ }
+ .odd
+ {
+ background:#FF6EB4;
+ font-size: 12px;
+ }
+ .even
+ {
+ background:#FF6EB4;
+ font-size: 12px;
+ }
+.blank {
+ background: #FF6EB4;
+}
+.border {
+ background:#000000;
+}
+.header {
+ font-size: 12px;
+}
+.error {
+ color: #990033;
+}
+.fatalerror {
+ padding-top: 3px;
+ padding-left: 3px;
+ padding-right: 3px;
+ display: table-cell;
+ padding-bottom: 3px;
+ color: #990033;
+ font-weight:bold;
+ border-right:2px solid #990033;
+ border-bottom:2px solid #990033;
+ border-left:2px solid #990033;
+ border-top:2px solid #990033;
+}
+#container div.fatalerror {
+ background:none;
+ height:auto;
+ padding:5px;
+ margin:10px;
+ display:block;
+}
+.disabled {
+ text-decoration: line-through;
+}
+.smallbutton {
+ border:1px solid #000000;
+ padding-left:1px;
+ padding-right:1px;
+ font-size: 11px;
+ cursor: pointer;
+}
+/* These three lines make a menu vertical */
+ #sidebar li { float: none; }
+ #sidebar li ul { margin: -1.5em 0 0 9em; }
+
+/* ////////////////////////////////////////////////////////////////*/
+/* De aqui pa'bajo, ros esta creando una hoja de estilos unica para todo Ampache */
+
+/* General style rules */
+body{
+ color: #000000;
+ padding-top: 0px;
+ margin-top: 0px;
+ margin-left: 0px;
+ margin-right: 0px;
+ background-color: #FF6EB4;
+ font-family:Arial, Helvetica, Sans-Serif;
+ background: url(../images/Background.gif) #FF6EB4;
+}
+
+#maincontainer{
+ margin: 0px;
+}
+
+.alphabet {
+ margin: 10px;
+ font-size: 10px;
+ font-weight: normal;
+}
+
+/* Content block */
+#content {
+ top:90px;
+ float: none;
+ margin-top:7px;
+ margin-left:135px;
+ /*float:left; use for horizontal menu; comment out otherwise */
+ /* background:#fff url("../themes/classic/images/bg_content.gif") repeat-y right top; */
+}
+
+h3#content_title{
+ font-family:Arial,Helvetica,Sans-Serif;
+ font-size:12px;
+ line-height:32px;
+ color:#fff;
+ margin:0px;
+ padding:0px;
+ background:#FF6EB4 url("../themes/classic/images/content_corner.gif") no-repeat right top;
+}
+
+h3#content_title span {
+ text-align:left;
+}
+
+/* Styles for Header */
+div#Header{
+ height:80px;
+ margin-bottom:3px;
+ padding:0px;
+}
+
+#Header h1 {
+ background: transparent url("../themes/classic/images/bg_login_0.jpg") no-repeat top left;
+ border:0px;
+ width: 439px;
+ height: 84px;
+ float: left;
+ margin:0px;
+ padding:0px;
+}
+
+#Header h1 span {
+ display:none
+}
+
+#Header h2 {
+ background: transparent url(001/h2.gif) no-repeat top left;
+ margin-top: 75px;
+ width: 200px;
+ height: 18px;
+ float: right;
+}
+
+#Header h2 span {
+ font-size:10px;
+ margin-left:10px;
+}
+
+
+/* Sidebar */
+/**
+ * Experimental for menus (Thx Sigger)
+ * TO DO: Fill in 1px border around menus & submenu items
+ * Make padding apply to the li, not just an a. Moving padding: to li throws off the dropdown menu alignment.
+ */
+
+div#sidebar{
+ clear:both;
+ position:absolute;
+ left:5px;
+ top:67px;
+}
+
+#sidebar h3 {
+ border:0px;
+ width: 120px;
+ height: 28px;
+ margin:0px;
+ padding:0px;
+ background: transparent no-repeat left;
+
+}
+
+#sidebar h3 span {
+ display:none
+}
+
+#sidebar ul {
+ margin: 0px;
+ list-style: none;
+ font-family:Arial, Helvetica, Sans-Serif;
+ font-size:10px;
+ padding: 0px;
+ line-height: 1.0;
+}
+
+#sidebar li {
+ margin: 1px;
+ display: block;
+ border-bottom: 1px solid #000000;
+ border-left: 1px solid #000000;
+ border-right: 1px solid #000000;
+ border-top: 1px solid #000000;
+ /* float: left; /* use for horizontal menu; comment out otherwise */
+ padding: 5px 0px 5px 10px;
+ width: 10.5em;
+ background-color:#FF6EB4;
+}
+
+#sidebar ul.subnavside li {
+ border-right: 1px solid #000000;
+}
+
+#sidebar a, .navbutton {
+ display: block; /*Not sure why this is neccesary, but it is for IE*/
+ text-decoration: none;
+}
+
+#sidebar li:hover, #sidebar li.sfhover {
+ color:#000000;
+ background-color:#CD96CD;
+}
+#sidebar #activetopmenu, #sidebar #activesubmenu {
+ background-color:#CD96CD;
+ z-index:30;
+}
+
+#sidebar li.hover:active {
+ background-color:#CD96CD;
+ z-index:30;
+}
+
+#sidebar li ul {
+ float: left;
+ position: absolute;
+ width: 9em;
+ margin: -1.5em 0 0 10.5em; /* for vertical menu; comment out otherwise */
+/* margin: 0.5em 0 0 -1.1em; /* for horizontal menu; comment out otherwise */
+ left: -999em; /* this -999em puts the submenu item way off to the left until it's called back by a hover (below) */
+ z-index:30;
+}
+
+#sidebar li:hover ul, #sidebar li.sfhover ul {
+ left: auto; /* this calls the submenu back when the parent li is hovered. */
+}
+
+/* Styles for Now Playing */
+#nowplaying{
+ clear: both;
+ width: 625px;
+}
+
+#np_container1{
+ width: 260px;
+ height: 18px;
+ padding: 0px;
+ margin: 0px;
+ background: #FF6EB4 url("../themes/classic/images/tb_tab.jpg") no-repeat top left;
+}
+
+#np_container1 h1{
+ font-size: 10px;
+ font-weight: bold;
+ padding: 2px;
+}
+
+#np_container2{
+ border-width: 1px 1px 1px 1px;
+ border-style: solid;
+ border-color:#ddd #999 #999 #ccc;
+ padding: 6px;
+ font-family: Verdana, sans-serif;
+ font-size: 10px;
+ line-height: 12px;
+ color: #000;
+ background: #FF6EB4 url("../themes/classic/images/bg_row.jpg") repeat top left;
+}
+
+
+/* Styles for Login template */
+#container{
+ margin:100px auto 0px auto;
+ width:437px;
+ font-size: 12px;
+ text-align:center;
+}
+#container h1{
+ background:url("../themes/classic/images/bg_login_0.jpg") no-repeat;
+ height:81px;
+ margin-bottom:8px;
+}
+#container h1 span{
+ display:none;
+}
+#container div{
+ background:url("../themes/classic/images/bg_login_1.jpg") no-repeat;
+ height:285px;
+}
+#loginp_0{
+ color:#333;
+ margin-top:0px;
+ padding-top:60px;
+}
+.loginp_1{
+ text-align:right;
+ padding-right:100px;
+}
+.loginp_1 span{
+ font-weight:bold;
+}
+.loginp_1 input{
+ border:1px solid #999;
+}
+input.text_input {
+width:12em;
+}
+.loginp_1 input.check_input {
+margin-right:5em;
+}
+/* Footer */
+#footer {
+ margin-left: 150px;
+ margin-bottom: 10px;
+}
+
+#footer p {
+ color:#999999;
+ font-size:10px;
+}
+#topbar {
+ height: 80px;
+ padding-top:3px;
+ padding-left:10px;
+}
+#topbarright {
+ float: right;
+ font-size: 10px;
+}
+#topbarleft, #topbarleft a{
+ float: left;
+}
+
+/* Box Related Styles */
+.box {
+ padding:0px;
+ margin-bottom: 5px;
+ background: #FF6EB4;
+ border: 1px solid #000000;
+}
+.box-title {
+ border-bottom: solid 1px #000000;
+ font-size: 1.05em;
+ font-weight: bold;
+}
+.box-left-top { display:none; }
+.box-left-bottom { display:none; }
+.box-left { display:none; }
+.box-bottom { display:none; }
+.box-right-bottom { display:none; }
+.box-right-top { display:none; }
+.box-right { display:none; }
+.box-top { display:none; }
+
+/* List Header Styles */
+.list-header {
+ text-decoration: none;
+}
+.list-header:hover {
+ color:#071fd4;
+}
+
+
+.confirmation-box {
+ padding-left:5px;
+ padding-top:5px;
+ padding-right:5px;
+ margin-bottom:10px;
+ display: table-cell;
+ background-color: #FF6EB4;
+ border-right:2px solid #000000;
+ border-bottom:2px solid #000000;
+ border-left:2px solid #000000;
+ border-top:2px solid #000000;}
+.text-action, .text-action li {
+ margin-top:5px;
+ list-style: none;
+ margin-bottom:5px;
+ padding-left:0px;
+}
+.text-action a, .text-action span {
+ background: #FF6EB4;
+ border:1px solid #000000;
+ padding-left:2px;
+ padding-right:2px;
+ text-decoration: none;
+}
+.text-action #pt_active {
+ background: #FF6EB4;
+ color: #ffffff;
+ border:1px solid #dddddd;
+}
+#nowplaying {
+ width:600px;
+}
+.np_row {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ display: block;
+}
+.np_cell {
+ margin: 10px;
+}
+#tablist {
+ padding: 3px 0;
+ margin: 12px 0 0 0;
+ font: bold 12px Verdana, sans-serif;
+}
+
+#tablist li {
+ list-style: none;
+ margin: 0;
+ display: inline;
+}
+
+#tablist li a {
+ padding: 3px 0.5em;
+ margin-left: 3px;
+ border: 1px solid #cccccc;
+ border-bottom: none;
+ background: #FF6EB4;
+ text-decoration: none;
+}
+
+#tablist li a:link { color: #222222; }
+#tablist li a:visited { color: #000000; }
+
+#tablist li a:hover {
+ color: #000000;
+ background: #FF6EB4;
+ border-color: #000000;
+}
+
+#tablist li a#current {
+ color: #000000;
+ background: #FF6EB4;
+ border-color: #000000;
+ border-bottom: 1px solid #000000;
+}
+
diff --git a/contrib/themes/Spiffy/theme.cfg.php b/contrib/themes/Spiffy/theme.cfg.php
index 64cbb3ef..f62a74ba 100755
--- a/contrib/themes/Spiffy/theme.cfg.php
+++ b/contrib/themes/Spiffy/theme.cfg.php
@@ -16,7 +16,7 @@ name = "Spiffy"
# This is just a way of giving credit to the
# person who actually created this theme
# DEFAULT: N/A
-author = "Ripmaster TS"
+author = "Ripmaster TS modified by Terence Theijn"
# Theme Maintainer
# This is just a way of listing who is responsible for
@@ -25,7 +25,21 @@ author = "Ripmaster TS"
# DEFAULT: N/A
#maintainer = "no@mail.org
-version = "1.0"
+# Version
+# This is the version of the Theme (usefull if you've updated it)
+version = "1.1"
+
+# 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
###################