| 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 display: flex; | 6 display: flex; |
| 7 flex: 1 0; | 7 flex: 1 0; |
| 8 flex-direction: column; | 8 flex-direction: column; |
| 9 height: 100%; | 9 height: 100%; |
| 10 overflow-y: overlay; | 10 overflow-y: overlay; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 display: none; | 26 display: none; |
| 27 } | 27 } |
| 28 | 28 |
| 29 #no-downloads { | 29 #no-downloads { |
| 30 align-items: center; | 30 align-items: center; |
| 31 color: #b4b4b4; | 31 color: #b4b4b4; |
| 32 display: flex; | 32 display: flex; |
| 33 font-size: 123.1%; | 33 font-size: 123.1%; |
| 34 font-weight: 500; | 34 font-weight: 500; |
| 35 justify-content: center; | 35 justify-content: center; |
| 36 /* To avoid overlapping with the header, we need this min-height |
| 37 * until bug 596743 is fixed. */ |
| 38 min-height: min-content; |
| 36 } | 39 } |
| 37 | 40 |
| 38 #no-downloads .illustration { | 41 #no-downloads .illustration { |
| 39 background: -webkit-image-set( | 42 background: -webkit-image-set( |
| 40 url(chrome://downloads/1x/no_downloads.png) 1x, | 43 url(chrome://downloads/1x/no_downloads.png) 1x, |
| 41 url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center; | 44 url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center; |
| 42 height: 144px; /* Matches natural image height. */ | 45 height: 144px; /* Matches natural image height. */ |
| 43 margin-bottom: 32px; | 46 margin-bottom: 32px; |
| 44 } | 47 } |
| OLD | NEW |