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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 } | 327 } |
328 | 328 |
329 #buttons::after { | 329 #buttons::after { |
330 clear: both; | 330 clear: both; |
331 content: ''; | 331 content: ''; |
332 display: block; | 332 display: block; |
333 width: 100%; | 333 width: 100%; |
334 } | 334 } |
335 | 335 |
336 /* Offline page */ | 336 /* Offline page */ |
| 337 .offline { |
| 338 transition: -webkit-filter 1.5s cubic-bezier(0.65, 0.05, 0.36, 1), |
| 339 background-color 1.5s cubic-bezier(0.65, 0.05, 0.36, 1); |
| 340 will-change: -webkit-filter, background-color; |
| 341 } |
| 342 |
| 343 .offline.inverted { |
| 344 -webkit-filter: invert(100%); |
| 345 background-color: #000; |
| 346 } |
| 347 |
337 .offline .interstitial-wrapper { | 348 .offline .interstitial-wrapper { |
338 color: #2b2b2b; | 349 color: #2b2b2b; |
339 font-size: 1em; | 350 font-size: 1em; |
340 line-height: 1.55; | 351 line-height: 1.55; |
341 margin: 0 auto; | 352 margin: 0 auto; |
342 max-width: 600px; | 353 max-width: 600px; |
343 padding-top: 100px; | 354 padding-top: 100px; |
344 width: 100%; | 355 width: 100%; |
345 } | 356 } |
346 | 357 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 overflow: inherit; | 465 overflow: inherit; |
455 padding: 0 8px; | 466 padding: 0 8px; |
456 } | 467 } |
457 } | 468 } |
458 | 469 |
459 @media (max-width: 120px) { | 470 @media (max-width: 120px) { |
460 button { | 471 button { |
461 width: auto; | 472 width: auto; |
462 } | 473 } |
463 } | 474 } |
OLD | NEW |