Commit 57abd0e8 authored by Jimmy Gong's avatar Jimmy Gong Committed by Commit Bot

Update clear all and cancel print job buttons

- Updated icons to match specs

Before: https://screenshot.googleplex.com/G3RvHUiZvvm
After: https://screenshot.googleplex.com/QUKrXgmryLi

Bug: 1053704
Change-Id: Ib56d41ae853b724394801f8db3405f6c995d2bd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259474
Commit-Queue: jimmy gong <jimmyxgong@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781666}
parent 822a9853
......@@ -34,6 +34,12 @@
<g id="file-word" width="20" height="20" viewBox="0 0 20 20">
<path fill="#4986E7" d="M5 3h10c1.05 0 1.918.82 1.994 1.851L17 5v10c0 1.05-.82 1.918-1.851 1.994L15 17H5c-1.05 0-1.918-.82-1.994-1.851L3 15V5c0-1.05.82-1.918 1.851-1.994L5 3h10zm10 2H5v10h10V5zM7.75 7l.75 3 .75-3h1.5l.75 3 .75-3h1.5l-1.5 6h-1.5L10 10l-.75 3h-1.5l-1.5-6h1.5z"/>
</g>
<g id="cancel" width="16" height="16" viewBox="0 0 16 16">
<path fill="#5f6368" d="M9.65759 5.44L7.99999 7.0976L6.34239 5.44L5.43999 6.3424L7.09759 8L5.43999 9.6576L6.34239 10.56L7.99999 8.9024L9.65759 10.56L10.56 9.6576L8.90239 8L10.56 6.3424L9.65759 5.44ZM8 1.60001C4.4608 1.60001 1.6 4.46081 1.6 8.00001C1.6 11.5392 4.4608 14.4 8 14.4C11.5392 14.4 14.4 11.5392 14.4 8.00001C14.4 4.46081 11.5392 1.60001 8 1.60001ZM8 12.8C5.354 12.8 3.2 10.646 3.2 8.00001C3.2 5.35401 5.354 3.20001 8 3.20001C10.646 3.20001 12.8 5.35401 12.8 8.00001C12.8 10.646 10.646 12.8 8 12.8Z"/>
</g>
<g id="delete" width="20" height="20" viewBox="0 0 20 20">
<path fill="#1A73E8" d="M13 3V2H7V3H3V5H4V16C4 17.1 4.9 18 6 18H14C15.1 18 16 17.1 16 16V5H17V3H13ZM14 16H6V5H14V16Z"/>
</g>
</defs>
</svg>
</iron-iconset-svg>
\ No newline at end of file
......@@ -77,8 +77,8 @@
jobEntry.numberOfPages)]]"
aria-hidden="true">
</paper-progress>
<cr-icon-button id="cancelPrintJobButton" class="icon-cancel"
title="[[i18n('cancelPrintJobButtonLabel')]]"
<cr-icon-button id="cancelPrintJobButton"
iron-icon="print-management:cancel"
on-click="onCancelPrintJobClicked_">
</cr-icon-button>
</div>
......
......@@ -23,6 +23,10 @@
display: flex;
}
#deleteIcon {
margin-inline-end: 4px;
}
#fileNameColumn {
width: 368px;
}
......@@ -82,6 +86,7 @@
disabled="[[shouldDisableClearAllButton_(printJobs_,
deletePrintJobHistoryAllowedByPolicy_)]]"
hidden="[[!showClearAllButton_]]">
<iron-icon id="deleteIcon" icon="print-management:delete"></iron-icon>
[[i18n('clearAllHistoryLabel')]]
</cr-button>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment