content-cpu

Tags: chip
Introduced in v2.4.0
Available in TYPO3 11.5

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g><g fill="#A3A7A7"><path d="M5 13v1.5a.5.5 0 0 0 1 0V13H5zM7 13v1.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V13H7zM10 13v1.5a.5.5 0 0 0 1 0V13h-1z"/></g><g fill="#A3A7A7"><path d="M5 3V1.5a.5.5 0 0 1 1 0V3H5zM7 3V1.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V3H7zM10 3V1.5a.5.5 0 0 1 1 0V3h-1z"/></g><g fill="#A3A7A7"><path d="M3 11H1.5a.5.5 0 0 1 0-1H3v1zM3 9H1.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H3v2zM3 6H1.5a.5.5 0 0 1 0-1H3v1z"/></g><g fill="#A3A7A7"><path d="M13 11h1.5a.5.5 0 0 0 0-1H13v1zM13 9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H13v2zM13 6h1.5a.5.5 0 0 0 0-1H13v1z"/></g><path fill="#00B7A0" d="M12.5 3h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"/><path fill="#008978" d="M12 4v8H4V4h8m.5-1h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"/><path fill="#444B66" d="M9.5 6h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/><path fill="#33384C" d="M9 7v2H7V7h2m.5-1h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/></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 16 16"><g><g fill="#A3A7A7"><path d="M5 13v1.5a.5.5 0 0 0 1 0V13H5zM7 13v1.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V13H7zM10 13v1.5a.5.5 0 0 0 1 0V13h-1z"/></g><g fill="#A3A7A7"><path d="M5 3V1.5a.5.5 0 0 1 1 0V3H5zM7 3V1.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V3H7zM10 3V1.5a.5.5 0 0 1 1 0V3h-1z"/></g><g fill="#A3A7A7"><path d="M3 11H1.5a.5.5 0 0 1 0-1H3v1zM3 9H1.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H3v2zM3 6H1.5a.5.5 0 0 1 0-1H3v1z"/></g><g fill="#A3A7A7"><path d="M13 11h1.5a.5.5 0 0 0 0-1H13v1zM13 9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H13v2zM13 6h1.5a.5.5 0 0 0 0-1H13v1z"/></g><path fill="#00B7A0" d="M12.5 3h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"/><path fill="#008978" d="M12 4v8H4V4h8m.5-1h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"/><path fill="#444B66" d="M9.5 6h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/><path fill="#33384C" d="M9 7v2H7V7h2m.5-1h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/></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/content.svg#content-cpu" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-cpu" 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 16 16'%3e%3cg%3e%3cg fill='%23A3A7A7'%3e%3cpath d='M5 13v1.5a.5.5 0 0 0 1 0V13H5zM7 13v1.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V13H7zM10 13v1.5a.5.5 0 0 0 1 0V13h-1z'/%3e%3c/g%3e%3cg fill='%23A3A7A7'%3e%3cpath d='M5 3V1.5a.5.5 0 0 1 1 0V3H5zM7 3V1.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V3H7zM10 3V1.5a.5.5 0 0 1 1 0V3h-1z'/%3e%3c/g%3e%3cg fill='%23A3A7A7'%3e%3cpath d='M3 11H1.5a.5.5 0 0 1 0-1H3v1zM3 9H1.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H3v2zM3 6H1.5a.5.5 0 0 1 0-1H3v1z'/%3e%3c/g%3e%3cg fill='%23A3A7A7'%3e%3cpath d='M13 11h1.5a.5.5 0 0 0 0-1H13v1zM13 9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H13v2zM13 6h1.5a.5.5 0 0 0 0-1H13v1z'/%3e%3c/g%3e%3cpath fill='%2300B7A0' d='M12.5 3h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z'/%3e%3cpath fill='%23008978' d='M12 4v8H4V4h8m.5-1h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z'/%3e%3cpath fill='%23444B66' d='M9.5 6h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z'/%3e%3cpath fill='%2333384C' d='M9 7v2H7V7h2m.5-1h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-content-cpu;
}

Download

Download