From bab51d27ace206c9c691ab7a43657774cbd2b852 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 18 Aug 2013 19:40:57 -0700 Subject: Refactor panels to have a base class for improved flexibility when customizing (and no overriding to start, too) --- components.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index 7475fa108..e393798e4 100644 --- a/components.html +++ b/components.html @@ -2673,14 +2673,14 @@ body { padding-bottom: 70px; }

Basic example

By default, all the .panel does is apply some basic border and padding to contain some content.

-
+
Basic panel example
{% highlight html %} -
+
Basic panel example
@@ -2690,13 +2690,13 @@ body { padding-bottom: 70px; }

Panel with heading

Easily add a heading container to your panel with .panel-heading. You may also include any <h1>-<h6> with a .panel-title class to add a pre-styled heading.

-
+
Panel heading without title
Panel content
-
+

Panel title

@@ -2706,14 +2706,14 @@ body { padding-bottom: 70px; }
{% highlight html %} -
+
Panel heading without title
Panel content
-
+

Panel title

@@ -2726,7 +2726,7 @@ body { padding-bottom: 70px; }

Wrap buttons or secondary text in .panel-footer. Note that panel footers do not inherit colors and borders when using contextual variations as they are not meant to be in the foreground.

-
+
Panel content
@@ -2734,7 +2734,7 @@ body { padding-bottom: 70px; }
{% highlight html %} -
+
Panel content
-- cgit v1.2.3