X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/40402fcdb878e53df591610cc9f280c7aaf78f5b..64eec2a5d0ea39f61de5fe7f6265ea1718dbfe59:/app/assets/stylesheets/ltr.css.scss diff --git a/app/assets/stylesheets/ltr.css.scss b/app/assets/stylesheets/ltr.css.scss index 5eba8ddb9..2fc5c8053 100644 --- a/app/assets/stylesheets/ltr.css.scss +++ b/app/assets/stylesheets/ltr.css.scss @@ -6,24 +6,10 @@ html body { text-align: left; } -/* - * Rules for alert boxes shown in the left sidebar when important - * information needs to be conveyed such as when the site is - * undergoing maintenance. - */ - -#alert { - text-align: left; -} +/* Rules for the left sidebar */ -/* - * Rules for notice boxes shown in the left sidebar when important, but - * non-critical information needs to be conveyed such as notices about - * donation drives. - */ - -.notice { - text-align: left; +#left { + border-right: 1px solid #ccc; } /* Rules for the menu displayed in the left sidebar */ @@ -51,7 +37,7 @@ html body { /* * Rules for "optional boxes" which appear in the left sidebar on - * certain pages. Current users are the seach box on the main page + * certain pages. Current users are the search box on the main page * and the tag cloud on the traces pages. */ @@ -62,14 +48,25 @@ html body { /* Rules for the search box */ -.whereami { - float: right; +#search_field input[type="text"] { + padding: 2px 0px 2px 5px; +} + +#search_field input[type="submit"] { + right: 4px; +} + +/* Rules for donation request box */ + +.donate .donate-icon { + left: 17px; } /* Rules for tabbed navigation bar */ #top-bar { - margin-left: 185px; + left: 185px; + right: 0; } #tabnav a, @@ -92,12 +89,6 @@ html body { left: 15px } -/* Rules for OpenLayers maps */ - -#map { - border-left: 1px solid #ccc; -} - /* Rules for attribution text under the main map shown on printouts */ .attribution_license { @@ -112,7 +103,7 @@ html body { #sidebar { left: 0px; - border-left: 1px solid #ccc; + border-right: 1px solid #ccc; } #sidebar #sidebar_title { @@ -126,9 +117,8 @@ html body { /* Rules for the main content area */ #content { + margin-left: 185px; border-left: 1px solid #ccc; - left: 185px; - right: 0px; text-align: left; } @@ -174,17 +164,21 @@ html body { /* Rules for the diary list */ -.diary_entry_list img.user_thumbnail { +.diary_entry-list img.user_image { + float: right; +} + +.diary_entry-list img.user_thumbnail { float: right; } /* Rules for the diary entry view */ -.diary_entry_view img.user_image { +.diary_entry-view img.user_image { float: right; } -.diary_entry_view img.user_thumbnail { +.diary_entry-view img.user_thumbnail { float: right; } @@ -206,11 +200,11 @@ form#termsForm input#agree { /* Rules for the user view */ -.user_view img.user_image { +.user-view img.user_image { float: right; } -.user_view .user_map { +.user-view .user_map { float: right; } @@ -235,3 +229,28 @@ input.openid_url { background: image-url('openid_input.png') repeat-y left white; padding-left: 16px; } + +/* Rules for rich text editors */ + +.richtext_container { + .richtext_help { + margin-left: 15px; + + th { + text-align: left; + padding: 0px 15px 0px 0px !important; + } + + td { + text-align: left; + } + + input.richtext_doedit { + margin-right: 10px !important; + } + + input.richtext_dopreview { + margin-left: 10px !important; + } + } +}