actions-code-pull-request
Introduced in v2.3.2
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 fill="currentColor"><path d="M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1zM3.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 11m0-1C2.122 10 1 11.122 1 12.5S2.122 15 3.5 15 6 13.878 6 12.5 4.878 10 3.5 10z"/><path d="M3 5h1v6H3zM8.914 3l1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3z"/></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 fill="currentColor"><path d="M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1zM3.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 11m0-1C2.122 10 1 11.122 1 12.5S2.122 15 3.5 15 6 13.878 6 12.5 4.878 10 3.5 10z"/><path d="M3 5h1v6H3zM8.914 3l1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3z"/></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/actions.svg#actions-code-pull-request" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-code-pull-request" 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 fill='%23fff'%3e%3cpath d='M12.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 12.5 11m0-1c-1.378 0-2.5 1.122-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.122 2.5-2.5-1.122-2.5-2.5-2.5zM3.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 2m0-1C2.122 1 1 2.122 1 3.5S2.122 6 3.5 6 6 4.878 6 3.5 4.878 1 3.5 1zM3.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 3.5 11m0-1C2.122 10 1 11.122 1 12.5S2.122 15 3.5 15 6 13.878 6 12.5 4.878 10 3.5 10z'/%3e%3cpath d='M3 5h1v6H3zM8.914 3l1.622-1.621-.708-.707L7 3.5l2.828 2.828.708-.707L8.914 4H12v7h1V3z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-actions.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-actions-code-pull-request;
}