Commit d1e093c2 authored by Sam McNally's avatar Sam McNally Committed by Commit Bot

Apply the dialog ok button color with hover as well as without.

Currently, the hover color for dialog ok buttons is not set, so it falls
through to the default button color, which varies depending on whether
check-select is applied to the body. This causes hovering to make the
text color dark instead of remaining unchanged. Set the color for both
with and without hover to avoid this.

Bug: 842130
Change-Id: I67a02346a7aa173de91ac41366cbdd5057e9e6c3
Reviewed-on: https://chromium-review.googlesource.com/c/1345169
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609832}
parent 974e90b0
...@@ -143,7 +143,8 @@ cr-menu.chrome-menu > [checked]::before { ...@@ -143,7 +143,8 @@ cr-menu.chrome-menu > [checked]::before {
padding: auto; padding: auto;
} }
.cr-dialog-buttons > button.cr-dialog-ok { .cr-dialog-buttons > button.cr-dialog-ok,
.cr-dialog-buttons > button.cr-dialog-ok:hover {
background-color: rgb(51, 103, 214); background-color: rgb(51, 103, 214);
color: white; color: white;
order: 1; order: 1;
......
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