Created
April 30, 2013 16:47
-
-
Save samanpwbb/5490008 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tour .map-legends { | |
display: none; | |
} | |
.tour .leaflet-bar, | |
.tour .leaflet-touch .leaflet-bar, | |
.tour .leaflet-touch .leaflet-control-zoom { | |
border: none; | |
} | |
.tour .leaflet-touch .leaflet-bar a { | |
width: 26px; height: 26px; | |
} | |
.tour .leaflet-control-zoom a { | |
text-indent: -999em; | |
background: #FFF url(../img/sprite.png) 0 0 no-repeat; | |
border: 1px solid #CCC; | |
overflow: hidden; | |
display: block; | |
border-radius: 3px; | |
} | |
.tour .leaflet-touch .leaflet-bar a:first-child { | |
-webkit-border-top-left-radius: 3px; | |
border-top-left-radius: 3px; | |
-webkit-border-top-right-radius: 3px; | |
border-top-right-radius: 3px; | |
} | |
.tour .leaflet-touch .leaflet-bar a:last-child { | |
-webkit-border-bottom-left-radius: 3px; | |
border-bottom-left-radius: 3px; | |
-webkit-border-bottom-right-radius: 3px; | |
border-bottom-right-radius: 3px; | |
border-bottom: 1px solid #CCC; | |
} | |
.tour .leaflet-bar a:active, | |
.tour .leaflet-control .mapbox-button:active { | |
background-color: #E2E2E2; | |
background: none; | |
} | |
.tour .leaflet-control-zoom .leaflet-control-zoom-in { | |
background-position:-38px -117px; | |
border-radius: 3px 3px 0 0; | |
} | |
.tour .leaflet-control-zoom .leaflet-control-zoom-out { | |
background-position:-58px -117px; | |
border-top-width: 0px; | |
border-radius: 0 0 3px 3px; | |
} | |
.tour .leaflet-bar a:last-child { | |
border-bottom: 1px solid #CCC; | |
} | |
.tour .leaflet-bar a.leaflet-control-zoom-in:active { | |
background: #E2E2E2 url(../img/sprite.png) -38px -117px no-repeat; | |
} | |
.tour .leaflet-bar a.leaflet-control-zoom-out:active { | |
background: #E2E2E2 url(../img/sprite.png) -58px -117px no-repeat; | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio : 2), | |
only screen and (min-device-pixel-ratio : 2) { | |
.tour .leaflet-control-zoom a, | |
.tour .leaflet-bar a.leaflet-control-zoom-in:active, | |
.tour .leaflet-bar a.leaflet-control-zoom-out:active { | |
background-image:url(../img/[email protected]); | |
background-size:880px 300px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment