X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/406e93de958e2c88b4fe5a5ff58ad6c6c0b16539..34e251c225c7903b64f1fda2b594dd1c70aeeb93:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index c90aa9145..df5edbf7e 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -537,6 +537,24 @@ a.donate { border-radius: 4px 0 0 4px; margin-bottom: 10px; outline: none; + + &:hover { + background-color: black; + } + + &.active { + background-color: #9ed485; + } + + &.disabled { + background-color: #333; + background-color: rgba(0,0,0,.5); + cursor: default; + } + + .icon { + margin: 10px; + } } .leaflet-control .zoomin, @@ -557,18 +575,6 @@ a.donate { border-radius: 0 0 0 4px; } -.leaflet-control .control-button:hover { - background-color: black; -} - -.leaflet-control .control-button.active { - background-color: #9ed485; -} - -.leaflet-control .control-button .icon { - margin: 10px; -} - /* Rules for the home page */ .site-export #map,