[Pkg-javascript-commits] [leaflet] 205/301: clean up css a bit, drop ie6-related hacks

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:51 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 698fb2e8779668e745e5f502e764c9af5596630f
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri Nov 8 15:53:27 2013 +0200

    clean up css a bit, drop ie6-related hacks
---
 dist/leaflet.css    | 21 +++++++++++++--------
 dist/leaflet.ie.css | 17 +++--------------
 2 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/dist/leaflet.css b/dist/leaflet.css
index 676836c..41814a3 100644
--- a/dist/leaflet.css
+++ b/dist/leaflet.css
@@ -205,7 +205,8 @@
 	-webkit-border-radius: 4px;
 	        border-radius: 4px;
 	}
-.leaflet-bar a, .leaflet-bar a:hover {
+.leaflet-bar a,
+.leaflet-bar a:hover {
 	background-color: #fff;
 	border-bottom: 1px solid #ccc;
 	width: 26px;
@@ -290,7 +291,7 @@
 
 .leaflet-control-layers {
 	box-shadow: 0 1px 7px rgba(0,0,0,0.4);
-	background: #f8f8f9;
+	background: #fff;
 	-webkit-border-radius: 5px;
 	        border-radius: 5px;
 	}
@@ -338,7 +339,8 @@
 /* attribution and scale controls */
 
 .leaflet-container .leaflet-control-attribution {
-	background-color: rgba(255, 255, 255, 0.7);
+	background: #fff;
+	background: rgba(255, 255, 255, 0.7);
 	box-shadow: 0 0 5px #bbb;
 	margin: 0;
 	}
@@ -360,17 +362,19 @@
 .leaflet-control-scale-line {
 	border: 2px solid #777;
 	border-top: none;
-	color: black;
 	line-height: 1.1;
 	padding: 2px 5px 1px;
 	font-size: 11px;
-	text-shadow: 1px 1px 1px #fff;
-	background-color: rgba(255, 255, 255, 0.5);
-	box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
 	white-space: nowrap;
 	overflow: hidden;
 	-moz-box-sizing: content-box;
 	     box-sizing: content-box;
+
+	color: black;
+	background: #fff;
+	background: rgba(255, 255, 255, 0.5);
+	box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
+	text-shadow: 1px 1px 1px #fff;
 	}
 .leaflet-control-scale-line:not(:first-child) {
 	border-top: 2px solid #777;
@@ -432,7 +436,8 @@
 	     -o-transform: rotate(45deg);
 	        transform: rotate(45deg);
 	}
-.leaflet-popup-content-wrapper, .leaflet-popup-tip {
+.leaflet-popup-content-wrapper,
+.leaflet-popup-tip {
 	background: white;
 
 	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
diff --git a/dist/leaflet.ie.css b/dist/leaflet.ie.css
index 9a578c9..5cf046b 100644
--- a/dist/leaflet.ie.css
+++ b/dist/leaflet.ie.css
@@ -8,19 +8,16 @@
 	position: absolute;
 	}
 
-.leaflet-control {
-	display: inline;
-	}
-
 .leaflet-popup-tip {
 	width: 21px;
-	_width: 27px;
 	margin: 0 auto;
-	_margin-top: -3px;
 
 	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
 	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
 	}
+.leaflet-popup-content-wrapper {
+	zoom: 1;
+	}
 .leaflet-popup-tip-container {
 	margin-top: -1px;
 	}
@@ -28,19 +25,11 @@
 .leaflet-popup-tip {
 	border: 1px solid #999;
 	}
-.leaflet-popup-content-wrapper {
-	zoom: 1;
-	}
 
 .leaflet-control-zoom,
 .leaflet-control-layers {
 	border: 3px solid #999;
 	}
-.leaflet-control-attribution,
-.leaflet-control-layers,
-.leaflet-control-scale-line {
-	background: white;
-	}
 .leaflet-zoom-box {
 	filter: alpha(opacity=50);
 	}

-- 
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