Merge pull request #1444 from jfirebaugh/toolbar_style
Fix .leaflet-bar style for a single button bar
This commit is contained in:
commit
92c55ce77b
24
dist/leaflet.css
vendored
24
dist/leaflet.css
vendored
@ -217,12 +217,16 @@
|
|||||||
background-color: #f4f4f4;
|
background-color: #f4f4f4;
|
||||||
}
|
}
|
||||||
.leaflet-bar a:first-child {
|
.leaflet-bar a:first-child {
|
||||||
-webkit-border-radius: 4px 4px 0 0;
|
-webkit-border-top-left-radius: 4px;
|
||||||
border-radius: 4px 4px 0 0;
|
border-top-left-radius: 4px;
|
||||||
|
-webkit-border-top-right-radius: 4px;
|
||||||
|
border-top-right-radius: 4px;
|
||||||
}
|
}
|
||||||
.leaflet-bar a:last-child {
|
.leaflet-bar a:last-child {
|
||||||
-webkit-border-radius: 0 0 4px 4px;
|
-webkit-border-bottom-left-radius: 4px;
|
||||||
border-radius: 0 0 4px 4px;
|
border-bottom-left-radius: 4px;
|
||||||
|
-webkit-border-bottom-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
.leaflet-bar a.leaflet-disabled {
|
.leaflet-bar a.leaflet-disabled {
|
||||||
@ -240,12 +244,16 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
.leaflet-touch .leaflet-bar a:first-child {
|
.leaflet-touch .leaflet-bar a:first-child {
|
||||||
-webkit-border-radius: 7px 7px 0 0;
|
-webkit-border-top-left-radius: 7px;
|
||||||
border-radius: 7px 7px 0 0;
|
border-top-left-radius: 7px;
|
||||||
|
-webkit-border-top-right-radius: 7px;
|
||||||
|
border-top-right-radius: 7px;
|
||||||
}
|
}
|
||||||
.leaflet-touch .leaflet-bar a:last-child {
|
.leaflet-touch .leaflet-bar a:last-child {
|
||||||
-webkit-border-radius: 0 0 7px 7px;
|
-webkit-border-bottom-left-radius: 7px;
|
||||||
border-radius: 0 0 7px 7px;
|
border-bottom-left-radius: 7px;
|
||||||
|
-webkit-border-bottom-right-radius: 7px;
|
||||||
|
border-bottom-right-radius: 7px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user