Commit 175070a5 authored by Gordon Seto's avatar Gordon Seto Committed by Commit Bot

[CrOS Settings] Add visual focus indicator to picture selection UI

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/+/2476627Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Gordon Seto <gordonseto@google.com>
Cr-Commit-Position: refs/heads/master@{#818152}
parent ece73b5c
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
outline: none; outline: none;
} }
img:focus {
outline: 1px solid rgba(66, 133, 244, 0.6);
}
iron-icon { iron-icon {
--iron-icon-fill-color: var(--google-grey-500); --iron-icon-fill-color: var(--google-grey-500);
--iron-icon-height: 24px; --iron-icon-height: 24px;
...@@ -50,8 +54,8 @@ ...@@ -50,8 +54,8 @@
outline: none; outline: none;
} }
#container { iron-icon:focus {
outline: none; outline: 1px solid rgba(66, 133, 244, 0.6);
} }
</style> </style>
......
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