]> git.plutz.net Git - bookman/blobdiff - bookmarks.css
make "new folder" button visible again
[bookman] / bookmarks.css
index e37d70af0e3ad306e0aae0a348c7f1c67d3a05e3..40d5674a6000a6e642bb0d639bc355d163e4a466 100644 (file)
@@ -9,9 +9,8 @@
   box-sizing: border-box;
 }
 
-html, body {
-  background-color: #DDD;
-}
+html, body { background-color: #DDD; }
+body { position: absolute; width: 100%; min-height: 100%; }
 
 .folder, form.newfolder{
   display: block;
@@ -22,6 +21,9 @@ html, body {
   padding: 0;
   overflow: hidden;
 }
+form.newfolder{
+  margin-bottom: 3em;
+}
 
 .folder > h1 {
   font-size: 1.25em;
@@ -48,13 +50,13 @@ html, body {
 .dialog {
   display: block;
   position: fixed;
-  width: 30em;
-  min-width: 240px;
+  width: 30%;
+  min-width: 320px;
   min-height: 3em;
-  left: 50%; top: 20%;
-  margin: -3em -15em;
+  left: 50%;
+  margin-left: -160px;
   text-align: center;
-  z-index: 10;
+  z-index: 2;
   border-radius: .5em;
   border: 1px solid black;
   padding: .125em 0;
@@ -78,6 +80,7 @@ html, body {
   position: fixed;
   top: 0; bottom: 0; left: 0; right: 0;
   background-color: rgba(0,0,0,.5);
+  z-index: 1;
 }
 .dialog > * { word-spacing: 0; }
 
@@ -171,3 +174,11 @@ html, body {
   margin: 0 .5ex;
 }
 
+footer {
+  position: absolute; bottom: 0;
+  display: block;
+  width: 100%;
+  padding: .5em 1em;
+  background-color: white;
+  border-top: 1px solid black;
+}