From c1b6c9492747848ba13fa5fcde0760272b231ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernigaud@laposte.net> Date: Thu, 8 Aug 2013 14:53:36 +0200 Subject: [PATCH] Fixes: #2592 Fixed some wrong css about rtl/ltr --- html/themes/default/plugin.css | 12 ++++++------ html/themes/default/setup.css | 12 ++++++++---- setup/setup_frame.tpl | 5 ----- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/html/themes/default/plugin.css b/html/themes/default/plugin.css index 14ef861de..01432e033 100644 --- a/html/themes/default/plugin.css +++ b/html/themes/default/plugin.css @@ -138,10 +138,10 @@ padding-bottom:5px; text-align:center; display:block; } -html.ltr fieldset.plugin_section legend span, .plugin_section > span.legend { +html.ltr fieldset.plugin_section legend span, html.ltr .plugin_section > span.legend { margin-left:-1px; } -html.rtl fieldset.plugin_section legend span, .plugin_section > span.legend { +html.rtl fieldset.plugin_section legend span, html.rtl .plugin_section > span.legend { margin-right:-1px; } @@ -164,10 +164,10 @@ margin-top:-26px; fieldset.plugin_section legend img, .plugin_section span.legend img { vertical-align:middle; } -html.ltr fieldset.plugin_section legend img, .plugin_section span.legend img { +html.ltr fieldset.plugin_section legend img, html.ltr .plugin_section span.legend img { margin-right:3px; } -html.rtl fieldset.plugin_section legend img, .plugin_section span.legend img { +html.rtl fieldset.plugin_section legend img, html.rtl .plugin_section span.legend img { margin-left:3px; } @@ -246,10 +246,10 @@ background-color:#DFEFFF; position:relative; top:1px; } - html.ltr .plugbottom input[type=submit]:active, .plugbottom input[type=button]:active { + html.ltr .plugbottom input[type=submit]:active, html.ltr .plugbottom input[type=button]:active { left:1px; } - html.rtl .plugbottom input[type=submit]:active, .plugbottom input[type=button]:active { + html.rtl .plugbottom input[type=submit]:active, html.rtl .plugbottom input[type=button]:active { right:1px; } } diff --git a/html/themes/default/setup.css b/html/themes/default/setup.css index c22207971..fbdbed8e3 100644 --- a/html/themes/default/setup.css +++ b/html/themes/default/setup.css @@ -254,20 +254,24 @@ padding-right:25px; Setup step 4 styles */ li.step4_name,div.step4_name { -float:left; width:33%; height:2em; } -html.rtl li.step4_name,div.step4_name { +html.ltr li.step4_name, html.ltr div.step4_name { +float:left; +} +html.rtl li.step4_name, html.rtl div.step4_name { float:right; } li.step4_value,div.step4_value { -float:left; width:50%; height:2em; } -html.rtl li.step4_value,div.step4_value { +html.ltr li.step4_value, html.ltr div.step4_value { +float:left; +} +html.rtl li.step4_value, html.rtl div.step4_value { float:right; } diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl index 62b460b7b..a674e3592 100644 --- a/setup/setup_frame.tpl +++ b/setup/setup_frame.tpl @@ -2,7 +2,6 @@ {$php_errors} <form action='setup.php' name='mainform' method='post' enctype='multipart/form-data'> {$msg_dialogs} -<input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' > <div class='setup_dialog'> {include file={filePath file="setup_header.tpl"}} <div class='setup_menu'> @@ -36,9 +35,5 @@ <input type='hidden' name='setup_goto_step' value=''> </form> - -<script type='javascript'> - document.getElementById('focus').focus(); -</script> </body> </html> -- GitLab