Merge branch 'master' into develop

This commit is contained in:
Fedor Katurov 2021-04-20 16:18:57 +07:00
commit fda24c78b0
15 changed files with 96 additions and 63 deletions

View file

@ -1,4 +1,6 @@
.button { @import "colors";
.button {
background: #444444; background: #444444;
padding: 4px 16px; padding: 4px 16px;
height: 18px; height: 18px;
@ -50,9 +52,9 @@
height: 100%; height: 100%;
opacity: 0; opacity: 0;
} }
} }
.button-group { .button-group {
display: flex; display: flex;
.button { .button {
@ -67,4 +69,4 @@
border-radius: 0 $button_radius $button_radius 0; border-radius: 0 $button_radius $button_radius 0;
} }
} }
} }

View file

@ -1,3 +1,5 @@
@import "colors";
.dialog { .dialog {
position: fixed; position: fixed;
left: 0; left: 0;

View file

@ -1,3 +1,5 @@
@import "colors";
.gpx-title { .gpx-title {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -1,3 +1,5 @@
@import "colors";
.logo-preview { .logo-preview {
position: fixed; position: fixed;
right: 0; right: 0;

View file

@ -1,3 +1,5 @@
@import "colors";
#map { #map {
width: 50% !important; width: 50% !important;
height: 100%; height: 100%;
@ -28,7 +30,7 @@
.leaflet-vertex-drag-helper { .leaflet-vertex-drag-helper {
pointer-events: none !important; pointer-events: none !important;
background: fade(red, 50%); background: darken(red, 50%);
border-radius: 12px; border-radius: 12px;
&::after { &::after {

View file

@ -1,3 +1,5 @@
@import "colors";
.control-bar { .control-bar {
background: $bar_background; background: $bar_background;
border-radius: $panel_radius; border-radius: $panel_radius;

View file

@ -1,3 +1,5 @@
@import "colors";
.progress { .progress {
width: 100%; width: 100%;
position: relative; position: relative;

View file

@ -1,3 +1,5 @@
@import "colors";
.renderer-shade { .renderer-shade {
position: fixed; position: fixed;
top: 0; top: 0;

View file

@ -1,3 +1,5 @@
@import "colors";
.router-waypoint { .router-waypoint {
width: 40px; width: 40px;
height: 40px; height: 40px;
@ -5,6 +7,7 @@
margin-top: -20px; margin-top: -20px;
outline: none; outline: none;
z-index: 10001; z-index: 10001;
position: absolute;
&:after { &:after {
content: ' '; content: ' ';

View file

@ -1,3 +1,5 @@
@import "colors";
.save-helper { .save-helper {
padding: 0; padding: 0;
flex-direction: column; flex-direction: column;

View file

@ -1,3 +1,5 @@
@import "colors";
$disabledColor: #ccc; $disabledColor: #ccc;
$border-radius-base: 6px; $border-radius-base: 6px;
$primary-color: transparent; $primary-color: transparent;

View file

@ -1,3 +1,5 @@
@import "colors";
.leaflet-dragging .sticker-container { .leaflet-dragging .sticker-container {
transition: none !important; transition: none !important;
} }

View file

@ -1,3 +1,5 @@
@import "colors";
.switch { .switch {
height: 1em; height: 1em;
width: 2em; width: 2em;

View file

@ -1,3 +1,5 @@
@import "colors";
.user-bar { .user-bar {
// width: 160px; // width: 160px;

View file

@ -33,6 +33,10 @@ export class DomMarker extends DivIcon {
createIcon(oldicon?: HTMLElement) { createIcon(oldicon?: HTMLElement) {
this.element.classList.add('icon') this.element.classList.add('icon')
if (this.options.className) {
this.element.classList.add(this.options.className);
}
return this.element; return this.element;
} }
} }