Commit e2c6dd29 authored by Mark Otto's avatar Mark Otto

tons of docs helpers cleanup

parent 6ba05d95
...@@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro ...@@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
cursor: pointer; cursor: pointer;
opacity: .5; opacity: .5;
} }
.closebutton {
button.close {
-webkit-appearance: none; -webkit-appearance: none;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff was suppressed by a .gitattributes entry.
...@@ -1176,6 +1176,25 @@ body { ...@@ -1176,6 +1176,25 @@ body {
overflow: auto; 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 // Code snippets
......
...@@ -90,7 +90,7 @@ Float an element to the left or right with a class. `!important` is included to ...@@ -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. Set an element to `display: block;` and center via `margin`. Available as a mixin and class.
{% example html %} {% example html %}
<div class="center-block">...</div> <div class="center-block">Centered block</div>
{% endexample %} {% endexample %}
{% highlight scss %} {% highlight scss %}
...@@ -182,9 +182,9 @@ Hide an element to all devices **except screen readers** with `.sr-only`. Combin ...@@ -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. 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> <h1 class="text-hide">Custom heading</h1>
{% endexample %} {% endhighlight %}
{% highlight scss %} {% highlight scss %}
// Usage as a Mixin // Usage as a Mixin
......
...@@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro ...@@ -4576,7 +4576,8 @@ a.list-group-item-state.active, a.list-group-item-state.active:hover, a.list-gro
cursor: pointer; cursor: pointer;
opacity: .5; opacity: .5;
} }
.closebutton {
button.close {
-webkit-appearance: none; -webkit-appearance: none;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment