]> git.plutz.net Git - serve0/blobdiff - static/common.css
fix status bar bug in some android versions, show status bar time when pausing
[serve0] / static / common.css
old mode 100755 (executable)
new mode 100644 (file)
index a995fd6..858a1be
@@ -58,38 +58,39 @@ textarea {
 .pagination_nav {
   display: inline-block;
   position: absolute;
+  right: 2ex; bottom: .25em;
+  transition: none;
   border: none;
-  right: 0; bottom: .25em;
-  padding: .125em .5em 0 0;
+  background-color: #333;
+  text-align: right;
+  line-height: 1.75em;
 }
-
 .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;
-  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 == */
 
@@ -122,6 +123,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,
@@ -150,6 +157,9 @@ div.panel {
   overflow: visible;
 }
 
+body.playctl .panel#search,
+body.playctl .panel#foot { padding-right: .25em; }
+
 .panel:target {
   max-height: 100%;
   overflow-y: scroll;
@@ -247,12 +257,20 @@ div.panel {
   margin-left: 1em;
 }
 
-#advfilter .quicklinks {max-width: 100%;}
-#advfilter .quicklinks * {
+#advfilter .quicklinks {width: 100%;}
+
+p.quicklinks { padding-bottom: 3em; }
+p.quicklinks :first-child {width: 100%;}
+p.quicklinks input { display: block; }
+p.quicklinks a {
   display: block;
   word-wrap: break-word;
+  margin-left: 10%;
   margin-bottom: .75em;
+  margin-top: -1.5em;
 }
+p.quicklinks input:checked,
+p.quicklinks input:checked + a { display: none;}
 
 /* == Thumblist == */
 
@@ -278,18 +296,20 @@ div.panel {
 
 #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;
@@ -342,36 +362,53 @@ div.panel {
   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%;}
-
-@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;}
+#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;
+  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 {
+  display: block;
+  position: absolute;
+  text-align: center;
+  background-color: #333;
+  min-width: 2em;
 }
-