From 8b6250cb5db8d1bb17902d45f08a2e929e8e0afd Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 23 Apr 2017 22:40:51 +0000
Subject: [PATCH] Add stop departures and vehicle route to pane

---
 map.css |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 50 insertions(+), 4 deletions(-)

diff --git a/map.css b/map.css
index a6e04f6..d68458b 100644
--- a/map.css
+++ b/map.css
@@ -33,7 +33,9 @@
 	transition: right .4s;
 	transition: width .4s;
 	
-	opacity: .8;
+	opacity: .85;
+	
+	overflow-y: auto;
 }
 
 #popup.show {
@@ -51,6 +53,11 @@
 	}
 }
 
+#popup .close {
+	float: right;
+	cursor: pointer;
+	font-size: 20px;
+}
 #popup .type {
 	padding-bottom: 0;
 	color: #444;
@@ -65,6 +72,37 @@
 }
 #popup .vehicleInfo {
 	font-size: 21px;
+	margin: -4px 0 -5px;
+}
+#popup table {
+	margin-top: 3px;
+	border-top: 1px solid gray;
+	width: 100%;
+	border-collapse: collapse;
+}
+#popup table th {
+	text-align: left;
+	border-bottom: 1px solid #999;
+	padding-top: 5px;
+}
+#popup table td {
+	vertical-align: top;
+}
+#popup .active {
+	background: #f5f5f5;
+	color: gray;
+}
+#popup .success {
+	background: #dff0d8;
+}
+#popup .warning {
+	background: #fcf8e3;
+}
+#popup .danger {
+	background: #f2dede;
+}
+#popup table .vehicleInfo {
+	float: right;
 }
 
 #title {
@@ -74,13 +112,16 @@
 	font-weight: bold;
 	background-color: rgba(255,255,255,.6);
 }
-#fail {
-	top: -10em;
-	right: 0.5em;
+
+#fail, #popup .error {
 	background: red;
 	color: white;
 	font-weight: bold;
 	padding: 5px;
+}
+#fail {
+	top: -10em;
+	right: 0.5em;
 }
 .ol-zoom {
 	top: 2.2em;
@@ -89,7 +130,12 @@
 a {
 	color: #337ab7;
 	text-decoration: none;
+	cursor: pointer;
 }
 a:hover {
 	text-decoration: underline;
 }
+
+.small {
+	font-size: 80%;
+}

--
Gitblit v1.9.1