From 20d39de5e834bbff7a891c1d131691aae5c00797 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 07 Jul 2019 19:53:13 +0000
Subject: [PATCH] Fix icons styling, remove redundant CSS entries
---
map.css | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/map.css b/map.css
index 938f5e7..db4693f 100644
--- a/map.css
+++ b/map.css
@@ -5,7 +5,7 @@
}
#map {
- position: absolute;
+ position: fixed;
top: 0;
left: 0;
right: 0;
@@ -28,7 +28,7 @@
transition: right .4s, width .4s;
- position: absolute;
+ position: fixed;
width: 350px;
right: -365px;
top: 0;
@@ -99,6 +99,13 @@
}
.panel .name {
font-weight: bold;
+ padding-bottom: 0;
+}
+.panel .name .icon {
+ margin: -5px 0.2rem 0;
+ text-indent: 2rem;
+ font-size: 1.4rem;
+ vertical-align: top;
}
.panel .vehicleInfo {
font-size: 21px;
@@ -135,17 +142,11 @@
float: right;
}
-.addon-icon {
- margin-left: 0.2rem;
-}
-.normal-icon, .addon-icon {
- font-size: 1rem;
-}
.icon, .icon-loc, .icon-pin, .icon-zoom {
display: inline-block;
height: 1em;
width: 1em;
- text-indent: 1rem;
+ text-indent: 1.5em;
overflow: hidden;
background-size: contain;
background-repeat: no-repeat;
--
Gitblit v1.10.0