<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.shape.SVGPath?>

<!-- Кнопка отменить загрузку (java 11+) -->
<Button id="cancel" styleClass="icon-button">
    <graphic>
        <SVGPath content="M492.857 4C491.286 4 490 5.28599 490 6.85714V25.1429C490 26.714 491.286 28 492.857 28H511.143C512.714 28 514 26.714 514 25.1429V6.85714C514 5.28599 512.714 4 511.143 4H492.857ZM492.857 5.14286H511.143C512.096 5.14286 512.857 5.90372 512.857 6.85714V25.1429C512.857 26.0963 512.096 26.8571 511.143 26.8571H492.857C491.904 26.8571 491.143 26.0963 491.143 25.1429V6.85714C491.143 5.90372 491.904 5.14286 492.857 5.14286Z M495 16C495 12.134 498.134 9 502 9C505.866 9 509 12.134 509 16C509 19.866 505.866 23 502 23C498.134 23 495 19.866 495 16Z M500.707 13.293C500.512 13.0975 500.256 13 500 13C499.744 13 499.489 13.0975 499.293 13.293C498.902 13.684 498.902 14.3161 499.293 14.7071L500.586 16L499.293 17.293C498.902 17.684 498.902 18.3161 499.293 18.7071C499.488 18.9021 499.744 19 500 19C500.256 19 500.512 18.9021 500.707 18.7071L502 17.4141L503.293 18.7071C503.488 18.9021 503.744 19 504 19C504.256 19 504.512 18.9021 504.707 18.7071C505.098 18.3161 505.098 17.684 504.707 17.293L503.414 16L504.707 14.7071C505.098 14.3161 505.098 13.684 504.707 13.293C504.316 12.902 503.684 12.902 503.293 13.293L502 14.586L500.707 13.293Z" styleClass="icon-button-error" />
    </graphic>
    <tooltip>
        <Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.update.cancelTooltip" />
    </tooltip>
</Button>