X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0e0c89b95c16abd7bc548bea7bff03cbb715b3b3..affd87c528c7c57372900f54f5f39915efbc319d:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index cf1019308..d725cc287 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -611,11 +611,18 @@ body.compact { height: auto; overflow: hidden; - #banner, - .welcome { + #banner { display: block; } + .welcome { + display: none; + + &.visible { + display: block; + } + } + #sidebar_content { display: none; } @@ -971,6 +978,8 @@ header .search_forms, img.button { display: block; + width: 20px; + height: 20px; } span.force_width { @@ -1228,7 +1237,8 @@ tr.turn:hover { margin: $lineheight/2 0; p { - margin-left: 10px; + margin: 10px 6px 0 6px; + line-height: 1.5; } } @@ -1314,11 +1324,11 @@ tr.turn:hover { #maxlat { margin-top: -1px; } #minlon { float: left; - margin-left: -1px; + /* no-r2 */ margin-left: -1px; } #maxlon { float: right; - margin-right: -1px; + /* no-r2 */ margin-right: -1px; } #minlat { margin-bottom: 0; } } @@ -1393,9 +1403,9 @@ tr.turn:hover { /* Overrides for pages that use new layout conventions */ -.user-new, -.user-create, -.user-terms { +.users-new, +.users-create, +.users-terms { .content-body .content-inner { padding: 0; @@ -1406,10 +1416,10 @@ tr.turn:hover { } } -.user-new, -.user-create, -.user-terms, -.user-confirm { +.users-new, +.users-create, +.users-terms, +.users-confirm { .content-heading .content-inner { height: 200px; } @@ -1585,7 +1595,7 @@ tr.turn:hover { margin-left: 70px; } -.user-show { +.users-show { // Silly exception; remove when user page is redesigned. .content-inner { max-width: none; @@ -1676,7 +1686,7 @@ tr.turn:hover { /* Rules for the diary entry page */ -.diary_entry { +.diary_entries { #map { position: relative; width: 90%; @@ -1712,7 +1722,7 @@ tr.turn:hover { } } -.diary_entry-show img.user_thumbnail { +.diary_entries-show img.user_thumbnail { float: left; } @@ -1736,7 +1746,7 @@ tr.turn:hover { /* Rules for the account confirmation page */ -.user-terms { +.users-terms { .legale { border: 1px solid #ccc; padding: $lineheight; @@ -2304,6 +2314,7 @@ a.button { font-size: 13px; background: #e8e8e8; padding: 2px 3px; + white-space: pre-wrap; code { padding: 0; @@ -2331,11 +2342,11 @@ a.button { margin-left: $lineheight; } - ul li { + ul > li { list-style: disc; } - ol li { + ol > li { list-style: decimal; } }