[file_types.css] De-Cargo-Cult de Drive icon CSS rules
.computers-root and .external-media-root are file-list only - remove their unneeded [selected] state (directory) tree rules since these icons are never shown that tree, ever. - and file-list does not add [selected] state to icons, ever. fix drive file-type-icon='folder' rules - remove redundant .tree prefix since .tree-item implies you are in a directory .tree, by-design. - moreover, tree-item[selected] also means tree-row[selected] so we can simplify these rules even more ... - rule .tree .tree-item[selected] === .tree-row[selected] as one .tree-row only can be [selected] in the .tree at any time. 'downloads' and root_type_icon='drive' rules - define the normal and tree [selected] rules in the same order. Fix a comment, remove redundant whitespace. Bug: 992819 Change-Id: I210b775b02bfff011c407c8c33f9f966afcd33b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865052Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#706763}
Showing
Please register or sign in to comment