From: Andy Allan Date: Wed, 16 Aug 2023 12:35:47 +0000 (+0100) Subject: Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight X-Git-Tag: live~1592 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9174049d6b4e50c32ba1a11b1c628bcfe32c06bf?ds=inline;hp=-c Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight Use Bootstrap highlight class in note tables --- 9174049d6b4e50c32ba1a11b1c628bcfe32c06bf diff --combined app/assets/stylesheets/common.scss index ee11340d9,cb5e55977..3eedfdbae --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@@ -460,11 -460,6 +460,11 @@@ body.small-nav display: block; width: $sidebarWidth; } + + button.btn-close { + background-color: rgba(255, 255, 255, 0.5); + opacity: 1.0; + } } #map { @@@ -1052,24 -1047,49 +1052,24 @@@ tr.turn:hover width: 100%; } -/* Rules for the diary list page */ - -.diary_post { - position: relative; - padding-top: $lineheight; - padding-bottom: $lineheight/2; - border-top: 1px solid $grey; - - &.deleted { - background-color: #fee; - } -} - /* Rules for the diary entry page */ .diary_entries { #map { height: 400px; display: none; - margin-bottom: $lineheight; } .comments { max-width: 740px; } .diary-comment { border-top: 1px dashed $grey; - padding-top: $lineheight/2; - padding-bottom: $lineheight/2; &:first-child { - margin-top: $lineheight/2; - padding-top: $lineheight; border-top: 1px solid $grey; } - &.deleted { - background-color: #fee; - } p { margin-bottom: $lineheight/2; } - .comment-heading { - margin-bottom: 0; - margin-top: 0; - } } } @@@ -1112,6 -1132,11 +1112,6 @@@ /* Rules for messages pages */ .messages { - button[type="submit"] { - margin: auto; - white-space: nowrap; - } - .inbox-row { background: $offwhite; } @@@ -1119,6 -1144,42 +1119,6 @@@ .inbox-row-unread { background: #CBEEA7; } - - .right { - float: right; - } -} - -.inbox-row .inbox-mark-read { - display: none; -} - -.info-line { - margin-bottom: $lineheight; - padding: $lineheight/4 0px 4px 0px; - border-bottom: 1px solid $grey; - - form, form div { - display: inline; - } -} - -.info-line .user_thumbnail_tiny { - vertical-align: middle; -} - -.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 { @@@ -1190,8 -1251,6 +1190,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 { @@@ -1220,14 -1279,6 +1220,6 @@@ } } - /* Rules for the user notes list */ - - .note_list { - tr.creator { - background-color: $offwhite; - } - } - /* Rules for the iD editor */ .id-embed {