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;
157 .panel#advfilter:target{ padding-bottom: 1em; }
159 /* == Panel Switches == */
161 .panel#playctl a.panel,
162 .panel#advfilter a.panel,
163 .panel#preferences a.panel,
164 .panel#tagger a.panel {
166 border-style: none none solid none;
169 .panel#preferences a.panel,
170 .panel#tagger a.panel {
171 border-style: solid none none none;
176 /* == Panel Elements == */
178 .panel#advfilter .quicklinks,
179 .panel#advfilter .filter,
180 .panel#tagger .newtag,
181 .panel#tagger input[type=submit],
182 .panel#preferences > * {
183 display: inline-block;
189 /* == Advanced Filters == */
191 /* == Filter Boxes == */
193 border: solid 1px #FFF;
194 border-radius: .25em;
197 #advfilter .filter .tabcontainer {
202 #advfilter .filter .tabcontainer input + .category.tabhandle {
206 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
210 #advfilter .filter .tabcontainer .category.tabcontent {
216 border: 2px #FFF solid;
217 border-radius: 0 .25em .25em 0;
220 #advfilter > label.tabhandle {
226 /* == Dynamic Appearance of Boxes == */
227 .panel#advfilter > .tabhandle + label { display: none; }
228 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
229 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
230 .panel#advfilter > .tabhandle + label + .tabcontent {
231 display: inline-block;
238 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
242 border: solid 1px #FFF;
245 #advfilter .filter.final {
250 #advfilter .quicklinks {width: 100%;}
252 .quicklinks :first-child {width: 100%;}
253 .quicklinks input { display: block; }
256 word-wrap: break-word;
258 margin-bottom: .75em;
261 .quicklinks input:checked,
262 .quicklinks input:checked + a { display: none;}
264 /* == Thumblist == */
268 padding: .5em 0 3em 0;
273 display: inline-block;
278 margin-bottom: .75em;
280 word-wrap: break-word;
282 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
283 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
284 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
286 #thumblist .thumb img {
289 #thumblist .thumb h2 {
294 #thumblist .thumb a {
297 #thumblist .thumb a.alt {
298 display: inline-block;
309 display: inline-block;
314 margin-bottom: .75em;
316 word-wrap: break-word;
318 @media (min-width: 460px){#thumblist .file{width: 48%;}}
319 @media (min-width: 620px){#thumblist .file{width: 32%;}}
320 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
322 #thumblist .file.directory { background-color: #BBD; }
323 #thumblist .file.plain { background-color: #111; color: #777; }
324 #thumblist .file.video { background-color: #DBB; }
326 .panel#tagger .newtag select,
327 .panel#tagger .newtag .label{
332 .panel#preferences > fieldset {
334 border-radius: .25em;
336 .panel#preferences > input { display: block; }
339 #playctl h1 { font-size: 1.25em;}
340 #videoview h1, #videoview > a,
341 #playctl h1, #playctl > a {
342 display: inline-block;
344 padding: 0; margin: .5em 0;
352 #playctl form { text-align: center; }
353 #playctl form button {
354 display: inline-block;
357 margin: 0 -.75ex .5em 0;
358 background-color: #EEE;
359 border: 1px solid #333;
360 vertical-align: bottom;
363 #playctl form button[name="seek"],
364 #playctl form button[name="ctl"] { width: 40%;}
365 #playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
366 #playctl form button[name="vol"] { width: 5%; min-height: 1em;}
367 #playctl form button[name="vol"].selected { background-color: #FA6;}
368 #playctl form button[name="vol"][value="100"],
369 #playctl form button[name="vol"][value="0"] { width: 6%;}
371 @media (min-width: 460px){
372 #playctl form button {
378 #playctl form button[name="seek"],
379 #playctl form button[name="ctl"] { width: 16%;}
380 #playctl form button[name="amp"] { width: 15%;}
381 #playctl form button[name="vol"] { width: 3%;}
382 #playctl form button[name="amp"] + br {display: none;}