summaryrefslogtreecommitdiffstats
path: root/templates/basestyle.inc.php
blob: b27c6bdcd0d9f109a16df4c3e7fc2612c3f60796 (plain)
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<?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 */
           padding-left:155px;
           padding-right:5px;
	}
    #sidebar {
        clear: both;
        height: 100%;
        margin-right: 5px;
        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;
	border-top: 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'); ?>;
	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. */
    }
/*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;
       }               
	#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 <?php echo conf('row_color1'); ?>;
		border-bottom: none;
		background: <?php echo conf('row_color3'); ?>;
		text-decoration: none;
	}

	#tablist li a:link { color: <?php echo conf('font_color1'); ?>; }
	#tablist li a:visited { color: <?php echo conf('bg_color2'); ?>; }

	#tablist li a:hover {
		color: <?php echo conf('font_color2'); ?>;
		background: <?php echo conf('row_color2'); ?>;
		border-color: <?php echo conf('bg_color2'); ?>;
	}

	#tablist li a#current {
		color: <?php echo conf('font_color2'); ?>;
		background: <?php echo conf('row_color2'); ?>;
		border-color: <?php echo conf('bg_color2'); ?>;
		border-bottom: 1px solid <?php echo conf('bg_color2'); ?>; 
	}
/* Other Required Styles */
        .confirmation-box {
                padding-left:5px;
                padding-top:5px;
                padding-right:5px;
                margin-bottom:10px;
		display: table-cell;
                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'); ?>;
	}
	.text-action, .text-action li { 
		margin-top:5px;
		list-style: none;
		margin-bottom:5px;
		padding-left:0px;
	}
	.text-action a, .text-action span { 
		background: <?php echo conf('base_color2'); ?>;
		border:1px solid <?php echo conf('bg_color2'); ?>;	
		padding-left:2px;
		padding-right:2px;
		text-decoration: none;
	} 
	.text-action #pt_active {
		background: <?php echo conf('bg_color2'); ?>;
		color: <?php echo conf('font_color3'); ?>;
		border:1px solid <?php echo conf('base_color2'); ?>;
	}
	#nowplaying { 
		background: <?php echo conf('base_color1'); ?>;
	}
	.np_row { 
		display:block;
		background: <?php echo conf('base_color2'); ?>;
	}
	.np_cell { 
		display: inline;
		margin: 10px;
	}
-->
</style>