[directory-tree] Add eject icon svg and use as an iron-icon
Add a 16px x 16px eject icon. Append it as a child of its <cr-button> container. Update and combine its CSS with other .align-right-icons: z-index: remove the comment: there's no ripple on any align-right icon once <cr-button> was used for the eject button. z-index has re-paint minimization effects in Files app, so retain z-index. --active-bg: none; disable this prefers-dark-mode-only <cr-button> color until we support dark-mode. :hover: cr-button has a square hover and we keep it to match Files app. Never show the hover effect when Files app is re-sizing. :active: use round activation, via border-radius 20px. Remove code doing the same from directory-tree.js. Remove the eject icon PNG files (no longer used). Bug: 992819 Change-Id: I98530884c9fafccde491786f9c99d5d9a925db25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1909670Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Austin Tankiang <austinct@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#714166}
Showing
125 Bytes
144 Bytes
104 Bytes
114 Bytes