mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fixed router stickers
This commit is contained in:
parent
9a7a038032
commit
5f4d2f9cd2
15 changed files with 95 additions and 63 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.dialog {
|
.dialog {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.gpx-title {
|
.gpx-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.logo-preview {
|
.logo-preview {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.control-bar {
|
.control-bar {
|
||||||
background: $bar_background;
|
background: $bar_background;
|
||||||
border-radius: $panel_radius;
|
border-radius: $panel_radius;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.progress {
|
.progress {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.renderer-shade {
|
.renderer-shade {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.router-waypoint {
|
.router-waypoint {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.save-helper {
|
.save-helper {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
$disabledColor: #ccc;
|
$disabledColor: #ccc;
|
||||||
$border-radius-base: 6px;
|
$border-radius-base: 6px;
|
||||||
$primary-color: transparent;
|
$primary-color: transparent;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.leaflet-dragging .sticker-container {
|
.leaflet-dragging .sticker-container {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.switch {
|
.switch {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
.user-bar {
|
.user-bar {
|
||||||
// width: 160px;
|
// width: 160px;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue