module-workspaces

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="#7A950F" d="M0 0h64v64H0z"/><path fill="#FFF" d="M49 26h-3v2h2v20H28v-2h-2v3c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V27c0-.6-.4-1-1-1z"/><path fill="#FFF" d="M43 14H21c-.6 0-1 .4-1 1v3h2v-2h20v20h-2v2h3c.6 0 1-.4 1-1V15c0-.6-.4-1-1-1z"/><path fill="#FFF" d="M37 20H15c-.6 0-1 .4-1 1v22c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V21c0-.6-.4-1-1-1zm-1 22H16V22h20v20z"/><path fill="#FFF" d="M20 18h2v2h-2zM38 36h2v2h-2zM44 26h2v2h-2zM26 44h2v2h-2z" opacity=".3"/></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="#7A950F" d="M0 0h64v64H0z"/><path fill="#FFF" d="M49 26h-3v2h2v20H28v-2h-2v3c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V27c0-.6-.4-1-1-1z"/><path fill="#FFF" d="M43 14H21c-.6 0-1 .4-1 1v3h2v-2h20v20h-2v2h3c.6 0 1-.4 1-1V15c0-.6-.4-1-1-1z"/><path fill="#FFF" d="M37 20H15c-.6 0-1 .4-1 1v22c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V21c0-.6-.4-1-1-1zm-1 22H16V22h20v20z"/><path fill="#FFF" d="M20 18h2v2h-2zM38 36h2v2h-2zM44 26h2v2h-2zM26 44h2v2h-2z" opacity=".3"/></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-workspaces" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-workspaces" 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='%237A950F' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M49 26h-3v2h2v20H28v-2h-2v3c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V27c0-.6-.4-1-1-1z'/%3e%3cpath fill='%23FFF' d='M43 14H21c-.6 0-1 .4-1 1v3h2v-2h20v20h-2v2h3c.6 0 1-.4 1-1V15c0-.6-.4-1-1-1z'/%3e%3cpath fill='%23FFF' d='M37 20H15c-.6 0-1 .4-1 1v22c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V21c0-.6-.4-1-1-1zm-1 22H16V22h20v20z'/%3e%3cpath fill='%23FFF' d='M20 18h2v2h-2zM38 36h2v2h-2zM44 26h2v2h-2zM26 44h2v2h-2z' opacity='.3'/%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-workspaces;
}

Download

Download