mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
tons of docs helpers cleanup
This commit is contained in:
parent
6ba05d95d5
commit
e2c6dd29d8
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
}
|
||||
.closebutton {
|
||||
|
||||
button.close {
|
||||
-webkit-appearance: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
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
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1176,6 +1176,25 @@ body {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
// Helpers
|
||||
.bs-example > {
|
||||
.center-block {
|
||||
max-width: 200px;
|
||||
padding: .5rem;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.bg-primary,
|
||||
.bg-success,
|
||||
.bg-info,
|
||||
.bg-warning,
|
||||
.bg-danger {
|
||||
padding: .5rem;
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Code snippets
|
||||
|
@ -90,7 +90,7 @@ Float an element to the left or right with a class. `!important` is included to
|
||||
Set an element to `display: block;` and center via `margin`. Available as a mixin and class.
|
||||
|
||||
{% example html %}
|
||||
<div class="center-block">...</div>
|
||||
<div class="center-block">Centered block</div>
|
||||
{% endexample %}
|
||||
|
||||
{% highlight scss %}
|
||||
@ -182,9 +182,9 @@ Hide an element to all devices **except screen readers** with `.sr-only`. Combin
|
||||
|
||||
Utilize the `.text-hide` class or mixin to help replace an element's text content with a background image.
|
||||
|
||||
{% example html %}
|
||||
{% highlight html %}
|
||||
<h1 class="text-hide">Custom heading</h1>
|
||||
{% endexample %}
|
||||
{% endhighlight %}
|
||||
|
||||
{% highlight scss %}
|
||||
// Usage as a Mixin
|
||||
|
3
docs/dist/css/bootstrap.css
vendored
3
docs/dist/css/bootstrap.css
vendored
@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
}
|
||||
.closebutton {
|
||||
|
||||
button.close {
|
||||
-webkit-appearance: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user