X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d4344da2beeff6ed657c1a9970573acdad8563eb..a64b7237ec06264d26385e1384c3130bcbccd446:/app/assets/stylesheets/common.scss?ds=sidebyside diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index a1734682e..73f8521d7 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -70,6 +70,18 @@ time[title] { } } +/* Utility for delayed loading spinner */ + +.delayed-fade-in { + animation: 300ms linear forwards delayed-fade-in; +} + +@keyframes delayed-fade-in { + 0% { opacity: 0 } + 66% { opacity: 0 } + 100% { opacity: 1 } +} + /* Rules for the header */ #menu-icon { @@ -368,6 +380,14 @@ body.small-nav { .leaflet-marker-draggable { cursor: move; } + + .query-marker { + animation: 1500ms forwards query-marker-fade; + + @keyframes query-marker-fade { + to { opacity: 0 } + } + } } #map-ui { @@ -412,9 +432,12 @@ body.small-nav { .layers-ui { .base-layers > * { - height: 56px; + height: 3.5rem; > .btn { + box-sizing: content-box; + top: - map.get($border-widths, 4); + left: - map.get($border-widths, 4); --bs-btn-border-color: var(--bs-body-bg); } > .btn:hover { @@ -901,6 +924,12 @@ div.secondary-actions { } } +/* Rules for block pages */ + +#block_list .username { + max-width: 20em; +} + /* Rules for tabs inside secondary background sections */ .bg-body-secondary .nav-tabs {