style for scalebar

with new class in css and remove the hardcoded background

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
This commit is contained in:
jeanpierre
2022-07-16 11:41:31 +02:00
parent cb5417e0b6
commit 4d2b2c9650
2 changed files with 18 additions and 20 deletions

View File

@@ -29,6 +29,12 @@
will-change: contents, width;
transition: all 0.25s;
}
.ol-scale-line-bar-dark{
background-color: #000000;
}
.ol-scale-line-bar-light{
background-color: #ffffff;
}
.ol-scale-bar {
position: absolute;
bottom: 8px;