1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

pricing cards

This commit is contained in:
codecalm
2020-02-08 23:18:39 +01:00
parent 09673052b0
commit f13ac7db49
3 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
{% assign available-features = include.features | default: '1000' | split: '' %}
<div class="card">
{% if include.featured-color %}
<div class="card-status bg-{{ include.featured-color }}"></div>
{% include ui/ribbon.html color=include.featured-color bookmark=true top=true %}
{% endif %}
<div class="card-body text-center">

View File

@@ -9,5 +9,5 @@
{% endif %}
</div>
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>
{% include ui/ribbon.html color=include.color top=include.top left=include.left bottom=include.bottom bookmark=include.bookmark %}
</div>

View File

@@ -0,0 +1 @@
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>