OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
| 6 @-webkit-keyframes spinner { |
| 7 /* There are 13 animation steps, the numbers below space them evenly. Note |
| 8 * that a steps(13) declaration produces off-by-one offsets for some frames, |
| 9 * so for best results we specify positions explicity and use step-end. */ |
| 10 0% { background-position: 286px 0px; } |
| 11 7.6923076% { background-position: 264px 0px; } |
| 12 15.3846153% { background-position: 242px 0px; } |
| 13 23.0769230% { background-position: 220px 0px; } |
| 14 30.7692307% { background-position: 198px 0px; } |
| 15 38.4615384% { background-position: 176px 0px; } |
| 16 46.1538461% { background-position: 154px 0px; } |
| 17 53.8461538% { background-position: 132px 0px; } |
| 18 61.5384615% { background-position: 110px 0px; } |
| 19 69.2307692% { background-position: 88px 0px; } |
| 20 76.9230769% { background-position: 66px 0px; } |
| 21 84.6153846% { background-position: 44px 0px; } |
| 22 92.3076923% { background-position: 22px 0px; } |
| 23 100.0000000% { background-position: 0px 0px; } |
| 24 } |
| 25 |
| 26 .spinner { |
| 27 -webkit-animation: spinner 1s step-end infinite; |
| 28 background-image: url('chrome://theme/IDR_SPINNER'); |
| 29 height: 22px; |
| 30 width: 22px; |
| 31 } |
OLD | NEW |