X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2d4c548a9e9a73e74b3afd3779d69d82a57b1ecc..374668c7cc06da7e76f5d447056d13022947886c:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 9f01735fd..40c5eaa2a 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1230,6 +1230,15 @@ tr.turn:hover { border-left: 1px solid #ddd; background-color: #fff; } + + .colour-preview-box { + float: right; + width: 12px; + height: 12px; + margin: 4px 0px; + border: 1px solid rgba(0, 0, 0, .1); + // add color via inline css on element: background-color: ; + } } .warning { @@ -1460,6 +1469,10 @@ tr.turn:hover { } } +[dir=rtl] .header-illustration { + transform: scaleX(-1); +} + #content.maximised { top: 0; left: 0; @@ -1660,10 +1673,18 @@ tr.turn:hover { .diary_post { position: relative; - margin-top: $lineheight/2; padding-top: $lineheight; + padding-bottom: $lineheight/2; border-top: 1px solid #ccc; + &:first-of-type { + margin-top: $lineheight/2; + } + + &.deemphasize { + background-color: #fee; + } + .post_heading { margin-bottom: $lineheight; @@ -1708,14 +1729,17 @@ tr.turn:hover { max-width: 740px; } .diary-comment { - margin-top: $lineheight/2; border-top: 1px dashed #ccc; padding-top: $lineheight/2; + padding-bottom: $lineheight/2; &:first-child { - margin-top: $lineheight; + margin-top: $lineheight/2; padding-top: $lineheight; border-top: 1px solid #ccc; } + &.deemphasize { + background-color: #fee; + } p { margin-bottom: $lineheight/2; }