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 input
[type
=checkbox
]:focus
~ .checkbox
{
138 outline: -webkit-focus-ring-color auto
5px;
141 .interstitial-wrapper {
142 box-sizing: border-box
;
145 margin: 100px auto
0;
154 #extended-reporting-opt-in {
159 #extended-reporting-opt-in label
{
167 .nav-wrapper::after {
174 .safe-browsing :-webkit-any
(
175 a
, #details
, #details-button
, h1
, h2
, p
, .small-link
) {
179 .safe-browsing button {
180 background-color: rgba
(255, 255, 255, .15);
183 .safe-browsing button:active {
184 background-color: rgba
(255, 255, 255, .25);
187 .safe-browsing button:hover {
188 box-shadow: 0 2px 3px rgba
(0, 0, 0, .5);
191 .safe-browsing .error-code {
195 .safe-browsing .icon {
196 background-image: -webkit-image-set
(
197 url
(images/1x/stop_sign.png) 1x,
198 url
(images/2x/stop_sign.png) 2x);
207 background-image: -webkit-image-set
(
208 url
(images/1x/brokenssl_red.png) 1x,
209 url
(images/2x/brokenssl_red.png) 2x);
212 .captive-portal .icon {
213 background-image: -webkit-image-set
(
214 url
(images/1x/captive_portal_page_icon.png) 1x,
215 url
(images/2x/captive_portal_page_icon.png) 2x);
219 background: transparent
;
220 border: 1px solid white
;
232 background: transparent
;
233 border: 2px solid white
;
234 border-right-width: 0;
242 transform: rotate
(-45deg);
246 .ssl-opt-in .checkbox {
247 border-color: #696969;
250 .ssl-opt-in .checkbox::before {
251 border-color: #696969;
254 input
[type
=checkbox
]:checked
~ .checkbox::before
{
258 @media (max-width: 700px) {
259 .interstitial-wrapper {
263 #error-debugging-info {
268 @media (max-height: 600px) {
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
(max-height: 736px) and
(orientation: portrait
) {
327 -webkit-margin-end: 0;
333 @media (min-width: 240px) and
(max-width: 420px) and
334 (min-height: 401px) and
(max-height: 736px) and
(orientation:portrait
),
335 (min-width: 421px) and
(max-width: 736px) and
(min-height: 240px) and
336 (max-height: 420px) and
(orientation:landscape
) {
340 box-shadow: 0 -22px 40px rgb
(247, 247, 247);
350 body
.safe-browsing
.nav-wrapper
{
351 background: rgb
(206, 52, 38);
352 box-shadow: 0 -22px 40px rgb
(206, 52, 38);
355 .interstitial-wrapper {
361 padding-bottom: 40px;
365 @media (max-width: 420px) and
(max-height: 736px) and
(orientation: portrait
),
366 (max-width: 736px) and
(max-height: 420px) and
(orientation: landscape
) {
374 font-family: Roboto-Regular
,Helvetica
;
378 text-transform: uppercase
;
382 box-sizing: border-box
;
392 box-sizing: border-box
;
396 transition: opacity
250ms cubic-bezier
(0.4, 0, 0.2, 1);
400 #main-content.hidden
{
409 padding-bottom: 16px;
422 .interstitial-wrapper {
423 box-sizing: border-box
;
424 margin: 24px auto
12px;
429 .interstitial-wrapper p {
437 transition: opacity
100ms cubic-bezier
(0.4, 0, 0.2, 1);
444 .suggested-left
> #control-buttons
,
445 .suggested-right > #control-buttons {
451 @media (min-height: 400px) and
(orientation:portrait
) {
452 .interstitial-wrapper {
453 margin-bottom: 145px;
457 @media (min-height: 299px) and
(orientation:portrait
) {
459 padding-bottom: 16px;
463 @media (min-height: 405px) and
(max-height: 736px) and
464 (max-width: 420px) and
(orientation:portrait
) {
469 .interstitial-wrapper {
474 @media (min-height: 480px) and
(max-width: 420px) and
475 (max-height: 736px) and
(orientation: portrait
),
476 (min-height: 338px) and
(max-height: 420px) and
(max-width: 736px) and
477 (orientation: landscape
) {
483 padding-bottom: 24px;
487 @media (min-height: 500px) and
(max-width: 414px) and
(orientation: portrait
) {
488 .interstitial-wrapper {
494 @media (min-width: 375px) and
(min-height: 641px) and
(max-height: 736px) and
495 (max-width: 414px) and
(orientation: portrait
) {
500 padding-bottom: 12px;
504 body:not
(.offline
) .icon
{
521 .interstitial-wrapper {
525 .interstitial-wrapper p {
534 @media (min-width: 420px) and
(max-width: 736px) and
535 (min-height: 240px) and
(max-height: 298px) and
536 (orientation:landscape
) {
537 body:not
(.offline
) .icon
{
546 .interstitial-wrapper {
555 @media (min-width: 420px) and
(max-width: 736px) and
556 (min-height: 240px) and
(max-height: 420px) and
557 (orientation:landscape
) {
562 .interstitial-wrapper {
570 #extended-reporting-opt-in {
575 /* Phablet landscape */
576 @media (min-width: 680px) and
(max-height: 414px) {
577 .interstitial-wrapper {
586 @media (max-height: 240px) and
(orientation: landscape
),
587 (max-height: 480px) and
(orientation: portrait
),
588 (max-width: 419px) and
(max-height: 323px) {
589 body:not
(.offline
) .icon
{
599 /* Small mobile screens. No fixed nav. */
600 @media (max-height: 400px) and
(orientation: portrait
),
601 (max-height: 239px) and
(orientation: landscape
),
602 (max-width: 419px) and
(max-height: 399px) {
603 .interstitial-wrapper {
605 flex-direction: column
;
630 @media (max-width: 239px) and
(orientation: portrait
) {