X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6e981a9fcbea4db27a1428a88c012e64f9e8e4b6..3251cdf5d6d4ce51e52d96f52f266ab37f1fa695:/vendor/assets/iD/iD.css.erb diff --git a/vendor/assets/iD/iD.css.erb b/vendor/assets/iD/iD.css.erb index 2ac1660fa..099a76c25 100644 --- a/vendor/assets/iD/iD.css.erb +++ b/vendor/assets/iD/iD.css.erb @@ -2448,45 +2448,8 @@ button.save.has-count .count::before { bottom: 0; } -.mapillary-image { - position: absolute; - bottom: 30px; - width: 330px; - height: 250px; - padding: 5px; - background-color: #fff; -} -.mapillary-image a { - display: block; - position: absolute; - height: auto; - background-color: rgba(0,0,0,.5); - bottom: 0; - padding: 5px 10px; -} -.mapillary-image img { - width: 100%; - height: auto; - display: block; -} - -.mapillary-image.hidden { - visibility: hidden; -} - -.mapillary-image.temp button { - display: none; -} - -.mapillary-image button { - border-radius: 0; - padding: 5px; - position: absolute; - right: 0; - top: 0; -} .feature-list-pane .inspector-body { top: 120px; @@ -5081,3 +5044,44 @@ img.tile-removing { background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px; margin: auto; } + +/* Mapillary +------------------------------------------------------- */ +.mapillary-wrap { + position: absolute; + bottom: 30px; + width: 330px; + height: 250px; + padding: 5px; + background-color: #fff; +} + +.mapillary-wrap.hidden { + visibility: hidden; +} + +.mapillary-wrap .uil-ripple-css { + top: -9px; + left: -15px; +} + +.mapillary-wrap .uil-ripple-css div { + top: 38px; +} + +.mapillary-wrap button.thumb-hide { + border-radius: 0; + padding: 5px; + position: absolute; + right: 0; + top: 0; + z-index: 500; +} + +.mly-wrapper { + visibility: hidden; +} + +.mly-wrapper.active { + visibility: visible; +}