- <p>The <strong>breadcrumb</strong> component only requires a <code>.breadcrumb</code> container and a <code>ul</code> list.</p>
- <p>The dividers are automatically created in the content of the <code>::before</code> pseudo-element of <code>li</code> tags.</p>
+ <p>
+ The Bulma <strong>breadcrumb</strong> is a simple navigation component that only requires a <code>breadcrumb</code> container and a <code>ul</code> list. The dividers are automatically created in the content of the <code>::before</code> pseudo-element of <code>li</code> tags.
+ </p>
<p>You can inform the current page using the <code>is-active</code> modifier in a <code>li</code> tag. It will disable the navigation of inner links.</p>
+ The Bulma <code>message</code> is a multi-part component:
+ </p>
+ <ul>
+ <li>
+ the <code>message</code> container
+ </li>
+ <li>
+ the optional <code>message-header</code> that can hold a title and a <code>delete</code> element
+ </li>
+ <li>
+ the <code>message-body</code> for the longer body of the message
+ </li>
+ </ul>
+</div>
+
{% include elements/snippet.html content=message_example %}
{% include elements/anchor.html name="Colors" %}
+<div class="content">
+ <p>
+ The message component is available in all the <strong>different colors</strong> defined by the <a href="{{ site.data.links.by_id.customize-variables.path }}"><code>$colors</code> Sass map</a>.
+ </p>
+</div>
+
{% include elements/snippet.html content=message_colors_example %}
{% include elements/anchor.html name="Message body only" %}
<div class="content">
- <p>You can <strong>omit</strong> the message header:</p>
+ <p>
+ You can remove the <code>message-header</code> if you don't need it, which will add a left border to the <code>message-body</code>:
+ </p>
</div>
{% include elements/snippet.html content=message_body_example %}
{% include elements/anchor.html name="Sizes" %}
+<div class="content">
+ <p>
+ You can add one of <strong>3 size modifiers</strong> to the <code>message</code> component:
+ </p>
+</div>
+
{% include elements/snippet.html content=message_small %}
{% include elements/snippet.html content=message_normal %}
- <p><strong>Tabs</strong> only require a <code>tabs</code> container and a <code><ul></code> list.<br>
- The <strong>default</strong> tabs style has a single border at the bottom.</p>
+ <p>
+ The Bulma <code>tabs</code> are a straightforward navigation component that come in a variety of versions. They only require the following structure:
+ </p>
+ <ul>
+ <li>
+ a <code>tabs</code> container
+ </li>
+ <li>
+ a <code><ul></code> HTML element
+ </li>
+ <li>
+ a list of <code><li></code> HTML element
+ </li>
+ <li>
+ <code><a></code> HTML anchor elements for each link
+ </li>
+ </ul>
+ <p>
+ The <strong>default</strong> tabs style has a single border at the bottom.
+ </p>
</div>
{% include elements/snippet.html content=tabs_example horizontal=true %}
- You can change the size of <strong>multiple buttons</strong> at once by wrapping them in a <code>.buttons</code> parent, and applying one of 3 modifiers:
+ You can change the size of <strong>multiple buttons</strong> at once by wrapping them in a <code>buttons</code> parent, and applying one of 3 modifiers:
- You can very easily turn a button into its <strong>loading</strong> version by appending the <code>.is-loading</code> modifier. You don't even need to remove the inner text, which allows the button to maintain its <strong>original size</strong> between its default and loading states.
+ You can very easily turn a button into its <strong>loading</strong> version by appending the <code>is-loading</code> modifier. You don't even need to remove the inner text, which allows the button to maintain its <strong>original size</strong> between its default and loading states.
- By default, the <code>icon</code> container will take up <em>exactly</em> <code>1.5rem x 1.5rem</code>. The icon itself is sized accordingly to the icon library you're using. For example, Font Awesome 5 icons will <strong>inherit</strong> the font size.</p>
+ By default, the <code>icon</code> container will take up <em>exactly</em> <code>1.5rem x 1.5rem</code>. The icon itself is sized accordingly to the icon library you're using. For example, Font Awesome 5 icons will <strong>inherit</strong> the font size.
- <p>Because images can take a few seconds to load (or not at all), use the <code>.image</code> container to specify a <strong>precisely sized</strong> container so that your layout isn't broken because of image loading or image errors.</p>
+ <p>Because images can take a few seconds to load (or not at all), use the <code>image</code> container to specify a <strong>precisely sized</strong> container so that your layout isn't broken because of image loading or image errors.</p>
- You can apply a specific <strong>ratio</strong> on <strong>any element</strong> other than an <code>img</code>, simply by applying the <code>.has-ratio</code> modifier to a resizable element.
+ You can apply a specific <strong>ratio</strong> on <strong>any element</strong> other than an <code>img</code>, simply by applying the <code>has-ratio</code> modifier to a resizable element.
</p>
<p>
For example, you can apply a <code>16by9</code> ratio on an <code>iframe</code>. Resize the browser, and you'll see how the ratio is maintained.
- The notification is a simple colored block meant to draw the attention to the user about something. As such, it can be used as a pinned notification in the corner of the viewport. That's why it supports the use of the <code>.delete</code> element.
+ The notification is a simple colored block meant to draw the attention to the user about something. As such, it can be used as a pinned notification in the corner of the viewport. That's why it supports the use of the <code>delete</code> element.
- <p>You simply need to attach a single <code>.table</code> CSS class on a <code><table></code> with the following structure:</p>
+ <p>
+ You can create a <strong>Bulma table</strong> simply by attaching a single <code>table</code> CSS class on a <code><table></code> HTML element with the following structure:
+ </p>
+
<ul>
<li>
- <code>table</code> the main <strong>container</strong>
+ <code><table class="table"></code> as the main <strong>container</strong>
<ul>
<li>
<code>thead</code> the optional <strong>top</strong> part of the table
- If you want to attach <code>.tags</code> containers <strong>together</strong>, simply use the <code>.field</code> element with the <code>.is-grouped</code> and <code>.is-grouped-multiline</code> modifiers.
+ If you want to attach <code>tags</code> containers <strong>together</strong>, simply use the <code>field</code> element with the <code>is-grouped</code> and <code>is-grouped-multiline</code> modifiers.