]> git.plutz.net Git - serve0/blobdiff - static/common.css
bugfix: allow rime based update of meta file
[serve0] / static / common.css
index e6de713b632779c9205bb87b3c5db8df9f86e4d7..c73b25fb038be91e24ac0caecef9c76c1c82b425 100644 (file)
@@ -18,6 +18,7 @@
 
 * {
   -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; }
 
@@ -94,6 +97,41 @@ textarea {
 
 
 /* == 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 {
@@ -113,10 +151,15 @@ textarea {
 }
 
 .panel#search, .panel.top {
-  position: relative; top: 0;
   border-style: none none solid none;
+  top: 2.75em;
 }
-.panel.top.switchable { position: absolute; }
+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;
@@ -124,25 +167,23 @@ textarea {
 }
 
 .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: scroll;
+  overflow-y: auto;
   padding: .25em .5em;
   border-width: 1px;
   z-index: 2;
 }
 
-body.playctl .panel#search,
-body.playctl .panel.top {
-  margin-top: 1.25em;
-  border-top: 1px solid #FFF;
-}
-
 .panel#search > a, .panel#foot > a,
 .panel.top > a, .panel.bottom > a{
   display: inline-block;
@@ -152,7 +193,7 @@ body.playctl .panel.top {
 }
 
 .panel.switchable.top a:first-of-type {
-  display: block;
+  display: block; display: none;
   margin-bottom: .5em;
   border-bottom: 1px solid #FFF;
 }
@@ -171,11 +212,11 @@ body.playctl .panel.top {
   display: inline-block;
   vertical-align: top;
   margin-top: 1em;
-  max-width: 48%;
 }
 
-.panel.switchable > fieldset.additional,
-.panel.switchable > fieldset.description {
+#tagger > fieldset { max-width: 48%;}
+#tagger > fieldset.additional,
+#tagger > fieldset.description {
   max-width: 100%;
 }
 
@@ -187,6 +228,10 @@ body.playctl .panel.top {
   border-radius: .25em;
   padding: .25em .5em;
 }
+#advfilter .filter .help {
+  display: block;
+  height: 0; overflow: hidden;
+}
 #advfilter .filter .tabcontainer {
   position: relative;
   width: 16em;
@@ -340,7 +385,9 @@ p.quicklinks input:checked + a { display: none;}
   width: 100%;
 }
 .panel#tagger input[type=submit],
-.panel#tagger button {
+.panel#tagger button,
+.panel#preferences button,
+.panel#preferences input[type=submit] {
   min-width: 10em; height: 3em;
 }
 @media (min-width: 460px){
@@ -400,10 +447,19 @@ 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.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 {
@@ -425,3 +481,4 @@ span.progress > span {
   background-color: #333;
   min-width: 2em;
 }
+