mimetypes-x-content-plugin
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"><path fill="#666" d="M14.271 3.18 8.276 1.467 8 1.388l-.276.079L1.729 3.18 1 3.388v9.224l.729.208 5.995 1.713.276.079.276-.079 5.995-1.713.729-.208V3.388z"/><path fill="#AAD400" d="m8 2.433 5.035 1.438L8 5.336 2.945 3.877z"/><path fill="#FFC857" d="m2.004 4.651 5.494 1.585v7.188l-5.494-1.57z"/><path fill="#FF6777" d="M8.502 13.424V6.235l5.494-1.597v7.216z"/></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"><path fill="#666" d="M14.271 3.18 8.276 1.467 8 1.388l-.276.079L1.729 3.18 1 3.388v9.224l.729.208 5.995 1.713.276.079.276-.079 5.995-1.713.729-.208V3.388z"/><path fill="#AAD400" d="m8 2.433 5.035 1.438L8 5.336 2.945 3.877z"/><path fill="#FFC857" d="m2.004 4.651 5.494 1.585v7.188l-5.494-1.57z"/><path fill="#FF6777" d="M8.502 13.424V6.235l5.494-1.597v7.216z"/></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-x-content-plugin" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="mimetypes-x-content-plugin" 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%3cpath fill='%23666' d='M14.271 3.18 8.276 1.467 8 1.388l-.276.079L1.729 3.18 1 3.388v9.224l.729.208 5.995 1.713.276.079.276-.079 5.995-1.713.729-.208V3.388z'/%3e%3cpath fill='%23AAD400' d='m8 2.433 5.035 1.438L8 5.336 2.945 3.877z'/%3e%3cpath fill='%23FFC857' d='m2.004 4.651 5.494 1.585v7.188l-5.494-1.57z'/%3e%3cpath fill='%23FF6777' d='M8.502 13.424V6.235l5.494-1.597v7.216z'/%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-x-content-plugin;
}