Full status bar.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 30 May 2014 09:56:11 +0000 (11:56 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 30 May 2014 09:56:11 +0000 (11:56 +0200)
index.html
labelle.manifest

index 7991ed22f7af1da1bcace603eebfcfcb6b9d7f1f..59d62701aab7af3195c660ee61183e23741fea5f 100644 (file)
           if (window.navigator.standalone) {
               var header = document.getElementsByTagName("header")[0];
               header.className += " statusbar";
+              var statusbar = document.getElementById("statusbar");
+              statusbar.style.display = "block";
           }
       });
     </script>
     <style>
-      .statusbar {
+      #statusbar {
+          background-color: rgb(206, 132, 242);
+          height: 20px;
+          position: fixed;
+          top: 0;
+          left: 0;
+          right: 0;
+          transition: background-color 0.5s;
+          z-index: 1;
+          display: none;
+      }
+
+      header:hover #statusbar {
+          background-color: rgb(244, 126, 126);
+      }
+
+      header.statusbar {
           border-top-left-radius: 0;
           border-top-right-radius: 0;
           border-top-width: 20px;
-          margin: 0 -1em;
       }
       
       #labelle {
   </head>
   <body onload='litanizeElement("wearing", "share-button");'>
     <header>
+      <div id='statusbar'></div>
       <a href="http://yukkurigames.com" id="header-logo">
         <img src="/logotype_horizontal_1.png" class="logo"
              data-large
index c16536cd03bf6be08fbe53f199e4eef8189a529e..f1abac922d60729bf68e7e1c94c04102a952a8ec 100644 (file)
@@ -1,5 +1,5 @@
 CACHE MANIFEST
-# Version 1
+# Version 2
 /css/main.css
 /css/FiraSans-Light.woff
 /css/FiraSans-LightItalic.woff