mimetypes-text-php
Introduced in v1.0.0
Available in TYPO3
7.6 8.6 9.5 10.4 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><path fill="#6B7EB9" 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="M12 8.1c0 .3 0 .5-.1.7-.1.2-.1.4-.2.5-.1.2-.2.3-.4.4-.2.1-.3.2-.5.3v1H9.5V9.6c.1-.1.5-.1.6-.2.1-.1.2-.1.4-.3.1-.1.2-.2.3-.4.1-.1.1-.3.1-.5 0-.3-.1-.5-.2-.6-.1-.1-.3-.2-.5-.2-.1 0-.3 0-.5.1-.3.3-.4.4-.6.5H9V6.8c.1-.1.3-.1.6-.2s.5-.1.8-.1c.5 0 .9.1 1.2.4.3.3.4.7.4 1.2zM10.8 13H9.5v-1.2h1.3V13zM7.4 13 4 10.3v-1l3.4-2.7V8L5 9.8l2.4 1.8V13z"/></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><path fill="#6B7EB9" 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="M12 8.1c0 .3 0 .5-.1.7-.1.2-.1.4-.2.5-.1.2-.2.3-.4.4-.2.1-.3.2-.5.3v1H9.5V9.6c.1-.1.5-.1.6-.2.1-.1.2-.1.4-.3.1-.1.2-.2.3-.4.1-.1.1-.3.1-.5 0-.3-.1-.5-.2-.6-.1-.1-.3-.2-.5-.2-.1 0-.3 0-.5.1-.3.3-.4.4-.6.5H9V6.8c.1-.1.3-.1.6-.2s.5-.1.8-.1c.5 0 .9.1 1.2.4.3.3.4.7.4 1.2zM10.8 13H9.5v-1.2h1.3V13zM7.4 13 4 10.3v-1l3.4-2.7V8L5 9.8l2.4 1.8V13z"/></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-php" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="mimetypes-text-php" 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%3cpath fill='%236B7EB9' 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='M12 8.1c0 .3 0 .5-.1.7-.1.2-.1.4-.2.5-.1.2-.2.3-.4.4-.2.1-.3.2-.5.3v1H9.5V9.6c.1-.1.5-.1.6-.2.1-.1.2-.1.4-.3.1-.1.2-.2.3-.4.1-.1.1-.3.1-.5 0-.3-.1-.5-.2-.6-.1-.1-.3-.2-.5-.2-.1 0-.3 0-.5.1-.3.3-.4.4-.6.5H9V6.8c.1-.1.3-.1.6-.2s.5-.1.8-.1c.5 0 .9.1 1.2.4.3.3.4.7.4 1.2zM10.8 13H9.5v-1.2h1.3V13zM7.4 13 4 10.3v-1l3.4-2.7V8L5 9.8l2.4 1.8V13z'/%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-php;
}