diff options
| author | Mark Otto <[email protected]> | 2013-05-14 18:55:37 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-14 18:55:37 -0700 |
| commit | 1d8ff36afa73ac086004962ec2f3d02148f8a201 (patch) | |
| tree | 71c08aad03d9361a76ac6e1d0e3b58c6e03c3a59 /docs | |
| parent | 8544ef8734de46b927895f18ae4f149fa69a6fd2 (diff) | |
| download | bootstrap-1d8ff36afa73ac086004962ec2f3d02148f8a201.tar.xz bootstrap-1d8ff36afa73ac086004962ec2f3d02148f8a201.zip | |
Add .panel-footer
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 9 | ||||
| -rw-r--r-- | docs/components.html | 15 |
2 files changed, 24 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 8bc5c9358..7f1bf5cd8 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2981,6 +2981,15 @@ a.list-group-item.active .list-group-item-text { border-top-left-radius: 3px; } +.panel-footer { + padding: 10px 15px; + margin: 15px -15px -15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + .panel-primary { border-color: #428bca; } diff --git a/docs/components.html b/docs/components.html index 23c20d94d..01b76d812 100644 --- a/docs/components.html +++ b/docs/components.html @@ -2428,6 +2428,21 @@ body { </div> {% endhighlight %} + <h3 id="panels-footer">Panel with footer</h3> + <p>Wrap buttons or secondary text in <code>.panel-footer</code>.</p> + <div class="bs-example"> + <div class="panel"> + Panel content + <div class="panel-footer">Panel footer</div> + </div> + </div> +{% highlight html %} +<div class="panel"> + Panel content + <div class="panel-footer">Panel footer</div> +</div> +{% endhighlight %} + <h3 id="panels-alternatives">Contextual alternatives</h3> <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"> |
