diff --git a/core/themes/seven/install-page-rtl.css b/core/themes/seven/install-page-rtl.css deleted file mode 100644 index 45b21d8..0000000 --- a/core/themes/seven/install-page-rtl.css +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @file - * Right-to-left styles for installation. - */ - -body.install-page #page { - padding: 1em 0 1em 2em; -} -body.install-page #content { - padding-left: 0; - padding-right: 30px; -} -body.install-page #site-name { - margin: 0.75em 50px 0.75em 0; -} -.install-task-list { - margin-right: 0; - padding-right: 0; -} -.install-task-list li { - padding: 0.5em 20px 0.5em 1em; -} -.install-task-list li.active:after { - left: auto; - right: 100%; - border-left-color: transparent; - border-right-color: #ebeae4; -} -.step-indicator { - left: 40px; - right: auto; -} diff --git a/core/themes/seven/install-page.css b/core/themes/seven/install-page.css index b439326..cf6e849 100644 --- a/core/themes/seven/install-page.css +++ b/core/themes/seven/install-page.css @@ -50,6 +50,9 @@ body.install-page { box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); padding: 1em 2em 1em 0; /* LTR */ } + [dir=rtl] body.install-page #page { + padding: 1em 0 1em 2em; + } body.install-page #content { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -59,6 +62,10 @@ body.install-page { padding-left: 30px; /* LTR */ width: 65%; } + [dir=rtl] body.install-page #content { + padding-left: 0; + padding-right: 30px; + } body.install-page #sidebar-first { float: left; width: 35%; @@ -70,6 +77,9 @@ body.install-page #site-name { color: #0074bd; margin: 0.75em 0 0.75em 50px; /* LTR */ } +[dir=rtl] body.install-page #site-name { + margin: 0.75em 50px 0.75em 0; +} body.install-page #page-title { background: transparent; padding-top: 0; @@ -93,10 +103,17 @@ body.install-page #page-title { padding-left: 0; /* LTR */ padding-bottom: 1em; } +[dir=rtl] .install-task-list { + margin-right: 0; + padding-right: 0; +} .install-task-list li { padding: 0.5em 1em 0.5em 50px; /* LTR */ color: #1a1a1a; } +[dir=rtl] .install-task-list li { + padding: 0.5em 20px 0.5em 1em; +} .install-task-list li.active { background: #ebeae4; position: relative; @@ -116,6 +133,12 @@ body.install-page #page-title { top: 50%; margin-top: -17px; } +[dir=rtl] .install-task-list li.active:after { + left: auto; + right: 100%; + border-left-color: transparent; + border-right-color: #ebeae4; +} .install-task-list li.done { color: #adadad; } @@ -137,6 +160,10 @@ body.install-page #page-title { top: 1.9em; right: 40px; } + [dir=rtl] .step-indicator { + left: 40px; + right: auto; + } } .install-page .password-parent { width: auto;