From e5db805157b2c7118ddfd3916e0427b2156e6e49 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 11 Jan 2019 22:18:33 +0100 Subject: Move the info summary in the info-box into nmsBox-logic Also some other random drive-by fixes :D Fixes #180 References #181 --- web/css/nms.css | 10 ++++++++++ web/index.html | 1 + web/js/nms-info-box.js | 31 +++++-------------------------- web/js/nms-map-handlers.js | 6 +++--- web/js/nms-oplog.js | 4 ---- web/js/nms-ui-boxes.js | 4 ---- web/js/nms-ui-switch.js | 2 ++ 7 files changed, 21 insertions(+), 37 deletions(-) diff --git a/web/css/nms.css b/web/css/nms.css index 90fa362..32f302c 100644 --- a/web/css/nms.css +++ b/web/css/nms.css @@ -66,6 +66,9 @@ h1.map-mode-title { .logbook-mini p { margin: 0 } +.table p { + margin: 0 +} .nightmode .logbook-mini { background-color: rgba(0,0,0,0.1); text-shadow: -4px -4px 5px black,-4px 0px 5px black,0px -4px 5px black,0px 0px 5px black,4px 4px 5px black,4px 0px 5px black,0px 4px 5px black; @@ -137,3 +140,10 @@ div.map-mode-legend button { z-index: 120; } +button,input { + margin-left: 1px; + margin-left: 2px; +} +.form-control[disabled] { + background-color: darkkhaki; +} diff --git a/web/index.html b/web/index.html index cdd2840..05fd582 100644 --- a/web/index.html +++ b/web/index.html @@ -326,6 +326,7 @@ +