Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
5716355c
Commit
5716355c
authored
Jul 29, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore mini button (fixes #8644)
parent
2dcfa00e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
css.html
css.html
+8
-0
dist/css/bootstrap.css
dist/css/bootstrap.css
+6
-1
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/buttons.less
less/buttons.less
+5
-1
No files found.
css.html
View file @
5716355c
...
...
@@ -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-default btn-small"
>
Small button
</button>
</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>
{% highlight html %}
<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-default btn-small"
>
Small button
</button>
</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 %}
<p>
Create block level buttons
—
those that span the full width of a parent
—
by adding
<code>
.btn-block
</code>
.
</p>
...
...
dist/css/bootstrap.css
View file @
5716355c
...
...
@@ -1833,13 +1833,18 @@ fieldset[disabled] .btn-link:focus {
border-radius
:
6px
;
}
.btn-small
{
.btn-small
,
.btn-mini
{
padding
:
5px
10px
;
font-size
:
12px
;
line-height
:
1.5
;
border-radius
:
3px
;
}
.btn-mini
{
padding
:
3px
5px
;
}
.btn-block
{
display
:
block
;
width
:
100%
;
...
...
dist/css/bootstrap.min.css
View file @
5716355c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/buttons.less
View file @
5716355c
...
...
@@ -125,12 +125,16 @@
font-size: @font-size-large;
border-radius: @border-radius-large;
}
.btn-small {
.btn-small,
.btn-mini {
padding: @padding-small-vertical @padding-small-horizontal;
font-size: @font-size-small;
line-height: 1.5; // ensure proper height of button next to small input
border-radius: @border-radius-small;
}
.btn-mini {
padding: 3px 5px;
}
// Block button
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment