Drop .form-actions

This commit is contained in:
Mark Otto 2013-05-16 18:46:12 -07:00
parent d2b588b10e
commit c73588b313
4 changed files with 0 additions and 57 deletions

View File

@ -54,7 +54,6 @@
<li><a href="#forms-control-states">Control states</a></li>
<li><a href="#forms-input-groups">Input groups</a></li>
<li><a href="#forms-control-sizes">Control sizing</a></li>
<li><a href="#forms-actions">Form actions</a></li>
<li><a href="#forms-help-text">Help text</a></li>
</ul>
</li>

View File

@ -1535,34 +1535,6 @@ select:focus:invalid:focus {
box-shadow: 0 0 6px #f8b9b7;
}
.form-actions {
padding: 20px 20px;
margin-top: 20px;
margin-bottom: 20px;
background-color: #f5f5f5;
border-top: 1px solid #e5e5e5;
}
.form-actions:before,
.form-actions:after {
display: table;
content: " ";
}
.form-actions:after {
clear: both;
}
.form-actions:before,
.form-actions:after {
display: table;
content: " ";
}
.form-actions:after {
clear: both;
}
.help-block {
display: block;
margin-top: 5px;

View File

@ -1661,21 +1661,6 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<input type="text" placeholder="col col-large-4">
</div>
</div>
{% endhighlight %}
<h3 id="forms-actions">Form actions</h3>
<p>End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.</p>
<form class="bs-example">
<div class="form-actions">
<button type="submit" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-default">Cancel</button>
</div>
</form>
{% highlight html %}
<div class="form-actions">
<button type="submit" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-default">Cancel</button>
</div>
{% endhighlight %}
<h3 id="forms-help-text">Help text</h3>

View File

@ -295,19 +295,6 @@ select:focus:invalid {
// FORM ACTIONS
// ------------
.form-actions {
padding: @line-height-computed 20px;
margin-top: @line-height-computed;
margin-bottom: @line-height-computed;
background-color: @form-actions-bg;
border-top: 1px solid #e5e5e5;
.clearfix(); // Adding clearfix to allow for .pull-right button containers
}
// HELP TEXT
// ---------