Use «em» for buttons sizing
This commit is contained in:
+10
-9
@@ -132,17 +132,20 @@
|
|||||||
margin: 1px;
|
margin: 1px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 18px;
|
font-size: 1.14em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 22px;
|
height: 1.375em;
|
||||||
width: 22px;
|
width: 1.375em;
|
||||||
line-height: 19px;
|
line-height: 1.375em;
|
||||||
background-color: #7b98bc;
|
background-color: #7b98bc;
|
||||||
background-color: rgba(0,60,136,0.5);
|
background-color: rgba(0,60,136,0.5);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
.ol-zoom button {
|
||||||
|
line-height: .4em;
|
||||||
|
}
|
||||||
.ol-zoom button::-moz-focus-inner {
|
.ol-zoom button::-moz-focus-inner {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -153,11 +156,9 @@
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
.ol-touch .ol-zoom button,
|
.ol-touch .ol-zoom button,
|
||||||
|
.ol-touch .ol-full-screen a,
|
||||||
.ol-touch .ol-zoom-extent a {
|
.ol-touch .ol-zoom-extent a {
|
||||||
font-size: 20px;
|
font-size: 1.5em;
|
||||||
height: 30px;
|
|
||||||
width: 30px;
|
|
||||||
line-height: 26px;
|
|
||||||
}
|
}
|
||||||
.ol-zoom button:hover,
|
.ol-zoom button:hover,
|
||||||
.ol-zoom button:focus,
|
.ol-zoom button:focus,
|
||||||
@@ -217,7 +218,7 @@ a.ol-full-screen-true:after {
|
|||||||
border: 3px solid rgba(255, 255, 255, 0.0);
|
border: 3px solid rgba(255, 255, 255, 0.0);
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-radius: 0 4px 4px 0;
|
border-radius: 0 4px 4px 0;
|
||||||
bottom: .8em;
|
bottom: 1.1em;
|
||||||
left: 2em;
|
left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user