Merge pull request #292 from tonio/zoom
cosmetic changes on zoom control
This commit is contained in:
@@ -436,8 +436,8 @@ div.olControlZoom {
|
|||||||
}
|
}
|
||||||
div.olControlZoom a {
|
div.olControlZoom a {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 2px;
|
margin: 1px;
|
||||||
padding: 0 4px;
|
padding: 0;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
|
font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
|
||||||
@@ -445,13 +445,10 @@ div.olControlZoom a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
width: 15px;
|
width:22px;
|
||||||
line-height: 22px;
|
line-height: 19px;
|
||||||
background: #666666; /* fallback for IE - IE6 requires background shorthand*/
|
background: #666666; /* fallback for IE - IE6 requires background shorthand*/
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: rgba(0, 0, 0, 0.3);
|
||||||
border: 1px solid;
|
|
||||||
border-color: #ffffff; /* fallback for IE */
|
|
||||||
border-color: rgba(255, 255, 255, 0.6);
|
|
||||||
filter: alpha(opacity=60);
|
filter: alpha(opacity=60);
|
||||||
}
|
}
|
||||||
div.olControlZoom a:hover {
|
div.olControlZoom a:hover {
|
||||||
@@ -460,10 +457,10 @@ div.olControlZoom a:hover {
|
|||||||
filter: alpha(opacity=80);
|
filter: alpha(opacity=80);
|
||||||
}
|
}
|
||||||
a.olControlZoomIn {
|
a.olControlZoomIn {
|
||||||
border-radius: 5px 5px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
}
|
}
|
||||||
a.olControlZoomOut {
|
a.olControlZoomOut {
|
||||||
border-radius: 0 0 5px 5px;
|
border-radius: 0 0 4px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user