module-reports

Introduced in v1.0.0
Available in TYPO3 7.6 8.6 9.5 10.4 11.5

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#8B2F60" d="M0 0h64v64H0z"/><g fill="#FFF"><path d="M44 50h1c.6 0 1-.4 1-1v-5h-2v6z" opacity=".5"/><path d="M44 36h2v6h-2z" opacity=".75"/><path d="M44 28h2v6h-2z"/><path d="M45 14H17c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h25V26h4V15c0-.6-.4-1-1-1z"/></g><path fill="#8B2F60" d="M20 18h16v2H20zM20 22h10v2H20zM20 26h10v2H20zM20 34h4v12h-4zM26 38h4v8h-4zM32 32h4v14h-4z"/><path fill="#FFF" d="M20 40h4v6h-4zM26 40h4v6h-4zM32 34h4v12h-4z" 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="#8B2F60" d="M0 0h64v64H0z"/><g fill="#FFF"><path d="M44 50h1c.6 0 1-.4 1-1v-5h-2v6z" opacity=".5"/><path d="M44 36h2v6h-2z" opacity=".75"/><path d="M44 28h2v6h-2z"/><path d="M45 14H17c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h25V26h4V15c0-.6-.4-1-1-1z"/></g><path fill="#8B2F60" d="M20 18h16v2H20zM20 22h10v2H20zM20 26h10v2H20zM20 34h4v12h-4zM26 38h4v8h-4zM32 32h4v14h-4z"/><path fill="#FFF" d="M20 40h4v6h-4zM26 40h4v6h-4zM32 34h4v12h-4z" 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-reports" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-reports" 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='%238B2F60' d='M0 0h64v64H0z'/%3e%3cg fill='%23FFF'%3e%3cpath d='M44 50h1c.6 0 1-.4 1-1v-5h-2v6z' opacity='.5'/%3e%3cpath d='M44 36h2v6h-2z' opacity='.75'/%3e%3cpath d='M44 28h2v6h-2z'/%3e%3cpath d='M45 14H17c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h25V26h4V15c0-.6-.4-1-1-1z'/%3e%3c/g%3e%3cpath fill='%238B2F60' d='M20 18h16v2H20zM20 22h10v2H20zM20 26h10v2H20zM20 34h4v12h-4zM26 38h4v8h-4zM32 32h4v14h-4z'/%3e%3cpath fill='%23FFF' d='M20 40h4v6h-4zM26 40h4v6h-4zM32 34h4v12h-4z' 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-reports;
}

Download

Download