Fix rotate-north control display on touch devices

This commit is contained in:
Frederic Junod
2013-09-09 09:18:21 +02:00
parent 5861f6a148
commit 0b82cb8050

View File

@@ -17,6 +17,9 @@
border-radius: 4px;
padding: 2px;
}
.ol-touch .rotate-north {
top: 80px;
}
.rotate-north a {
display: block;
color: white;
@@ -31,6 +34,12 @@
width: 22px;
background: rgba(0,60,136,0.5);
}
.ol-touch .rotate-north a {
font-size: 20px;
height: 30px;
width: 30px;
line-height: 26px;
}
.rotate-north a:hover {
background: rgba(0,60,136,0.7);
}