]> git.plutz.net Git - serve0/blobdiff - static/common.css
better alignment of playback buttons
[serve0] / static / common.css
index 2189498da5aa6ce0b78722f305fc9d94df89fc51..516dff548e5d034bf30f2333f153d4428aefc0db 100644 (file)
@@ -70,13 +70,16 @@ textarea {
   text-decoration: none;
 }
 
+.pagination_nav a.previous,
+.pagination_nav a.current,
+.pagination_nav a.next { display: inline; }
 .pagination_nav a.current {
-  display: inline;
   color: #F66;
   font-weight: bold;
 }
 .pagination_nav:hover {
   position: fixed;
+  padding-top: 2.5em;
   bottom: auto;
   text-align: right;
   background-color: #333;
@@ -122,6 +125,12 @@ a.panel {
   top: 0;
 }
 
+body.playctl .panel#advfilter,
+body.playctl .panel#search {
+  margin-top: 1.25em;
+  border-top: 1px solid #FFF;
+}
+
 /* == Bottom Panels == */
 .panel#preferences,
 .panel#tagger,
@@ -289,18 +298,20 @@ p.quicklinks input:checked + a { display: none;}
 
 #thumblist .thumb img {
   width: 100%;
+  margin: 0; padding: 0;
 }
 #thumblist .thumb h2 {
   font-size: 1em;
   font-weight: normal;
   margin: 0;
 }
-#thumblist .thumb a {
+#thumblist .thumb button {
   display: block;
-}
-#thumblist .thumb a.alt {
-  display: inline-block;
-  margin-top: .3em;
+  width: 100%;
+  margin: 0; padding: 0;
+  border: none;
+  line-height: 0;
+  background-color: transparent;
 }
 #thumblist input {
   margin: .75em .5em;
@@ -353,29 +364,41 @@ 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;
+#playctl form fieldset {
+  display: block;
+  position: relative;
+  width: 100%;
+  border: none;
+  text-align: center;
+}
+#playctl form fieldset.playback  { height: 12em; }
+#playctl form 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%;}
+#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%;}
 
 span.progress {
   display: block;
   position: fixed;
-  bottom: 2.5em;
+  top: 0em;
   width: 100%; left:0; right: 0;
   color: white;
   background-color: black;
@@ -388,18 +411,3 @@ span.progress > * {
   text-align: center;
   background-color: #333;
 }
-
-@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;}
-}
-