improve error handling, actually print the error message if one is sent
[lantea.git] / style / lantea.css
index 975fe4cd19e1e527a68a2b414f304d4112d28f95..64ee62ff1ef49e1702c434bfb0161b45a2117201 100644 (file)
@@ -74,6 +74,8 @@ h1 {
   background-image: radial-gradient(circle 1.5em, #FFFFFF, transparent);
   color: #0000FF;
   border: none;
+  padding: 0;
+  margin: 0;
 }
 
 #zoomArea > input[type="button"] {
@@ -217,11 +219,6 @@ h1 {
   font-size: .75em;
 }
 
-.dialogTitle {
-  margin: 0 0 .5em;
-  font-weight: bold;
-}
-
 .dialogHelp {
   margin: .5em 0;
   font-size: .8em;
@@ -413,12 +410,13 @@ h1 {
   color: #FFFFFF;
 }
 
-/* dialog area - only used for loading error */
+/* dialog area - for loading error and welcome messages */
 #dialogArea {
+  position: absolute;
   top: 20%;
   right: 0;
   left: 0;
-  width: 30ch;
+  width: 50ch;
   max-width: 92%;
   z-index: 10;
   background-color: rgba(255, 255, 255, .8);
@@ -429,10 +427,19 @@ h1 {
 }
 
 #dialogArea.hidden {
-  top: -100%;
+  top: -1000%;
   display: block;
 }
 
+.dialogTitle {
+  margin: 0 0 .5em;
+  font-weight: bold;
+}
+
+.dialogButtonLine {
+  text-align: center;
+}
+
 /* full screen overlay - library, etc. */
 .fullScreenOverlay {
   position: absolute;
@@ -449,7 +456,7 @@ h1 {
 }
 
 .fullScreenOverlay.hidden {
-  top: -100%;
+  top: -1000%;
   bottom: auto;
   height: 90%;
   display: block;
@@ -469,6 +476,26 @@ h1 {
 }
 */
 
+.fullScreenOverlay p {
+  margin: 0.5em 0;
+}
+
+.fullScreenOverlay > p:first-child {
+  margin-top: 0;
+  /* leave space for close button */
+  margin-right: 1.5em;
+}
+
+#libTrackList {
+  overflow: auto;
+  /* 2em is top/bottom margin, and one line is shown above and below, with .5em margin each */
+  height: calc(100% - 5em);
+}
+
+#libTrackPages {
+  margin-bottom: 0;
+}
+
 /* small screen media adaptations */
 @media screen and (max-width: 500px),
        screen and (max-height: 500px) {