module-dbal

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="#415697" d="M0 0h64v64H0z"/><g><path fill="#FFF" d="M49 22H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 18h2v2h-2zM42 18h2v2h-2z"/><path fill="#FFF" d="M49 30H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 26h2v2h-2zM42 26h2v2h-2z"/><path fill="#FFF" d="M49 42H35a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 38h2v2h-2zM42 38h2v2h-2z"/></g><g><path fill="#FFF" d="M29 22H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 18h2v2h-2zM22 18h2v2h-2z"/><path fill="#FFF" d="M29 30H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 26h2v2h-2zM22 26h2v2h-2z"/><path fill="#FFF" d="M29 42H15a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 38h2v2h-2zM22 38h2v2h-2z"/></g><g fill="#FFF"><path d="M40 44h4v2h-4zM20 44h4v2h-4z"/><path d="M40 42h4v2h-4zM20 42h4v2h-4z" opacity=".5"/><path d="M20 46h24v1a1 1 0 0 1-1 1H21a1 1 0 0 1-1-1v-1z"/></g></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="#415697" d="M0 0h64v64H0z"/><g><path fill="#FFF" d="M49 22H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 18h2v2h-2zM42 18h2v2h-2z"/><path fill="#FFF" d="M49 30H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 26h2v2h-2zM42 26h2v2h-2z"/><path fill="#FFF" d="M49 42H35a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"/><path fill="#415697" d="M46 38h2v2h-2zM42 38h2v2h-2z"/></g><g><path fill="#FFF" d="M29 22H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 18h2v2h-2zM22 18h2v2h-2z"/><path fill="#FFF" d="M29 30H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 26h2v2h-2zM22 26h2v2h-2z"/><path fill="#FFF" d="M29 42H15a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"/><path fill="#415697" d="M26 38h2v2h-2zM22 38h2v2h-2z"/></g><g fill="#FFF"><path d="M40 44h4v2h-4zM20 44h4v2h-4z"/><path d="M40 42h4v2h-4zM20 42h4v2h-4z" opacity=".5"/><path d="M20 46h24v1a1 1 0 0 1-1 1H21a1 1 0 0 1-1-1v-1z"/></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-dbal" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-dbal" 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='%23415697' d='M0 0h64v64H0z'/%3e%3cg%3e%3cpath fill='%23FFF' d='M49 22H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M46 18h2v2h-2zM42 18h2v2h-2z'/%3e%3cpath fill='%23FFF' d='M49 30H35a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M46 26h2v2h-2zM42 26h2v2h-2z'/%3e%3cpath fill='%23FFF' d='M49 42H35a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M46 38h2v2h-2zM42 38h2v2h-2z'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M29 22H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M26 18h2v2h-2zM22 18h2v2h-2z'/%3e%3cpath fill='%23FFF' d='M29 30H15a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M26 26h2v2h-2zM22 26h2v2h-2z'/%3e%3cpath fill='%23FFF' d='M29 42H15a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23415697' d='M26 38h2v2h-2zM22 38h2v2h-2z'/%3e%3c/g%3e%3cg fill='%23FFF'%3e%3cpath d='M40 44h4v2h-4zM20 44h4v2h-4z'/%3e%3cpath d='M40 42h4v2h-4zM20 42h4v2h-4z' opacity='.5'/%3e%3cpath d='M20 46h24v1a1 1 0 0 1-1 1H21a1 1 0 0 1-1-1v-1z'/%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-dbal;
}

Download

Download