mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
0ce084170a
* Setup Cypress tests for box and button * Add container tests * Add Cypress workflow * Use npm install * Update Cypress workflow * Add Jekyll build * Test other action * Test custom setup * Use other ruby action * Test without flag * Move cypress to docs folder * Record runs * Add Content, Icon, Image specs * Add Notification specs * Add Progress and Table specs * Add Tags specs * Add Title specs * Add breadcrumb specs * Add more specs * Add media specs * Add menu specs * Add modal specs * Add navbar specs * Add pagination specs * Add panel specs * Add tabs specs, Add form checkbox radio specs * Add utils * Add file specs * Add input textarea specs * Add select specs * Add form tools specs * Add other elements specs * Add footer and hero specs * Add Hero specs * Add section specs * Add grid specs * Add column sizes specs * Add tiles specs * Add generic specs * Fix generic tests * Make font family test looser * Remove system-ui test * Remove important flag * Fix disabled select color
47 lines
1.9 KiB
HTML
47 lines
1.9 KiB
HTML
---
|
|
layout: cypress
|
|
title: Components/Message
|
|
---
|
|
|
|
{% capture messageHeader %}
|
|
<div class="message-header">
|
|
<p>Hello World</p>
|
|
<button class="delete" aria-label="delete"></button>
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
{% capture messageBody %}
|
|
<div class="message-body">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. <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. Aenean ac <em>eleifend lacus</em>, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula, id porttitor mi magna a neque. Donec dui urna, vehicula et sem eget, facilisis sodales sem.
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
<article id="message" class="message">
|
|
{{ messageHeader }}
|
|
{{ messageBody }}
|
|
</article>
|
|
|
|
<article id="message-no-header" class="message">
|
|
{{ messageBody }}
|
|
</article>
|
|
|
|
{% for size in site.data.sizes %}
|
|
<article id="message-{{ size }}" class="message is-{{ size }}">
|
|
{{ messageHeader }}
|
|
{{ messageBody }}
|
|
</article>
|
|
{% endfor %}
|
|
|
|
{% for color in site.data.colors.justColors %}
|
|
<article id="message-{{ color }}" class="message is-{{ color }}">
|
|
<div class="message-header">
|
|
<p>{{ color | capitalize }}</p>
|
|
<button class="delete" aria-label="delete"></button>
|
|
</div>
|
|
|
|
<div class="message-body">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. <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. Aenean ac <em>eleifend lacus</em>, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula, id porttitor mi magna a neque. Donec dui urna, vehicula et sem eget, facilisis sodales sem.
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|