]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Use .icon-link for new diary entry icon
[rails.git] / app / assets / stylesheets / common.scss
index d2a8f037d0213cc86dacabeb32b80d78011d578e..71649fbce4f6386c7952cd9fa4997c07056b7efd 100644 (file)
@@ -15,21 +15,12 @@ p > img {
   max-width: 100%;
 }
 
-small, aside {
-  font-size: 12px;
-}
-
 time[title] {
   text-decoration: underline dotted;
 }
 
 #container { position: relative; }
 
-.small_icon {
-  vertical-align: middle;
-  margin-right: $lineheight * 0.25;
-}
-
 /* Rules for icons */
 
 .icon {
@@ -473,8 +464,17 @@ body.small-nav {
   border-top: 0px !important;
 }
 
+.leaflet-popup-content-wrapper,
+.leaflet-popup-tip {
+  @extend .bg-body, .text-body;
+}
+
 .leaflet-popup-content-wrapper {
-  border-radius: 4px !important;
+  @extend .rounded-1;
+
+  a {
+    color: var(--bs-link-color) !important;
+  }
 }
 
 /* Rules for attribution text under the main map shown on printouts */
@@ -540,10 +540,6 @@ header .search_forms,
 /* Rules for search sidebar */
 
 #sidebar .search_results_entry {
-  ul li.selected {
-    background: $list-highlight;
-  }
-
   .search_more .loader {
     display: none;
   }
@@ -635,14 +631,6 @@ tr.turn {
 
   .query-results {
     display: none;
-
-    ul {
-      li {
-        &.query-result {
-          cursor: pointer;
-        }
-      }
-    }
   }
 }
 
@@ -770,7 +758,6 @@ tr.turn {
 /* Rules for user popups on maps */
 
 .user_popup {
-  min-width: 200px;
   p {
     padding: 0 0 5px 0;
     margin: 0 0 0 60px;