]> git.plutz.net Git - serve0/blobdiff - static/common.css
more compact menues
[serve0] / static / common.css
index 858a1be147e8c830305d2f3237dee925cc92784b..16910fb12d5603836f27a9b73a98dd39fcd72d7b 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,14 +57,13 @@ textarea {
 
 .pagination_nav {
   display: inline-block;
-  position: absolute;
-  right: 2ex; bottom: .25em;
+  float: right;
   transition: none;
   border: none;
   background-color: #333;
   text-align: right;
-  line-height: 1.75em;
 }
+.panel:after { content: ''; display: block; clear: both;}
 .pagination_nav a {
   display: none;
   text-decoration: none;
@@ -76,6 +75,8 @@ textarea {
 .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;
@@ -111,73 +112,71 @@ a.panel {
   border: none;
   width: auto;
   padding: 0;
-  margin-right: 1em;
-  margin-bottom: 1ex;
+  margin: auto 1em 1ex 0;
+  text-decoration: none;
 }
 
 .panel .help { display: block;}
 
 /* == Top Panel == */
-.panel#advfilter {
+
+.panel.switchable.top {
   position: absolute;
   top: 0;
 }
 
 body.playctl .panel#advfilter,
+body.playctl .panel#morelinks,
 body.playctl .panel#search {
   margin-top: 1.25em;
   border-top: 1px solid #FFF;
 }
 
+.panel#search select { margin-right: .5em; }
+
 /* == Bottom Panels == */
-.panel#preferences,
-.panel#tagger,
+.panel.bottom,
 .panel#foot {
   position: fixed;
   bottom: 0px;
   border-style: solid none none none;
 }
 
-
 /* == Switchable Panels == */
 
-form.panel,
-div.panel {
+.panel.switchable {
   z-index: 1;
   overflow: hidden;
   min-height: 0; max-height: 0;
   padding-top: 0; padding-bottom: 0;
 }
+.panel.switchable:target {
+  max-height: 100%;
+  overflow-y: scroll;
+}
+.panel.switchable.top:target{ padding-bottom: 1em; }
 
 .panel#search,
 .panel#foot {
   max-height: 100%;
   z-index: 0;
-  padding: .25em 6em 0 .5em;
+  padding: .25em .5em 0 .5em;
   overflow: visible;
 }
 
 body.playctl .panel#search,
 body.playctl .panel#foot { padding-right: .25em; }
 
-.panel:target {
-  max-height: 100%;
-  overflow-y: scroll;
-}
-.panel#advfilter:target{ padding-bottom: 1em; }
 
 /* == Panel Switches == */
 
-.panel#playctl a.panel,
-.panel#advfilter a.panel,
-.panel#preferences a.panel,
-.panel#tagger a.panel {
+.panel.switchable.bottom a.panel:last-of-type,
+.panel.switchable.top a.panel:first-of-type {
   display: block;
   border-style: none none solid none;
   border-width: 1px;
 }
-.panel#preferences a.panel,
-.panel#tagger a.panel {
+.panel.switchable.bottom a.panel:last-of-type {
   border-style: solid none none none;
   margin-top: .5em;
 }
@@ -185,7 +184,6 @@ body.playctl .panel#foot { padding-right: .25em; }
 
 /* == Panel Elements == */
 
-.panel#advfilter .quicklinks,
 .panel#advfilter .filter,
 .panel#tagger .newtag,
 .panel#tagger input[type=submit],
@@ -257,7 +255,8 @@ body.playctl .panel#foot { padding-right: .25em; }
   margin-left: 1em;
 }
 
-#advfilter .quicklinks {width: 100%;}
+
+/* == Recent filters == */
 
 p.quicklinks { padding-bottom: 3em; }
 p.quicklinks :first-child {width: 100%;}
@@ -281,6 +280,7 @@ p.quicklinks input:checked + a { display: none;}
 }
 
 #thumblist .thumb {
+  position: relative;
   display: inline-block;
   text-align: left;
   width: 90%;
@@ -299,10 +299,20 @@ p.quicklinks input:checked + a { display: none;}
   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 .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%;
@@ -336,10 +346,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 {
@@ -348,6 +370,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,
@@ -362,36 +386,40 @@ p.quicklinks input:checked + a { display: none;}
   width: 100%;
 }
 
-#playctl form fieldset {
+/* == Server side player == */
+
+form.playctl fieldset {
   display: block;
   position: relative;
   width: 100%;
   border: none;
   text-align: center;
 }
-#playctl form fieldset.playback  { height: 12em; }
-#playctl form fieldset.playback button {
+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;
 }
-#playctl form fieldset.playback button[value="-60"] {top: 6em; left: 0; width: 20%;}
-#playctl form fieldset.playback button[value="-10"] {top: 6em; left: 20%; width: 30%;}
-#playctl form fieldset.playback button[value="stop"] {top: 0; left: 0; width: 40%;}
-#playctl form fieldset.playback button[value="pause"] {top: 0; right: 0; width: 60%;}
-#playctl form fieldset.playback button[value="+10"] {top: 6em; right: 20%; width: 30%;}
-#playctl form fieldset.playback button[value="+60"] {top: 6em; right: 0; width: 20%;}
-
-#playctl form fieldset.volume { height: 7em; }
-#playctl form fieldset.volume button[name="amp"] {position: absolute; width: 50%; height: 4em; top: 0;}
-#playctl form fieldset.volume button[value="off"] {left:0;}
-#playctl form fieldset.volume button[value="on"] {right:0;}
-#playctl form fieldset.volume button[name="vol"] {position: relative; display: inline-block; top: 5em; width: 4%;}
-#playctl form fieldset.volume button[name="vol"].selected { background-color: #FA6;}
-#playctl form fieldset.volume button[name="vol"][value="100"],
-#playctl form fieldset.volume button[name="vol"][value="0"] { width: 4%;}
+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;