X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be585d140336313b0f94c695dde71cc97a00b1f4..6054eea2383438cf0439175a2dd7216476f60971:/app/assets/stylesheets/rtl.css.scss?ds=sidebyside diff --git a/app/assets/stylesheets/rtl.css.scss b/app/assets/stylesheets/rtl.css.scss index f044cf1f4..e342ee59c 100644 --- a/app/assets/stylesheets/rtl.css.scss +++ b/app/assets/stylesheets/rtl.css.scss @@ -6,14 +6,10 @@ html body { 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. - */ +/* Rules for the left sidebar */ -.notice { - text-align: right; +#left { + border-left: 1px solid #ccc; } /* Rules for the menu displayed in the left sidebar */ @@ -41,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. */ @@ -52,14 +48,25 @@ 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 */ #top-bar { - margin-right: 185px + right: 185px; + left: 0; } #tabnav a, @@ -82,12 +89,6 @@ html body { right: 15px } -/* Rules for OpenLayers maps */ - -#map { - border-right: 1px solid #ccc; -} - /* Rules for attribution text under the main map shown on printouts */ .attribution_license { @@ -102,7 +103,7 @@ html body { #sidebar { right: 0px; - border-right: 1px solid #ccc; + border-left: 1px solid #ccc; } #sidebar #sidebar_title { @@ -117,8 +118,7 @@ html body { #content { border-right: 1px solid #ccc; - right: 185px; - left: 0px; + margin-right: 185px; text-align: right; } @@ -164,17 +164,21 @@ html body { /* 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; } @@ -196,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; } @@ -225,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; + } + } +}