Chromium Code Reviews| 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 margin: 32px 0; | 8 margin: 32px 0; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 padding: 16px 16px 12px 16px; | 52 padding: 16px 16px 12px 16px; |
| 53 } | 53 } |
| 54 | 54 |
| 55 .icon-wrapper { | 55 .icon-wrapper { |
| 56 align-self: center; | 56 align-self: center; |
| 57 flex: none; | 57 flex: none; |
| 58 justify-content: center; | 58 justify-content: center; |
| 59 margin: 0 32px; | 59 margin: 0 32px; |
| 60 } | 60 } |
| 61 | 61 |
| 62 #icon { | 62 #icon, |
| 63 .warning { | |
|
groby-ooo-7-16
2015/08/04 00:56:05
Am I crazy or should icon be a class and warning b
Dan Beam
2015/08/04 01:11:20
Done.
| |
| 63 height: 32px; | 64 height: 32px; |
| 64 width: 32px; | 65 width: 32px; |
| 65 } | 66 } |
| 66 | 67 |
| 68 .warning { | |
| 69 -webkit-mask-image: url(../../../../ui/webui/resources/images/warning.svg); | |
| 70 -webkit-mask-repeat: no-repeat; | |
|
groby-ooo-7-16
2015/08/04 00:56:05
I can't believe CSS masking is still prefixed... O
Dan Beam
2015/08/04 01:11:20
Acknowledged.
| |
| 71 -webkit-mask-size: 100%; | |
| 72 background: rgb(217, 84, 61); | |
| 73 } | |
| 74 | |
| 67 #name, | 75 #name, |
| 68 #file-link, | 76 #file-link, |
| 69 #url { | 77 #url { |
| 70 max-width: 100%; | 78 max-width: 100%; |
| 71 } | 79 } |
| 72 | 80 |
| 73 #name, | 81 #name, |
| 74 #file-link { | 82 #file-link { |
| 75 word-break: break-all; | 83 word-break: break-all; |
| 76 } | 84 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 174 #content { | 182 #content { |
| 175 margin: 0 auto; | 183 margin: 0 auto; |
| 176 } | 184 } |
| 177 | 185 |
| 178 #date-container { | 186 #date-container { |
| 179 flex: none !important; | 187 flex: none !important; |
| 180 margin: 0 auto 32px; | 188 margin: 0 auto 32px; |
| 181 width: var(--downloads-item-width); | 189 width: var(--downloads-item-width); |
| 182 } | 190 } |
| 183 } | 191 } |
| OLD | NEW |