Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 /* Don't use the main frame div when the error is in a subframe. */ | 5 /* Don't use the main frame div when the error is in a subframe. */ |
| 6 html[subframe] #main-frame-error { | 6 html[subframe] #main-frame-error { |
| 7 display: none; | 7 display: none; |
| 8 } | 8 } |
| 9 | 9 |
| 10 /* Don't use the subframe error div when the error is in a main frame. */ | 10 /* Don't use the subframe error div when the error is in a main frame. */ |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 | 261 |
| 262 #sub-frame-error { | 262 #sub-frame-error { |
| 263 -webkit-align-items: center; | 263 -webkit-align-items: center; |
| 264 background-color: #DDD; | 264 background-color: #DDD; |
| 265 display: -webkit-flex; | 265 display: -webkit-flex; |
| 266 -webkit-flex-flow: column; | 266 -webkit-flex-flow: column; |
| 267 height: 100%; | 267 height: 100%; |
| 268 -webkit-justify-content: center; | 268 -webkit-justify-content: center; |
| 269 left: 0; | 269 left: 0; |
| 270 position: absolute; | 270 position: absolute; |
| 271 text-align: center; | |
|
edwardjung
2016/06/23 18:52:04
Centres the icon following the switch from an imag
| |
| 271 top: 0; | 272 top: 0; |
| 272 transition: background-color .2s ease-in-out; | 273 transition: background-color .2s ease-in-out; |
| 273 width: 100%; | 274 width: 100%; |
| 274 } | 275 } |
| 275 | 276 |
| 276 #sub-frame-error:hover { | 277 #sub-frame-error:hover { |
| 277 background-color: #EEE; | 278 background-color: #EEE; |
| 278 } | 279 } |
| 279 | 280 |
| 280 #sub-frame-error .icon-generic { | 281 #sub-frame-error .icon-generic { |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 477 overflow: inherit; | 478 overflow: inherit; |
| 478 padding: 0 8px; | 479 padding: 0 8px; |
| 479 } | 480 } |
| 480 } | 481 } |
| 481 | 482 |
| 482 @media (max-width: 120px) { | 483 @media (max-width: 120px) { |
| 483 button { | 484 button { |
| 484 width: auto; | 485 width: auto; |
| 485 } | 486 } |
| 486 } | 487 } |
| OLD | NEW |