1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
<?php
/*
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.
*/
/*!
@header Style File
@discussion this is the css that handles the menu mojo (#sidebar, etc) and the
outer layer of layout (#maincontainer, #topbar, #content, etc
*/
?>
<style type="text/css">
<!--
/**
* Div Definitions
* These define how the page is laid out, be careful with these as changes to them
* can cause drastic layout changes
*/
#maincontainer
{
margin: 0px;
}
#topbar
{
height: 80px;
padding-top:10px;
padding-left:10px;
background-color: <?php echo conf('bg_color1'); ?>;
}
#topbarright
{
float: right;
}
#topbarleft
{
float: left;
}
.nodisplay { display: none;}
.display {}
#mpdpl td {
padding: 0px 2px 0px 2px;
text-align: left;
}
/**
* End Div Definitions
* This is the end of the main structure def's
*/
/**
* Experimental for menus (Thx Sigger)
* TO DO: Fill in 1px border around menus & submenu items
* Make padding appply to the li, not just an a. Moving paddng: to li throws off the dropdown menu alignment.
*/
#content {
/* float: left; /* use for horizontal menu; comment out otherwise */
margin-left:0px;
}
#sidebar {
clear: both;
height: 100%;
margin: 0;
float: left;
padding: 0;
list-style: none;
border: 1px solid #000;
line-height: 1.0;
}
#sidebar ul {
margin: 0px;
list-style: none;
padding: 0px;
font-family: verdana, arial, Helvetica, sans-serif;
line-height: 1.0;
}
#sidebar li {
margin: 0;
display: block;
border-bottom: 1px solid white;
border-left: 1px solid white;
border-right: 1px solid white;
/* float: left; /* use for horizontal menu; comment out otherwise */
padding: 5px 0px 5px 10px;
width: 10.5em;
background-color: <?php echo conf('row_color2'); ?>;
}
#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: <?php echo conf('font_color2'); ?>;
background-color: <?php echo conf('row_color3'); ?>;
}
#sidebar li:active {
background-color: <?php echo conf('row_color1'); ?>;
}
#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) */
}
#sidebar li:hover ul, #sidebar li.sfhover ul {
left: auto; /* this calls the submenu back when the parent li is hovered. */
}
/*star rating styles */
/* styles for the star rater */
.star-rating{
list-style:none;
margin: 0px;
padding:0px;
width: 80px;
height: 15px;
position: relative;
background: url(<?php echo conf('web_path'); ?>/images/ratings/star_rating.gif) top left repeat-x;
}
.star-rating li{
padding:0px;
margin:0px;
/*\*/
float: right;
/* */
}
.star-rating li a{
display:block;
width:16px;
height: 15px;
text-decoration: none;
text-indent: -9000px;
z-index: 20;
position: absolute;
padding: 0px;
}
.star-rating li a:hover{
background: url(<?php echo conf('web_path'); ?>/images/ratings/star_rating.gif) left center;
z-index: 2;
left: 0px;
}
li.zero-stars a:hover {
background: url(<?Php echo conf('web_path'); ?>/images/ratings/x.gif);
height: 15px;
left: 80px;
display: block;
}
a.zero-stars {
background: url(<?php echo conf('web_path'); ?>/images/ratings/x_off.gif);
height: 15px;
left: 80px;
display: block;
}
a.one-stars{
left: 0px;
}
a.one-stars:hover{
width:16px;
}
a.two-stars{
left:16px;
}
a.two-stars:hover{
width: 32px;
}
a.three-stars{
left: 32px;
}
a.three-stars:hover{
width: 48px;
}
a.four-stars{
left: 48px;
}
a.four-stars:hover{
width: 64px;
}
a.five-stars{
left: 64px;
}
a.five-stars:hover{
width: 80px;
}
li.current-rating{
background: url(<?php echo conf('web_path'); ?>/images/ratings/star_rating.gif) left bottom;
position: absolute;
height: 15px;
display: block;
text-indent: -9000px;
z-index: 1;
}
-->
</style>
|