X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..4abd9cfcf19701bf43322374c5df6dd586449e54:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 95e0c292a..0998b94a9 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -709,8 +709,7 @@ body.compact-nav { margin: $lineheight auto; } - .loader, - .load_more { + .loader { text-align: center; margin: auto; width: 40px; @@ -1274,16 +1273,10 @@ tr.turn:hover { } } -.pagination { - padding-top: $lineheight; -} - /* Rules for the diary entry page */ .diary_entries { #map { - position: relative; - width: 90%; height: 400px; border: 1px solid $grey; display: none; @@ -1325,7 +1318,7 @@ tr.turn:hover { .diary-subscribe-buttons { - position:relative; + position: relative; top: -30px; left: 130px; } @@ -1334,11 +1327,11 @@ tr.turn:hover { #login_auth_buttons { margin-bottom: 0; -} -#login_auth_buttons li { - float: left; - padding: $lineheight/4 $lineheight/2; + li { + float: left; + padding: $lineheight/4 $lineheight/2; + } } /* Rules for the account confirmation page */ @@ -1979,80 +1972,82 @@ div.secondary-actions { /* Rules for rich text editors */ -input.richtext_title[type="text"] { - width: 50%; - width: calc(100% - 235px); - - @media only screen and (max-width:768px) { - width: 100%; - } -} - -.richtext_container { - margin-bottom: $lineheight; - - .richtext_content { +.standard-form { + input.richtext_title[type="text"] { width: 50%; width: calc(100% - 235px); - display: inline-block; - vertical-align: top; @media only screen and (max-width:768px) { width: 100%; } + } - .richtext_preview { + .richtext_container { + margin-bottom: $lineheight; + + .richtext_content { + width: 50%; + width: calc(100% - 235px); display: inline-block; - padding: $lineheight; - background-color: $offwhite; - overflow-x: auto; + vertical-align: top; - &.loading { - background-image: image-url("loading.gif"); - background-repeat: no-repeat; - background-position: center; + @media only screen and (max-width:768px) { + width: 100%; } - > :first-child { - margin-top: 0px; - } - } - } + .richtext_preview { + display: inline-block; + padding: $lineheight; + background-color: $offwhite; + overflow-x: auto; - .richtext_help { - display: inline-block; - vertical-align: top; - margin-left: 15px; - background-color: $offwhite; - padding: $lineheight/2; - width: 220px; - - ul { - margin-bottom: 0; - } + &.loading { + background-image: image-url("loading.gif"); + background-repeat: no-repeat; + background-position: center; + } - h4.heading, li { - border-bottom: 1px solid $grey; - margin-bottom: $lineheight/4; - padding-bottom: $lineheight/4; + > :first-child { + margin-top: 0px; + } + } } - li h4, li span, li p { + .richtext_help { display: inline-block; vertical-align: top; - font-size: 11px; - } + margin-left: 15px; + background-color: $offwhite; + padding: $lineheight/2; + width: 220px; - li h4 { - width: 40%; - margin: 0; - } + ul { + margin-bottom: 0; + } - li span, li p { - width: 50%; - margin-left: $lineheight/2; - margin-bottom: $lineheight/4; - white-space: nowrap; + h4.heading, li { + border-bottom: 1px solid $grey; + margin-bottom: $lineheight/4; + padding-bottom: $lineheight/4; + } + + li h4, li span, li p { + display: inline-block; + vertical-align: top; + font-size: 11px; + } + + li h4 { + width: 40%; + margin: 0; + } + + li span, li p { + width: 50%; + margin-left: $lineheight/2; + margin-bottom: $lineheight/4; + white-space: nowrap; + } } } }