author | Dan |
Tue, 26 May 2009 15:26:22 -0400 | |
changeset 71 | 8663af0e27c7 |
parent 19 | 75dd71fe35b2 |
permissions | -rw-r--r-- |
0
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
1 |
/** |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
2 |
* Based upon the AmaroK WebControl interface by: |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
3 |
* Jonas Christian Drewsen ( kde at xspect dot dk ) |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
4 |
* André Kelpe ( fs111 at web dot de ) |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
5 |
* Peter C. Ndikuwera ( pndiku at gmail dot com ) |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
6 |
*/ |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
7 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
8 |
body { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
9 |
font-family: sans-serif; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
10 |
background-color: #9cb2cd; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
11 |
color: #ffffff; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
12 |
padding: 0 8px; |
1 | 13 |
background-image: url(images/playbar-shadow.gif); |
14 |
background-repeat: repeat-x; |
|
0
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
15 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
16 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
17 |
div.tblholder { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
18 |
padding: 1px; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
19 |
background-color: #ffffff; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
20 |
border: 1px solid #000000; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
21 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
22 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
23 |
div.tblholder table { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
24 |
background-color: #596082; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
25 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
26 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
27 |
tr th { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
28 |
background-color: #697092; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
29 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
30 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
31 |
tr.row1 td { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
32 |
background-color: #394062; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
33 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
34 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
35 |
tr.row2 td { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
36 |
background-color: #202050; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
37 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
38 |
|
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
39 |
tr.current td { |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
40 |
background-color: #495072; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
41 |
color: #ffff00; |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
42 |
} |
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
43 |
|
1 | 44 |
div#playbar { |
45 |
position: fixed; |
|
46 |
top: 0; |
|
47 |
left: 0; |
|
48 |
width: 100%; |
|
49 |
height: 32px; |
|
50 |
padding: 0; |
|
51 |
margin: 0; |
|
52 |
background-image: url(images/playbar.gif); |
|
53 |
background-repeat: repeat-x; |
|
54 |
background-color: #383f61; |
|
55 |
border-bottom: 1px solid #000000; |
|
56 |
} |
|
57 |
||
58 |
div.playbar-inner { |
|
59 |
padding: 5px; |
|
2
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
60 |
line-height: 22px; |
1 | 61 |
} |
62 |
||
63 |
a img { |
|
64 |
border-width: 0; |
|
65 |
} |
|
66 |
||
0
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
67 |
div#playlist { |
1 | 68 |
margin-top: 48px; |
0
c63de9eb7045
First commit. Basic things are working and implemented (webserver, templating, DCOP interface)
Dan
parents:
diff
changeset
|
69 |
} |
1 | 70 |
|
71 |
a.tracklink { |
|
72 |
text-decoration: none; |
|
73 |
color: white; |
|
74 |
} |
|
75 |
||
2
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
76 |
div#playlist tr.current a.tracklink { |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
77 |
color: #ffff00; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
78 |
} |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
79 |
|
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
80 |
span#playmeter, span#volume_wrap { |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
81 |
position: relative; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
82 |
top: -7px; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
83 |
} |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
84 |
|
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
85 |
a.volume_button { |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
86 |
padding-right: 10px; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
87 |
margin-right: 1px; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
88 |
background-color: #33395d; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
89 |
border: 1px solid #909090; |
4 | 90 |
text-decoration: none; |
2
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
91 |
} |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
92 |
|
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
93 |
a.volume_button_active { |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
94 |
background-color: #9090c2; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
95 |
border-color: #d0d0d0; |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
96 |
} |
860ba7141641
Should be nearly finished now - includes volume control, length measurement, and seems pretty stable
Dan
parents:
1
diff
changeset
|
97 |
|
10
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
98 |
/* Position slider (playhead) */ |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
99 |
|
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
100 |
div#playhead { |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
101 |
background-image: url(images/position-empty.png); |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
102 |
width: 250px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
103 |
background-repeat: no-repeat; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
104 |
background-position: center center; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
105 |
float: right; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
106 |
margin-left: 10px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
107 |
} |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
108 |
|
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
109 |
div#playhead-filler { |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
110 |
background-image: url(images/position-full.png); |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
111 |
width: 150px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
112 |
background-repeat: no-repeat; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
113 |
background-position: left center; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
114 |
} |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
115 |
|
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
116 |
div#playhead-button { |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
117 |
background-image: url(images/playhead.png); |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
118 |
width: 16px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
119 |
height: 16px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
120 |
font-size: 1px; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
121 |
position: absolute; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
122 |
background-repeat: no-repeat; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
123 |
background-position: center center; |
d3059e20b0fa
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
Dan
parents:
4
diff
changeset
|
124 |
} |
11
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
125 |
|
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
126 |
/* The list of colors that will be cycled through as playback takes place */ |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
127 |
tr.pulsar0 td { background-color: #47507a; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
128 |
tr.pulsar1 td { background-color: #424a73; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
129 |
tr.pulsar2 td { background-color: #3c436c; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
130 |
tr.pulsar3 td { background-color: #383d64; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
131 |
tr.pulsar4 td { background-color: #31365d; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
132 |
tr.pulsar5 td { background-color: #2c3155; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
133 |
tr.pulsar6 td { background-color: #272a4e; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
134 |
tr.pulsar7 td { background-color: #222447; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
135 |
tr.pulsar8 td { background-color: #1c1d3f; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
136 |
tr.pulsar9 td { background-color: #171738; } |
0faea3a6c881
Fixed some position slider issues; added a pulsing effect to the current track (fun!)
Dan
parents:
10
diff
changeset
|
137 |
|
19
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
138 |
div.poweredby { |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
139 |
font-size: smaller; |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
140 |
text-align: center; |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
141 |
margin: 10px 0; |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
142 |
} |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
143 |
|
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
144 |
div.poweredby a { |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
145 |
color: #57608a; |
75dd71fe35b2
Added the "powered by" link and rebranded as 0.1 alpha 1
Dan
parents:
11
diff
changeset
|
146 |
} |