]> git.plutz.net Git - bookman/blobdiff - bookmarks.css
fix dialog display
[bookman] / bookmarks.css
index e37d70af0e3ad306e0aae0a348c7f1c67d3a05e3..7bb47c0c8416116d1be19a470add03085ed27545 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;
@@ -48,13 +47,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 +77,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 +171,11 @@ html, body {
   margin: 0 .5ex;
 }
 
+footer {
+  position: absolute; bottom: 0;
+  display: block;
+  width: 100%;
+  padding: 1em;
+  background-color: white;
+  border-top: 1px solid black;
+}