1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */
10 background-image: -webkit-image-set
(
11 url
(images/1x/clock.png) 1x,
12 url
(images/2x/clock.png) 2x);
16 background-color: #f7f7f7;
21 background-color: rgb
(206, 52, 38);
26 -webkit-user-select: none
;
27 background: rgb
(76, 142, 250);
30 box-sizing: border-box
;
37 transition: box-shadow
200ms cubic-bezier
(0.4, 0, 0.2, 1);
45 background: rgb
(50, 102, 213);
50 box-shadow: 0 1px 3px rgba
(0, 0, 0, .50);
73 #details p:not
(:first-of-type
) {
83 text-decoration: underline
;
86 #details-button:hover
{
96 text-transform: uppercase
;
99 #error-debugging-info {
121 -webkit-text-size-adjust: 100%;
126 background-repeat: no-repeat
;
127 background-size: 100%;
133 input
[type
=checkbox
] {
137 .interstitial-wrapper {
138 box-sizing: border-box
;
141 margin: 100px auto
0;
150 #extended-reporting-opt-in {
155 #extended-reporting-opt-in label
{
163 .nav-wrapper::after {
170 .safe-browsing :-webkit-any
(
171 a
, #details
, #details-button
, h1
, h2
, p
, .small-link
) {
175 .safe-browsing button {
176 background-color: rgba
(255, 255, 255, .15);
179 .safe-browsing button:active {
180 background-color: rgba
(255, 255, 255, .25);
183 .safe-browsing button:hover {
184 box-shadow: 0 2px 3px rgba
(0, 0, 0, .5);
187 .safe-browsing .error-code {
191 .safe-browsing .icon {
192 background-image: -webkit-image-set
(
193 url
(images/1x/stop_sign.png) 1x,
194 url
(images/2x/stop_sign.png) 2x);
203 background-image: -webkit-image-set
(
204 url
(images/1x/brokenssl_red.png) 1x,
205 url
(images/2x/brokenssl_red.png) 2x);
208 .captive-portal .icon {
209 background-image: -webkit-image-set
(
210 url
(images/1x/captive_portal_page_icon.png) 1x,
211 url
(images/2x/captive_portal_page_icon.png) 2x);
215 background: transparent
;
216 border: 1px solid white
;
228 background: transparent
;
229 border: 2px solid white
;
230 border-right-width: 0;
238 transform: rotate
(-45deg);
242 .ssl-opt-in .checkbox {
243 border-color: #696969;
246 .ssl-opt-in .checkbox::before {
247 border-color: #696969;
250 input
[type
=checkbox
]:checked
~ .checkbox::before
{
254 @media (max-width: 700px) {
255 .interstitial-wrapper {
259 #error-debugging-info {
264 @media (max-height: 600px) {
269 .interstitial-wrapper {
274 @media (max-width: 420px) {
282 text-transform: uppercase
;
287 margin: 20px 0 20px 0;
290 #details p:not
(:first-of-type
) {
301 .interstitial-wrapper {
305 #extended-reporting-opt-in {
315 * Mobile specific styling.
316 * Navigation buttons are anchored to the bottom of the screen.
317 * Details message replaces the top content in its own scrollable area.
320 @media (max-width: 420px) and
(orientation: portrait
) {
327 -webkit-margin-end: 0;
333 @media (min-width: 240px) and
(max-width: 420px) and
334 (min-height: 401px) and
(orientation:portrait
),
335 (min-width: 421px) and
(max-width: 736px) and
(min-height: 240px) and
336 (max-height: 420px) and
(orientation:landscape
) {
348 body
.safe-browsing
.nav-wrapper
{
349 background: rgb
(206, 52, 38);
352 .interstitial-wrapper {
357 @media (max-width: 420px) and
(orientation: portrait
),
358 (max-width: 736px) and
(max-height: 420px) and
(orientation: landscape
) {
366 font-family: Roboto-Regular
,Helvetica
;
370 text-transform: uppercase
;
374 box-sizing: border-box
;
375 padding: 16px 24px 8px;
384 box-sizing: border-box
;
388 transition: opacity
250ms cubic-bezier
(0.4, 0, 0.2, 1);
392 #main-content.hidden
{
400 padding-bottom: 16px;
413 .interstitial-wrapper {
414 box-sizing: border-box
;
415 margin: 24px auto
12px;
420 .interstitial-wrapper p {
428 transition: opacity
100ms cubic-bezier
(0.4, 0, 0.2, 1);
435 .suggested-left
> #control-buttons
,
436 .suggested-right > #control-buttons {
442 @media (min-height: 400px) and
(orientation:portrait
) {
443 body:not
(.extended-reporting-has-checkbox
) .interstitial-wrapper
{
444 margin-bottom: 145px;
448 @media (min-height: 299px) and
(orientation:portrait
) {
450 padding-bottom: 16px;
454 @media (min-height: 405px) and
(orientation:portrait
) {
459 .interstitial-wrapper {
464 @media (min-height: 480px) and
(max-width: 420px) and
(orientation: portrait
),
465 (min-height: 338px) and
(max-height: 420px) and
(max-width: 736px) and
466 (orientation: landscape
) {
472 padding: 16px 24px 24px;
476 @media (min-height: 500px) and
(max-width: 414px) and
(orientation: portrait
) {
477 :not
(.extended-reporting-has-checkbox
) .interstitial-wrapper
{
483 @media (min-width: 375px) and
(min-height: 641px) and
484 (max-width: 414px) and
(orientation: portrait
) {
489 padding-bottom: 12px;
493 body:not
(.offline
) .icon
{
510 .interstitial-wrapper {
514 .interstitial-wrapper p {
523 @media (min-width: 420px) and
(max-width: 736px) and
524 (min-height: 240px) and
(max-height: 298px) and
525 (orientation:landscape
) {
526 body:not
(.offline
) .icon
{
535 .interstitial-wrapper {
544 @media (min-width: 420px) and
(max-width: 736px) and
545 (min-height: 240px) and
(max-height: 420px) and
546 (orientation:landscape
) {
551 .interstitial-wrapper {
559 #extended-reporting-opt-in {
564 /* Phablet landscape */
565 @media (min-width: 680px) and
(max-height: 414px) {
566 .interstitial-wrapper {
575 @media (max-height: 240px) and
(orientation: landscape
),
576 (max-height: 480px) and
(orientation: portrait
),
577 (max-width: 419px) and
(max-height: 323px) {
578 body:not
(.offline
) .icon
{
588 /* Small mobile screens. No fixed nav. */
589 @media (max-height: 400px) and
(orientation: portrait
),
590 (max-height: 239px) and
(orientation: landscape
),
591 (max-width: 419px) and
(max-height: 360px) {
592 .interstitial-wrapper {
594 flex-direction: column
;
619 /* Extended reporting opt-in. No fixed nav. */
620 @media (max-height: 600px) and
(orientation: portrait
),
621 (max-height: 360px) and
(max-width: 680px) and
(orientation: landscape
) {
622 .extended-reporting-has-checkbox .interstitial-wrapper {
624 flex-direction: column
;
628 .extended-reporting-has-checkbox #details {
633 .extended-reporting-has-checkbox #main-content {
638 .extended-reporting-has-checkbox #extended-reporting-opt-in {
642 body
.extended-reporting-has-checkbox
.nav-wrapper
{