reorganize leaflet plugin css
This commit is contained in:
@@ -1,5 +1,39 @@
|
||||
@import 'leaflet/leaflet';
|
||||
$theme : "spot-theme";
|
||||
$base-color : #CCC;
|
||||
$highlight-color : #FFF;
|
||||
$background : rgba($base-color, 0.2);
|
||||
$drag-color : rgba($highlight-color, 0.2);
|
||||
$axis-color : darken($base-color,20%);
|
||||
$stroke-color : darken($base-color,40%);
|
||||
$stroke-width-mouse-focus : 1;
|
||||
$stroke-width-height-focus: 2;
|
||||
$stroke-width-axis : 2;
|
||||
|
||||
@import 'leaflet/leaflet';
|
||||
@import 'leaflet/leaflet_elevation';
|
||||
|
||||
/* Leaflet fixes */
|
||||
.leaflet-container {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Leaflet Elevation fixes */
|
||||
.#{$theme} {
|
||||
&.height-focus,
|
||||
&.height-focus.line,
|
||||
&.height-focus-label,
|
||||
&.leaflet-control.elevation .area {
|
||||
@include drop-shadow(0.6);
|
||||
}
|
||||
|
||||
&.leaflet-control.elevation-collapsed {
|
||||
.background {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.elevation-toggle {
|
||||
@extend .control-icon;
|
||||
@extend .fa-elevation;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user