Files
spot/style/_leaflet.scss
2019-02-21 21:33:21 +01:00

39 lines
821 B
SCSS

$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;
}
}
}