mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Restore mini button (fixes #8644)
This commit is contained in:
parent
2dcfa00e56
commit
5716355cda
8
css.html
8
css.html
@ -1694,6 +1694,10 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<button type="button" class="btn btn-primary btn-small">Small button</button>
|
<button type="button" class="btn btn-primary btn-small">Small button</button>
|
||||||
<button type="button" class="btn btn-default btn-small">Small button</button>
|
<button type="button" class="btn btn-default btn-small">Small button</button>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<button type="button" class="btn btn-primary btn-mini">Mini button</button>
|
||||||
|
<button type="button" class="btn btn-default btn-mini">Mini button</button>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<p>
|
<p>
|
||||||
@ -1708,6 +1712,10 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<button type="button" class="btn btn-primary btn-small">Small button</button>
|
<button type="button" class="btn btn-primary btn-small">Small button</button>
|
||||||
<button type="button" class="btn btn-default btn-small">Small button</button>
|
<button type="button" class="btn btn-default btn-small">Small button</button>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<button type="button" class="btn btn-primary btn-mini">Mini button</button>
|
||||||
|
<button type="button" class="btn btn-default btn-mini">Mini button</button>
|
||||||
|
</p>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<p>Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.</p>
|
<p>Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.</p>
|
||||||
|
7
dist/css/bootstrap.css
vendored
7
dist/css/bootstrap.css
vendored
@ -1833,13 +1833,18 @@ fieldset[disabled] .btn-link:focus {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-small {
|
.btn-small,
|
||||||
|
.btn-mini {
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-mini {
|
||||||
|
padding: 3px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -125,12 +125,16 @@
|
|||||||
font-size: @font-size-large;
|
font-size: @font-size-large;
|
||||||
border-radius: @border-radius-large;
|
border-radius: @border-radius-large;
|
||||||
}
|
}
|
||||||
.btn-small {
|
.btn-small,
|
||||||
|
.btn-mini {
|
||||||
padding: @padding-small-vertical @padding-small-horizontal;
|
padding: @padding-small-vertical @padding-small-horizontal;
|
||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
line-height: 1.5; // ensure proper height of button next to small input
|
line-height: 1.5; // ensure proper height of button next to small input
|
||||||
border-radius: @border-radius-small;
|
border-radius: @border-radius-small;
|
||||||
}
|
}
|
||||||
|
.btn-mini {
|
||||||
|
padding: 3px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Block button
|
// Block button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user