Commit 395c82a0 authored by felt@chromium.org's avatar felt@chromium.org

Update the background color for the Safe Browsing interstitial

Makes the background color meet minimum accessibility (contrast) requirements by deepening the shade of red.

BUG=381260

Review URL: https://codereview.chromium.org/339183006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278026 0039d316-1c4b-4281-b951-d872f2087c98
parent 92b72ac6
...@@ -7,14 +7,14 @@ a { ...@@ -7,14 +7,14 @@ a {
} }
body { body {
background: rgb(247, 247, 247); background-color: #f7f7f7;
color: #585858; color: #585858;
font-size: 125%; font-size: 125%;
} }
body.safe-browsing { body.safe-browsing {
background: rgb(217, 69, 61); background-color: rgb(206, 52, 38);
color: rgb(255, 255, 255); color: white;
} }
button { button {
...@@ -28,6 +28,7 @@ button { ...@@ -28,6 +28,7 @@ button {
font-size: .875em; font-size: .875em;
height: 36px; height: 36px;
margin: -6px 0 0; margin: -6px 0 0;
outline: 0;
padding: 8px 24px; padding: 8px 24px;
transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1); transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
} }
...@@ -112,11 +113,21 @@ h1 { ...@@ -112,11 +113,21 @@ h1 {
.safe-browsing #details, .safe-browsing #details,
.safe-browsing #details-button, .safe-browsing #details-button,
.safe-browsing h1 { .safe-browsing h1 {
color: rgb(255, 255, 255); color: white;
} }
.safe-browsing button { .safe-browsing button {
background: rgba(255, 255, 255, 0.15); background-color: rgb(206, 52, 38);
border: 1px solid white;
}
.safe-browsing button:active {
background-color: rgb(206, 52, 38);
border-color: rgba(255, 255, 255, .6);
}
.safe-browsing button:hover {
box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
} }
.safe-browsing .icon { .safe-browsing .icon {
......
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