mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 01:24:05 +02:00
Adds minimap toggle to background menu. Also resolves CSS issue with GPX layer in minimap.
This commit is contained in:
+26
-2
@@ -1785,7 +1785,7 @@ img.wiki-image {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.layer-list {
|
||||
.layer-list, .controls-list {
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #CCC;
|
||||
border-radius: 4px;
|
||||
@@ -1835,6 +1835,22 @@ img.wiki-image {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.minimap-toggle {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
cursor: pointer;
|
||||
color: #7092FF;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.minimap-toggle.active {
|
||||
background: #E8EBFF;
|
||||
}
|
||||
|
||||
.minimap-toggle:hover {
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
.hide-toggle {
|
||||
display: block;
|
||||
padding-left:12px;
|
||||
@@ -2138,7 +2154,6 @@ img.wiki-image {
|
||||
|
||||
.map-in-map-svg,
|
||||
.map-in-map-gpx {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
@@ -2146,6 +2161,15 @@ img.wiki-image {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.map-in-map-svg {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.map-in-map-gpx {
|
||||
position: relative;
|
||||
/*z-index: 1;*/
|
||||
}
|
||||
|
||||
.map-in-map-bbox {
|
||||
fill: none;
|
||||
stroke: rgba(255, 255, 0, 0.75);
|
||||
|
||||
Reference in New Issue
Block a user