Skip to content

Commit

Permalink
[CrOS Settings] Add visual focus indicator to picture selection UI
Browse files Browse the repository at this point in the history
Add a visual outline around the currently focused image.

Screenshot:
https://screenshot.googleplex.com/9Bwy5ZFcFoVuWX4.png

Bug: 702730
Change-Id: I9c091d022ed3f230b99894fc35c1afb3c807c075
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2476627
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Gordon Seto <gordonseto@google.com>
Cr-Commit-Position: refs/heads/master@{#818152}
  • Loading branch information
Gordon Seto authored and Commit Bot committed Oct 16, 2020
1 parent ece73b5 commit 175070a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
outline: none;
}

img:focus {
outline: 1px solid rgba(66, 133, 244, 0.6);
}

iron-icon {
--iron-icon-fill-color: var(--google-grey-500);
--iron-icon-height: 24px;
Expand All @@ -50,8 +54,8 @@
outline: none;
}

#container {
outline: none;
iron-icon:focus {
outline: 1px solid rgba(66, 133, 244, 0.6);
}
</style>

Expand Down

0 comments on commit 175070a

Please sign in to comment.