Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 | 5 |
| 6 html { | 6 html { |
| 7 height: 100%; | 7 height: 100%; |
| 8 } | 8 } |
| 9 | 9 |
| 10 body { | 10 body { |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 413 display: -webkit-box; | 413 display: -webkit-box; |
| 414 } | 414 } |
| 415 | 415 |
| 416 html:not([toolkit=views]) .button-strip { | 416 html:not([toolkit=views]) .button-strip { |
| 417 -webkit-box-direction: reverse; | 417 -webkit-box-direction: reverse; |
| 418 } | 418 } |
| 419 | 419 |
| 420 .button-strip button { | 420 .button-strip button { |
| 421 display: block; | 421 display: block; |
| 422 } | 422 } |
| 423 | |
| 424 #dummy-box { | |
|
Lei Zhang
2011/12/09 01:16:56
CSS from dbeam. This would have taken me *years*.
dpapad
2011/12/12 19:26:30
Made some small changes to in order to have the "T
Lei Zhang
2011/12/13 02:25:19
Sure.
| |
| 425 -webkit-box-align: stretch; | |
| 426 -webkit-box-flex: 1; | |
| 427 -webkit-box-orient: vertical; | |
| 428 background: #ccc; | |
| 429 display: -webkit-box; | |
| 430 height: 100%; | |
| 431 margin: 0; | |
| 432 min-height: 100%; | |
| 433 min-width: 100%; | |
| 434 position: relative; | |
| 435 width: 100%; | |
| 436 } | |
| 437 | |
| 438 #dummy-page { | |
| 439 -webkit-box-flex: 1; | |
| 440 background: white; | |
| 441 box-shadow: 0 0 8px rgba(0, 0, 0, .4); | |
| 442 height: auto; | |
| 443 margin: 10px; | |
| 444 } | |
| 445 | |
| 446 #dummy-article { | |
| 447 left: 50%; | |
| 448 position: absolute; | |
| 449 top: 50%; | |
| 450 } | |
| 451 | |
| 452 #intentionally-blank { | |
| 453 color: black; | |
| 454 display: inline-block; | |
| 455 font-style: italic; | |
| 456 height: 50px; | |
| 457 left: -225px; | |
| 458 line-height: 50px; | |
| 459 position: absolute; | |
| 460 text-align: center; | |
| 461 text-decoration: none; | |
| 462 top: -25px; | |
| 463 width: 450px; | |
| 464 } | |
| OLD | NEW |