X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9afbaf1984c12dee73b432c67475d97c0f1f2add..365163929d32b820f3c5d0b639efd26479690638:/app/assets/stylesheets/rtl.css.scss diff --git a/app/assets/stylesheets/rtl.css.scss b/app/assets/stylesheets/rtl.css.scss index 953efd7a6..439877669 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 { @@ -68,16 +48,15 @@ html body { /* Rules for tabbed navigation bar */ - -#tabnav -{ - padding-right: 215px; +#top-bar { + margin-right: 185px } -#tabnav a, #tabnav a:link, #tabnav a:visited -{ +#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 */ @@ -93,6 +72,12 @@ 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 { @@ -107,7 +92,7 @@ html body { #sidebar { right: 0px; - margin-left: 3px; + border-right: 1px solid #ccc; } #sidebar #sidebar_title { @@ -121,8 +106,9 @@ html body { /* Rules for the main content area */ #content { - right: 192px; - left: 10px; + border-right: 1px solid #ccc; + right: 185px; + left: 0px; text-align: right; } @@ -188,12 +174,6 @@ html body { float: left; } -/* Rules for the login page */ - -#login_wrapper input[type=submit] { - float: left; -} - /* Rules for the account confirmation page */ form#termsForm div#buttons { @@ -231,7 +211,32 @@ form#termsForm input#agree { text-align: left; } -input.openid_url { +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; + } + } +}