From b0cb8db362d56ce2a2765d5ac6f24f418173fda5 Mon Sep 17 00:00:00 2001 From: JAGFx Date: Sat, 2 Jan 2021 19:58:00 +0100 Subject: [PATCH] :lipstick: [feat/maps] #3 change the UI for map --- src/dashboards/maps/assets/scss/maps.scss | 30 ++++++++++++------ src/dashboards/maps/components/DashMaps.vue | 35 +++++++++++---------- 2 files changed, 38 insertions(+), 27 deletions(-) diff --git a/src/dashboards/maps/assets/scss/maps.scss b/src/dashboards/maps/assets/scss/maps.scss index 3589f206..8fb1122e 100644 --- a/src/dashboards/maps/assets/scss/maps.scss +++ b/src/dashboards/maps/assets/scss/maps.scss @@ -140,7 +140,8 @@ #speed-limit { position: absolute; width: auto; - bottom: .6rem; + left: .3rem; + top: .3rem; span { display: flex; @@ -160,15 +161,21 @@ #speed-area { position: absolute; - top: .3rem; - height: 3.1rem; + bottom: .3rem; + height: auto; + + .button { + height: auto; + width: auto; + padding: .3rem; + } .speed { - height: 3rem; - .value { - font-size: 2rem; - line-height: 1.5rem; + font-family: suprrpg !important; + @include prefixer(transform, skew(19deg, 0deg), ("webkit", "moz", "o")); + font-size: 2.5rem; + line-height: 2.3rem; } .unit { @@ -177,11 +184,14 @@ } .truck-gear { - line-height: 1rem; + line-height: 1.4rem; background: $cWhiteGray; color: $cBlack; - width: 3rem; - height: 3rem; + padding: .3rem; + height: inherit; + font-weight: bold; + //width: 3rem; + //height: 3rem; font-size: 1.5rem; } } diff --git a/src/dashboards/maps/components/DashMaps.vue b/src/dashboards/maps/components/DashMaps.vue index 9a5ff9f1..800fcfdd 100644 --- a/src/dashboards/maps/components/DashMaps.vue +++ b/src/dashboards/maps/components/DashMaps.vue @@ -1,20 +1,12 @@