Cleanup ScaleLine code

This commit is contained in:
Maximilian Krög
2022-07-16 11:58:10 +02:00
parent b0306828a7
commit e0cbb6daa8
2 changed files with 41 additions and 84 deletions
+12 -8
View File
@@ -41,20 +41,16 @@
transition: all 0.25s;
}
.ol-scale-singlebar-even {
background-color: var(--ol-subtle-foreground-color);
}
.ol-scale-singlebar-odd {
background-color: var(--ol-background-color);
}
.ol-scale-bar {
position: absolute;
bottom: 8px;
left: 8px;
}
.ol-scale-bar-inner > div {
display: flex;
}
.ol-scale-step-marker {
width: 1px;
height: 15px;
@@ -89,6 +85,14 @@
border: 1px solid var(--ol-foreground-color);
}
.ol-scale-singlebar-even {
background-color: var(--ol-subtle-foreground-color);
}
.ol-scale-singlebar-odd {
background-color: var(--ol-background-color);
}
.ol-unsupported {
display: none;
}