changeset 300:e7aa649b0090 gmap2

Move map label styling into common.css
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 Nov 2016 11:20:38 +0200
parents ce52a0b7b281
children 95b818a7550b
files css/common.css css/mapstyle1.css css/mapstyle2.css css/mapstyle3.css css/mapstyle4.css
diffstat 5 files changed, 20 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- 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;
+}
--- 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%;
--- 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%;
--- 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%;
--- 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%;