diff --git a/scss/_leaflet.label.scss b/scss/_leaflet.label.scss deleted file mode 120000 index b96f885..0000000 --- a/scss/_leaflet.label.scss +++ /dev/null @@ -1 +0,0 @@ -../bower_components/Leaflet.label/dist/leaflet.label.css \ No newline at end of file diff --git a/scss/main.scss b/scss/main.scss index 39b8260..7120008 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -8,7 +8,7 @@ @import 'modules/base'; @import 'modules/icon'; @import 'leaflet'; -@import 'leaflet.label'; +@import 'modules/leaflet'; @import 'modules/leaflet-layer'; @import 'modules/table'; @import 'modules/filter'; diff --git a/scss/modules/_leaflet.scss b/scss/modules/_leaflet.scss new file mode 100644 index 0000000..be3a39f --- /dev/null +++ b/scss/modules/_leaflet.scss @@ -0,0 +1,19 @@ +.leaflet-label { + &.leaflet-label-right { + background-color: $color-white; + border: 2px solid $color-primary; + border-radius: 0; + display: block; + font-weight: normal; + opacity: .8; + padding: 1px 6px; + position: absolute; + user-select: none; + white-space: nowrap; + z-index: 6; + + &:before { + display: none; + } + } +}