Merge pull request #739 from tschaub/attribution-style

Style for attribution control
This commit is contained in:
Tim Schaub
2013-05-30 08:00:21 -07:00
+8 -2
View File
@@ -1,21 +1,27 @@
.ol-attribution { .ol-attribution {
position: absolute; position: absolute;
font-size: 10px;
text-align: right; text-align: right;
color: #eeeeee; color: #eeeeee;
bottom: 0; bottom: 0;
right: 0; right: 0;
background: rgba(0,60,136,0.3); background: rgba(0,60,136,0.3);
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif; font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
padding: 2px 4px; padding: 6px;
} }
.ol-attribution a { .ol-attribution a {
color: white; color: white;
text-decoration: none; text-decoration: none;
} }
.ol-attribution ul {
margin: 0;
padding: 0;
font-size: 10px;
line-height: 12px;
}
.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: "\2003"; content: "\2003";