Commit c1b6c949 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2592 Fixed some wrong css about rtl/ltr

Showing with 14 additions and 15 deletions
+14 -15
...@@ -138,10 +138,10 @@ padding-bottom:5px; ...@@ -138,10 +138,10 @@ padding-bottom:5px;
text-align:center; text-align:center;
display:block; 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; 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; margin-right:-1px;
} }
...@@ -164,10 +164,10 @@ margin-top:-26px; ...@@ -164,10 +164,10 @@ margin-top:-26px;
fieldset.plugin_section legend img, .plugin_section span.legend img { fieldset.plugin_section legend img, .plugin_section span.legend img {
vertical-align:middle; 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; 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; margin-left:3px;
} }
...@@ -246,10 +246,10 @@ background-color:#DFEFFF; ...@@ -246,10 +246,10 @@ background-color:#DFEFFF;
position:relative; position:relative;
top:1px; 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; 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; right:1px;
} }
} }
...@@ -254,20 +254,24 @@ padding-right:25px; ...@@ -254,20 +254,24 @@ padding-right:25px;
Setup step 4 styles Setup step 4 styles
*/ */
li.step4_name,div.step4_name { li.step4_name,div.step4_name {
float:left;
width:33%; width:33%;
height:2em; 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; float:right;
} }
li.step4_value,div.step4_value { li.step4_value,div.step4_value {
float:left;
width:50%; width:50%;
height:2em; 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; float:right;
} }
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
{$php_errors} {$php_errors}
<form action='setup.php' name='mainform' method='post' enctype='multipart/form-data'> <form action='setup.php' name='mainform' method='post' enctype='multipart/form-data'>
{$msg_dialogs} {$msg_dialogs}
<input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' >
<div class='setup_dialog'> <div class='setup_dialog'>
{include file={filePath file="setup_header.tpl"}} {include file={filePath file="setup_header.tpl"}}
<div class='setup_menu'> <div class='setup_menu'>
...@@ -36,9 +35,5 @@ ...@@ -36,9 +35,5 @@
<input type='hidden' name='setup_goto_step' value=''> <input type='hidden' name='setup_goto_step' value=''>
</form> </form>
<script type='javascript'>
document.getElementById('focus').focus();
</script>
</body> </body>
</html> </html>
  • bmortier @bmortier

    mentioned in issue #874

    By bmortier on 2017-09-02T15:02:01 (imported from GitLab)

    ·

    mentioned in issue #874

    By bmortier on 2017-09-02T15:02:01 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment