actions-code-compare

Introduced in v2.3.2
Available in TYPO3 11.5 12.4 13.x

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1z"/><path d="m8.914 3 1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3zM6.172 9.672l-.708.707L7.086 12H4V5H3v8h4.086l-1.622 1.621.708.708L9 12.5z"/></g></svg>

Inline

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1z"/><path d="m8.914 3 1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3zM6.172 9.672l-.708.707L7.086 12H4V5H3v8h4.086l-1.622 1.621.708.708L9 12.5z"/></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-code-compare" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-code-compare" 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' xml:space='preserve' viewBox='0 0 16 16'%3e%3cg fill='%23fff'%3e%3cpath d='M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1z'/%3e%3cpath d='m8.914 3 1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3zM6.172 9.672l-.708.707L7.086 12H4V5H3v8h4.086l-1.622 1.621.708.708L9 12.5z'/%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-code-compare;
}

Download

Download