| OLD | NEW |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. */ | 3 found in the LICENSE file. */ |
| 4 | 4 |
| 5 a { | 5 a { |
| 6 color: #585858; | 6 color: #585858; |
| 7 } | 7 } |
| 8 | 8 |
| 9 .bad-clock .icon { | 9 .bad-clock .icon { |
| 10 background-image: -webkit-image-set( | 10 background-image: -webkit-image-set( |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 .safe-browsing button:hover { | 177 .safe-browsing button:hover { |
| 178 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); | 178 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); |
| 179 } | 179 } |
| 180 | 180 |
| 181 .safe-browsing .icon { | 181 .safe-browsing .icon { |
| 182 background-image: -webkit-image-set( | 182 background-image: -webkit-image-set( |
| 183 url(images/1x/stop_sign.png) 1x, | 183 url(images/1x/stop_sign.png) 1x, |
| 184 url(images/2x/stop_sign.png) 2x); | 184 url(images/2x/stop_sign.png) 2x); |
| 185 } | 185 } |
| 186 | 186 |
| 187 .secondary-button { |
| 188 -webkit-margin-end: 16px; |
| 189 background: #d9d9d9; |
| 190 color: #696969; |
| 191 } |
| 192 |
| 187 .small-link { | 193 .small-link { |
| 188 color: #696969; | 194 color: #696969; |
| 189 font-size: .875em; | 195 font-size: .875em; |
| 190 } | 196 } |
| 191 | 197 |
| 192 .ssl .icon { | 198 .ssl .icon { |
| 193 background-image: -webkit-image-set( | 199 background-image: -webkit-image-set( |
| 194 url(images/1x/brokenssl_red.png) 1x, | 200 url(images/1x/brokenssl_red.png) 1x, |
| 195 url(images/2x/brokenssl_red.png) 2x); | 201 url(images/2x/brokenssl_red.png) 2x); |
| 196 } | 202 } |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 * Mobile specific styling. | 304 * Mobile specific styling. |
| 299 * Navigation buttons are anchored to the bottom of the screen. | 305 * Navigation buttons are anchored to the bottom of the screen. |
| 300 * Details message replaces the top content in its own scrollable area. | 306 * Details message replaces the top content in its own scrollable area. |
| 301 */ | 307 */ |
| 302 | 308 |
| 303 @media (max-width: 420px) and (orientation: portrait) { | 309 @media (max-width: 420px) and (orientation: portrait) { |
| 304 #details-button { | 310 #details-button { |
| 305 border: 0; | 311 border: 0; |
| 306 margin: 20px 0 0; | 312 margin: 20px 0 0; |
| 307 } | 313 } |
| 314 |
| 315 .secondary-button { |
| 316 -webkit-margin-end: 0; |
| 317 margin-top: 16px; |
| 318 } |
| 308 } | 319 } |
| 309 | 320 |
| 310 /* Fixed nav. */ | 321 /* Fixed nav. */ |
| 311 @media (min-width: 300px) and (max-width: 420px) and | 322 @media (min-width: 300px) and (max-width: 420px) and |
| 312 (min-height: 400px) and (orientation:portrait), | 323 (min-height: 400px) and (orientation:portrait), |
| 313 (min-width: 421px) and (max-width: 736px) and (min-height: 240px) and | 324 (min-width: 421px) and (max-width: 736px) and (min-height: 240px) and |
| 314 (max-height: 420px) and (orientation:landscape) { | 325 (max-height: 420px) and (orientation:landscape) { |
| 315 | 326 |
| 316 body:not(.offline) .nav-wrapper { | 327 body .nav-wrapper { |
| 317 background: #f7f7f7; | 328 background: #f7f7f7; |
| 318 bottom: 0; | 329 bottom: 0; |
| 319 left: 0; | 330 left: 0; |
| 320 position: fixed; | 331 position: fixed; |
| 321 z-index: 1; | 332 z-index: 1; |
| 322 } | 333 } |
| 323 | 334 |
| 324 body.safe-browsing .nav-wrapper { | 335 body.safe-browsing .nav-wrapper { |
| 325 background: rgb(206, 52, 38); | 336 background: rgb(206, 52, 38); |
| 326 } | 337 } |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 } | 412 } |
| 402 | 413 |
| 403 .suggested-left > #control-buttons, | 414 .suggested-left > #control-buttons, |
| 404 .suggested-right > #control-buttons { | 415 .suggested-right > #control-buttons { |
| 405 float: none; | 416 float: none; |
| 406 margin: 0; | 417 margin: 0; |
| 407 } | 418 } |
| 408 } | 419 } |
| 409 | 420 |
| 410 @media (min-height: 400px) and (orientation:portrait) { | 421 @media (min-height: 400px) and (orientation:portrait) { |
| 411 body:not(.safe-browsing-has-checkbox):not(.offline) .interstitial-wrapper { | 422 body:not(.safe-browsing-has-checkbox) .interstitial-wrapper { |
| 412 margin-bottom: 145px; | 423 margin-bottom: 145px; |
| 413 } | 424 } |
| 414 } | 425 } |
| 415 | 426 |
| 416 @media (min-height: 299px) and (orientation:portrait) { | 427 @media (min-height: 299px) and (orientation:portrait) { |
| 417 .nav-wrapper { | 428 .nav-wrapper { |
| 418 padding-bottom: 16px; | 429 padding-bottom: 16px; |
| 419 } | 430 } |
| 420 } | 431 } |
| 421 | 432 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 450 /* Phablet sizing */ | 461 /* Phablet sizing */ |
| 451 @media (min-width: 375px) and (min-height: 641px) and | 462 @media (min-width: 375px) and (min-height: 641px) and |
| 452 (max-width: 414px) and (orientation: portrait) { | 463 (max-width: 414px) and (orientation: portrait) { |
| 453 button, | 464 button, |
| 454 [dir='rtl'] button, | 465 [dir='rtl'] button, |
| 455 .small-link { | 466 .small-link { |
| 456 font-size: 1em; | 467 font-size: 1em; |
| 457 height: 40px; | 468 height: 40px; |
| 458 } | 469 } |
| 459 | 470 |
| 460 body:not(.neterror) .icon { | 471 body:not(.offline) .icon { |
| 461 height: 80px; | 472 height: 80px; |
| 462 width: 80px; | 473 width: 80px; |
| 463 } | 474 } |
| 464 | 475 |
| 465 #details-button { | 476 #details-button { |
| 466 margin-top: 28px; | 477 margin-top: 28px; |
| 467 } | 478 } |
| 468 | 479 |
| 469 h1 { | 480 h1 { |
| 470 font-size: 1.7em; | 481 font-size: 1.7em; |
| 471 } | 482 } |
| 472 | 483 |
| 473 .icon { | 484 .icon { |
| 474 margin-bottom: 28px; | 485 margin-bottom: 28px; |
| 475 } | 486 } |
| 476 | 487 |
| 477 .interstitial-wrapper { | 488 .interstitial-wrapper { |
| 478 padding: 28px; | 489 padding: 28px; |
| 479 } | 490 } |
| 480 | 491 |
| 481 .interstitial-wrapper p { | 492 .interstitial-wrapper p { |
| 482 font-size: 1.05em; | 493 font-size: 1.05em; |
| 483 } | 494 } |
| 484 | 495 |
| 485 .nav-wrapper { | 496 .nav-wrapper { |
| 486 padding: 28px; | 497 padding: 28px; |
| 487 } | 498 } |
| 488 | |
| 489 .neterror .icon { | |
| 490 height: 80px; | |
| 491 width: 65.6px; | |
| 492 } | |
| 493 } | 499 } |
| 494 | 500 |
| 495 @media (min-width: 420px) and (max-width: 736px) and | 501 @media (min-width: 420px) and (max-width: 736px) and |
| 496 (min-height: 240px) and (max-height: 298px) and | 502 (min-height: 240px) and (max-height: 298px) and |
| 497 (orientation:landscape) { | 503 (orientation:landscape) { |
| 498 body:not(.neterror) .icon { | 504 body:not(.offline) .icon { |
| 499 height: 50px; | 505 height: 50px; |
| 500 width: 50px; | 506 width: 50px; |
| 501 } | 507 } |
| 502 | 508 |
| 503 .icon { | 509 .icon { |
| 504 padding-top: 0; | 510 padding-top: 0; |
| 505 } | 511 } |
| 506 | 512 |
| 507 .interstitial-wrapper { | 513 .interstitial-wrapper { |
| 508 margin-top: 16px; | 514 margin-top: 16px; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 562 |
| 557 #details-button { | 563 #details-button { |
| 558 height: 32px; | 564 height: 32px; |
| 559 margin: 8px 0; | 565 margin: 8px 0; |
| 560 } | 566 } |
| 561 } | 567 } |
| 562 | 568 |
| 563 @media (max-height: 240px) and (orientation: landscape), | 569 @media (max-height: 240px) and (orientation: landscape), |
| 564 (max-height: 480px) and (orientation: portrait), | 570 (max-height: 480px) and (orientation: portrait), |
| 565 (max-width: 419px) and (max-height: 323px) { | 571 (max-width: 419px) and (max-height: 323px) { |
| 566 body:not(.neterror) .icon { | 572 body:not(.offline) .icon { |
| 567 height: 56px; | 573 height: 56px; |
| 568 width: 56px; | 574 width: 56px; |
| 569 } | 575 } |
| 570 | 576 |
| 571 .icon { | 577 .icon { |
| 572 margin-bottom: 16px; | 578 margin-bottom: 16px; |
| 573 } | 579 } |
| 574 } | 580 } |
| 575 | 581 |
| 576 /* Small mobile screens. No fixed nav. */ | 582 /* Small mobile screens. No fixed nav. */ |
| 577 @media (max-height: 400px) and (orientation: portrait), | 583 @media (max-height: 400px) and (orientation: portrait), |
| 578 (max-height: 240px) and (orientation: landscape) { | 584 (max-height: 240px) and (orientation: landscape), |
| 585 (max-width: 419px) and (max-height: 360px) { |
| 579 .interstitial-wrapper { | 586 .interstitial-wrapper { |
| 580 display: flex; | 587 display: flex; |
| 581 flex-direction: column; | 588 flex-direction: column; |
| 582 margin-bottom: 0; | 589 margin-bottom: 0; |
| 583 } | 590 } |
| 584 | 591 |
| 585 #details { | 592 #details { |
| 586 flex: 1 1 auto; | 593 flex: 1 1 auto; |
| 587 order: 0; | 594 order: 0; |
| 588 } | 595 } |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 | 634 |
| 628 body.safe-browsing-has-checkbox .nav-wrapper { | 635 body.safe-browsing-has-checkbox .nav-wrapper { |
| 629 flex: 0 1 auto; | 636 flex: 0 1 auto; |
| 630 margin-top: 0; | 637 margin-top: 0; |
| 631 order: 1; | 638 order: 1; |
| 632 padding-left: 0; | 639 padding-left: 0; |
| 633 padding-right: 0; | 640 padding-right: 0; |
| 634 position: relative; | 641 position: relative; |
| 635 } | 642 } |
| 636 } | 643 } |
| OLD | NEW |