module-sites

Introduced in v1.6.0
Available in TYPO3 9.5 10.4 11.5

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#439B92" d="M0 0h64v64H0z"/><path fill="#FFF" d="M14 12h36v40H14z"/><path fill="#439B92" d="M16 14h28v2H16z" opacity=".5"/><path fill="#439B92" d="M46 14h2v2h-2z"/><path fill="#439B92" d="M14 18h36v2H14z" opacity=".5"/><path fill="#439B92" d="M18 28h28v8H18zM18 38h10v14H18zM30 38h16v14H30z" opacity=".75"/><path fill="#439B92" d="M18 24h8v2h-8z"/><path fill="#439B92" d="M28 24h2v2h-2zM32 24h2v2h-2zM40 24h2v2h-2zM44 24h2v2h-2z" opacity=".5"/></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 64 64"><path fill="#439B92" d="M0 0h64v64H0z"/><path fill="#FFF" d="M14 12h36v40H14z"/><path fill="#439B92" d="M16 14h28v2H16z" opacity=".5"/><path fill="#439B92" d="M46 14h2v2h-2z"/><path fill="#439B92" d="M14 18h36v2H14z" opacity=".5"/><path fill="#439B92" d="M18 28h28v8H18zM18 38h10v14H18zM30 38h16v14H30z" opacity=".75"/><path fill="#439B92" d="M18 24h8v2h-8z"/><path fill="#439B92" d="M28 24h2v2h-2zM32 24h2v2h-2zM40 24h2v2h-2zM44 24h2v2h-2z" opacity=".5"/></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/module.svg#module-sites" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-sites" 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 64 64'%3e%3cpath fill='%23439B92' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M14 12h36v40H14z'/%3e%3cpath fill='%23439B92' d='M16 14h28v2H16z' opacity='.5'/%3e%3cpath fill='%23439B92' d='M46 14h2v2h-2z'/%3e%3cpath fill='%23439B92' d='M14 18h36v2H14z' opacity='.5'/%3e%3cpath fill='%23439B92' d='M18 28h28v8H18zM18 38h10v14H18zM30 38h16v14H30z' opacity='.75'/%3e%3cpath fill='%23439B92' d='M18 24h8v2h-8z'/%3e%3cpath fill='%23439B92' d='M28 24h2v2h-2zM32 24h2v2h-2zM40 24h2v2h-2zM44 24h2v2h-2z' opacity='.5'/%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-module-sites;
}

Download

Download