| 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-direction: column; | 7 flex-direction: column; |
| 8 } | 8 } |
| 9 | 9 |
| 10 #date { | 10 #date { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 position: relative; | 29 position: relative; |
| 30 width: var(--downloads-item-width); | 30 width: var(--downloads-item-width); |
| 31 } | 31 } |
| 32 | 32 |
| 33 #content.is-active { | 33 #content.is-active { |
| 34 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05), 0 1px 4px 0 rgba(0, 0, 0, .08), | 34 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05), 0 1px 4px 0 rgba(0, 0, 0, .08), |
| 35 0 3px 1px -2px rgba(0, 0, 0, .2); | 35 0 3px 1px -2px rgba(0, 0, 0, .2); |
| 36 } | 36 } |
| 37 | 37 |
| 38 #content:not(.is-active) { | 38 #content:not(.is-active) { |
| 39 opacity: .6; | 39 background: rgba(255, 255, 255, .6); |
| 40 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .03), 0 1px 4px 0 rgba(0, 0, 0, .048), |
| 41 0 3px 1px -2px rgba(0, 0, 0, .12); |
| 40 } | 42 } |
| 41 | 43 |
| 42 #details { | 44 #details { |
| 43 -webkit-border-start: 1px #d8d8d8 solid; | 45 -webkit-border-start: 1px #d8d8d8 solid; |
| 44 -webkit-padding-end: 16px; | 46 -webkit-padding-end: 16px; |
| 45 -webkit-padding-start: 24px; | 47 -webkit-padding-start: 24px; |
| 46 display: flex; | 48 display: flex; |
| 47 flex: 1; | 49 flex: 1; |
| 48 flex-direction: column; | 50 flex-direction: column; |
| 49 min-width: 0; /* This allows #url to ellide correctly. */ | 51 min-width: 0; /* This allows #url to ellide correctly. */ |
| 50 padding-bottom: 12px; | 52 padding-bottom: 12px; |
| 51 padding-top: 16px; | 53 padding-top: 16px; |
| 52 } | 54 } |
| 53 | 55 |
| 54 #content:not(.is-active) #details { | 56 #content:not(.is-active) #details { |
| 55 color: #bababa; | 57 color: rgba(186, 186, 186, .6); |
| 56 } | 58 } |
| 57 | 59 |
| 58 #content:not(.is-active) #name { | 60 #content:not(.is-active) #name { |
| 59 text-decoration: line-through; | 61 text-decoration: line-through; |
| 60 } | 62 } |
| 61 | 63 |
| 62 .icon-wrapper { | 64 .icon-wrapper { |
| 63 align-self: center; | 65 align-self: center; |
| 64 flex: none; | 66 flex: none; |
| 65 justify-content: center; | 67 justify-content: center; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 #name, | 106 #name, |
| 105 #file-link { | 107 #file-link { |
| 106 font-weight: 500; | 108 font-weight: 500; |
| 107 word-break: break-all; | 109 word-break: break-all; |
| 108 } | 110 } |
| 109 | 111 |
| 110 #name { | 112 #name { |
| 111 -webkit-margin-end: 12px; /* Only really affects #tag. */ | 113 -webkit-margin-end: 12px; /* Only really affects #tag. */ |
| 112 } | 114 } |
| 113 | 115 |
| 114 .is-active :-webkit-any(#name, #file-link, #pause, #resume, #show) { | 116 #resume, |
| 117 .is-active :-webkit-any(#name, #file-link, #pause, #show) { |
| 115 color: rgb(51, 103, 214); | 118 color: rgb(51, 103, 214); |
| 116 } | 119 } |
| 117 | 120 |
| 118 #tag { | 121 #tag { |
| 119 color: #5a5a5a; | 122 color: #5a5a5a; |
| 120 font-weight: 500; | 123 font-weight: 500; |
| 121 } | 124 } |
| 122 | 125 |
| 123 #url { | 126 #url { |
| 124 color: inherit; | 127 color: inherit; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 } | 204 } |
| 202 | 205 |
| 203 #incognito { | 206 #incognito { |
| 204 bottom: 20px; | 207 bottom: 20px; |
| 205 content: -webkit-image-set( | 208 content: -webkit-image-set( |
| 206 url(chrome://downloads/1x/incognito_marker.png) 1x, | 209 url(chrome://downloads/1x/incognito_marker.png) 1x, |
| 207 url(chrome://downloads/2x/incognito_marker.png) 2x); | 210 url(chrome://downloads/2x/incognito_marker.png) 2x); |
| 208 position: absolute; | 211 position: absolute; |
| 209 right: 10px; | 212 right: 10px; |
| 210 } | 213 } |
| OLD | NEW |