]> git.plutz.net Git - serve0/blobdiff - static/common.css
more compact video list
[serve0] / static / common.css
index 2189498da5aa6ce0b78722f305fc9d94df89fc51..d61443229673327cac97f5774b357a6a92d84278 100644 (file)
@@ -45,7 +45,7 @@ textarea {
 .info {
   margin: 0;
   padding: 0 .25em;
-  background-color: #BBD;
+  background-color: rgba(208,208,255,.625 );
   color: #000;
   border: #000 1px solid;
 }
@@ -57,39 +57,41 @@ textarea {
 
 .pagination_nav {
   display: inline-block;
-  position: absolute;
+  float: right;
+  transition: none;
   border: none;
-  right: 0; bottom: .25em;
-  padding: .125em .5em 0 0;
+  background-color: #333;
+  text-align: right;
 }
-
+.panel:after { content: ''; display: block; clear: both;}
 .pagination_nav a {
   display: none;
-  margin: 1ex 1px;
-  padding: 0 1ex;
   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 a.current {
-  display: inline;
-  color: #F66;
-  font-weight: bold;
-}
 .pagination_nav:hover {
-  position: fixed;
-  bottom: auto;
-  text-align: right;
-  background-color: #333;
-  border-bottom: 1px solid #FFF;
+  position: absolute;
   line-height: 1.75em;
-  transition: none;
+  left: 0; right: 0;
+  padding: .5em 3ex .5em 0;
   overflow: auto;
-  min-height: 1em;
-  z-index: 2;
 }
-.pagination_nav:hover a {
-  display: inline;
+#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 == */
 
@@ -110,16 +112,20 @@ a.panel {
   border: none;
   width: auto;
   padding: 0;
-  margin-right: 1em;
-  margin-bottom: 1ex;
+  margin: auto 1em 1ex 0;
 }
 
 .panel .help { display: block;}
 
 /* == Top Panel == */
-.panel#advfilter {
-  position: absolute;
-  top: 0;
+
+.panel#advfilter { position: absolute; top: 0; }
+.panel#search select { margin-right: .5em; }
+
+body.playctl .panel#advfilter,
+body.playctl .panel#search {
+  margin-top: 1.25em;
+  border-top: 1px solid #FFF;
 }
 
 /* == Bottom Panels == */
@@ -146,7 +152,7 @@ div.panel {
 .panel#foot {
   max-height: 100%;
   z-index: 0;
-  padding: .25em 6em 0 .5em;
+  padding: .25em .5em 0 .5em;
   overflow: visible;
 }
 
@@ -252,6 +258,8 @@ body.playctl .panel#foot { padding-right: .25em; }
 
 #advfilter .quicklinks {width: 100%;}
 
+/* == Recent filters == */
+
 p.quicklinks { padding-bottom: 3em; }
 p.quicklinks :first-child {width: 100%;}
 p.quicklinks input { display: block; }
@@ -274,6 +282,7 @@ p.quicklinks input:checked + a { display: none;}
 }
 
 #thumblist .thumb {
+  position: relative;
   display: inline-block;
   text-align: left;
   width: 90%;
@@ -289,18 +298,30 @@ p.quicklinks input:checked + a { display: none;}
 
 #thumblist .thumb img {
   width: 100%;
+  margin: 0; padding: 0;
 }
 #thumblist .thumb h2 {
-  font-size: 1em;
+  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 a {
-  display: block;
+#thumblist .thumb .property {
+  position: absolute; left: .25em;
+  margin-top: -1.5em;
 }
-#thumblist .thumb a.alt {
-  display: inline-block;
-  margin-top: .3em;
+#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;
@@ -327,10 +348,22 @@ p.quicklinks input:checked + a { display: none;}
 #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: 10em;
+  width: 100%;
+}
+.panel#tagger input[type=submit],
+.panel#tagger button {
+  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 {
@@ -339,6 +372,8 @@ p.quicklinks input:checked + a { display: none;}
 }
 .panel#preferences > input { display: block; }
 
+/* == Client side player == */
+
 #videoview h1, 
 #playctl h1 { font-size: 1.25em;}
 #videoview h1, #videoview > a,
@@ -353,53 +388,57 @@ p.quicklinks input:checked + a { display: none;}
   width: 100%;
 }
 
-#playctl form { text-align: center; }
-#playctl form button {
-  display: inline-block;
-  height: 100%;
-  min-height: 4em;
-  margin: 0 -.75ex .5em 0;
+/* == 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;
-  vertical-align: bottom;
-  padding-top: 1em;
 }
-#playctl form button[name="seek"],
-#playctl form button[name="ctl"] { width: 40%;}
-#playctl form button[name="amp"] { width: 40%; margin-top: 2em;}
-#playctl form button[name="vol"] { width: 5%; min-height: 1em;}
-#playctl form button[name="vol"].selected { background-color: #FA6;}
-#playctl form button[name="vol"][value="100"],
-#playctl form button[name="vol"][value="0"] { width: 6%;}
+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%;}
+form.playctl fieldset.volume button[name="vol"].selected { background-color: #FA6;}
+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;
-  bottom: 2.5em;
+  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.progress > span {
   display: block;
+  position: absolute;
   text-align: center;
   background-color: #333;
+  min-width: 2em;
 }
-
-@media (min-width: 460px){
-  #playctl form button {
-    max-width: 4em;
-    min-height: 2em;
-    padding-top: 0em;
-    margin-bottom: 2em;
-  }
-  #playctl form button[name="seek"],
-  #playctl form button[name="ctl"] { width: 16%;}
-  #playctl form button[name="amp"] { width: 15%;}
-  #playctl form button[name="vol"] { width: 3%;}
-  #playctl form button[name="amp"] + br {display: none;}
-}
-