Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs>components>(remaining components) headings #15891

Merged
merged 1 commit into from
Feb 25, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/_includes/components/list-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h1 id="list-group" class="page-header">List group</h1>

<p class="lead">List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.</p>

<h3 id="list-group-basic">Basic example</h3>
<h2 id="list-group-basic">Basic example</h2>
<p>The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.</p>
<div class="bs-example" data-example-id="simple-list-group">
<ul class="list-group">
Expand All @@ -24,7 +24,7 @@ <h3 id="list-group-basic">Basic example</h3>
</ul>
{% endhighlight %}

<h3 id="list-group-badges">Badges</h3>
<h2 id="list-group-badges">Badges</h2>
<p>Add the badges component to any list group item and it will automatically be positioned on the right.</p>
<div class="bs-example" data-example-id="list-group-badges">
<ul class="list-group">
Expand All @@ -51,7 +51,7 @@ <h3 id="list-group-badges">Badges</h3>
</ul>
{% endhighlight %}

<h3 id="list-group-linked">Linked items</h3>
<h2 id="list-group-linked">Linked items</h2>
<p>Linkify list group items by using anchor tags instead of list items (that also means a parent <code>&lt;div&gt;</code> instead of an <code>&lt;ul&gt;</code>). No need for individual parents around each element.</p>
<div class="bs-example" data-example-id="list-group-anchors">
<div class="list-group">
Expand All @@ -76,7 +76,7 @@ <h3 id="list-group-linked">Linked items</h3>
</div>
{% endhighlight %}

<h3 id="list-group-disabled">Disabled items</h3>
<h2 id="list-group-disabled">Disabled items</h2>
<p>Add <code>.disabled</code> to a <code>.list-group-item</code> to gray it out to appear disabled.</p>
<div class="bs-example" data-example-id="list-group-disabled">
<div class="list-group">
Expand All @@ -101,7 +101,7 @@ <h3 id="list-group-disabled">Disabled items</h3>
</div>
{% endhighlight %}

<h3 id="list-group-contextual-classes">Contextual classes</h3>
<h2 id="list-group-contextual-classes">Contextual classes</h2>
<p>Use contextual classes to style list items, default or linked. Also includes <code>.active</code> state.</p>
<div class="bs-example" data-example-id="list-group-variants">
<div class="row">
Expand Down Expand Up @@ -138,7 +138,7 @@ <h3 id="list-group-contextual-classes">Contextual classes</h3>
</div>
{% endhighlight %}

<h3 id="list-group-custom-content">Custom content</h3>
<h2 id="list-group-custom-content">Custom content</h2>
<p>Add nearly any HTML within, even for linked list groups like the one below.</p>
<div class="bs-example" data-example-id="list-group-custom-content">
<div class="list-group">
Expand Down
12 changes: 6 additions & 6 deletions docs/_includes/components/panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h1 id="panels" class="page-header">Panels</h1>

<p class="lead">While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.</p>

<h3 id="panels-basic">Basic example</h3>
<h2 id="panels-basic">Basic example</h2>
<p>By default, all the <code>.panel</code> does is apply some basic border and padding to contain some content.</p>
<div class="bs-example" data-example-id="simple-panel">
<div class="panel panel-default">
Expand All @@ -20,7 +20,7 @@ <h3 id="panels-basic">Basic example</h3>
</div>
{% endhighlight %}

<h3 id="panels-heading">Panel with heading</h3>
<h2 id="panels-heading">Panel with heading</h2>
<p>Easily add a heading container to your panel with <code>.panel-heading</code>. You may also include any <code>&lt;h1&gt;</code>-<code>&lt;h6&gt;</code> with a <code>.panel-title</code> class to add a pre-styled heading.</p>
<p>For proper link coloring, be sure to place links in headings within <code>.panel-title</code>.</p>
<div class="bs-example" data-example-id="panel-with-heading">
Expand Down Expand Up @@ -57,7 +57,7 @@ <h3 class="panel-title">Panel title</h3>
</div>
{% endhighlight %}

<h3 id="panels-footer">Panel with footer</h3>
<h2 id="panels-footer">Panel with footer</h2>
<p>Wrap buttons or secondary text in <code>.panel-footer</code>. Note that panel footers <strong>do not</strong> inherit colors and borders when using contextual variations as they are not meant to be in the foreground.</p>
<div class="bs-example" data-example-id="panel-with-footer">
<div class="panel panel-default">
Expand All @@ -76,7 +76,7 @@ <h3 id="panels-footer">Panel with footer</h3>
</div>
{% endhighlight %}

<h3 id="panels-alternatives">Contextual alternatives</h3>
<h2 id="panels-alternatives">Contextual alternatives</h2>
<p>Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.</p>
<div class="bs-example" data-example-id="contextual-panels">
<div class="panel panel-primary">
Expand Down Expand Up @@ -128,7 +128,7 @@ <h3 class="panel-title">Panel title</h3>
<div class="panel panel-danger">...</div>
{% endhighlight %}

<h3 id="panels-tables">With tables</h3>
<h2 id="panels-tables">With tables</h2>
<p>Add any non-bordered <code>.table</code> within a panel for a seamless design. If there is a <code>.panel-body</code>, we add an extra border to the top of the table for separation.</p>
<div class="bs-example" data-example-id="table-within-panel">
<div class="panel panel-default">
Expand Down Expand Up @@ -238,7 +238,7 @@ <h3 id="panels-tables">With tables</h3>
{% endhighlight %}


<h3 id="panels-list-group">With list groups</h3>
<h2 id="panels-list-group">With list groups</h2>
<p>Easily include full-width <a href="#list-group">list groups</a> within any panel.</p>
<div class="bs-example" data-example-id="panel-with-list-group">
<div class="panel panel-default">
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/components/wells.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="bs-docs-section">
<h1 id="wells" class="page-header">Wells</h1>

<h3>Default well</h3>
<h2>Default well</h2>
<p>Use the well as a simple effect on an element to give it an inset effect.</p>
<div class="bs-example" data-example-id="default-well">
<div class="well">
Expand All @@ -11,7 +11,7 @@ <h3>Default well</h3>
{% highlight html %}
<div class="well">...</div>
{% endhighlight %}
<h3>Optional classes</h3>
<h2>Optional classes</h2>
<p>Control padding and rounded corners with two optional modifier classes.</p>
<div class="bs-example" data-example-id="large-well">
<div class="well well-lg">
Expand Down