Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
82
gaia/tv_apps/fling-player/bower_components/gaia-loading/gaia-loading.js
vendored
Executable file
82
gaia/tv_apps/fling-player/bower_components/gaia-loading/gaia-loading.js
vendored
Executable file
|
|
@ -0,0 +1,82 @@
|
|||
;(function(define){define(function(require,exports,module){
|
||||
/*jshint esnext:true*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Dependencies
|
||||
*/
|
||||
|
||||
var component = require('gaia-component');
|
||||
|
||||
/**
|
||||
* Exports
|
||||
*/
|
||||
|
||||
module.exports = component.register('gaia-loading', {
|
||||
created: function() {
|
||||
this.setupShadowRoot();
|
||||
},
|
||||
|
||||
template: `
|
||||
<div class="circle circle-1"></div>
|
||||
<div class="circle circle-2"></div>
|
||||
|
||||
<style>
|
||||
|
||||
/** Host
|
||||
---------------------------------------------------------*/
|
||||
|
||||
:host {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: var(--base-l, 24px) auto;
|
||||
}
|
||||
|
||||
/** Circle
|
||||
---------------------------------------------------------*/
|
||||
|
||||
.circle {
|
||||
position: absolute;
|
||||
top: 0; left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
|
||||
animation-name: gaia-loading-animation;
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: cubic-bezier(0,.64,.46,.46);
|
||||
animation-duration: 2000ms;
|
||||
|
||||
background:
|
||||
var(--highlight-color);
|
||||
}
|
||||
|
||||
.circle-2 {
|
||||
animation-delay: 395ms;
|
||||
}
|
||||
|
||||
</style>`,
|
||||
|
||||
globalCss: `
|
||||
@keyframes gaia-loading-animation {
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 0.9;
|
||||
}
|
||||
40% {
|
||||
transform: scale(1.4);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: scale(2);
|
||||
opacity: 0;
|
||||
}
|
||||
}`
|
||||
});
|
||||
|
||||
});})(typeof define=='function'&&define.amd?define
|
||||
:(function(n,w){'use strict';return typeof module=='object'?function(c){
|
||||
c(require,exports,module);}:function(c){var m={exports:{}};c(function(n){
|
||||
return w[n];},m.exports,m);w[n]=m.exports;};})('gaia-loading',this));
|
||||
Loading…
Reference in a new issue