Commits

stefano cudini committed 5a64c50 Draft

restyle for large buttons in 0.6.4

  • Participants
  • Parent commits 2bb5e81

Comments (0)

Files changed (2)

images/search-icon.png

Old
Old image
New
New image

leaflet-search.css

 	-moz-border-radius: 4px;
 	-webkit-border-radius: 4px;
 	border-radius: 4px;
-	border: 1px solid #888;
 	background-color: rgba(255, 255, 255, 0.8);
 	z-index:1000;	
-	box-shadow: 0 0 8px rgba(0,0,0,0.4);
-	margin-left: 13px;
-	margin-top: 12px;
+	box-shadow: 0 1px 7px rgba(0,0,0,0.65);
+	margin-left: 10px;
+	margin-top: 10px;
 }
 .leaflet-control-search.search-exp {/*expanded*/
-	box-shadow: 0 1px 7px #999;	
+	box-shadow: 0 1px 7px #999;
+	background: #fff;
 }
 .leaflet-control-search .search-input {
 	display:block;
 	background: #fff;
 	border:1px solid #666;
 	border-radius:2px;
-	height:16px;
-	padding:0 16px 0 2px;
-	margin:2px 0 2px 2px;
+	height:18px;
+	padding:0 18px 0 2px;
+	margin:3px 0 3px 3px;
 }
 .leaflet-control-search.search-load .search-input {
 	background: url('images/loader.gif') no-repeat center right #fff;
 }
 .leaflet-control-search .search-cancel {
 	display:block;
-	width:18px;
+	width:22px;
 	height:18px;
 	position:absolute;
 	right:22px;
-	margin:2px 0;
-	background: url('images/search-icon.png') no-repeat 0 -42px;
+	margin:3px 0;
+	background: url('images/search-icon.png') no-repeat 0 -46px;
 	text-decoration:none;
 	filter: alpha(opacity=80);
 	opacity: 0.8;		
 .leaflet-control-search .search-button {
 	display:block;
 	float:left;
-	width:22px;
-	height:22px;	
-	background: url('images/search-icon.png') no-repeat 0 0;
+	width:26px;
+	height:26px;	
+	background: url('images/search-icon.png') no-repeat 2px 2px;
 	border-radius:4px;
 }
 .leaflet-control-search .search-button:hover {
-	background: url('images/search-icon.png') no-repeat 0 -21px;
+	background: url('images/search-icon.png') no-repeat 2px -22px;
 }
 .leaflet-control-search .search-tooltip {
 	position:absolute;