mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
1523ce8527
* Replace variables.json with colors.json and update related files accordingly * Add variables data files * Update variables include template and all related files to use new variables data * Fix mobile breakpoint id typo in responsivness docs page * Fix Liquid syntax error in made-with-bulma docs page * Update bulma sass files count in modular docs page * Use breakpoints data in responsiveness helpers docs page * Use breakpoints and variables data in typography helpers docs page * Add missing page titles in docs pages front matter
55 lines
1.6 KiB
HTML
55 lines
1.6 KiB
HTML
---
|
|
title: Notification
|
|
layout: documentation
|
|
doc-tab: elements
|
|
doc-subtab: notification
|
|
---
|
|
|
|
{% capture notification %}
|
|
<div class="notification">
|
|
<button class="delete"></button>
|
|
Lorem ipsum dolor sit amet, consectetur
|
|
adipiscing elit lorem ipsum dolor. <strong>Pellentesque risus mi</strong>, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum <a>felis venenatis</a> efficitur. Sit amet,
|
|
consectetur adipiscing elit
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
{% capture notification_colors %}
|
|
{% for color in site.data.colors.justColors %}
|
|
<div class="notification is-{{ color }}">
|
|
<button class="delete"></button>
|
|
Primar lorem ipsum dolor sit amet, consectetur
|
|
adipiscing elit lorem ipsum dolor. <strong>Pellentesque risus mi</strong>, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum <a>felis venenatis</a> efficitur. Sit amet,
|
|
consectetur adipiscing elit
|
|
</div>
|
|
{% endfor %}
|
|
{% endcapture %}
|
|
|
|
{% include subnav-elements.html %}
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 class="title">Notifications</h1>
|
|
<h2 class="subtitle">
|
|
Bold <strong>notification</strong> blocks, to alert your users of something
|
|
</h2>
|
|
{%
|
|
include meta.html
|
|
colors=true
|
|
sizes=false
|
|
variables=true
|
|
%}
|
|
|
|
<hr>
|
|
|
|
{% include snippet.html content=notification %}
|
|
|
|
{% include anchor.html name="Colors" %}
|
|
|
|
{% include snippet.html content=notification_colors %}
|
|
|
|
{% include variables.html type='element' %}
|
|
|
|
</div>
|
|
</section>
|