diff --git a/docs/components.html b/docs/components.html index 500a729507..f923cd5e22 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1869,7 +1869,7 @@

Miscellaneous Lightweight utility components

-
+

Wells

Use the well as a simple effect on an element to give it an inset effect.

@@ -1892,14 +1892,69 @@ ... </div> -
-

Close icon

Use the generic close icon for dismissing content like modals and alerts.

<button class="close">&times;</button>

iOS devices require an href="#" for click events if you rather use an anchor.

<a class="close" href="#">&times;</a>
+ +

Helper classes

+

Simple, focused classes for small display or behavior tweaks.

+ +

.pull-left

+

Float an element left

+
+class="pull-left"
+
+
+.pull-left {
+  float: left;
+}
+
+ + +

.pull-right

+

Float an element right

+
+class="pull-right"
+
+
+.pull-right {
+  float: right;
+}
+
+ +

.muted

+

Change an element's color to #999

+
+class="muted"
+
+
+.muted {
+  color: #999;
+}
+
+ +

.clearfix

+

Clear the float on any element

+
+class="clearfix"
+
+
+.clearfix {
+  *zoom: 1;
+  &:before,
+  &:after {
+    display: table;
+    content: "";
+  }
+  &:after {
+    clear: both;
+  }
+}
+
+
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index c342955583..dedad62a88 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1791,7 +1791,7 @@

{{_i}}Miscellaneous{{/i}} {{_i}}Lightweight utility components{{/i}}

-
+

{{_i}}Wells{{/i}}

{{_i}}Use the well as a simple effect on an element to give it an inset effect.{{/i}}

@@ -1814,14 +1814,69 @@ ... </div> -
-

{{_i}}Close icon{{/i}}

{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}

<button class="close">&times;</button>

{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}

<a class="close" href="#">&times;</a>
+ +

{{_i}}Helper classes{{/i}}

+

{{_i}}Simple, focused classes for small display or behavior tweaks.{{/i}}

+ +

{{_i}}.pull-left{{/i}}

+

{{_i}}Float an element left{{/i}}

+
+class="pull-left"
+
+
+.pull-left {
+  float: left;
+}
+
+ + +

{{_i}}.pull-right{{/i}}

+

{{_i}}Float an element right{{/i}}

+
+class="pull-right"
+
+
+.pull-right {
+  float: right;
+}
+
+ +

{{_i}}.muted{{/i}}

+

{{_i}}Change an element's color to #999{{/i}}

+
+class="muted"
+
+
+.muted {
+  color: #999;
+}
+
+ +

{{_i}}.clearfix{{/i}}

+

{{_i}}Clear the float on any element{{/i}}

+
+class="clearfix"
+
+
+.clearfix {
+  *zoom: 1;
+  &:before,
+  &:after {
+    display: table;
+    content: "";
+  }
+  &:after {
+    clear: both;
+  }
+}
+
+