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;
62 right: 0; bottom: .25em;
63 padding: .125em .5em 0 0;
70 text-decoration: none;
73 .pagination_nav a.previous,
74 .pagination_nav a.current,
75 .pagination_nav a.next { display: inline; }
76 .pagination_nav a.current {
80 .pagination_nav:hover {
85 background-color: #333;
86 border-bottom: 1px solid #FFF;
93 .pagination_nav:hover a {
105 background-color: #333;
107 border-style: none none solid none;
112 display: inline-block;
120 .panel .help { display: block;}
122 /* == Top Panel == */
128 body.playctl .panel#advfilter,
129 body.playctl .panel#search {
131 border-top: 1px solid #FFF;
134 /* == Bottom Panels == */
140 border-style: solid none none none;
144 /* == Switchable Panels == */
150 min-height: 0; max-height: 0;
151 padding-top: 0; padding-bottom: 0;
158 padding: .25em 6em 0 .5em;
162 body.playctl .panel#search,
163 body.playctl .panel#foot { padding-right: .25em; }
169 .panel#advfilter:target{ padding-bottom: 1em; }
171 /* == Panel Switches == */
173 .panel#playctl a.panel,
174 .panel#advfilter a.panel,
175 .panel#preferences a.panel,
176 .panel#tagger a.panel {
178 border-style: none none solid none;
181 .panel#preferences a.panel,
182 .panel#tagger a.panel {
183 border-style: solid none none none;
188 /* == Panel Elements == */
190 .panel#advfilter .quicklinks,
191 .panel#advfilter .filter,
192 .panel#tagger .newtag,
193 .panel#tagger input[type=submit],
194 .panel#preferences > * {
195 display: inline-block;
201 /* == Advanced Filters == */
203 /* == Filter Boxes == */
205 border: solid 1px #FFF;
206 border-radius: .25em;
209 #advfilter .filter .tabcontainer {
214 #advfilter .filter .tabcontainer input + .category.tabhandle {
218 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
222 #advfilter .filter .tabcontainer .category.tabcontent {
228 border: 2px #FFF solid;
229 border-radius: 0 .25em .25em 0;
232 #advfilter > label.tabhandle {
238 /* == Dynamic Appearance of Boxes == */
239 .panel#advfilter > .tabhandle + label { display: none; }
240 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
241 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
242 .panel#advfilter > .tabhandle + label + .tabcontent {
243 display: inline-block;
250 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
254 border: solid 1px #FFF;
257 #advfilter .filter.final {
262 #advfilter .quicklinks {width: 100%;}
264 p.quicklinks { padding-bottom: 3em; }
265 p.quicklinks :first-child {width: 100%;}
266 p.quicklinks input { display: block; }
269 word-wrap: break-word;
271 margin-bottom: .75em;
274 p.quicklinks input:checked,
275 p.quicklinks input:checked + a { display: none;}
277 /* == Thumblist == */
281 padding: .5em 0 3em 0;
286 display: inline-block;
291 margin-bottom: .75em;
293 word-wrap: break-word;
295 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
296 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
297 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
299 #thumblist .thumb img {
301 margin: 0; padding: 0;
303 #thumblist .thumb h2 {
308 #thumblist .thumb button {
311 margin: 0; padding: 0;
314 background-color: transparent;
324 display: inline-block;
329 margin-bottom: .75em;
331 word-wrap: break-word;
333 @media (min-width: 460px){#thumblist .file{width: 48%;}}
334 @media (min-width: 620px){#thumblist .file{width: 32%;}}
335 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
337 #thumblist .file.directory { background-color: #BBD; }
338 #thumblist .file.plain { background-color: #111; color: #777; }
339 #thumblist .file.video { background-color: #DBB; }
341 .panel#tagger .newtag select,
342 .panel#tagger .newtag .label{
347 .panel#preferences > fieldset {
349 border-radius: .25em;
351 .panel#preferences > input { display: block; }
354 #playctl h1 { font-size: 1.25em;}
355 #videoview h1, #videoview > a,
356 #playctl h1, #playctl > a {
357 display: inline-block;
359 padding: 0; margin: .5em 0;
367 #playctl form fieldset {
374 #playctl form fieldset.playback { height: 12em; }
375 #playctl form fieldset.playback button {
379 background-color: #EEE;
380 border: 1px solid #333;
382 #playctl form fieldset.playback button[value="-60"] {top: 6em; left: 0; width: 20%;}
383 #playctl form fieldset.playback button[value="-10"] {top: 6em; left: 20%; width: 30%;}
384 #playctl form fieldset.playback button[value="stop"] {top: 0; left: 0; width: 40%;}
385 #playctl form fieldset.playback button[value="pause"] {top: 0; right: 0; width: 60%;}
386 #playctl form fieldset.playback button[value="+10"] {top: 6em; right: 20%; width: 30%;}
387 #playctl form fieldset.playback button[value="+60"] {top: 6em; right: 0; width: 20%;}
389 #playctl form fieldset.volume { height: 7em; }
390 #playctl form fieldset.volume button[name="amp"] {position: absolute; width: 50%; height: 4em; top: 0;}
391 #playctl form fieldset.volume button[value="off"] {left:0;}
392 #playctl form fieldset.volume button[value="on"] {right:0;}
393 #playctl form fieldset.volume button[name="vol"] {position: relative; display: inline-block; top: 5em; width: 4%;}
394 #playctl form fieldset.volume button[name="vol"].selected { background-color: #FA6;}
395 #playctl form fieldset.volume button[name="vol"][value="100"],
396 #playctl form fieldset.volume button[name="vol"][value="0"] { width: 4%;}
402 width: 100%; left:0; right: 0;
404 background-color: black;
405 border-top: 1px solid white;
412 background-color: #333;