From 1e2d27715229efaaaf49a20b294fbfc2aff694a9 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 27 Jun 2019 23:35:29 +0000 Subject: [PATCH] Use renderMode image for vehicles layer (performance improvement) --- index.css | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/index.css b/index.css index 40f000e..522cc9a 100644 --- a/index.css +++ b/index.css @@ -34,13 +34,27 @@ font-size: inherit; } +h2#times-stop { + margin-top: 0; +} .vehicleInfo { + font-size: 21px; +} +#times-table .vehicleInfo { float: right; margin: -5px 0; - font-size: 21px; +} +#route-vehicle .vehicleInfo { + margin-right: .5em; +} +#vehicle-data { + float: right; } .bigger { font-size: 21px; +} +.vehicleData { + display: none; } /* Change navbar behavior for low media width */ @@ -72,6 +86,8 @@ /* Loading animation */ nav.loading { background-image: -webkit-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent); + background-image: -moz-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent); + background-image: -ms-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent); background-image: -o-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent); background-image: linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent); -webkit-background-size: 40px 40px; -- Gitblit v1.9.1