[Pkg-javascript-commits] [leaflet] 236/301: simplify and improve touch styles, close #1868, close #2012
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit fc97965730f11e18252fdc8da7de6a8aa56b32a3
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date: Wed Nov 13 14:00:17 2013 +0200
simplify and improve touch styles, close #1868, close #2012
---
dist/leaflet.css | 28 ++++++----------------------
1 file changed, 6 insertions(+), 22 deletions(-)
diff --git a/dist/leaflet.css b/dist/leaflet.css
index 9a9c81e..918fc6d 100644
--- a/dist/leaflet.css
+++ b/dist/leaflet.css
@@ -249,26 +249,9 @@
color: #bbb;
}
-.leaflet-touch .leaflet-bar {
- -webkit-border-radius: 10px;
- border-radius: 10px;
- }
.leaflet-touch .leaflet-bar a {
- width: 30px;
- height: 30px;
- }
-.leaflet-touch .leaflet-bar a:first-child {
- -webkit-border-top-left-radius: 7px;
- border-top-left-radius: 7px;
- -webkit-border-top-right-radius: 7px;
- border-top-right-radius: 7px;
- }
-.leaflet-touch .leaflet-bar a:last-child {
- -webkit-border-bottom-left-radius: 7px;
- border-bottom-left-radius: 7px;
- -webkit-border-bottom-right-radius: 7px;
- border-bottom-right-radius: 7px;
- border-bottom: none;
+ width: 34px;
+ height: 34px;
}
@@ -283,11 +266,11 @@
.leaflet-touch .leaflet-control-zoom-in {
font-size: 22px;
- line-height: 30px;
+ line-height: 34px;
}
.leaflet-touch .leaflet-control-zoom-out {
font-size: 28px;
- line-height: 30px;
+ line-height: 34px;
}
@@ -393,7 +376,8 @@
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
- border: 4px solid rgba(0,0,0,0.3);
+ border: 2px solid rgba(0,0,0,0.3);
+ background-clip: padding-box;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list