position: absolute;
top: 0;
right: 0;
- background: image-url("menu-icon.png") no-repeat;
+ background: image-url("menu-icon.svg") no-repeat;
background-size: 30px 30px;
width: 30px;
height: 30px;
border-top: 0px !important;
}
-.leaflet-popup-content-wrapper,
-.leaflet-popup-tip,
-.leaflet-contextmenu,
-.leaflet-contextmenu-item {
+.leaflet-popup-content-wrapper, .leaflet-popup-tip,
+.leaflet-contextmenu, .leaflet-contextmenu-item,
+.leaflet-control-attribution, .leaflet-control-scale-line {
@extend .bg-body, .text-body;
}
+.leaflet-control-attribution, .leaflet-control-scale-line {
+ @extend .bg-opacity-75;
+ text-shadow: none !important;
+}
+
.leaflet-contextmenu-item.over {
@extend .bg-body-secondary, .border-secondary, .border-opacity-10;
}
.mapkey-table-entry td:first-child > * {
filter: brightness(.8);
}
+
+ .leaflet-control-attribution a {
+ color: var(--bs-link-color);
+ }
+
+ .leaflet-control-scale-line {
+ @extend .border-light, .border-opacity-75;
+ }
}
/* Rules for attribution text under the main map shown on printouts */
/* Rules for routing */
div.direction {
- background-image: image-url('routing-sprite.png');
+ background-image: image-url('routing-sprite.svg');
width: 20px;
height: 20px;
background-repeat: no-repeat;
/* Overrides for pages that use new layout conventions */
.header-illustration {
- background-position: 0 0;
+ background-position: right;
background-repeat: no-repeat;
position: relative;
min-height: 200px;
bottom: 0;
&.new-user-main {
- background-image: image-url("sign-up-illustration.png");
- background-position-x: 50px;
+ background-image: image-url("sign-up-illustration.svg");
}
&.confirm-main {
- background-image: image-url("confirm-illustration.png");
+ background-image: image-url("confirm-illustration.svg");
}
&.new-user-terms {
- background-image: image-url("terms-illustration.png");
+ background-image: image-url("terms-illustration.svg");
}
}
h1 {
transform: scaleX(-1);
}
+
+ ul {
+ transform: scaleX(-1);
+ }
}
/* Rules for small maps in content areas */
/* Rules for the "Welcome" page */
.site-welcome, .site-fixthemap {
.sprite {
- background-image: image-url("welcome-sprite.png");
+ background-image: image-url("welcome-sprite.svg");
background-size: 500px 250px;
display: block;
}
.sprite.term {
margin-right: 10px;
vertical-align: middle;
+ display: inline-block;
}
.sprite.node {