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/>.
21 -moz-box-sizing: border-box;
22 box-sizing: border-box;
23 -moz-transition: all .3s linear;
24 transition: all .3s linear;
30 background-color: #000;
34 legend, label, .label { font-weight: bold; }
36 input.tabhandle { display: none; }
37 .tabcontent { display: none; }
38 input.tabhandle:checked + label.tabhandle + .tabcontent { display: inline-block; }
39 input.tabhandle:checked + .tabcontent { display: inline-block; }
49 background-color: #BBD;
51 border: #000 1px solid;
55 background-color: #DBB;
60 display: inline-block;
63 right: 0; bottom: .25em;
64 padding: .125em .5em 0 0;
71 text-decoration: none;
74 .pagination_nav a.current {
79 .pagination_nav:hover {
83 background-color: #333;
84 border-bottom: 1px solid #FFF;
91 .pagination_nav:hover a {
103 background-color: #333;
105 border-style: none none solid none;
110 display: inline-block;
118 .panel .help { display: block;}
120 /* == Top Panel == */
126 /* == Bottom Panels == */
132 border-style: solid none none none;
136 /* == Switchable Panels == */
142 min-height: 0; max-height: 0;
143 padding-top: 0; padding-bottom: 0;
150 padding: .25em 6em 0 .5em;
158 .panel#advfilter:target{ padding-bottom: 1em; }
160 /* == Panel Switches == */
162 .panel#playctl a.panel,
163 .panel#advfilter a.panel,
164 .panel#preferences a.panel,
165 .panel#tagger a.panel {
167 border-style: none none solid none;
170 .panel#preferences a.panel,
171 .panel#tagger a.panel {
172 border-style: solid none none none;
177 /* == Panel Elements == */
179 .panel#advfilter .quicklinks,
180 .panel#advfilter .filter,
181 .panel#tagger .newtag,
182 .panel#tagger input[type=submit],
183 .panel#preferences > * {
184 display: inline-block;
190 /* == Advanced Filters == */
192 /* == Filter Boxes == */
194 border: solid 1px #FFF;
195 border-radius: .25em;
198 #advfilter .filter .tabcontainer {
203 #advfilter .filter .tabcontainer input + .category.tabhandle {
207 #advfilter .filter .tabcontainer input:checked + .category.tabhandle {
211 #advfilter .filter .tabcontainer .category.tabcontent {
217 border: 2px #FFF solid;
218 border-radius: 0 .25em .25em 0;
221 #advfilter > label.tabhandle {
227 /* == Dynamic Appearance of Boxes == */
228 .panel#advfilter > .tabhandle + label { display: none; }
229 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
230 .panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
231 .panel#advfilter > .tabhandle + label + .tabcontent {
232 display: inline-block;
239 .panel#advfilter > .tabhandle:checked + label + .tabcontent {
243 border: solid 1px #FFF;
246 #advfilter .filter.final {
251 #advfilter .quicklinks {max-width: 100%;}
252 #advfilter .quicklinks * {
254 word-wrap: break-word;
255 margin-bottom: .75em;
258 /* == Thumblist == */
262 padding: .5em 0 3em 0;
267 display: inline-block;
272 margin-bottom: .75em;
274 word-wrap: break-word;
276 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
277 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
278 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
280 #thumblist .thumb img {
283 #thumblist .thumb h2 {
288 #thumblist .thumb a {
291 #thumblist .thumb a.alt {
292 display: inline-block;
303 display: inline-block;
308 margin-bottom: .75em;
310 word-wrap: break-word;
312 @media (min-width: 460px){#thumblist .file{width: 48%;}}
313 @media (min-width: 620px){#thumblist .file{width: 32%;}}
314 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
316 #thumblist .file.directory { background-color: #BBD; }
317 #thumblist .file.plain { background-color: #111; color: #777; }
318 #thumblist .file.video { background-color: #DBB; }
320 .panel#tagger .newtag select,
321 .panel#tagger .newtag .label{
326 .panel#preferences > fieldset {
328 border-radius: .25em;
330 .panel#preferences > input { display: block; }
333 #playctl h1 { font-size: 1.25em;}
334 #videoview h1, #videoview > a,
335 #playctl h1, #playctl > a {
336 display: inline-block;
338 padding: 0; margin: .5em 0;
346 #playctl form { text-align: center; }
347 #playctl form button {
348 display: inline-block;
351 margin: 0 -.75ex .5em 0;
352 background-color: #EEE;
353 border: 1px solid #333;
354 vertical-align: bottom;
357 #playctl form button[name="seek"],
358 #playctl form button[name="ctl"] { width: 40%;}
359 #playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
360 #playctl form button[name="vol"] { width: 5%; min-height: 1em;}
361 #playctl form button[name="vol"].selected { background-color: #FA6;}
362 #playctl form button[name="vol"][value="100"],
363 #playctl form button[name="vol"][value="0"] { width: 6%;}
365 @media (min-width: 460px){
366 #playctl form button {
372 #playctl form button[name="seek"],
373 #playctl form button[name="ctl"] { width: 16%;}
374 #playctl form button[name="amp"] { width: 15%;}
375 #playctl form button[name="vol"] { width: 3%;}
376 #playctl form button[name="amp"] + br {display: none;}
380 # vi:set filetype=css: