X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c4b20c16096d303780deea56fe274c04575bb63..0ba1839e78e694ab4ac1ca9fc650df1eec101b7c:/app/assets/stylesheets/rtl.css.scss diff --git a/app/assets/stylesheets/rtl.css.scss b/app/assets/stylesheets/rtl.css.scss index 6d7ed3b34..4b857e0ec 100644 --- a/app/assets/stylesheets/rtl.css.scss +++ b/app/assets/stylesheets/rtl.css.scss @@ -6,26 +6,6 @@ html body { text-align: right; } -/* - * 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: right; -} - -/* - * 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: right; -} - /* Rules for the menu displayed in the left sidebar */ .left_menu { @@ -62,21 +42,31 @@ html body { /* Rules for the search box */ -.whereami { - float: left; +#search_field input[type="text"] { + padding: 2px 5px 2px 0px; +} + +#search_field input[type="submit"] { + left: 4px; +} + +/* Rules for donation request box */ + +.donate .donate-icon { + right: 17px; } /* Rules for tabbed navigation bar */ -#tabnav { - margin-right: 185px; +#top-bar { + margin-right: 185px } #tabnav a, #tabnav a:link, #tabnav a:visited { float: right; - margin-left: 4px; + margin-left: 1px; } /* Rules for greeting bar in the top right corner */ @@ -112,6 +102,7 @@ html body { #sidebar { right: 0px; + border-right: 1px solid #ccc; } #sidebar #sidebar_title { @@ -124,10 +115,6 @@ html body { /* Rules for the main content area */ -body.site #content { - border: 0; -} - #content { border-right: 1px solid #ccc; right: 185px; @@ -177,17 +164,21 @@ body.site #content { /* Rules for the diary list */ -.diary_entry_list img.user_thumbnail { +.diary_entry-list img.user_image { + float: left; +} + +.diary_entry-list img.user_thumnbail { float: left; } /* Rules for the diary entry view */ -.diary_entry_view img.user_image { +.diary_entry-view img.user_image { float: left; } -.diary_entry_view img.user_thumbnail { +.diary_entry-view img.user_thumbnail { float: left; } @@ -197,12 +188,6 @@ body.site #content { float: left; } -/* Rules for the login page */ - -#login_wrapper input[type=submit] { - float: left; -} - /* Rules for the account confirmation page */ form#termsForm div#buttons { @@ -215,11 +200,11 @@ form#termsForm input#agree { /* Rules for the user view */ -.user_view img.user_image { +.user-view img.user_image { float: left; } -.user_view .user_map { +.user-view .user_map { float: left; } @@ -244,3 +229,28 @@ input.openid_url { background: image-url('openid_input.png') repeat-y right white; padding-right: 16px; } + +/* Rules for rich text editors */ + +.richtext_container { + .richtext_help { + margin-right: 15px; + + th { + text-align: right; + padding: 0px 0px 0px 15px !important; + } + + td { + text-align: right; + } + + input.richtext_doedit { + margin-left: 10px !important; + } + + input.richtext_dopreview { + margin-right: 10px !important; + } + } +}