Example style update

This commit is contained in:
Tim Schaub
2014-10-13 08:42:45 -06:00
parent b8369ad3f0
commit 26be3a5450

View File

@@ -14,7 +14,7 @@
* zoom-out buttons.
*/
#map2 .ol-zoom .ol-zoom-out {
margin-top: 202px;
margin-top: 206px;
}
#map2 .ol-zoomslider {
background-color: transparent;
@@ -28,6 +28,16 @@
top: 2.75em;
}
#map2 .ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
#map2 .ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
top: 3px;
}
#map2 .ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
#map2 .ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
top: 232px;
}
/**
* The zoomslider in the third map shall be horizontal, placed in the top-right
* corner, smaller and orange.
@@ -60,7 +70,7 @@
background-color: rgba(255,69,0,0.7);
}
</style>
<title>ol3 ZoomSlider demo</title>
<title>Zoom slider example</title>
</head>
<body>