westdc-zf1/htdocs/css/map.css

32 lines
1.4 KiB
CSS

.layer-switcher { position: absolute; top: 3.5em; right: 0.5em; text-align: left; }
.layer-switcher .panel { padding-right: 50px; border: 1px solid #ccc; background-color: #fff; border-radius: 3px; }
.layer-switcher .panel { display: none; }
.layer-switcher.shown .panel { display: block; }
.layer-switcher button { float: right; width: 38px; height: 38px; background-image: url("/js/lib/openlayers/logo.png"); background-repeat: no-repeat; background-color: transparent !important; background-position: 2px; border: none; }
.layer-switcher ul { padding-left: 9px; list-style: none; line-height: 22px; margin: 0 0 6px; }
.layer-switcher li.group { padding-top: 5px; line-height: 24px; }
.layer-switcher li.group ul li { line-height: 24px; }
.layer-switcher li.group input { margin-right: 4px; margin-top: 0; }
.layer-switcher li.group label { display: inline; }
.layer-switcher li.group > label { font-weight: bold; }
.map { height: 700px; width: 100%; margin-bottom: 20px; }
.ol-mouse-position { bottom: 8px; right: 55px; top: inherit; color: #000; font-size: 1em; line-height: 1.375em; text-shadow: 0 0 2px #fff; height: auto; padding: 6px; background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8); border-radius: 5px; }
.ol-mouse-position-fix { right: 15px; bottom: 50px; }
.mapsync .map { height: 400px; }
.mapsync .layer-switcher { top: 11px; right: 11px; }