Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 /* Don't use the main frame div when the error is in a subframe. */ | 5 /* Don't use the main frame div when the error is in a subframe. */ |
| 6 html[subframe] #main-frame-error { | 6 html[subframe] #main-frame-error { |
| 7 display: none; | 7 display: none; |
| 8 } | 8 } |
| 9 | 9 |
| 10 /* Don't use the subframe error div when the error is in a main frame. */ | 10 /* Don't use the subframe error div when the error is in a main frame. */ |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 455 | 455 |
| 456 .interstitial-wrapper { | 456 .interstitial-wrapper { |
| 457 margin-top: 5%; | 457 margin-top: 5%; |
| 458 } | 458 } |
| 459 | 459 |
| 460 .nav-wrapper { | 460 .nav-wrapper { |
| 461 margin-top: 30px; | 461 margin-top: 30px; |
| 462 } | 462 } |
| 463 } | 463 } |
| 464 | 464 |
| 465 @media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) { | |
|
mmenke
2017/07/05 18:51:28
Why are you removing this?
edwardjung
2017/07/06 19:33:19
Centre aligning the container makes more sense for
| |
| 466 .offline .interstitial-wrapper { | |
| 467 margin-left: 0; | |
| 468 margin-right: 0; | |
| 469 } | |
| 470 } | |
| 471 | |
| 472 @media (min-width: 420px) and (max-width: 736px) and | 465 @media (min-width: 420px) and (max-width: 736px) and |
| 473 (min-height: 240px) and (max-height: 420px) and | 466 (min-height: 240px) and (max-height: 420px) and |
| 474 (orientation:landscape) { | 467 (orientation:landscape) { |
| 475 .interstitial-wrapper { | 468 .interstitial-wrapper { |
| 476 margin-bottom: 100px; | 469 margin-bottom: 100px; |
| 477 } | 470 } |
| 478 } | 471 } |
| 479 | 472 |
| 480 @media (min-height: 240px) and (orientation: landscape) { | 473 @media (min-height: 240px) and (orientation: landscape) { |
| 481 .offline .interstitial-wrapper { | 474 .offline .interstitial-wrapper { |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 507 overflow: inherit; | 500 overflow: inherit; |
| 508 padding: 0 8px; | 501 padding: 0 8px; |
| 509 } | 502 } |
| 510 } | 503 } |
| 511 | 504 |
| 512 @media (max-width: 120px) { | 505 @media (max-width: 120px) { |
| 513 button { | 506 button { |
| 514 width: auto; | 507 width: auto; |
| 515 } | 508 } |
| 516 } | 509 } |
| 510 | |
| 511 .arcade-mode { | |
|
mmenke
2017/07/05 18:51:28
Is this needed? It seems like the next block appl
edwardjung
2017/07/06 19:33:19
Done.
| |
| 512 overflow: hidden; | |
| 513 } | |
| 514 | |
| 515 .arcade-mode, | |
| 516 .arcade-mode .runner-container, | |
| 517 .arcade-mode .runner-canvas { | |
| 518 max-width: 100%; | |
| 519 overflow: hidden; | |
| 520 } | |
| 521 | |
| 522 .arcade-mode #buttons, | |
| 523 .arcade-mode #main-content { | |
| 524 opacity: 0; | |
| 525 overflow: hidden; | |
|
mmenke
2017/07/05 18:51:29
I assume there's a reason we aren't just using dis
edwardjung
2017/07/06 19:33:19
With display none: you can't transition out the el
| |
| 526 } | |
| 527 | |
| 528 .arcade-mode .interstitial-wrapper { | |
| 529 height: 100vh; | |
|
mmenke
2017/07/05 18:51:29
vh? Is that a typo, or does it mean something?
edwardjung
2017/07/06 19:33:19
Not a typo, a new proportional unit referring to v
| |
| 530 max-width: 100%; | |
| 531 overflow: hidden; | |
| 532 } | |
| 533 | |
| 534 .arcade-mode .runner-container { | |
| 535 left: 0; | |
| 536 margin: auto; | |
| 537 right: 0; | |
| 538 transform-origin: top center; | |
| 539 transition: transform 250ms cubic-bezier(0.4, 0.0, 1, 1) .4s; | |
| 540 z-index: 2; | |
| 541 } | |
| OLD | NEW |