From 3945433f34147def73736bce78820ee6ed819c47 Mon Sep 17 00:00:00 2001 From: ErshKUS Date: Mon, 26 Dec 2011 13:48:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B2=D0=B8=D0=BD=D1=83=D1=82?= =?UTF-8?q?=D0=BE=20=D0=BF=D0=BE=D1=8F=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BF=D1=80=D0=B0=D0=B2=D1=8B=D1=85=20=D0=BF=D0=B0=D0=BD?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=B9,=20fix=20#38?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/css/main.css | 39 +++++++++++++++++++++++++++------------ www/map.php | 6 ++++-- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/www/css/main.css b/www/css/main.css index 36d06ca..c3a159a 100644 --- a/www/css/main.css +++ b/www/css/main.css @@ -547,7 +547,10 @@ a.wheremi:hover div.wheremi { #tools { position: absolute; right: 10px; - top: 90px; + top: 80px; + z-index: 8; +} +#tools div, .leaflet-control-layers a, .leaflet-control-layers-expanded .leaflet-control-layers-list { -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px; @@ -555,33 +558,45 @@ a.wheremi:hover div.wheremi { -webkit-box-shadow: 0 0 7px #999; box-shadow: 0 0 7px #999; background: #f8f8f9; - z-index: 6; } -#tools #tools-button { +#tools div.a, .leaflet-control-layers a { + float: right; + width: 36px; +} +#tools div.a a { background-image: url("../img/tools.png"); background-position: 50% 50%; background-repeat: no-repeat; display: block; height: 36px; - width: 36px; } -#tools div { +#tools div.p { display: none; } -#tools div a { +#tools div.p a { color: #0078A8; } -#tools div p { +#tools div.p p { margin-bottom: 0.7em; } -#tools.on #tools-button { - display: none; -} -#tools.on div { +#tools.on div.p, .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; - padding: 16px 10px 6px 10px; + padding: 16px 40px 6px 10px; + margin-right: 40px; } +div.leaflet-control-layers { + background: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + padding: 0; +} +div.leaflet-control-layers-expanded .leaflet-control-layers-toggle { + display: block; +} + + /* * Toolbar */ diff --git a/www/map.php b/www/map.php index be764b4..db539bd 100644 --- a/www/map.php +++ b/www/map.php @@ -50,8 +50,10 @@