Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | %filter substitution |
michael@0 | 6 | %include defines.inc |
michael@0 | 7 | |
michael@0 | 8 | #container[enabled] .progressBall { |
michael@0 | 9 | position: absolute; |
michael@0 | 10 | opacity: 0; |
michael@0 | 11 | transform: rotate(225deg); |
michael@0 | 12 | animation: orbit 7.15s infinite; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | #container[enabled] .progressBall:nth-child(1) { |
michael@0 | 16 | animation-delay: 1.56s; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | #container[enabled] .progressBall:nth-child(2) { |
michael@0 | 20 | animation-delay: 0.31s; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | #container[enabled] .progressBall:nth-child(3) { |
michael@0 | 24 | animation-delay: 0.62s; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | #container[enabled] .progressBall:nth-child(4) { |
michael@0 | 28 | animation-delay: 0.94s; |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | #container[enabled] .progressBall:nth-child(5) { |
michael@0 | 32 | animation-delay: 1.25s; |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | #container[enabled] .progressBall:nth-child(1)::after, |
michael@0 | 36 | #container[enabled] .progressBall:nth-child(2)::after, |
michael@0 | 37 | #container[enabled] .progressBall:nth-child(3)::after, |
michael@0 | 38 | #container[enabled] .progressBall:nth-child(4)::after, |
michael@0 | 39 | #container[enabled] .progressBall:nth-child(5)::after { |
michael@0 | 40 | content: ""; |
michael@0 | 41 | display: block; |
michael@0 | 42 | width: 5px; |
michael@0 | 43 | height: 5px; |
michael@0 | 44 | border-radius: 5px; |
michael@0 | 45 | position: absolute; |
michael@0 | 46 | background: #0095dd; |
michael@0 | 47 | left: 0; |
michael@0 | 48 | top: 0; |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | |
michael@0 | 52 | @keyframes orbit { |
michael@0 | 53 | 0% { |
michael@0 | 54 | opacity: 1; |
michael@0 | 55 | z-index: 99; |
michael@0 | 56 | transform: rotate(180deg); |
michael@0 | 57 | animation-timing-function: ease-out; |
michael@0 | 58 | } |
michael@0 | 59 | |
michael@0 | 60 | 7% { |
michael@0 | 61 | opacity: 1; |
michael@0 | 62 | transform: rotate(300deg); |
michael@0 | 63 | animation-timing-function: linear; |
michael@0 | 64 | } |
michael@0 | 65 | |
michael@0 | 66 | 30% { |
michael@0 | 67 | opacity: 1; |
michael@0 | 68 | transform: rotate(410deg); |
michael@0 | 69 | animation-timing-function: ease-in-out; |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | 39% { |
michael@0 | 73 | opacity: 1; |
michael@0 | 74 | transform: rotate(645deg); |
michael@0 | 75 | animation-timing-function: linear; |
michael@0 | 76 | } |
michael@0 | 77 | |
michael@0 | 78 | 70% { |
michael@0 | 79 | opacity: 1; |
michael@0 | 80 | transform: rotate(770deg); |
michael@0 | 81 | animation-timing-function: ease-out; |
michael@0 | 82 | } |
michael@0 | 83 | |
michael@0 | 84 | 75% { |
michael@0 | 85 | opacity: 1; |
michael@0 | 86 | transform: rotate(900deg); |
michael@0 | 87 | animation-timing-function: ease-out; |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | 76%, 100% { |
michael@0 | 91 | opacity: 0; |
michael@0 | 92 | transform: rotate(900deg); |
michael@0 | 93 | } |
michael@0 | 94 | } |