Commit 8f8e8f12 authored by Demetrios Papadopoulos's avatar Demetrios Papadopoulos Committed by Commit Bot

WebUI cr-profile-avatar-selector: Fix focus background color.

Removing the --paper-button CSS mixin at r551209 changed the specificty of CSS
rules being applied. Fixed by using the keyboard-focus class directly, instead
of relying on yet another mixin --paper-button-flat-keyboard-focus.

Bug: 834739
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Iabd8f698a2b1ed65bb98af6a86fe2f957280ae61
Reviewed-on: https://chromium-review.googlesource.com/1019880Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552197}
parent fa804f3f
...@@ -16,9 +16,6 @@ ...@@ -16,9 +16,6 @@
} }
#avatar-grid .avatar { #avatar-grid .avatar {
--paper-button-flat-keyboard-focus: {
background: var(--paper-grey-400);
};
background-color: var(--paper-grey-300); background-color: var(--paper-grey-300);
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -34,6 +31,10 @@ ...@@ -34,6 +31,10 @@
@apply --avatar-selector-avatar; @apply --avatar-selector-avatar;
} }
#avatar-grid .avatar.keyboard-focus {
background-color: var(--paper-grey-400);
}
#avatar-grid .avatar.iron-selected { #avatar-grid .avatar.iron-selected {
border: 2px solid var(--google-blue-500); border: 2px solid var(--google-blue-500);
} }
......
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