OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |