Skip to content

Commit

Permalink
💄 [feat/maps] #3 minor ui improvement
Browse files Browse the repository at this point in the history
Signed-off-by: JAGFx <[email protected]>
  • Loading branch information
JAGFx committed Jan 23, 2021
1 parent 77c36a6 commit c21a4cf
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/dashboards/maps/assets/scss/maps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
.controls-wrapper, .ol-zoom, .eta-wrapper, #speed-area {
display: flex;
justify-content: center;
align-items: end;
align-items: flex-end;
text-align: center;
height: 2rem;

Expand All @@ -38,8 +38,8 @@
text-align: center;
color: $cWhite;
border: 0;
background: transparentize($cBlackTransparentMid, .3);
font-size: 1.4rem;
background: $cBlackTransparentMid;
font-size: 1.8rem;
margin: 0;
outline: 0;
width: $deHeight;
Expand Down Expand Up @@ -81,6 +81,10 @@
width: auto;
z-index: 2;

button, .button {
font-size: 1.4rem;
}

.ol-zoom {
flex-direction: column;
height: 100%;
Expand Down Expand Up @@ -202,11 +206,13 @@

&:before {
content: " ";
position: relative;
bottom: -1px;
width: 2rem;
height: 3rem;
padding: .3rem;
left: -0.1rem;
background: transparentize($cBlackTransparentMid, .3);
background: $cBlackTransparentMid;
border-left: 1px solid $cRed;
border-top: 2px solid $cRed;
@include prefixer(transform-origin, bottom left, ("webkit", "moz", "o"));
Expand All @@ -215,11 +221,13 @@

&:after {
content: " ";
position: relative;
bottom: -1px;
width: 2rem;
height: 3rem;
padding: .3rem;
right: -0.1rem;
background: transparentize($cBlackTransparentMid, .3);
background: $cBlackTransparentMid;
border-right: 1px solid $cRed;
border-top: 2px solid $cRed;
@include prefixer(transform-origin, bottom left, ("webkit", "moz", "o"));
Expand Down

0 comments on commit c21a4cf

Please sign in to comment.