Commit a0c3d483 authored by Mark Otto's avatar Mark Otto

fix the stacked form legend style

parent c56e229e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Fri Sep 9 10:06:26 PDT 2011 * Date: Fri Sep 9 21:42:21 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -1012,7 +1012,7 @@ textarea[readonly] { ...@@ -1012,7 +1012,7 @@ textarea[readonly] {
padding-top: 9px; padding-top: 9px;
} }
.form-stacked legend { .form-stacked legend {
margin-left: 0; padding-left: 0;
} }
.form-stacked label { .form-stacked label {
display: block; display: block;
......
...@@ -160,7 +160,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado ...@@ -160,7 +160,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
.inputs-list li:first-child{padding-top:5px;} .inputs-list li:first-child{padding-top:5px;}
.inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;} .inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;}
.form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;} .form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;}
.form-stacked legend{margin-left:0;} .form-stacked legend{padding-left:0;}
.form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;} .form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;}
.form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;} .form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;}
.form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;} .form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;}
......
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<p></p> <p>Modifying the grid means changing these values and recompiling.</p>
</div> </div>
</div> </div>
</section> </section>
......
...@@ -381,7 +381,7 @@ textarea[readonly] { ...@@ -381,7 +381,7 @@ textarea[readonly] {
padding-top: @baseline / 2; padding-top: @baseline / 2;
} }
legend { legend {
margin-left: 0; padding-left: 0;
} }
label { label {
display: block; display: block;
......
Markdown is supported
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