[TASK] Style layer selector

This commit is contained in:
Xaver Maierhofer 2016-05-26 22:28:28 +02:00 committed by Milan Pässler
commit 894f32da54
11 changed files with 41 additions and 30 deletions

33
scss/_leaflet-layer.scss Normal file
View file

@ -0,0 +1,33 @@
.leaflet-control-layers {
box-shadow: none;
border-radius: 0;
background: none;
}
.leaflet-control-layers-toggle {
background: none;
&::before {
content: "\f229";
display: inline-block;
font-family: "ionicons" !important;
font-size: 2.3rem;
speak: none;
text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #e32d6d;
}
}
.leaflet-control-layers-expanded {
padding: 0;
}
.leaflet-control-layers-list {
background: rgba(255, 255, 255, 0.9);
padding: 10px;
label {
cursor: pointer;
}
}

View file

@ -3,6 +3,7 @@
@import '_base';
@import '_leaflet';
@import '_leaflet.label';
@import '_leaflet-layer';
@import '_filters';
@import '_loader';