[TASK] Replace leaflet label css with own scss
This commit is contained in:
parent
db8af292e3
commit
1d074dc90e
@ -1 +0,0 @@
|
|||||||
../bower_components/Leaflet.label/dist/leaflet.label.css
|
|
@ -8,7 +8,7 @@
|
|||||||
@import 'modules/base';
|
@import 'modules/base';
|
||||||
@import 'modules/icon';
|
@import 'modules/icon';
|
||||||
@import 'leaflet';
|
@import 'leaflet';
|
||||||
@import 'leaflet.label';
|
@import 'modules/leaflet';
|
||||||
@import 'modules/leaflet-layer';
|
@import 'modules/leaflet-layer';
|
||||||
@import 'modules/table';
|
@import 'modules/table';
|
||||||
@import 'modules/filter';
|
@import 'modules/filter';
|
||||||
|
19
scss/modules/_leaflet.scss
Normal file
19
scss/modules/_leaflet.scss
Normal file
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user