actions-percent

Introduced in v2.1.1
Available in TYPO3 11.5

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><circle cx="11.5" cy="11.5" r="1.5"/><circle cx="4.5" cy="4.5" r="1.5"/><path d="m3.1 11.9 8.8-8.8c.1-.1.2-.1.3 0l.7.7c.1.1.1.2 0 .3l-8.7 8.8c-.1.1-.3.1-.4 0l-.7-.7c-.1-.1-.1-.2 0-.3z"/></g></svg>

Inline

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><circle cx="11.5" cy="11.5" r="1.5"/><circle cx="4.5" cy="4.5" r="1.5"/><path d="m3.1 11.9 8.8-8.8c.1-.1.2-.1.3 0l.7.7c.1.1.1.2 0 .3l-8.7 8.8c-.1.1-.3.1-.4 0l-.7-.7c-.1-.1-.1-.2 0-.3z"/></g></svg>
    </span>
</span>

Sprite

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg role="img"><use xlink:href="dist/sprites/actions.svg#actions-percent" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-percent" size="small" />

CSS Background Image

.myclass {
    background-size: 1em 1em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg fill='%23fff'%3e%3ccircle cx='11.5' cy='11.5' r='1.5'/%3e%3ccircle cx='4.5' cy='4.5' r='1.5'/%3e%3cpath d='m3.1 11.9 8.8-8.8c.1-.1.2-.1.3 0l.7.7c.1.1.1.2 0 .3l-8.7 8.8c-.1.1-.3.1-.4 0l-.7-.7c-.1-.1-.1-.2 0-.3z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-actions.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-actions-percent;
}

Download

Download