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

Side by Side Diff: chrome/browser/resources/md_downloads/manager.css

Issue 1304873008: MD downloads: fix flicker of no downloads message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« 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 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 :host { 5 :host {
6 @apply(--downloads-shared-style); 6 @apply(--downloads-shared-style);
7 display: flex; 7 display: flex;
8 flex: 1 0; 8 flex: 1 0;
9 flex-direction: column; 9 flex-direction: column;
10 height: 100%; 10 height: 100%;
(...skipping 15 matching lines...) Expand all
26 * https://github.com/PolymerElements/paper-header-panel/pull/39 */ 26 * https://github.com/PolymerElements/paper-header-panel/pull/39 */
27 #panel /deep/ #dropShadow { 27 #panel /deep/ #dropShadow {
28 display: none; 28 display: none;
29 } 29 }
30 30
31 #no-downloads, 31 #no-downloads,
32 #downloads-list { 32 #downloads-list {
33 flex: 1; 33 flex: 1;
34 } 34 }
35 35
36 .loading :-webkit-any(#no-downloads, #downloads-list) { 36 .loading #no-downloads,
37 .loading #downloads-list {
37 display: none; 38 display: none;
38 } 39 }
39 40
40 #no-downloads { 41 #no-downloads {
41 align-items: center; 42 align-items: center;
42 color: #b4b4b4; 43 color: #b4b4b4;
43 display: flex; 44 display: flex;
44 font-size: 123.1%; 45 font-size: 123.1%;
45 font-weight: 500; 46 font-weight: 500;
46 justify-content: center; 47 justify-content: center;
47 } 48 }
48 49
49 #no-downloads .illustration { 50 #no-downloads .illustration {
50 content: -webkit-image-set(url(1x/no_downloads.png) 1x, 51 content: -webkit-image-set(url(1x/no_downloads.png) 1x,
51 url(2x/no_downloads.png) 2x); 52 url(2x/no_downloads.png) 2x);
52 margin-bottom: 32px; 53 margin-bottom: 32px;
53 } 54 }
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