OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 html { | 5 html { |
6 /* It's necessary to put this here instead of in body in order to get the | 6 /* It's necessary to put this here instead of in body in order to get the |
7 background-size of 100% to work properly */ | 7 background-size of 100% to work properly */ |
8 height: 100%; | 8 height: 100%; |
9 overflow: hidden; | 9 overflow: hidden; |
10 } | 10 } |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 /* In trash mode, hide the menus and web store link. */ | 395 /* In trash mode, hide the menus and web store link. */ |
396 #footer.showing-trash-mode #chrome-web-store-link, | 396 #footer.showing-trash-mode #chrome-web-store-link, |
397 #footer.showing-trash-mode .menu-container { | 397 #footer.showing-trash-mode .menu-container { |
398 -webkit-transition-delay: 0; | 398 -webkit-transition-delay: 0; |
399 opacity: 0; | 399 opacity: 0; |
400 visibility: hidden; | 400 visibility: hidden; |
401 } | 401 } |
402 | 402 |
403 #footer .menu-container { | 403 #footer .menu-container { |
404 -webkit-flex-align: center; | 404 -webkit-flex-align: center; |
405 /* Put menus in a flexbox so the order can easily be swapped. */ | 405 /* Put menus in a flexible box so the order can easily be swapped. */ |
406 display: -webkit-flexbox; | 406 display: -webkit-flex; |
407 height: 100%; | 407 height: 100%; |
408 margin: 0; | 408 margin: 0; |
409 } | 409 } |
410 | 410 |
411 /* Put the recently closed menu to the left when it's not visible. */ | 411 /* Put the recently closed menu to the left when it's not visible. */ |
412 #recently-closed-menu-button.invisible { | 412 #recently-closed-menu-button.invisible { |
413 -webkit-flex-order: -1; | 413 -webkit-flex-order: -1; |
414 visibility: hidden; | 414 visibility: hidden; |
415 } | 415 } |
416 | 416 |
417 #other-sessions-menu-button.invisible { | 417 #other-sessions-menu-button.invisible { |
418 display: none; | 418 display: none; |
419 } | 419 } |
420 | 420 |
421 .other-sessions-promo-message { | 421 .other-sessions-promo-message { |
422 display: none; | 422 display: none; |
423 padding: 0; | 423 padding: 0; |
424 } | 424 } |
425 | 425 |
426 .other-sessions-promo-message:only-child { | 426 .other-sessions-promo-message:only-child { |
427 display: block; | 427 display: block; |
428 } | 428 } |
429 | 429 |
430 .other-sessions-promo-message p { | 430 .other-sessions-promo-message p { |
431 margin: 0; | 431 margin: 0; |
432 } | 432 } |
OLD | NEW |