Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.css

Issue 10503006: fix NTP after another CSS flexbox property rename (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
395 395
396 /* In trash mode, hide the menus and web store link. */ 396 /* In trash mode, hide the menus and web store link. */
397 #footer.showing-trash-mode #chrome-web-store-link, 397 #footer.showing-trash-mode #chrome-web-store-link,
398 #footer.showing-trash-mode .menu-container { 398 #footer.showing-trash-mode .menu-container {
399 -webkit-transition-delay: 0; 399 -webkit-transition-delay: 0;
400 opacity: 0; 400 opacity: 0;
401 visibility: hidden; 401 visibility: hidden;
402 } 402 }
403 403
404 #footer .menu-container { 404 #footer .menu-container {
405 -webkit-flex-align: center; 405 -webkit-align-items: center;
406 /* Put menus in a flexible box so the order can easily be swapped. */ 406 /* Put menus in a flexible box so the order can easily be swapped. */
407 display: -webkit-flex; 407 display: -webkit-flex;
408 height: 100%; 408 height: 100%;
409 margin: 0; 409 margin: 0;
410 } 410 }
411 411
412 /* Put the recently closed menu to the left when it's not visible. */ 412 /* Put the recently closed menu to the left when it's not visible. */
413 #recently-closed-menu-button.invisible { 413 #recently-closed-menu-button.invisible {
414 -webkit-flex-order: -1; 414 -webkit-flex-order: -1;
415 visibility: hidden; 415 visibility: hidden;
416 } 416 }
417 417
418 #other-sessions-menu-button.invisible { 418 #other-sessions-menu-button.invisible {
419 display: none; 419 display: none;
420 } 420 }
421 421
422 .other-sessions-promo-message { 422 .other-sessions-promo-message {
423 display: none; 423 display: none;
424 padding: 0; 424 padding: 0;
425 } 425 }
426 426
427 .other-sessions-promo-message:only-child { 427 .other-sessions-promo-message:only-child {
428 display: block; 428 display: block;
429 } 429 }
430 430
431 .other-sessions-promo-message p { 431 .other-sessions-promo-message p {
432 margin: 0; 432 margin: 0;
433 } 433 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698