# HG changeset patch # User Matti Hamalainen # Date 1480497638 -7200 # Node ID e7aa649b0090b28de289f9e021291439627ba5a7 # Parent ce52a0b7b28138b829ca802c15394e5f85a04356 Move map label styling into common.css diff -r ce52a0b7b281 -r e7aa649b0090 css/common.css --- a/css/common.css Mon Nov 21 03:31:01 2016 +0200 +++ b/css/common.css Wed Nov 30 11:20:38 2016 +0200 @@ -9,6 +9,7 @@ .c_special div { background: #a06; } .c_all div { background: #0af; } + #controls a { border: 1px solid black; margin: 0.15em; @@ -23,6 +24,23 @@ padding-bottom: 1em; } -#controls a.visible { background: white; } -#controls a.hidden { background: red; } + +#controls a.visible { + background: white; +} + +#controls a.hidden { + background: red; +} + +.labels { + color: white; + background: black; + font-family: "Arial", sans-serif; + font-weight: bold; + font-size: 1em; + white-space: nowrap; + padding: 2px; + border: 1px dotted white; +} diff -r ce52a0b7b281 -r e7aa649b0090 css/mapstyle1.css --- a/css/mapstyle1.css Mon Nov 21 03:31:01 2016 +0200 +++ b/css/mapstyle1.css Wed Nov 30 11:20:38 2016 +0200 @@ -243,18 +243,6 @@ } -.labels { - color: white; - background: black; - font-family: "Arial", sans-serif; - font-weight: bold; - font-size: 1em; - white-space: nowrap; - padding: 2px; - border: 1px dotted white; -} - - #sidecontent div div { display: inline-block; width: 10%; diff -r ce52a0b7b281 -r e7aa649b0090 css/mapstyle2.css --- a/css/mapstyle2.css Mon Nov 21 03:31:01 2016 +0200 +++ b/css/mapstyle2.css Wed Nov 30 11:20:38 2016 +0200 @@ -248,19 +248,6 @@ } -.labels { - color: white; - background: black; - font-family: "Arial", sans-serif; - font-weight: bold; - font-size: 10px; - white-space: nowrap; - padding: 2px; - border: 1px dotted black; - border-radius: 5px; -} - - #sidecontent div div { display: inline-block; width: 10%; diff -r ce52a0b7b281 -r e7aa649b0090 css/mapstyle3.css --- a/css/mapstyle3.css Mon Nov 21 03:31:01 2016 +0200 +++ b/css/mapstyle3.css Wed Nov 30 11:20:38 2016 +0200 @@ -248,19 +248,6 @@ } -.labels { - color: white; - background: black; - font-family: "Arial", sans-serif; - font-weight: bold; - font-size: 10px; - white-space: nowrap; - padding: 2px; - border: 1px dotted black; - border-radius: 5px; -} - - #sidecontent div div { display: inline-block; width: 10%; diff -r ce52a0b7b281 -r e7aa649b0090 css/mapstyle4.css --- a/css/mapstyle4.css Mon Nov 21 03:31:01 2016 +0200 +++ b/css/mapstyle4.css Wed Nov 30 11:20:38 2016 +0200 @@ -230,19 +230,6 @@ } -.labels { - color: white; - background: black; - font-family: "Arial", sans-serif; - font-weight: bold; - font-size: 10px; - white-space: nowrap; - padding: 2px; - border: 1px dotted black; - border-radius: 5px; -} - - #sidecontent div div { display: inline-block; width: 10%;