diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 64fb55e..d8433d8 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -391,3 +391,36 @@ a:has(button) { font-weight: bold; padding: 3px 5px; } + +.map-icon svg { + display: inline-block; + width: 20px; + vertical-align: middle; + margin-top: -3px; + stroke: #fff; + fill: none; + position: relative; + z-index: 1; +} + +.map-popup { + display: none; +} + +.map-icon:hover .map-popup { + display: block; + position: absolute; + color: tomato; + z-index: 100; +} + +.map-nm-loc { + width: 20px; + height: 20px; + border-radius: 50px; + opacity: .5; + background-color: #005ba4; + display: inline-block; + margin-left: -10px; + margin-top: -10px; +} diff --git a/app/views/instance/_list.html.erb b/app/views/instance/_list.html.erb index 828131a..6630721 100644 --- a/app/views/instance/_list.html.erb +++ b/app/views/instance/_list.html.erb @@ -12,6 +12,17 @@