mimetypes-text-css

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

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g><path fill="#33ACDF" d="M2 0v16h12V4l-4-4H2z"/><path fill="#FFF" d="M10 4V0l4 4h-4z" opacity=".65"/><path fill="#212121" d="M14 4v5l-4-5h4z" opacity=".15"/></g><g fill="#FFF"><path d="M7.4 13h-.9c-.4 0-.7-.1-1-.3-.2-.2-.4-.5-.4-.9v-.5c0-.4-.1-.6-.2-.8-.2-.1-.4-.2-.8-.2H4v-.7h.2c.4 0 .6-.1.8-.2.2-.1.2-.4.2-.7v-.5c0-.4.1-.7.4-.9.2-.2.5-.3.9-.3h.8v.7h-.6c-.1 0-.2.1-.2.1-.1.1-.2.2-.2.3s-.1.2-.1.4v.3c0 .3-.1.5-.2.7-.2.2-.4.4-.7.5.3.1.5.3.7.5s.2.4.2.7v.3c0 .2 0 .3.1.4 0 .1.1.2.2.2.1.1.1.1.2.1h.6c.1.1.1.8.1.8zM12 10.4h-.2c-.4 0-.6.1-.8.2-.2.1-.2.4-.2.8v.5c0 .4-.1.7-.4.9-.2.1-.5.2-.9.2h-.9v-.7h.7c.1 0 .2-.1.3-.1l.2-.2c0-.1.1-.2.1-.4v-.3c0-.3.1-.5.2-.7.2-.2.4-.3.7-.5V10c-.3-.1-.5-.3-.7-.5-.3-.2-.3-.4-.3-.7v-.3c0-.2 0-.3-.1-.4 0-.1-.1-.2-.2-.2 0-.1-.1-.1-.2-.2h-.7V7h.8c.4 0 .7.1.9.3.2.2.4.5.4.9v.5c0 .4.1.6.2.8.2.1.4.2.8.2h.3v.7z"/></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 16 16"><g><path fill="#33ACDF" d="M2 0v16h12V4l-4-4H2z"/><path fill="#FFF" d="M10 4V0l4 4h-4z" opacity=".65"/><path fill="#212121" d="M14 4v5l-4-5h4z" opacity=".15"/></g><g fill="#FFF"><path d="M7.4 13h-.9c-.4 0-.7-.1-1-.3-.2-.2-.4-.5-.4-.9v-.5c0-.4-.1-.6-.2-.8-.2-.1-.4-.2-.8-.2H4v-.7h.2c.4 0 .6-.1.8-.2.2-.1.2-.4.2-.7v-.5c0-.4.1-.7.4-.9.2-.2.5-.3.9-.3h.8v.7h-.6c-.1 0-.2.1-.2.1-.1.1-.2.2-.2.3s-.1.2-.1.4v.3c0 .3-.1.5-.2.7-.2.2-.4.4-.7.5.3.1.5.3.7.5s.2.4.2.7v.3c0 .2 0 .3.1.4 0 .1.1.2.2.2.1.1.1.1.2.1h.6c.1.1.1.8.1.8zM12 10.4h-.2c-.4 0-.6.1-.8.2-.2.1-.2.4-.2.8v.5c0 .4-.1.7-.4.9-.2.1-.5.2-.9.2h-.9v-.7h.7c.1 0 .2-.1.3-.1l.2-.2c0-.1.1-.2.1-.4v-.3c0-.3.1-.5.2-.7.2-.2.4-.3.7-.5V10c-.3-.1-.5-.3-.7-.5-.3-.2-.3-.4-.3-.7v-.3c0-.2 0-.3-.1-.4 0-.1-.1-.2-.2-.2 0-.1-.1-.1-.2-.2h-.7V7h.8c.4 0 .7.1.9.3.2.2.4.5.4.9v.5c0 .4.1.6.2.8.2.1.4.2.8.2h.3v.7z"/></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/mimetypes.svg#mimetypes-text-css" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="mimetypes-text-css" 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 16 16'%3e%3cg%3e%3cpath fill='%2333ACDF' d='M2 0v16h12V4l-4-4H2z'/%3e%3cpath fill='%23FFF' d='M10 4V0l4 4h-4z' opacity='.65'/%3e%3cpath fill='%23212121' d='M14 4v5l-4-5h4z' opacity='.15'/%3e%3c/g%3e%3cg fill='%23FFF'%3e%3cpath d='M7.4 13h-.9c-.4 0-.7-.1-1-.3-.2-.2-.4-.5-.4-.9v-.5c0-.4-.1-.6-.2-.8-.2-.1-.4-.2-.8-.2H4v-.7h.2c.4 0 .6-.1.8-.2.2-.1.2-.4.2-.7v-.5c0-.4.1-.7.4-.9.2-.2.5-.3.9-.3h.8v.7h-.6c-.1 0-.2.1-.2.1-.1.1-.2.2-.2.3s-.1.2-.1.4v.3c0 .3-.1.5-.2.7-.2.2-.4.4-.7.5.3.1.5.3.7.5s.2.4.2.7v.3c0 .2 0 .3.1.4 0 .1.1.2.2.2.1.1.1.1.2.1h.6c.1.1.1.8.1.8zM12 10.4h-.2c-.4 0-.6.1-.8.2-.2.1-.2.4-.2.8v.5c0 .4-.1.7-.4.9-.2.1-.5.2-.9.2h-.9v-.7h.7c.1 0 .2-.1.3-.1l.2-.2c0-.1.1-.2.1-.4v-.3c0-.3.1-.5.2-.7.2-.2.4-.3.7-.5V10c-.3-.1-.5-.3-.7-.5-.3-.2-.3-.4-.3-.7v-.3c0-.2 0-.3-.1-.4 0-.1-.1-.2-.2-.2 0-.1-.1-.1-.2-.2h-.7V7h.8c.4 0 .7.1.9.3.2.2.4.5.4.9v.5c0 .4.1.6.2.8.2.1.4.2.8.2h.3v.7z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-mimetypes-text-css;
}

Download

Download