module-security

Introduced in v3.6.0
Available in TYPO3 12.4 13.x

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 64 64"><path fill="#235594" d="M0 0h64v64H0z"/><g><path fill="#FFF" d="M44 18H20v14c0 8.75 12 14 12 14s12-5.25 12-14V18z"/><path fill="#235594" d="M42 20H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z"/><path fill="#000001" d="M41 21v11c0 5.259-6.387 9.24-9 10.646-2.614-1.405-9-5.38-9-10.646V21h18m1-1H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z" opacity=".14"/><path fill="#FFF" d="M40 22v10c0 3.717-3.979 7.251-8 9.507-4.022-2.253-8-5.786-8-9.507V22h16"/><path fill="#235594" d="M32 41.506c4.021-2.255 8-5.79 8-9.506V22h-8v19.506z" opacity=".2"/></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 64 64"><path fill="#235594" d="M0 0h64v64H0z"/><g><path fill="#FFF" d="M44 18H20v14c0 8.75 12 14 12 14s12-5.25 12-14V18z"/><path fill="#235594" d="M42 20H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z"/><path fill="#000001" d="M41 21v11c0 5.259-6.387 9.24-9 10.646-2.614-1.405-9-5.38-9-10.646V21h18m1-1H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z" opacity=".14"/><path fill="#FFF" d="M40 22v10c0 3.717-3.979 7.251-8 9.507-4.022-2.253-8-5.786-8-9.507V22h16"/><path fill="#235594" d="M32 41.506c4.021-2.255 8-5.79 8-9.506V22h-8v19.506z" opacity=".2"/></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/module.svg#module-security" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-security" 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 64 64'%3e%3cpath fill='%23235594' d='M0 0h64v64H0z'/%3e%3cg%3e%3cpath fill='%23FFF' d='M44 18H20v14c0 8.75 12 14 12 14s12-5.25 12-14V18z'/%3e%3cpath fill='%23235594' d='M42 20H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z'/%3e%3cpath fill='%23000001' d='M41 21v11c0 5.259-6.387 9.24-9 10.646-2.614-1.405-9-5.38-9-10.646V21h18m1-1H22v12c0 6.132 7.494 10.492 10 11.776C34.502 42.492 42 38.134 42 32V20z' opacity='.14'/%3e%3cpath fill='%23FFF' d='M40 22v10c0 3.717-3.979 7.251-8 9.507-4.022-2.253-8-5.786-8-9.507V22h16'/%3e%3cpath fill='%23235594' d='M32 41.506c4.021-2.255 8-5.79 8-9.506V22h-8v19.506z' opacity='.2'/%3e%3c/g%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-security;
}

Download

Download