Example style update
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* zoom-out buttons.
|
* zoom-out buttons.
|
||||||
*/
|
*/
|
||||||
#map2 .ol-zoom .ol-zoom-out {
|
#map2 .ol-zoom .ol-zoom-out {
|
||||||
margin-top: 202px;
|
margin-top: 206px;
|
||||||
}
|
}
|
||||||
#map2 .ol-zoomslider {
|
#map2 .ol-zoomslider {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@@ -28,6 +28,16 @@
|
|||||||
top: 2.75em;
|
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
|
* The zoomslider in the third map shall be horizontal, placed in the top-right
|
||||||
* corner, smaller and orange.
|
* corner, smaller and orange.
|
||||||
@@ -60,7 +70,7 @@
|
|||||||
background-color: rgba(255,69,0,0.7);
|
background-color: rgba(255,69,0,0.7);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<title>ol3 ZoomSlider demo</title>
|
<title>Zoom slider example</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user