From: Tom Hughes Date: Sun, 27 May 2018 19:48:30 +0000 (+0100) Subject: Update for final linear-gradient syntax X-Git-Tag: live~2961 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/dedda1a157f0d7b95e983eacebab3c333dd8077b Update for final linear-gradient syntax --- diff --git a/vendor/assets/leaflet/leaflet.locationfilter.css b/vendor/assets/leaflet/leaflet.locationfilter.css index 2698d7878..a8e8f72b3 100644 --- a/vendor/assets/leaflet/leaflet.locationfilter.css +++ b/vendor/assets/leaflet/leaflet.locationfilter.css @@ -32,43 +32,43 @@ div.location-filter.button-container { background: #c4e3b9; background: rgba(218, 252, 205, 0.9); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(218, 252, 205, 0.9)), color-stop(100%, rgba(173, 226, 176, 0.9))); - background: -webkit-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background: -moz-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background: -ms-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background: -o-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background: linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background: -webkit-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background: -moz-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background: -ms-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background: -o-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background: linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); } .leaflet-container div.location-filter.button-container a:hover { color: #263F1C; background: #dde6d8; background: rgba(245, 255, 240, 0.9); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(245, 255, 240, 0.9)), color-stop(100%, rgba(203, 228, 205, 0.9))); - background: -webkit-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background: -moz-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background: -ms-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background: -o-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background: linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background: -webkit-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background: -moz-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background: -ms-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background: -o-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background: linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); } .leaflet-container div.location-filter.button-container a.enable-button { padding: 6px 7px 6px 25px; background-image: url( img/filter-icon.png ), -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(218, 252, 205, 0.9)), color-stop(100%, rgba(173, 226, 176, 0.9))); - background-image: url( img/filter-icon.png ), -webkit-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background-image: url( img/filter-icon.png ), -moz-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background-image: url( img/filter-icon.png ), -ms-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background-image: url( img/filter-icon.png ), -o-linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); - background-image: url( img/filter-icon.png ), linear-gradient(top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background-image: url( img/filter-icon.png ), -webkit-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background-image: url( img/filter-icon.png ), -moz-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background-image: url( img/filter-icon.png ), -ms-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background-image: url( img/filter-icon.png ), -o-linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); + background-image: url( img/filter-icon.png ), linear-gradient(to top, rgba(218, 252, 205, 0.9) 0%, rgba(173, 226, 176, 0.9) 100%); background-repeat: no-repeat; background-position: left center; } .leaflet-container div.location-filter.button-container a.enable-button:hover, .leaflet-container div.location-filter.button-container.enabled a.enable-button { background-image: url( img/filter-icon.png ), -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(245, 255, 240, 0.9)), color-stop(100%, rgba(203, 228, 205, 0.9))); - background-image: url( img/filter-icon.png ), -webkit-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background-image: url( img/filter-icon.png ), -moz-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background-image: url( img/filter-icon.png ), -ms-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background-image: url( img/filter-icon.png ), -o-linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); - background-image: url( img/filter-icon.png ), linear-gradient(top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background-image: url( img/filter-icon.png ), -webkit-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background-image: url( img/filter-icon.png ), -moz-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background-image: url( img/filter-icon.png ), -ms-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background-image: url( img/filter-icon.png ), -o-linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); + background-image: url( img/filter-icon.png ), linear-gradient(to top, rgba(245, 255, 240, 0.9) 0%, rgba(203, 228, 205, 0.9) 100%); background-repeat: no-repeat; background-position: left center; }