content-elements-login

Introduced in v1.0.0
Available in TYPO3 7.6 8.6 9.5 10.4 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"><path fill="#666" d="M9 2.5c.8 0 1.5.7 1.5 1.5v2c0 .8-.7 1.5-1.5 1.5H7c-.8 0-1.5-.7-1.5-1.5V4c0-.8.7-1.5 1.5-1.5h2M9 1H7C5.3 1 4 2.4 4 4v2c0 1.6 1.3 3 3 3h2c1.6 0 3-1.4 3-3V4c0-1.6-1.4-3-3-3z"/><path fill="#FFC857" d="M2 5h12v10H2z"/><path fill="#E8A33D" d="M13 6v8H3V6h10m1-1H2v10h12V5z"/><path fill="#B3812B" d="M10 9c0-1.1-.9-2-2-2s-2 .9-2 2c0 .7.4 1.4 1 1.7V13h2v-2.3c.6-.3 1-1 1-1.7z"/></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"><path fill="#666" d="M9 2.5c.8 0 1.5.7 1.5 1.5v2c0 .8-.7 1.5-1.5 1.5H7c-.8 0-1.5-.7-1.5-1.5V4c0-.8.7-1.5 1.5-1.5h2M9 1H7C5.3 1 4 2.4 4 4v2c0 1.6 1.3 3 3 3h2c1.6 0 3-1.4 3-3V4c0-1.6-1.4-3-3-3z"/><path fill="#FFC857" d="M2 5h12v10H2z"/><path fill="#E8A33D" d="M13 6v8H3V6h10m1-1H2v10h12V5z"/><path fill="#B3812B" d="M10 9c0-1.1-.9-2-2-2s-2 .9-2 2c0 .7.4 1.4 1 1.7V13h2v-2.3c.6-.3 1-1 1-1.7z"/></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/content.svg#content-elements-login" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-elements-login" 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%3cpath fill='%23666' d='M9 2.5c.8 0 1.5.7 1.5 1.5v2c0 .8-.7 1.5-1.5 1.5H7c-.8 0-1.5-.7-1.5-1.5V4c0-.8.7-1.5 1.5-1.5h2M9 1H7C5.3 1 4 2.4 4 4v2c0 1.6 1.3 3 3 3h2c1.6 0 3-1.4 3-3V4c0-1.6-1.4-3-3-3z'/%3e%3cpath fill='%23FFC857' d='M2 5h12v10H2z'/%3e%3cpath fill='%23E8A33D' d='M13 6v8H3V6h10m1-1H2v10h12V5z'/%3e%3cpath fill='%23B3812B' d='M10 9c0-1.1-.9-2-2-2s-2 .9-2 2c0 .7.4 1.4 1 1.7V13h2v-2.3c.6-.3 1-1 1-1.7z'/%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-content-elements-login;
}

Download

Download