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 {max-width: 100%;}
251 #advfilter .quicklinks * {
253 word-wrap: break-word;
254 margin-bottom: .75em;
257 /* == Thumblist == */
261 padding: .5em 0 3em 0;
266 display: inline-block;
271 margin-bottom: .75em;
273 word-wrap: break-word;
275 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
276 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
277 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
279 #thumblist .thumb img {
282 #thumblist .thumb h2 {
287 #thumblist .thumb a {
290 #thumblist .thumb a.alt {
291 display: inline-block;
302 display: inline-block;
307 margin-bottom: .75em;
309 word-wrap: break-word;
311 @media (min-width: 460px){#thumblist .file{width: 48%;}}
312 @media (min-width: 620px){#thumblist .file{width: 32%;}}
313 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
315 #thumblist .file.directory { background-color: #BBD; }
316 #thumblist .file.plain { background-color: #111; color: #777; }
317 #thumblist .file.video { background-color: #DBB; }
319 .panel#tagger .newtag select,
320 .panel#tagger .newtag .label{
325 .panel#preferences > fieldset {
327 border-radius: .25em;
329 .panel#preferences > input { display: block; }
332 #playctl h1 { font-size: 1.25em;}
333 #videoview h1, #videoview > a,
334 #playctl h1, #playctl > a {
335 display: inline-block;
337 padding: 0; margin: .5em 0;
345 #playctl form { text-align: center; }
346 #playctl form button {
347 display: inline-block;
350 margin: 0 -.75ex .5em 0;
351 background-color: #EEE;
352 border: 1px solid #333;
353 vertical-align: bottom;
356 #playctl form button[name="seek"],
357 #playctl form button[name="ctl"] { width: 40%;}
358 #playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
359 #playctl form button[name="vol"] { width: 5%; min-height: 1em;}
360 #playctl form button[name="vol"].selected { background-color: #FA6;}
361 #playctl form button[name="vol"][value="100"],
362 #playctl form button[name="vol"][value="0"] { width: 6%;}
364 @media (min-width: 460px){
365 #playctl form button {
371 #playctl form button[name="seek"],
372 #playctl form button[name="ctl"] { width: 16%;}
373 #playctl form button[name="amp"] { width: 15%;}
374 #playctl form button[name="vol"] { width: 3%;}
375 #playctl form button[name="amp"] + br {display: none;}