| 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 body { | 5 body { |
| 6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
| 7 background: none transparent; | 7 background: none transparent; |
| 8 color: #323232; | 8 color: #323232; |
| 9 margin: 0; | 9 margin: 0; |
| 10 overflow: hidden; | 10 overflow: hidden; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 cursor: pointer; | 144 cursor: pointer; |
| 145 display: block; | 145 display: block; |
| 146 height: 94px; | 146 height: 94px; |
| 147 left: 3px; | 147 left: 3px; |
| 148 overflow: hidden; | 148 overflow: hidden; |
| 149 position: absolute; | 149 position: absolute; |
| 150 top: 31px; | 150 top: 31px; |
| 151 width: 148px; | 151 width: 148px; |
| 152 } | 152 } |
| 153 | 153 |
| 154 .mv-thumb img { | 154 .mv-thumb img.thumbnail { |
| 155 height: auto; | 155 height: auto; |
| 156 min-height: 100%; | 156 min-height: 100%; |
| 157 width: 100%; | 157 width: 100%; |
| 158 } | 158 } |
| 159 | 159 |
| 160 .mv-thumb.failed-img { | 160 .mv-thumb img.large-icon { |
| 161 height: 48px; |
| 162 left: 50%; |
| 163 margin-left: -24px; |
| 164 margin-top: -24px; |
| 165 position: absolute; |
| 166 top: 50%; |
| 167 width: 48px; |
| 168 } |
| 169 |
| 170 .mv-thumb.failed-img, |
| 171 .mv-thumb.large-icon-outer { |
| 161 background-color: #fff; | 172 background-color: #fff; |
| 162 height: 94px; | 173 height: 94px; |
| 163 width: 148px; | 174 width: 148px; |
| 164 } | 175 } |
| 165 | 176 |
| 166 /* | 177 /* |
| 167 We use ::after without content to provide an aditional element on top of | 178 We use ::after without content to provide an aditional element on top of |
| 168 the thumbnail. | 179 the thumbnail. |
| 169 */ | 180 */ |
| 170 .mv-thumb.failed-img::after { | 181 .mv-thumb.failed-img::after { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 background-image: -webkit-image-set( | 264 background-image: -webkit-image-set( |
| 254 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x, | 265 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x, |
| 255 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x); | 266 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x); |
| 256 background-repeat: no-repeat; | 267 background-repeat: no-repeat; |
| 257 background-size: 16px 16px; | 268 background-size: 16px 16px; |
| 258 } | 269 } |
| 259 | 270 |
| 260 .mv-favicon.failed-favicon img { | 271 .mv-favicon.failed-favicon img { |
| 261 display: none; | 272 display: none; |
| 262 } | 273 } |
| OLD | NEW |