#{$module} {
- @include padding(1);
+ @include padding(.5);
position: absolute;
bottom: 20px;
left: 20px;
z-index: 10;
background: white;
+ border: 1px solid black;
@include mq($until: xs) {
display: none;
text-transform: uppercase;
@include font-size(xs);
- @include line-height(.5);
- @include margin-bottom(.25);
color: $color-black;
+ display: inline-block;
+ line-height: 22px;
&:last-child {
- @include margin-bottom(0);
+ @include margin-right(0);
}
&:before {
content :"";
- display: inline-block;
- width: 8px;
- height: 8px;
+ float: left;
+ width: 22px;
+ height: 22px;
+ background-repeat: no-repeat;
+ background-position: center center;
@include margin-right(.5);
}
&--red {
&:before {
- background: #e7413c;
+ background-image: url(../img/map-legend-red.png);
}
}
&--blue {
&:before {
- background: #3c7be7;
+ background-image: url(../img/map-legend-blue.png);
}
}
&--green {
&:before {
- background: #70e73c;
+ background-image: url(../img/map-legend-green.png);
}
}