improve styling of drawer changes
[lantea.git] / style / lantea.css
index c13f814ff6929ea376ed7b86f1966edce76082a9..6f86f6d9133dd9dcc10d119c68c19e58b4ad156a 100644 (file)
@@ -145,7 +145,7 @@ h1 {
   }
 }
 
-.menuDrawer p {
+.menuDrawer p {
   margin: .5em 0;
 }
 
@@ -283,10 +283,60 @@ h1 {
   color: #404040;
 }
 
+.menuDrawer input[type="text"],
+.menuDrawer input[type="number"] {
+  font-size: 1em;
+  vertical-align: middle;
+  background-image: none;
+  background-color: rgba(204, 204, 204, .7);
+  color: #404040;
+  padding: 1px .5em;
+  border: 1px solid #CCCCCC;
+  border-radius: 3px;
+}
+
+.menuDrawer input[type="text"] {
+  text-align: left;
+}
+
+.menuDrawer input[type="number"] {
+  text-align: right;
+}
+
+.menuDrawer input[type="text"]:disabled,
+.menuDrawer input[type="number"]:disabled {
+  background-color: rgba(204, 204, 204, .1);
+  color: rgba(204, 204, 204, .5);
+  border: 1px solid rgba(255, 255, 255, .5);
+}
+
+.menuDrawer input[type="text"]:not(:disabled):hover,
+.menuDrawer input[type="number"]:not(:disabled):hover {
+  border: 1px solid #FFFFFF;
+}
+
+.menuDrawer input[type="text"]:not(:disabled):focus,
+.menuDrawer input[type="number"]:not(:disabled):focus {
+  background-color: rgba(204, 204, 255, .8);
+  border: 1px solid #FFFFFF;
+  color: #202020;
+}
+
+.menuDrawer p.subTitle {
+  margin: .75em 0 .5em;
+  font-weight: bold;
+}
+
 #trackData {
   margin: 0;
 }
 
+#trackDialogArea {
+  border-top: 2px solid;
+  border-bottom: 2px solid;
+  padding: 3px 0;
+}
+
 #map, #track {
   position: fixed;
   border: 0;
@@ -323,16 +373,11 @@ h1 {
   display: none;
 }
 
-.settingsSubTitle {
-  margin: .5em 0 0;
-  font-weight: bold;
-}
-
 #copyright {
   bottom: 5px;
   right: .5em;
   margin: 0;
-  font-size: small;
+  font-size: .8em;
   opacity: .66;
   z-index: 2;
   background-color: rgba(255, 255, 255, 1);
@@ -371,7 +416,7 @@ h1 {
 
 .dialogHelp {
   margin: .5em 0;
-  font-size: small;
+  font-size: .8em;
   opacity: .66;
 }
 
@@ -399,6 +444,5 @@ h1 {
   #copyright {
     bottom: 1px;
     right: 1px;
-    font-size: 8px;
   }
 }