[TASK] Align inputs and adjust label-width 83/22983/3
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 9 Aug 2013 07:13:22 +0000 (09:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 26 Aug 2013 20:04:40 +0000 (22:04 +0200)
Labels should display as a block so inputs are aligned.
Label-width needs to be adjusted as well then.

Change-Id: I4a0e58fc648efd0767d0d3dc814d5aa7c7c444e2
Resolves: #50951
Releases: 6.2
Reviewed-on: https://review.typo3.org/22983
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Resources/Private/Templates/Action/Step/DatabaseData.html
typo3/sysext/install/Resources/Public/Stylesheets/Action/Step/General.css

index bff0060..dd7e9cc 100644 (file)
                The table import will drop possibly existing tables!
        </p>
 
-       <form method="post" id="stepInstaller-databaseSelect">
+       <form method="post" id="stepInstaller-databaseData" class="t3-install-form-label-before">
                <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
                <input type="hidden" value="execute" name="install[set]" />
 
-               <fieldset class="t3-install-form-label-width-7">
+               <fieldset class="t3-install-form-label-width-10">
                        <ol>
                                <li>
                                        <label for="password">Username</label>
@@ -53,7 +53,7 @@
                </fieldset>
                <hr />
 
-               <fieldset class="t3-install-form-label-width-7">
+               <fieldset class="t3-install-form-label-width-10">
                        <ol>
                                <li>
                                        <label for="sitename">Set a site name</label>
index ec7c53a..f18854f 100644 (file)
@@ -160,6 +160,7 @@ fieldset span {
        float: left;
 }
 
+.t3-install-form-label-before label,
 .t3-install-form-label-after label,
 .t3-install-form-label-above label {
        float: none;
@@ -168,6 +169,10 @@ fieldset span {
        margin-right: 0;
 }
 
+.t3-install-form-label-before label {
+       float: left;
+}
+
 .t3-install-form-label-above label {
        margin-bottom: 0.5em;
 }
@@ -180,6 +185,10 @@ fieldset span {
        width: 7em;
 }
 
+.t3-install-form-label-width-10 label {
+       width: 10em;
+}
+
 .t3-install-form-label-width-21 label {
        width: 21em;
 }