X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9d95d548e8be3d7c4428d3b350836fcb1a40de24..4af54ce93bd01a4094a4657cf9e54860a7e16bb2:/app/assets/stylesheets/common.scss?ds=inline diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 7b3bfde36..aa2c95a99 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -324,10 +324,6 @@ body.small-nav { .overlay-sidebar #sidebar #banner { display: none; } - - .leaflet-top.leaflet-right { - top: 10px !important; - } } /* Utility for styling notification numbers */ @@ -351,6 +347,15 @@ body.small-nav { /* Rules for Leaflet maps */ +.leaflet-top.leaflet-right, +.leaflet-top.leaflet-left { + height: 100%; + column-gap: 10px; + display: flex; + flex-direction: column; + flex-wrap: wrap-reverse; +} + .leaflet-control .control-button { display: block; height: 40px; @@ -460,6 +465,11 @@ body.small-nav { display: block; width: $sidebarWidth; } + + button.btn-close { + background-color: rgba(255, 255, 255, 0.5); + opacity: 1.0; + } } #map { @@ -1053,7 +1063,6 @@ tr.turn:hover { #map { height: 400px; display: none; - margin-bottom: $lineheight; } .comments { max-width: 740px; @@ -1108,11 +1117,6 @@ tr.turn:hover { /* Rules for messages pages */ .messages { - button[type="submit"] { - margin: auto; - white-space: nowrap; - } - .inbox-row { background: $offwhite; } @@ -1122,24 +1126,6 @@ tr.turn:hover { } } -.inbox-row .inbox-mark-read { - display: none; -} - -.inbox-sent { - white-space: nowrap; -} - -.inbox-mark-unread, -.inbox-mark-read, -.inbox-delete { - width: 1%; -} - -.inbox-row-unread .inbox-mark-unread { - display: none; -} - .search_form { background-color: $lightgrey; @@ -1209,6 +1195,8 @@ div.secondary-actions { code { background: $lightgrey; padding: 2px 3px; + direction: inherit; /* fix for Bootstrap < 5.2 */ + unicode-bidi: unset; /* fix for Bootstrap < 5.2 */ } pre { @@ -1237,14 +1225,6 @@ div.secondary-actions { } } -/* Rules for the user notes list */ - -.note_list { - tr.creator { - background-color: $offwhite; - } -} - /* Rules for the iD editor */ .id-embed {