From: Paul Hänsch Date: Fri, 20 Jul 2018 20:18:15 +0000 (+0200) Subject: deleted stylesheet from obsolete version X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=df4d1212d3fad3cf3a0ce3242761ce6eee74cc22;p=serve0 deleted stylesheet from obsolete version --- diff --git a/static/common.css b/static/common.css deleted file mode 100644 index c73b25f..0000000 --- a/static/common.css +++ /dev/null @@ -1,484 +0,0 @@ -/* Copyright 2014 - 2016 Paul Hänsch - - This file is part of Serve0 - - Serve0 is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Serve0 is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with Serve0 If not, see . -*/ - -* { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - -moz-transition: all .25s linear; - transition: all .25s linear; -} - -body { - padding: 0; - padding-top: 3em; - margin: 0; - background-color: #000; - color: #DDD; -} -body.playctl { padding-top: 4.25em; } -a { color: #EEE; } -legend, label, .label { font-weight: bold; } - -input.tabhandle { display: none; } -.tabcontent { display: none; } -input.tabhandle:checked + label.tabhandle + .tabcontent { display: inline-block; } -input.tabhandle:checked + .tabcontent { display: inline-block; } - -textarea { - display: block; - width: 100%; -} - -.info { - margin: 0; - padding: 0 .25em; - background-color: rgba(208,208,255,.625 ); - color: #000; - border: #000 1px solid; -} -.info.tag { - line-height: 1.6em; - background-color: #DBB; - margin-right: -.75ex; -} - -.pagination_nav { - display: inline-block; - float: right; - transition: none; - border: none; - background-color: #333; - text-align: right; -} -.pagination_nav a { - display: none; - text-decoration: none; - padding-left: 1.5ex; -} -.pagination_nav a.previous, -.pagination_nav a.current, -.pagination_nav a.next { display: inline-block; } -.pagination_nav a.current { color: #F66; font-weight: bold; } - -.pagination_nav:hover { - position: absolute; - line-height: 1.75em; - left: 0; right: 0; - padding: .5em 3ex .5em 0; - overflow: auto; -} -#search .pagination_nav:hover { - top: 0; bottom: auto; - padding-top: 2.5em; - border-bottom: 1px solid #FFF; -} -#foot .pagination_nav:hover { - top: auto; bottom: 0; - padding-bottom: 2.5em; - border-top: 1px solid #FFF; -} -.pagination_nav:hover a { display: inline; } - - -/* == Panels == */ -body:before { - position: absolute; display: block; - top: -1px; height: 2.25em; width: 100%; - background-color: #222; - margin: 0; padding: 0; - padding-top: .5em; - border-bottom: 1px solid #FFF; - content: ''; -} -body.playctl:before { - top: -2px; - margin-top: 1.25em; - border-top: 1px solid #FFF; -} - -input[name=topmenu] {display: none;} -input[name=topmenu] + label { - position: relative; - top: -2.5em; - display: inline-block; - text-decoration: none; - padding: .5em .5em; - line-height: 1.25em; - transition: none; - border: 1px none #FFF; - text-align: center; -} -@media (min-width: 620px){input[name=topmenu] + label { padding: .5em 1.5em; }} - -input[name=topmenu]:checked + label { - background-color: #333; - margin-left: -1px; margin-top: -1px; - border-style: solid solid none solid; -} -input[name=topmenu]:checked + label + * + input + label { margin-left: -1px; } - -.panel#search select { margin-right: .5em; } -.panel#search:after { - display: block; content: ''; - clear: both; -} - -.panel#search, .panel#foot, -.panel.top, .panel.bottom { - display: block; - width: 100%; - margin: 0; - padding: .25em .5em; - background-color: #333; - border-width: 1px; - z-index: 1; -} - -.panel#search, .panel.top { - border-style: none none solid none; - top: 2.75em; -} -body.playctl .panel#search, -body.playctl .panel.top { top: 4em; } - - -.panel#search, -.panel.top.switchable { position: absolute; min-height: 2.5em;} -.panel#foot, .panel.bottom { - position: fixed; - bottom: 0; - border-style: solid none none none; -} - -.panel.switchable { - display: none; - max-height: 0; - overflow: hidden; - margin: 0; padding: 0; - border-width: 0; -} - -input[name=topmenu]:checked + label + .panel.switchable, -.panel.switchable:target { - display: block; - max-height: 80%; - overflow-y: auto; - padding: .25em .5em; - border-width: 1px; - z-index: 2; -} - -.panel#search > a, .panel#foot > a, -.panel.top > a, .panel.bottom > a{ - display: inline-block; - font-weight: bold; - text-decoration: none; - margin: .25em .5em 0 0; -} - -.panel.switchable.top a:first-of-type { - display: block; display: none; - margin-bottom: .5em; - border-bottom: 1px solid #FFF; -} -.panel.switchable.bottom a:last-of-type { - display: block; - margin-top: .5em; - border-top: 1px solid #FFF; -} - - -/* == Panel Elements == */ - -.panel.switchable > fieldset, -.panel.switchable > input[type=submit] { - border: none; - display: inline-block; - vertical-align: top; - margin-top: 1em; -} - -#tagger > fieldset { max-width: 48%;} -#tagger > fieldset.additional, -#tagger > fieldset.description { - max-width: 100%; -} - -/* == Advanced Filters == */ - -/* == Filter Boxes == */ -#advfilter .filter { - border: solid 1px #FFF; - border-radius: .25em; - padding: .25em .5em; -} -#advfilter .filter .help { - display: block; - height: 0; overflow: hidden; -} -#advfilter .filter .tabcontainer { - position: relative; - width: 16em; - font-weight:normal; -} -#advfilter .filter .tabcontainer input + .category.tabhandle { - display: block; - width: 50%; -} -#advfilter .filter .tabcontainer input:checked + .category.tabhandle { - background: #FFF; - color: #000; -} -#advfilter .filter .tabcontainer .category.tabcontent { - position: absolute; - top: 0; right: 0; - width: 50%; - height: 100%; - min-height: 4em; - border: 2px #FFF solid; - border-radius: 0 .25em .25em 0; -} - -#advfilter > label.tabhandle { - text-align: right; - width: 4em; - margin-left: 4em; -} - -/* == Dynamic Appearance of Boxes == */ -.panel#advfilter > .tabhandle + label { display: none; } -.panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; } -.panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; } -.panel#advfilter > .tabhandle + label + .tabcontent { - display: inline-block; - overflow: hidden; - max-width: 0; - max-height: 0; - padding: 0; - border: none; -} -.panel#advfilter > .tabhandle:checked + label + .tabcontent { - max-width: 100%; - max-height: 100%; - padding: .25em .5em; - border: solid 1px #FFF; -} - -#advfilter .filter.final { - width: 16em; - margin-left: 1em; -} - - -/* == Recent filters == */ - -p.quicklinks { padding-bottom: 3em; } -p.quicklinks :first-child {width: 100%;} -p.quicklinks input { display: block; } -p.quicklinks a { - display: block; - word-wrap: break-word; - margin-left: 10%; - margin-bottom: .75em; - margin-top: -1.5em; -} -p.quicklinks input:checked, -p.quicklinks input:checked + a { display: none;} - -/* == Thumblist == */ - -#thumblist { - width: 100%; - padding: .5em 0 3em 0; - text-align: center; -} - -#thumblist .thumb { - position: relative; - display: inline-block; - text-align: left; - width: 90%; - padding: 0 .5em; - margin: .5%; - margin-bottom: .75em; - vertical-align: top; - word-wrap: break-word; -} -@media (min-width: 460px){#thumblist .thumb{width: 48%;}} -@media (min-width: 620px){#thumblist .thumb{width: 32%;}} -@media (min-width: 1004px){#thumblist .thumb{width: 250px; margin: 2px;}} - -#thumblist .thumb img { - width: 100%; - margin: 0; padding: 0; -} -#thumblist .thumb h2 { - position: absolute; - top: 0; width: 100%; - font-size: 1.125em; - font-weight: normal; - padding: .5ex .5em; - margin: 0; - border-bottom: 1px solid #333; - background: rgba(0,0,0,.5); -} -#thumblist .thumb .property { - position: absolute; left: .25em; - margin-top: -1.5em; -} -#thumblist .thumb .property:nth-of-type(2) { left: 5em;} -#thumblist .thumb button { - display: block; - width: 100%; - margin: 0; padding: 0; - border: none; - line-height: 0; - background-color: transparent; -} -#thumblist input { - margin: .75em .5em; -} - -/* == Filelist == */ - -#thumblist .file { - color: #000; - display: inline-block; - text-align: left; - width: 90%; - padding: .5em .5em; - margin: .5%; - margin-bottom: .75em; - vertical-align: top; - word-wrap: break-word; -} -@media (min-width: 460px){#thumblist .file{width: 48%;}} -@media (min-width: 620px){#thumblist .file{width: 32%;}} -@media (min-width: 1004px){#thumblist .file{width: 250px; margin: 2px;}} - -#thumblist .file.directory { background-color: #BBD; } -#thumblist .file.plain { background-color: #111; color: #777; } -#thumblist .file.video { background-color: #DBB; } - -.panel#tagger .newtag { width: 50%;} -.panel#tagger .newtag.additional, -.panel#tagger .newtag.description { width: 100%;} -.panel#tagger .newtag select, -.panel#tagger .newtag .label{ - display: block; - width: 100%; -} -.panel#tagger input[type=submit], -.panel#tagger button, -.panel#preferences button, -.panel#preferences input[type=submit] { - min-width: 10em; height: 3em; -} -@media (min-width: 460px){ -.panel#tagger .newtag { width: 10em;} -.panel#tagger .newtag.additional, -.panel#tagger .newtag.description { width: 20em; max-width: 40%; } -} - -.panel#preferences > fieldset { - border: solid 1px; - border-radius: .25em; -} -.panel#preferences > input { display: block; } - -/* == Client side player == */ - -#videoview h1, -#playctl h1 { font-size: 1.25em;} -#videoview h1, #videoview > a, -#playctl h1, #playctl > a { - display: inline-block; - margin-right: 1em; - padding: 0; margin: .5em 0; -} -#videoview video { - display: block; - margin: 0; - width: 100%; -} - -/* == Server side player == */ - -form.playctl fieldset { - display: block; - position: relative; - width: 100%; - border: none; - text-align: center; -} -form.playctl fieldset.playback { height: 12em; } -form.playctl fieldset.playback button { - position: absolute; - height: 6em; - padding-top: 1em; - background-color: #EEE; - border: 1px solid #333; -} -form.playctl fieldset.playback button[value="-60"] {top: 6em; left: 0; width: 20%;} -form.playctl fieldset.playback button[value="-10"] {top: 6em; left: 20%; width: 30%;} -form.playctl fieldset.playback button[value="stop"] {top: 0; left: 0; width: 40%;} -form.playctl fieldset.playback button[value="pause"] {top: 0; right: 0; width: 60%;} -form.playctl fieldset.playback button[value="+10"] {top: 6em; right: 20%; width: 30%;} -form.playctl fieldset.playback button[value="+60"] {top: 6em; right: 0; width: 20%;} - -form.playctl fieldset.volume { height: 3em; } -form#advctl.playctl fieldset.volume { height: 4em; } -form.playctl fieldset.volume button[name="amp"] {position: absolute; width: 50%; height: 4em; top: 0;} -form.playctl fieldset.volume button[value="off"] {left:0;} -form.playctl fieldset.volume button[value="on"] {right:0;} -form.playctl fieldset.volume button[name="vol"] { - position: relative; display: inline-block; - width: 4%; - border: 1px solid black; border-right: none; -} -form.playctl fieldset.volume button[name="vol"].selected { width: 2%; background-color: #FA6;} -form.playctl fieldset.volume button[name="vol"].lselected, -form.playctl fieldset.volume button[name="vol"].gselected { width: 7.5%;} -form.playctl fieldset.volume button[name="vol"].llselected, -form.playctl fieldset.volume button[name="vol"].ggselected { width: 6.5%;} - -/*form.playctl fieldset.volume button[name="vol"][value="100"], - form.playctl fieldset.volume button[name="vol"][value="0"] { width: 4%;}*/ -form.playctl fieldset.pasink button { width: 100%; height: 3em;} - -span.progress { - display: block; - position: fixed; - top: 0em; - width: 100%; left:0; right: 0; - color: white; - background-color: black; - border-top: 1px solid white; - padding: 0; - height: 1em; - overflow: hidden; -} -span.progress > span { - display: block; - position: absolute; - text-align: center; - background-color: #333; - min-width: 2em; -} -