Formatting Components

Show topics

Tabs

Takes the basic nav and adds the .tabs-nav class to generate a tabbed interface. Use them to create tabbable regions.

Display Unsafe Content

Display Unsafe Content needs to enabled for this format to show up. See this Zendesk article for detail.

 

Example Tab

This is some placeholder content for Test1 tab's associated content. Clicking another tab will toggle the visibility of this one for the next.
This is some placeholder content for Test2 tab's associated content. Clicking another tab will toggle the visibility of this one for the next.
This is some placeholder content for Test3 tab's associated content. Clicking another tab will toggle the visibility of this one for the next.

 

<div class="tabs">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>

 

Tab with active tabs color

This is some placeholder content the Test1 tab's associated content. This tabs is now active and showing white colored tabs.
This is some placeholder content the Test2 tab's associated content. This tabs is now active and showing white colored tabs.
This is some placeholder content the Test3 tab's associated content. This tabs is now active and showing white colored tabs.

 

<div class="tabs colored-1">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>

 

Tab with active tabs color and background color

This is some placeholder content the Test1 tab's associated content. This tabs is now active and showing active background color tabs.
This is some placeholder content the Test2 tab's associated content. This tabs is now active and showing active background color tabs.
This is some placeholder content the Test3 tab's associated content. This tabs is now active and showing active background color tabs.

 

<div class="tabs colored-2">
<div class="tabs-nav">
<a class="tabs-link" data-target="#test1" data-toggle="tab">Test1</a>
<a class="tabs-link" data-target="#test2" data-toggle="tab">Test2</a>
<a class="tabs-link" data-target="#test3" data-toggle="tab">Test3</a>
</div>
<div class="tabs-content">
<div id="test1">...</div>
<div id="test2">...</div>
<div id="test3">...</div>
</div>
</div>

 

Callout

Provide contextual feedback messages for typical user actions with the handful of available and flexible messages.

 

This is default callout

A simple callout—check it out!

 

<div class="callout">
<p class="callout-title">This is default callout</p>
<p>...</p>
</div>

 

This is dashed callout

A simple dashed callout—check it out!

 

<div class="callout callout-dashed">
<p class="callout-title">This is dashed callout</p>
<p>...</p>
</div>

 

This is transparent callout

A simple transparent callout—check it out!

 

<div class="callout callout-transparent">
<p class="callout-title">This is transparent callout</p>
<p>...</p>
</div>

 

This is info callout

A simple infocallout—check it out!

 

<div class="callout callout-info">
<p class="callout-title">This is info callout</p>
<p>...</p>
</div>

 

This is success callout

A simple success callout—check it out!

 

<div class="callout callout-success">
<p class="callout-title">This is success callout</p>
<p>...</p>
</div>

 

This is warning callout

A simple warning callout—check it out!

 

<div class="callout callout-warning">
<p class="callout-title">This is warning callout</p>
<p>...</p>
</div>

 

This is alert callout

A simple alert callout—check it out!

 

<div class="callout callout-alert">
<p class="callout-title">This is alert callout</p>
<p>...</p>
</div>

 

Accordion

Build vertically collapsing accordions in combination. 

Display Unsafe Content

Display Unsafe Content needs to enabled for this format to show up. See this Zendesk article for detail.

 

Example Accordion

This is accordion 1

This is the first item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel, though the transition does limit overflow.

This is accordion 2

This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel, though the transition does limit overflow.

This is accordion 3

This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-panel, though the transition does limit overflow.

 

<div class="accordion">This is accordion 1</div>
<div class="accordion-panel">
<p>...</p>
</div>

<div class="accordion">This is accordion 2</div>
<div class="accordion-panel">
<p>...</p>
</div>

<div class="accordion">This is accordion 3</div>
<div class="accordion-panel">
<p>...</p>
</div>
Previous
Next
13343139977236

Articles in this section

Comments

0 comments

Article is closed for comments.

Was this article helpful?

0 out of 0 found this helpful
Powered by Zendesk