sass-site/source/_includes/compatibility.liquid
2023-05-15 11:58:58 +02:00

31 lines
849 B
Plaintext

<dl class="impl-status sl-c-description-list sl-c-description-list--horizontal">
<div class="compatibility">
Compatibility{% if feature %} ({{ feature }}){% endif %}:
</div>
{%- if dart != null -%}
<div>
<dt>Dart Sass</dt>
<dd>{{ dart | implStatus }}</dd>
</div>
{%- endif -%}
{%- if libsass != null -%}
<div>
<dt>LibSass</dt>
<dd>{{ libsass | implStatus }}</dd>
</div>
{%- endif -%}
{%- if ruby != null -%}
<div>
<dt>Ruby Sass</dt>
<dd>{{ ruby | implStatus }}</dd>
</div>
{%- endif -%}
{%- if details -%}
<div>{% # The no-op href here ensures that this toggle is focusable in browsers. %}<a href="javascript:;">▶</a></div>
{%- endif -%}
</dl>
{% if details %}
<div class="sl-c-callout sl-c-callout--impl-status">{{ details | markdown }}</div>
{% endif %}