X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fcommon.css.sh;h=adf78cda75d66ba7cabd06f78535e7a01d88b8a7;hb=f53385198b80cd7df7ad7a11f4f77bfe2f69cf50;hp=f77a2ea33820bd2365c4a633d86994670de33d5d;hpb=bd06005650121b28e904060a5ab4da7c0b99529a;p=serve0 diff --git a/templates/common.css.sh b/templates/common.css.sh index f77a2ea..adf78cd 100755 --- a/templates/common.css.sh +++ b/templates/common.css.sh @@ -1,4 +1,4 @@ -# Copyright 2014, 2015 Paul Hänsch +# Copyright 2014 - 2016 Paul Hänsch # # This file is part of Serve0 # @@ -116,6 +116,7 @@ a.panel { max-height: 100%; overflow-y: scroll; } +.panel#advfilter:target{ padding-bottom: 1em; } /* == Panel Switches == */ @@ -214,7 +215,6 @@ a.panel { word-wrap: break-word; } - /* == Thumblist == */ #thumblist { @@ -228,14 +228,14 @@ a.panel { text-align: left; width: 90%; padding: 0 .5em; - margin: auto; + margin: .5%; margin-bottom: .75em; vertical-align: top; word-wrap: break-word; } -@media (min-width: 480px){#thumblist .thumb{width: 49.5%;}} -@media (min-width: 640px){#thumblist .thumb{width: 33%;}} -@media (min-width: 1024px){#thumblist .thumb{width: 256px;}} +@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%; @@ -256,6 +256,27 @@ a.panel { 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 select, .panel#tagger .newtag .label{ display: block; @@ -268,41 +289,14 @@ a.panel { } .panel#preferences > input { display: block; } -#videoview a.panel { - position: absolute; - right: 1em; - width: auto; - border: none; -} -#videoview .video { +#videoview h1, #videoview > a { display: inline-block; - width: 60%; - vertical-align: top; -} -#videoview .video * { - display: block; -} -#videoview .videoinfo { - width: 39%; - margin-top: 2em; -} -#videoview .videoinfo h2 { - display: inline; -} -#videoview .videoinfo .meta:after { - content: "\A"; - white-space: pre; -} -#videoview .videoinfo .label { - display: block; - margin-top: 1em; + margin-right: 1em; } -#videoview .videoinfo .info.description { +#videoview video { display: block; - background-color: #DDF; -} -#videoview .videoinfo .edit { - width: 100% + margin: 0; + width: 100%; } EOF