From: RafiBomb Date: Mon, 21 Mar 2016 05:53:42 +0000 (-0700) Subject: updates callout docs X-Git-Tag: v2.0.0-rc.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cefd70e6b0af486e509a03c616a3f7f1d86ef981;p=thirdparty%2Ffoundation%2Ffoundation-emails.git updates callout docs --- diff --git a/docs/pages/callout.md b/docs/pages/callout.md index a2aeadab..3e526130 100644 --- a/docs/pages/callout.md +++ b/docs/pages/callout.md @@ -9,13 +9,28 @@ tags: ## Basics -Callouts use a full table structure, with the class `.callout` applied to the innermost ``. +Al Callout adds a border, background, and some padding. Callouts use a full table structure, with the class `.callout` applied to the innermost ``. -When using [Inky](inky.html) HTML, the `` tag will create this structure for you. +When using [Inky](inky.html) HTML, the `` tag will create this structure for you. You can wrap them around a row or inside a column. ```inky_example - -

Beware of the Kraken! Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.

+ + +

Not in a callout :(

+
+ + +

I'm in a callout!

+
+
+
+ + + + +

This whole row is in a callout!

+
+
``` @@ -23,9 +38,12 @@ When using [Inky](inky.html) HTML, the `` tag will create this structur ## Coloring Classes -The color of a callout can be changed by adding the class `.success`, `.warning`, or `.alert` to the element. +The color of a callout can be changed by adding the class `.primary`, `.success`, `.warning`, or `.alert` to the element. A callout without a color class will have a white background. ```inky_example + +

Successfully avoided Kraken. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

+

Successfully avoided Kraken. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.