2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

tons of docs helpers cleanup

This commit is contained in:
Mark Otto
2015-01-19 16:15:51 -08:00
parent 6ba05d95d5
commit e2c6dd29d8
10 changed files with 32 additions and 11 deletions
+2 -1
View File
@@ -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;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+19
View File
@@ -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
+3 -3
View File
@@ -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
+2 -1
View File
@@ -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;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long