overlay-warning
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 11 11"><g><path fill="#FBB03B" d="M10.251 11H.749a.75.75 0 0 1-.663-1.097L4.837.774a.748.748 0 0 1 1.327 0l4.751 9.129A.75.75 0 0 1 10.251 11z"/><path fill="#212121" d="M5.5 1.666 9.837 10H1.163L5.5 1.666m0-1.295a.739.739 0 0 0-.663.403L.086 9.903A.75.75 0 0 0 .749 11h9.502a.75.75 0 0 0 .663-1.097L6.163.774A.74.74 0 0 0 5.5.371z" opacity=".2"/><path fill="#FFF" d="M6 8v1H5V8h1zM6 4v3H5V4h1z"/></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"><path fill="#EFEFEF" d="M2 0v16h12V4l-4-4H2z"/><path fill="#FFF" d="M10 4V0l4 4h-4z" opacity=".65"/><path fill="#212121" d="M13 5v5L9 5h4z" opacity=".2"/><path fill="#999" d="M2 0v16h12V4l-4-4H2zm1 1h6v4h4v10H3V1zm7 .4L12.6 4H10V1.4z"/></svg>
</span>
<span class="icon-overlay">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 11"><g><path fill="#FBB03B" d="M10.251 11H.749a.75.75 0 0 1-.663-1.097L4.837.774a.748.748 0 0 1 1.327 0l4.751 9.129A.75.75 0 0 1 10.251 11z"/><path fill="#212121" d="M5.5 1.666 9.837 10H1.163L5.5 1.666m0-1.295a.739.739 0 0 0-.663.403L.086 9.903A.75.75 0 0 0 .749 11h9.502a.75.75 0 0 0 .663-1.097L6.163.774A.74.74 0 0 0 5.5.371z" opacity=".2"/><path fill="#FFF" d="M6 8v1H5V8h1zM6 4v3H5V4h1z"/></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/apps.svg#apps-pagetree-page" /></svg>
</span>
<span class="icon-overlay">
<svg role="img"><use xlink:href="dist/sprites/overlay.svg#overlay-warning" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="apps-pagetree-page" overlay="overlay-warning" 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 11 11'%3e%3cg%3e%3cpath fill='%23FBB03B' d='M10.251 11H.749a.75.75 0 0 1-.663-1.097L4.837.774a.748.748 0 0 1 1.327 0l4.751 9.129A.75.75 0 0 1 10.251 11z'/%3e%3cpath fill='%23212121' d='M5.5 1.666 9.837 10H1.163L5.5 1.666m0-1.295a.739.739 0 0 0-.663.403L.086 9.903A.75.75 0 0 0 .749 11h9.502a.75.75 0 0 0 .663-1.097L6.163.774A.74.74 0 0 0 5.5.371z' opacity='.2'/%3e%3cpath fill='%23FFF' d='M6 8v1H5V8h1zM6 4v3H5V4h1z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-overlay.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-overlay-warning;
}