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 box-sizing: border-box;
22 -moz-transition: all .3s linear;
23 transition: all .3s linear;
29 background-color: #000;
33 legend, label, .label { font-weight: bold; }
35 input.tabhandle { display: none; }
36 .tabcontent { display: none; }
37 input.tabhandle:checked + label.tabhandle + .tabcontent { display: inline-block; }
38 input.tabhandle:checked + .tabcontent { display: inline-block; }
48 background-color: #BBD;
50 border: #000 1px solid;
54 background-color: #DBB;
59 display: inline-block;
61 right: 2ex; bottom: .25em;
64 background-color: #333;
70 text-decoration: none;
73 .pagination_nav a.previous,
74 .pagination_nav a.current,
75 .pagination_nav a.next { display: inline-block; }
76 .pagination_nav a.current { color: #F66; font-weight: bold; }
78 .pagination_nav:hover {
80 padding: .5em 3ex .5em 0;
83 #search .pagination_nav:hover {
86 border-bottom: 1px solid #FFF;
88 #foot .pagination_nav:hover {
90 padding-bottom: 2.5em;
91 border-top: 1px solid #FFF;
93 .pagination_nav:hover a { display: inline; }
103 background-color: #333;
105 border-style: none none solid none;
110 display: inline-block;
118 .panel .help { display: block;}
120 /* == Top Panel == */
126 body.playctl .panel#advfilter,
127 body.playctl .panel#search {
129 border-top: 1px solid #FFF;
132 /* == Bottom Panels == */
138 border-style: solid none none none;
142 /* == Switchable Panels == */
148 min-height: 0; max-height: 0;
149 padding-top: 0; padding-bottom: 0;
156 padding: .25em 6em 0 .5em;
160 body.playctl .panel#search,
161 body.playctl .panel#foot { padding-right: .25em; }
167 .panel#advfilter:target{ padding-bottom: 1em; }
169 /* == Panel Switches == */
171 .panel#playctl a.panel,
172 .panel#advfilter a.panel,
173 .panel#preferences a.panel,
174 .panel#tagger a.panel {
176 border-style: none none solid none;
179 .panel#preferences a.panel,
180 .panel#tagger a.panel {
181 border-style: solid none none none;
186 /* == Panel Elements == */
188 .panel#advfilter .quicklinks,
189 .panel#advfilter .filter,
190 .panel#tagger .newtag,
191 .panel#tagger input[type=submit],
192 .panel#preferences > * {
193 display: inline-block;
199 /* == Advanced Filters == */
201 /* == Filter Boxes == */
203 border: solid 1px #FFF;
204 border-radius: .25em;
207 #advfilter .filter .tabcontainer {
212 #advfilter .filter .tabcontainer input + .category.tabhandle {
216 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
220 #advfilter .filter .tabcontainer .category.tabcontent {
226 border: 2px #FFF solid;
227 border-radius: 0 .25em .25em 0;
230 #advfilter > label.tabhandle {
236 /* == Dynamic Appearance of Boxes == */
237 .panel#advfilter > .tabhandle + label { display: none; }
238 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
239 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
240 .panel#advfilter > .tabhandle + label + .tabcontent {
241 display: inline-block;
248 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
252 border: solid 1px #FFF;
255 #advfilter .filter.final {
260 #advfilter .quicklinks {width: 100%;}
262 p.quicklinks { padding-bottom: 3em; }
263 p.quicklinks :first-child {width: 100%;}
264 p.quicklinks input { display: block; }
267 word-wrap: break-word;
269 margin-bottom: .75em;
272 p.quicklinks input:checked,
273 p.quicklinks input:checked + a { display: none;}
275 /* == Thumblist == */
279 padding: .5em 0 3em 0;
284 display: inline-block;
289 margin-bottom: .75em;
291 word-wrap: break-word;
293 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
294 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
295 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
297 #thumblist .thumb img {
299 margin: 0; padding: 0;
301 #thumblist .thumb h2 {
306 #thumblist .thumb button {
309 margin: 0; padding: 0;
312 background-color: transparent;
322 display: inline-block;
327 margin-bottom: .75em;
329 word-wrap: break-word;
331 @media (min-width: 460px){#thumblist .file{width: 48%;}}
332 @media (min-width: 620px){#thumblist .file{width: 32%;}}
333 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
335 #thumblist .file.directory { background-color: #BBD; }
336 #thumblist .file.plain { background-color: #111; color: #777; }
337 #thumblist .file.video { background-color: #DBB; }
339 .panel#tagger .newtag select,
340 .panel#tagger .newtag .label{
345 .panel#preferences > fieldset {
347 border-radius: .25em;
349 .panel#preferences > input { display: block; }
352 #playctl h1 { font-size: 1.25em;}
353 #videoview h1, #videoview > a,
354 #playctl h1, #playctl > a {
355 display: inline-block;
357 padding: 0; margin: .5em 0;
365 #playctl form fieldset {
372 #playctl form fieldset.playback { height: 12em; }
373 #playctl form fieldset.playback button {
377 background-color: #EEE;
378 border: 1px solid #333;
380 #playctl form fieldset.playback button[value="-60"] {top: 6em; left: 0; width: 20%;}
381 #playctl form fieldset.playback button[value="-10"] {top: 6em; left: 20%; width: 30%;}
382 #playctl form fieldset.playback button[value="stop"] {top: 0; left: 0; width: 40%;}
383 #playctl form fieldset.playback button[value="pause"] {top: 0; right: 0; width: 60%;}
384 #playctl form fieldset.playback button[value="+10"] {top: 6em; right: 20%; width: 30%;}
385 #playctl form fieldset.playback button[value="+60"] {top: 6em; right: 0; width: 20%;}
387 #playctl form fieldset.volume { height: 7em; }
388 #playctl form fieldset.volume button[name="amp"] {position: absolute; width: 50%; height: 4em; top: 0;}
389 #playctl form fieldset.volume button[value="off"] {left:0;}
390 #playctl form fieldset.volume button[value="on"] {right:0;}
391 #playctl form fieldset.volume button[name="vol"] {position: relative; display: inline-block; top: 5em; width: 4%;}
392 #playctl form fieldset.volume button[name="vol"].selected { background-color: #FA6;}
393 #playctl form fieldset.volume button[name="vol"][value="100"],
394 #playctl form fieldset.volume button[name="vol"][value="0"] { width: 4%;}
400 width: 100%; left:0; right: 0;
402 background-color: black;
403 border-top: 1px solid white;
410 background-color: #333;