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.current {
78 .pagination_nav:hover {
82 background-color: #333;
83 border-bottom: 1px solid #FFF;
90 .pagination_nav:hover a {
102 background-color: #333;
104 border-style: none none solid none;
109 display: inline-block;
117 .panel .help { display: block;}
119 /* == Top Panel == */
125 /* == Bottom Panels == */
131 border-style: solid none none none;
135 /* == Switchable Panels == */
141 min-height: 0; max-height: 0;
142 padding-top: 0; padding-bottom: 0;
149 padding: .25em 6em 0 .5em;
153 body.playctl .panel#search,
154 body.playctl .panel#foot { padding-right: .25em; }
160 .panel#advfilter:target{ padding-bottom: 1em; }
162 /* == Panel Switches == */
164 .panel#playctl a.panel,
165 .panel#advfilter a.panel,
166 .panel#preferences a.panel,
167 .panel#tagger a.panel {
169 border-style: none none solid none;
172 .panel#preferences a.panel,
173 .panel#tagger a.panel {
174 border-style: solid none none none;
179 /* == Panel Elements == */
181 .panel#advfilter .quicklinks,
182 .panel#advfilter .filter,
183 .panel#tagger .newtag,
184 .panel#tagger input[type=submit],
185 .panel#preferences > * {
186 display: inline-block;
192 /* == Advanced Filters == */
194 /* == Filter Boxes == */
196 border: solid 1px #FFF;
197 border-radius: .25em;
200 #advfilter .filter .tabcontainer {
205 #advfilter .filter .tabcontainer input + .category.tabhandle {
209 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
213 #advfilter .filter .tabcontainer .category.tabcontent {
219 border: 2px #FFF solid;
220 border-radius: 0 .25em .25em 0;
223 #advfilter > label.tabhandle {
229 /* == Dynamic Appearance of Boxes == */
230 .panel#advfilter > .tabhandle + label { display: none; }
231 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
232 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
233 .panel#advfilter > .tabhandle + label + .tabcontent {
234 display: inline-block;
241 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
245 border: solid 1px #FFF;
248 #advfilter .filter.final {
253 #advfilter .quicklinks {width: 100%;}
255 .quicklinks :first-child {width: 100%;}
256 .quicklinks input { display: block; }
259 word-wrap: break-word;
261 margin-bottom: .75em;
264 .quicklinks input:checked,
265 .quicklinks input:checked + a { display: none;}
267 /* == Thumblist == */
271 padding: .5em 0 3em 0;
276 display: inline-block;
281 margin-bottom: .75em;
283 word-wrap: break-word;
285 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
286 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
287 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
289 #thumblist .thumb img {
292 #thumblist .thumb h2 {
297 #thumblist .thumb a {
300 #thumblist .thumb a.alt {
301 display: inline-block;
312 display: inline-block;
317 margin-bottom: .75em;
319 word-wrap: break-word;
321 @media (min-width: 460px){#thumblist .file{width: 48%;}}
322 @media (min-width: 620px){#thumblist .file{width: 32%;}}
323 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
325 #thumblist .file.directory { background-color: #BBD; }
326 #thumblist .file.plain { background-color: #111; color: #777; }
327 #thumblist .file.video { background-color: #DBB; }
329 .panel#tagger .newtag select,
330 .panel#tagger .newtag .label{
335 .panel#preferences > fieldset {
337 border-radius: .25em;
339 .panel#preferences > input { display: block; }
342 #playctl h1 { font-size: 1.25em;}
343 #videoview h1, #videoview > a,
344 #playctl h1, #playctl > a {
345 display: inline-block;
347 padding: 0; margin: .5em 0;
355 #playctl form { text-align: center; }
356 #playctl form button {
357 display: inline-block;
360 margin: 0 -.75ex .5em 0;
361 background-color: #EEE;
362 border: 1px solid #333;
363 vertical-align: bottom;
366 #playctl form button[name="seek"],
367 #playctl form button[name="ctl"] { width: 40%;}
368 #playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
369 #playctl form button[name="vol"] { width: 5%; min-height: 1em;}
370 #playctl form button[name="vol"].selected { background-color: #FA6;}
371 #playctl form button[name="vol"][value="100"],
372 #playctl form button[name="vol"][value="0"] { width: 6%;}
378 width: 100%; left:0; right: 0;
380 background-color: black;
381 border-top: 1px solid white;
388 background-color: #333;
391 @media (min-width: 460px){
392 #playctl form button {
398 #playctl form button[name="seek"],
399 #playctl form button[name="ctl"] { width: 16%;}
400 #playctl form button[name="amp"] { width: 15%;}
401 #playctl form button[name="vol"] { width: 3%;}
402 #playctl form button[name="amp"] + br {display: none;}