From 1d074dc90e87a8eacc18fc2c7e0dd8878475c355 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Wed, 1 Jun 2016 22:24:56 +0200 Subject: [PATCH] [TASK] Replace leaflet label css with own scss --- scss/_leaflet.label.scss | 1 - scss/main.scss | 2 +- scss/modules/_leaflet.scss | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) delete mode 120000 scss/_leaflet.label.scss create mode 100644 scss/modules/_leaflet.scss 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; + } + } +}