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%;}
251 #advfilter .quicklinks :first-child {width: 100%;}
252 #advfilter .quicklinks input { display: none; }
253 #advfilter .quicklinks a {
255 word-wrap: break-word;
257 margin-bottom: .75em;
260 #advfilter .quicklinks:hover input,
261 #advfilter .quicklinks:hover a {display: block;}
262 #advfilter .quicklinks input:checked,
263 #advfilter .quicklinks input:checked + a { display: none;}
265 /* == Thumblist == */
269 padding: .5em 0 3em 0;
274 display: inline-block;
279 margin-bottom: .75em;
281 word-wrap: break-word;
283 @media (min-width: 460px){#thumblist .thumb{width: 48%;}}
284 @media (min-width: 620px){#thumblist .thumb{width: 32%;}}
285 @media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}}
287 #thumblist .thumb img {
290 #thumblist .thumb h2 {
295 #thumblist .thumb a {
298 #thumblist .thumb a.alt {
299 display: inline-block;
310 display: inline-block;
315 margin-bottom: .75em;
317 word-wrap: break-word;
319 @media (min-width: 460px){#thumblist .file{width: 48%;}}
320 @media (min-width: 620px){#thumblist .file{width: 32%;}}
321 @media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}}
323 #thumblist .file.directory { background-color: #BBD; }
324 #thumblist .file.plain { background-color: #111; color: #777; }
325 #thumblist .file.video { background-color: #DBB; }
327 .panel#tagger .newtag select,
328 .panel#tagger .newtag .label{
333 .panel#preferences > fieldset {
335 border-radius: .25em;
337 .panel#preferences > input { display: block; }
340 #playctl h1 { font-size: 1.25em;}
341 #videoview h1, #videoview > a,
342 #playctl h1, #playctl > a {
343 display: inline-block;
345 padding: 0; margin: .5em 0;
353 #playctl form { text-align: center; }
354 #playctl form button {
355 display: inline-block;
358 margin: 0 -.75ex .5em 0;
359 background-color: #EEE;
360 border: 1px solid #333;
361 vertical-align: bottom;
364 #playctl form button[name="seek"],
365 #playctl form button[name="ctl"] { width: 40%;}
366 #playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
367 #playctl form button[name="vol"] { width: 5%; min-height: 1em;}
368 #playctl form button[name="vol"].selected { background-color: #FA6;}
369 #playctl form button[name="vol"][value="100"],
370 #playctl form button[name="vol"][value="0"] { width: 6%;}
372 @media (min-width: 460px){
373 #playctl form button {
379 #playctl form button[name="seek"],
380 #playctl form button[name="ctl"] { width: 16%;}
381 #playctl form button[name="amp"] { width: 15%;}
382 #playctl form button[name="vol"] { width: 3%;}
383 #playctl form button[name="amp"] + br {display: none;}