Merge pull request #10104 from openlayers/attribution_font_size

Remove font sizing from the attribution control
This commit is contained in:
Frédéric Junod
2019-10-14 15:28:02 +02:00
committed by GitHub
2 changed files with 1 additions and 10 deletions
+1 -5
View File
@@ -74,13 +74,9 @@ ol.inline>li {
.ol-attribution.ol-logo-only, .ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible { .ol-attribution.ol-uncollapsible {
max-width: calc(100% - 3em); max-width: calc(100% - 3em);
height: 1.5em;
} }
.ol-attribution ul { .ol-attribution ul {
font-size: 1rem; font-size: 14px;
}
.ol-control button, .ol-attribution, .ol-scale-line-inner {
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
} }
.iframe-info iframe { .iframe-info iframe {
width: 100%; width: 100%;
-5
View File
@@ -182,15 +182,12 @@
.ol-attribution ul { .ol-attribution ul {
margin: 0; margin: 0;
padding: 0 .5em; padding: 0 .5em;
font-size: .7rem;
line-height: 1.375em;
color: #000; color: #000;
text-shadow: 0 0 2px #fff; text-shadow: 0 0 2px #fff;
} }
.ol-attribution li { .ol-attribution li {
display: inline; display: inline;
list-style: none; list-style: none;
line-height: inherit;
} }
.ol-attribution li:not(:last-child):after { .ol-attribution li:not(:last-child):after {
content: " "; content: " ";
@@ -213,8 +210,6 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 4px 0 0; border-radius: 4px 0 0;
height: 1.1em;
line-height: 1em;
} }
.ol-attribution.ol-uncollapsible img { .ol-attribution.ol-uncollapsible img {
margin-top: -.2em; margin-top: -.2em;