1 /* Copyright 2014 - 2016 Paul Hänsch
3 This file is part of Serve0
5 Serve0 is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Affero General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 Serve0 is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Affero General Public License for more details.
15 You should have received a copy of the GNU Affero General Public License
16 along with Serve0 If not, see <http://www.gnu.org/licenses/>.
20 -moz-box-sizing: border-box;
21 -webkit-box-sizing: border-box;
22 box-sizing: border-box;
23 -moz-transition: all .25s linear;
24 transition: all .25s linear;
31 background-color: #000;
34 body.playctl { padding-top: 4.25em; }
36 legend, label, .label { font-weight: bold; }
38 input.tabhandle { display: none; }
39 .tabcontent { display: none; }
40 input.tabhandle:checked + label.tabhandle + .tabcontent { display: inline-block; }
41 input.tabhandle:checked + .tabcontent { display: inline-block; }
51 background-color: rgba(208,208,255,.625 );
53 border: #000 1px solid;
57 background-color: #DBB;
62 display: inline-block;
66 background-color: #333;
71 text-decoration: none;
74 .pagination_nav a.previous,
75 .pagination_nav a.current,
76 .pagination_nav a.next { display: inline-block; }
77 .pagination_nav a.current { color: #F66; font-weight: bold; }
79 .pagination_nav:hover {
83 padding: .5em 3ex .5em 0;
86 #search .pagination_nav:hover {
89 border-bottom: 1px solid #FFF;
91 #foot .pagination_nav:hover {
93 padding-bottom: 2.5em;
94 border-top: 1px solid #FFF;
96 .pagination_nav:hover a { display: inline; }
101 position: absolute; display: block;
102 top: -1px; height: 2.25em; width: 100%;
103 background-color: #222;
104 margin: 0; padding: 0;
106 border-bottom: 1px solid #FFF;
109 body.playctl:before {
112 border-top: 1px solid #FFF;
115 input[name=topmenu] {display: none;}
116 input[name=topmenu] + label {
121 display: inline-block;
122 text-decoration: none;
126 border: 1px none #FFF;
128 input[name=topmenu]:checked + label {
129 background-color: #333;
130 margin-left: -1px; margin-top: -1px;
131 border-style: solid solid none solid;
133 input[name=topmenu]:checked + label + * + input + label { margin-left: -1px; }
135 .panel#search select { margin-right: .5em; }
136 .panel#search:after {
137 display: block; content: '';
141 .panel#search, .panel#foot,
142 .panel.top, .panel.bottom {
147 background-color: #333;
152 .panel#search, .panel.top {
153 border-style: none none solid none;
156 body.playctl .panel#search,
157 body.playctl .panel.top { top: 4em; }
161 .panel.top.switchable { position: absolute; min-height: 2.5em;}
162 .panel#foot, .panel.bottom {
165 border-style: solid none none none;
172 margin: 0; padding: 0;
176 input[name=topmenu]:checked + label + .panel.switchable,
177 .panel.switchable:target {
186 .panel#search > a, .panel#foot > a,
187 .panel.top > a, .panel.bottom > a{
188 display: inline-block;
190 text-decoration: none;
191 margin: .25em .5em 0 0;
194 .panel.switchable.top a:first-of-type {
195 display: block; display: none;
197 border-bottom: 1px solid #FFF;
199 .panel.switchable.bottom a:last-of-type {
202 border-top: 1px solid #FFF;
206 /* == Panel Elements == */
208 .panel.switchable > fieldset,
209 .panel.switchable > input[type=submit] {
211 display: inline-block;
216 #tagger > fieldset { max-width: 48%;}
217 #tagger > fieldset.additional,
218 #tagger > fieldset.description {
222 /* == Advanced Filters == */
224 /* == Filter Boxes == */
226 border: solid 1px #FFF;
227 border-radius: .25em;
230 #advfilter .filter .help {
232 height: 0; overflow: hidden;
234 #advfilter .filter .tabcontainer {
239 #advfilter .filter .tabcontainer input + .category.tabhandle {
243 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
247 #advfilter .filter .tabcontainer .category.tabcontent {
253 border: 2px #FFF solid;
254 border-radius: 0 .25em .25em 0;
257 #advfilter > label.tabhandle {
263 /* == Dynamic Appearance of Boxes == */
264 .panel#advfilter > .tabhandle + label { display: none; }
265 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
266 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
267 .panel#advfilter > .tabhandle + label + .tabcontent {
268 display: inline-block;
275 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
279 border: solid 1px #FFF;
282 #advfilter .filter.final {
288 /* == Recent filters == */
290 p.quicklinks { padding-bottom: 3em; }
291 p.quicklinks :first-child {width: 100%;}
292 p.quicklinks input { display: block; }
295 word-wrap: break-word;
297 margin-bottom: .75em;
300 p.quicklinks input:checked,
301 p.quicklinks input:checked + a { display: none;}
303 /* == Thumblist == */
307 padding: .5em 0 3em 0;
313 display: inline-block;
318 margin-bottom: .75em;
320 word-wrap: break-word;
322 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
323 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
324 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
326 #thumblist .thumb img {
328 margin: 0; padding: 0;
330 #thumblist .thumb h2 {
337 border-bottom: 1px solid #333;
338 background: rgba(0,0,0,.5);
340 #thumblist .thumb .property {
341 position: absolute; left: .25em;
344 #thumblist .thumb .property:nth-of-type(2) { left: 5em;}
345 #thumblist .thumb button {
348 margin: 0; padding: 0;
351 background-color: transparent;
361 display: inline-block;
366 margin-bottom: .75em;
368 word-wrap: break-word;
370 @media (min-width: 460px){#thumblist .file{width: 48%;}}
371 @media (min-width: 620px){#thumblist .file{width: 32%;}}
372 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
374 #thumblist .file.directory { background-color: #BBD; }
375 #thumblist .file.plain { background-color: #111; color: #777; }
376 #thumblist .file.video { background-color: #DBB; }
378 .panel#tagger .newtag { width: 50%;}
379 .panel#tagger .newtag.additional,
380 .panel#tagger .newtag.description { width: 100%;}
381 .panel#tagger .newtag select,
382 .panel#tagger .newtag .label{
386 .panel#tagger input[type=submit],
387 .panel#tagger button {
388 min-width: 10em; height: 3em;
390 @media (min-width: 460px){
391 .panel#tagger .newtag { width: 10em;}
392 .panel#tagger .newtag.additional,
393 .panel#tagger .newtag.description { width: 20em; max-width: 40%; }
396 .panel#preferences > fieldset {
398 border-radius: .25em;
400 .panel#preferences > input { display: block; }
402 /* == Client side player == */
405 #playctl h1 { font-size: 1.25em;}
406 #videoview h1, #videoview > a,
407 #playctl h1, #playctl > a {
408 display: inline-block;
410 padding: 0; margin: .5em 0;
418 /* == Server side player == */
420 form.playctl fieldset {
427 form.playctl fieldset.playback { height: 12em; }
428 form.playctl fieldset.playback button {
432 background-color: #EEE;
433 border: 1px solid #333;
435 form.playctl fieldset.playback button[value="-60"] {top: 6em; left: 0; width: 20%;}
436 form.playctl fieldset.playback button[value="-10"] {top: 6em; left: 20%; width: 30%;}
437 form.playctl fieldset.playback button[value="stop"] {top: 0; left: 0; width: 40%;}
438 form.playctl fieldset.playback button[value="pause"] {top: 0; right: 0; width: 60%;}
439 form.playctl fieldset.playback button[value="+10"] {top: 6em; right: 20%; width: 30%;}
440 form.playctl fieldset.playback button[value="+60"] {top: 6em; right: 0; width: 20%;}
442 form.playctl fieldset.volume { height: 3em; }
443 form#advctl.playctl fieldset.volume { height: 4em; }
444 form.playctl fieldset.volume button[name="amp"] {position: absolute; width: 50%; height: 4em; top: 0;}
445 form.playctl fieldset.volume button[value="off"] {left:0;}
446 form.playctl fieldset.volume button[value="on"] {right:0;}
447 form.playctl fieldset.volume button[name="vol"] {position: relative; display: inline-block; width: 4%;}
448 form.playctl fieldset.volume button[name="vol"].selected { background-color: #FA6;}
449 form.playctl fieldset.volume button[name="vol"][value="100"],
450 form.playctl fieldset.volume button[name="vol"][value="0"] { width: 4%;}
451 form.playctl fieldset.pasink button { width: 100%; height: 3em;}
457 width: 100%; left:0; right: 0;
459 background-color: black;
460 border-top: 1px solid white;
465 span.progress > span {
469 background-color: #333;