Commit b6d416bb authored by Weilun Shi's avatar Weilun Shi Committed by Commit Bot

[NTP] Remove focus ring on disabled option

Removing focus ring when focusing on diabled options on "customize this
page" dialog.

Bug: 878769
Change-Id: I71466a87f4f1ea76022a09c072894d5ee9af1ed0
Reviewed-on: https://chromium-review.googlesource.com/1195932Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Commit-Queue: Weilun Shi <sweilun@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587802}
parent 329857de
......@@ -126,6 +126,10 @@ html[dir=rtl] .bg-option-img {
opacity: 0.28;
}
.bg-option.bg-option-disabled:focus {
outline: none;
}
.bg-option.bg-option-disabled:hover {
background-color: transparent;
}
......
......@@ -873,6 +873,7 @@ customBackgrounds.init = function(showErrorNotification) {
editDialog.close();
};
editDialog.onclick = function(event) {
editDialog.classList.add(customBackgrounds.CLASSES.MOUSE_NAV);
if (event.target === editDialog)
editDialogInteraction();
};
......
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