]> git.plutz.net Git - serve0/blobdiff - templates/common.css.sh
remove obsolete manual call to post data parser
[serve0] / templates / common.css.sh
index 233e81d72d9cef61524657e75f600d6c86f688a9..adf78cda75d66ba7cabd06f78535e7a01d88b8a7 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright 2014, 2015 Paul Hänsch
+# Copyright 2014 - 2016 Paul Hänsch
 #
 # This file is part of Serve0
 # 
@@ -215,7 +215,6 @@ a.panel {
   word-wrap: break-word;
 }
 
-
 /* == Thumblist == */
 
 #thumblist {
@@ -229,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%;
@@ -257,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;
@@ -269,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