mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 05:49:35 -07:00
adds table-container to colors, functions, mixins, and variables tables
This commit is contained in:
committed by
Jeremy Thomas
parent
a531ea2758
commit
57808aebab
@@ -72,6 +72,7 @@ breadcrumb:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="table-container">
|
||||||
<table class="table is-bordered">
|
<table class="table is-bordered">
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for variable_name in initial_variables.list %}
|
{% for variable_name in initial_variables.list %}
|
||||||
@@ -80,6 +81,7 @@ breadcrumb:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tbody>
|
<tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% capture custom_message %}
|
{% capture custom_message %}
|
||||||
These are <a href="https://github.com/jgthms/bulma/blob/master/sass/{{ derived_variables.file_path }}" target="_blank" rel="nofollow">variables</a> with a value that <strong>references</strong> another variable.
|
These are <a href="https://github.com/jgthms/bulma/blob/master/sass/{{ derived_variables.file_path }}" target="_blank" rel="nofollow">variables</a> with a value that <strong>references</strong> another variable.
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ shades:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="table-container">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -87,6 +88,7 @@ shades:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
@@ -94,6 +96,7 @@ shades:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="table-container">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -119,3 +122,4 @@ shades:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ breadcrumb:
|
|||||||
<li>otherwise, it outputs <code>#fff</code></li>
|
<li>otherwise, it outputs <code>#fff</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Its purpose is to guarantee a <strong>readable</strong> shade for the <em>text</em> when the input color is used as the <em>background</em>.</p>
|
<p>Its purpose is to guarantee a <strong>readable</strong> shade for the <em>text</em> when the input color is used as the <em>background</em>.</p>
|
||||||
|
<div class="table-container">
|
||||||
<table class="table is-bordered">
|
<table class="table is-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -184,11 +185,13 @@ breadcrumb:
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
For colors that have a luminance close to the <code>0.55</code> threshold, it can be useful to <strong>override</strong> the <code>findColorInvert()</code> function, and rather set the invert color <strong>manually.</strong>
|
For colors that have a luminance close to the <code>0.55</code> threshold, it can be useful to <strong>override</strong> the <code>findColorInvert()</code> function, and rather set the invert color <strong>manually.</strong>
|
||||||
<br>
|
<br>
|
||||||
For example, this shade of <span class="bd-color" style="background: hsl(294, 71%, 79%); float: none; height: 16px; width: 16px; margin-right: 0; vertical-align: middle;"></span> purple has a color luminance of <code>0.5529</code>. It can be preferable to set a color invert of white instead of transparent black:
|
For example, this shade of <span class="bd-color" style="background: hsl(294, 71%, 79%); float: none; height: 16px; width: 16px; margin-right: 0; vertical-align: middle;"></span> purple has a color luminance of <code>0.5529</code>. It can be preferable to set a color invert of white instead of transparent black:
|
||||||
</p>
|
</p>
|
||||||
|
<div class="table-container">
|
||||||
<table class="table is-bordered">
|
<table class="table is-bordered">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -228,3 +231,4 @@ breadcrumb:
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ breadcrumb:
|
|||||||
- overview-mixins
|
- overview-mixins
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="table-container">
|
||||||
<table class="table is-bordered">
|
<table class="table is-bordered">
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>=arrow($color)</code></td>
|
<td><code>=arrow($color)</code></td>
|
||||||
@@ -60,6 +61,7 @@ breadcrumb:
|
|||||||
<td>Turns the element unselectable. Used for buttons to prevent selection when clicking.</td>
|
<td>Turns the element unselectable. Used for buttons to prevent selection when clicking.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>These mixins are already used throughout Bulma, but you can use them as well to extend your own styles.</p>
|
<p>These mixins are already used throughout Bulma, but you can use them as well to extend your own styles.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user