diff options
author | felt <felt@chromium.org> | 2014-08-28 08:21:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-28 15:23:34 +0000 |
commit | 3814de2af30c50450e1db7ee03b126169b975d86 (patch) | |
tree | 1131c3157b475d5daec25b9ae5e2a3759c7a75e1 | |
parent | 87177293362d72095124674372e27ac259d60803 (diff) | |
download | chromium_src-3814de2af30c50450e1db7ee03b126169b975d86.zip chromium_src-3814de2af30c50450e1db7ee03b126169b975d86.tar.gz chromium_src-3814de2af30c50450e1db7ee03b126169b975d86.tar.bz2 |
Restore outline on focus for security warnings
When tab focus is placed on the security warning primary button, Chrome
should outline the button. However, the outline is not shown during
button activation to prevent it from making the button border an odd
white-gray-blue.
BUG=387163
R=bauerb@chromium.org
Review URL: https://codereview.chromium.org/511073002
Cr-Commit-Position: refs/heads/master@{#292384}
-rw-r--r-- | chrome/browser/resources/security_warnings/interstitial_v2.css | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/resources/security_warnings/interstitial_v2.css b/chrome/browser/resources/security_warnings/interstitial_v2.css index ba0c9f1..1c0d0af 100644 --- a/chrome/browser/resources/security_warnings/interstitial_v2.css +++ b/chrome/browser/resources/security_warnings/interstitial_v2.css @@ -28,7 +28,6 @@ button { font-size: .875em; height: 36px; margin: -6px 0 0; - outline: 0; padding: 8px 24px; transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1); } @@ -39,6 +38,7 @@ button { button:active { background: rgb(50, 102, 213); + outline: 0; } button:hover { @@ -197,11 +197,6 @@ input[type=checkbox] { opacity: 1; } -.yellow :-webkit-any( - a, #details, #details-button, h1, .small-link) { - color: black; -} - @media (max-width: 700px) { .interstitial-wrapper { padding: 0 10%; |