1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update loading

This commit is contained in:
Luke Pulverenti 2016-08-04 00:39:19 -04:00
parent f7f42a9777
commit 5516424502
22 changed files with 739 additions and 145 deletions

View file

@ -0,0 +1,522 @@
.mdl-spinner {
display: inline-block;
position: relative;
width: 28px;
height: 28px;
}
.mdl-spinner.is-active {
-webkit-animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite;
animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite;
}
@-webkit-keyframes mdl-spinner__container-rotate {
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes mdl-spinner__container-rotate {
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.mdl-spinner__layer {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
}
.mdl-spinner__layer-1 {
border-color: rgb(66,165,245);
}
.mdl-spinner--single-color .mdl-spinner__layer-1 {
border-color: rgb(63,81,181);
}
.mdl-spinner.is-active .mdl-spinner__layer-1 {
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.mdl-spinner__layer-2 {
border-color: rgb(244,67,54);
}
.mdl-spinner--single-color .mdl-spinner__layer-2 {
border-color: rgb(63,81,181);
}
.mdl-spinner.is-active .mdl-spinner__layer-2 {
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.mdl-spinner__layer-3 {
border-color: rgb(253,216,53);
}
.mdl-spinner--single-color .mdl-spinner__layer-3 {
border-color: rgb(63,81,181);
}
.mdl-spinner.is-active .mdl-spinner__layer-3 {
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.mdl-spinner__layer-4 {
border-color: rgb(76,175,80);
}
.mdl-spinner--single-color .mdl-spinner__layer-4 {
border-color: rgb(63,81,181);
}
.mdl-spinner.is-active .mdl-spinner__layer-4 {
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
@-webkit-keyframes mdl-spinner__fill-unfill-rotate {
12.5% {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
25% {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
37.5% {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
50% {
-webkit-transform: rotate(540deg);
transform: rotate(540deg);
}
62.5% {
-webkit-transform: rotate(675deg);
transform: rotate(675deg);
}
75% {
-webkit-transform: rotate(810deg);
transform: rotate(810deg);
}
87.5% {
-webkit-transform: rotate(945deg);
transform: rotate(945deg);
}
to {
-webkit-transform: rotate(1080deg);
transform: rotate(1080deg);
}
}
@keyframes mdl-spinner__fill-unfill-rotate {
12.5% {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
25% {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
37.5% {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
50% {
-webkit-transform: rotate(540deg);
transform: rotate(540deg);
}
62.5% {
-webkit-transform: rotate(675deg);
transform: rotate(675deg);
}
75% {
-webkit-transform: rotate(810deg);
transform: rotate(810deg);
}
87.5% {
-webkit-transform: rotate(945deg);
transform: rotate(945deg);
}
to {
-webkit-transform: rotate(1080deg);
transform: rotate(1080deg);
}
}
/**
* HACK: Even though the intention is to have the current .mdl-spinner__layer-N
* at `opacity: 1`, we set it to `opacity: 0.99` instead since this forces Chrome
* to do proper subpixel rendering for the elements being animated. This is
* especially visible in Chrome 39 on Ubuntu 14.04. See:
*
* - https://github.com/Polymer/paper-spinner/issues/9
* - https://code.google.com/p/chromium/issues/detail?id=436255
*/
@-webkit-keyframes mdl-spinner__layer-1-fade-in-out {
from {
opacity: 0.99;
}
25% {
opacity: 0.99;
}
26% {
opacity: 0;
}
89% {
opacity: 0;
}
90% {
opacity: 0.99;
}
100% {
opacity: 0.99;
}
}
@keyframes mdl-spinner__layer-1-fade-in-out {
from {
opacity: 0.99;
}
25% {
opacity: 0.99;
}
26% {
opacity: 0;
}
89% {
opacity: 0;
}
90% {
opacity: 0.99;
}
100% {
opacity: 0.99;
}
}
@-webkit-keyframes mdl-spinner__layer-2-fade-in-out {
from {
opacity: 0;
}
15% {
opacity: 0;
}
25% {
opacity: 0.99;
}
50% {
opacity: 0.99;
}
51% {
opacity: 0;
}
}
@keyframes mdl-spinner__layer-2-fade-in-out {
from {
opacity: 0;
}
15% {
opacity: 0;
}
25% {
opacity: 0.99;
}
50% {
opacity: 0.99;
}
51% {
opacity: 0;
}
}
@-webkit-keyframes mdl-spinner__layer-3-fade-in-out {
from {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 0.99;
}
75% {
opacity: 0.99;
}
76% {
opacity: 0;
}
}
@keyframes mdl-spinner__layer-3-fade-in-out {
from {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 0.99;
}
75% {
opacity: 0.99;
}
76% {
opacity: 0;
}
}
@-webkit-keyframes mdl-spinner__layer-4-fade-in-out {
from {
opacity: 0;
}
65% {
opacity: 0;
}
75% {
opacity: 0.99;
}
90% {
opacity: 0.99;
}
100% {
opacity: 0;
}
}
@keyframes mdl-spinner__layer-4-fade-in-out {
from {
opacity: 0;
}
65% {
opacity: 0;
}
75% {
opacity: 0.99;
}
90% {
opacity: 0.99;
}
100% {
opacity: 0;
}
}
/**
* Patch the gap that appear between the two adjacent
* div.mdl-spinner__circle-clipper while the spinner is rotating
* (appears on Chrome 38, Safari 7.1, and IE 11).
*
* Update: the gap no longer appears on Chrome when .mdl-spinner__layer-N's
* opacity is 0.99, but still does on Safari and IE.
*/
.mdl-spinner__gap-patch {
position: absolute;
box-sizing: border-box;
top: 0;
left: 45%;
width: 10%;
height: 100%;
overflow: hidden;
border-color: inherit;
}
.mdl-spinner__gap-patch .mdl-spinner__circle {
width: 1000%;
left: -450%;
}
.mdl-spinner__circle-clipper {
display: inline-block;
position: relative;
width: 50%;
height: 100%;
overflow: hidden;
border-color: inherit;
}
.mdl-spinner__circle-clipper .mdl-spinner__circle {
width: 200%;
}
.mdl-spinner__circle {
box-sizing: border-box;
height: 100%;
border-width: 3px;
border-style: solid;
border-color: inherit;
border-bottom-color: transparent !important;
border-radius: 50%;
-webkit-animation: none;
animation: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.mdl-spinner__left .mdl-spinner__circle {
border-right-color: transparent !important;
-webkit-transform: rotate(129deg);
transform: rotate(129deg);
}
.mdl-spinner.is-active .mdl-spinner__left .mdl-spinner__circle {
-webkit-animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.mdl-spinner__right .mdl-spinner__circle {
left: -100%;
border-left-color: transparent !important;
-webkit-transform: rotate(-129deg);
transform: rotate(-129deg);
}
.mdl-spinner.is-active .mdl-spinner__right .mdl-spinner__circle {
-webkit-animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
@-webkit-keyframes mdl-spinner__left-spin {
from {
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
50% {
-webkit-transform: rotate(-5deg);
transform: rotate(-5deg);
}
to {
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
}
@keyframes mdl-spinner__left-spin {
from {
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
50% {
-webkit-transform: rotate(-5deg);
transform: rotate(-5deg);
}
to {
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
}
@-webkit-keyframes mdl-spinner__right-spin {
from {
-webkit-transform: rotate(-130deg);
transform: rotate(-130deg);
}
50% {
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
}
to {
-webkit-transform: rotate(-130deg);
transform: rotate(-130deg);
}
}
@keyframes mdl-spinner__right-spin {
from {
-webkit-transform: rotate(-130deg);
transform: rotate(-130deg);
}
50% {
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
}
to {
-webkit-transform: rotate(-130deg);
transform: rotate(-130deg);
}
}
.docspinner {
margin-top: -5vh;
margin-left: -5vh;
width: 10vh;
height: 10vh;
position: fixed;
top: 50%;
left: 50%;
z-index: 9999999;
contain: layout style;
}
.loadingHide {
display: none !important;
}

View file

@ -0,0 +1,36 @@
define(['css!./loading-legacy'], function () {
var loadingElem;
return {
show: function () {
var elem = loadingElem;
if (!elem) {
elem = document.createElement("div");
loadingElem = elem;
elem.classList.add('docspinner');
elem.classList.add('mdl-spinner');
elem.classList.add('mdl-js-spinner');
elem.innerHTML = '<div class="mdl-spinner__layer mdl-spinner__layer-1"><div class="mdl-spinner__circle-clipper mdl-spinner__left"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__gap-patch"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__circle-clipper mdl-spinner__right"><div class="mdl-spinner__circle"></div></div></div><div class="mdl-spinner__layer mdl-spinner__layer-2"><div class="mdl-spinner__circle-clipper mdl-spinner__left"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__gap-patch"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__circle-clipper mdl-spinner__right"><div class="mdl-spinner__circle"></div></div></div><div class="mdl-spinner__layer mdl-spinner__layer-3"><div class="mdl-spinner__circle-clipper mdl-spinner__left"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__gap-patch"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__circle-clipper mdl-spinner__right"><div class="mdl-spinner__circle"></div></div></div><div class="mdl-spinner__layer mdl-spinner__layer-4"><div class="mdl-spinner__circle-clipper mdl-spinner__left"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__gap-patch"><div class="mdl-spinner__circle"></div></div><div class="mdl-spinner__circle-clipper mdl-spinner__right"><div class="mdl-spinner__circle"></div></div></div>';
document.body.appendChild(elem);
}
elem.classList.add('is-active');
elem.classList.remove('loadingHide');
},
hide: function () {
var elem = loadingElem;
if (elem) {
elem.classList.remove('is-active');
elem.classList.add('loadingHide');
}
}
};
});

View file

@ -1,9 +0,0 @@
define([], function () {
return {
show: function () {
},
hide: function () {
}
};
});

View file

@ -129,7 +129,7 @@
"HeaderConfirmRecordingCancellation": "Best\u00e4tige Aufzeichnungsabbruch",
"MessageConfirmRecordingCancellation": "Bis du dir sicher, diese Aufzeichnung abzubrechen?",
"Error": "Fehler",
"VoiceInput": "Voice Input",
"VoiceInput": "Spracheingabe",
"LabelContentType": "Typ des Inhalts:",
"LabelPath": "Pfad:",
"LabelTitle": "Titel:",
@ -209,42 +209,42 @@
"Images": "Bilder",
"Keywords": "Stichworte",
"Runtime": "Laufzeit",
"ProductionLocations": "Production locations",
"BirthLocation": "Birth location",
"ProductionLocations": "Drehorte",
"BirthLocation": "Geburtsort",
"ParentalRating": "Altersfreigabe",
"Name": "Name",
"Overview": "\u00dcbersicht",
"LabelType": "Typ:",
"LabelPersonRole": "Rolle:",
"LabelPersonRoleHelp": "Example: Ice cream truck driver",
"LabelPersonRoleHelp": "Beispiel: Eiswagenfahrer",
"Actor": "Schauspieler",
"Composer": "Komponist",
"Director": "Regisseur",
"GuestStar": "Gaststar",
"Producer": "Produzent",
"Writer": "Drehbuchautor",
"InstallingPackage": "Installing {0}",
"PackageInstallCompleted": "{0} installation completed.",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"SeriesYearToPresent": "{0}-Present",
"ValueOneSong": "1 song",
"ValueSongCount": "{0} songs",
"ValueOneMovie": "1 movie",
"ValueMovieCount": "{0} movies",
"ValueOneSeries": "1 series",
"ValueSeriesCount": "{0} series",
"ValueOneEpisode": "1 episode",
"ValueEpisodeCount": "{0} episodes",
"ValueOneGame": "1 game",
"ValueGameCount": "{0} games",
"ValueOneAlbum": "1 album",
"ValueAlbumCount": "{0} albums",
"ValueOneMusicVideo": "1 music video",
"ValueMusicVideoCount": "{0} music videos",
"ValueMinutes": "{0} min",
"HeaderIdentifyItemHelp": "Enter one or more search criteria. Remove criteria to increase search results.",
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
"InstallingPackage": "Installiere {0}",
"PackageInstallCompleted": "{0} Installation abgeschlossen",
"PackageInstallFailed": "{0} Installation fehlgeschlagen",
"PackageInstallCancelled": "{0} Installation abgebrochen",
"SeriesYearToPresent": "{0}-heute",
"ValueOneSong": "1 Lied",
"ValueSongCount": "{0} Lieder",
"ValueOneMovie": "1 Film",
"ValueMovieCount": "{0} Filme",
"ValueOneSeries": "1 Serie",
"ValueSeriesCount": "{0} Serien",
"ValueOneEpisode": "1 Episode",
"ValueEpisodeCount": "{0} Episoden",
"ValueOneGame": "1 Spiel",
"ValueGameCount": "{0} Spiele",
"ValueOneAlbum": "1 Album",
"ValueAlbumCount": "{0} Alben",
"ValueOneMusicVideo": "1 Musikvideo",
"ValueMusicVideoCount": "{0} Musikvideos",
"ValueMinutes": "{0} Minuten",
"HeaderIdentifyItemHelp": "Gib ein oder mehrere Suchkriterien ein. Entferne Kriterien um die Suchergebnisse zu erweitern.",
"PleaseEnterNameOrId": "Bitte gib einen Namen oder eine externe ID an.",
"MessageItemSaved": "Element gespeichert",
"SearchResults": "Search Results"
"SearchResults": "Suchergebnisse"
}

View file

@ -227,24 +227,24 @@
"PackageInstallCompleted": "{0} instalaci\u00f3n completada.",
"PackageInstallFailed": "{0} instalaci\u00f3n fallida.",
"PackageInstallCancelled": "{0} instalaci\u00f3n cancelada.",
"SeriesYearToPresent": "{0}-Present",
"ValueOneSong": "1 song",
"ValueSongCount": "{0} songs",
"ValueOneMovie": "1 movie",
"ValueMovieCount": "{0} movies",
"ValueOneSeries": "1 series",
"SeriesYearToPresent": "{0}-Actualidad",
"ValueOneSong": "1 canci\u00f3n",
"ValueSongCount": "{0} canciones",
"ValueOneMovie": "1 pel\u00edcula",
"ValueMovieCount": "{0} pel\u00edculas",
"ValueOneSeries": "1 serie",
"ValueSeriesCount": "{0} series",
"ValueOneEpisode": "1 episode",
"ValueEpisodeCount": "{0} episodes",
"ValueOneGame": "1 game",
"ValueGameCount": "{0} games",
"ValueOneAlbum": "1 album",
"ValueAlbumCount": "{0} albums",
"ValueOneMusicVideo": "1 music video",
"ValueMusicVideoCount": "{0} music videos",
"ValueMinutes": "{0} min",
"HeaderIdentifyItemHelp": "Enter one or more search criteria. Remove criteria to increase search results.",
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
"ValueOneEpisode": "1 episodio",
"ValueEpisodeCount": "{0} episodios",
"ValueOneGame": "1 juego",
"ValueGameCount": "{0} juegos",
"ValueOneAlbum": "1 \u00e1lbum",
"ValueAlbumCount": "{0} \u00e1lbumes",
"ValueOneMusicVideo": "1 video musical",
"ValueMusicVideoCount": "{0} videos musicales",
"ValueMinutes": "{0} min.",
"HeaderIdentifyItemHelp": "Introduzca uno o mas criterios de b\u00fasqueda. Elimine criterios para incrementar los resultados de la b\u00fasqueda.",
"PleaseEnterNameOrId": "Por favor introduzca un nombre o un Id. externo.",
"MessageItemSaved": "\u00cdtem guardado.",
"SearchResults": "Search Results"
"SearchResults": "Resultados de la b\u00fasqueda"
}

View file

@ -246,5 +246,5 @@
"HeaderIdentifyItemHelp": "Entrez un ou plusieurs crit\u00e8res de recherche. Retirez des crit\u00e8res pour \u00e9largir les r\u00e9sultats de la recherche.",
"PleaseEnterNameOrId": "Veuillez saisir un nom ou un identifiant externe.",
"MessageItemSaved": "Item sauvegard\u00e9.",
"SearchResults": "Search Results"
"SearchResults": "R\u00e9sultats de la recherche"
}

View file

@ -246,5 +246,5 @@
"HeaderIdentifyItemHelp": "\u0406\u0437\u0434\u0435\u0443\u0434\u0456\u04a3 \u0431\u0456\u0440 \u043d\u0435 \u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0448\u0430\u0440\u0442\u044b\u043d \u0435\u043d\u0433\u0456\u0437\u0456\u04a3\u0456\u0437. \u0406\u0437\u0434\u0435\u0443 \u043d\u04d9\u0442\u0438\u0436\u0435\u043b\u0435\u0440\u0456\u043d \u043a\u04e9\u0431\u0435\u0439\u0442\u0443 \u04af\u0448\u0456\u043d \u0448\u0430\u0440\u0442\u0442\u044b \u0430\u043b\u0430\u0441\u0442\u0430\u04a3\u044b\u0437.",
"PleaseEnterNameOrId": "\u0410\u0442\u044b\u043d \u043d\u0435\u043c\u0435\u0441\u0435 \u0441\u044b\u0440\u0442\u049b\u044b ID \u0435\u043d\u0433\u0456\u0437\u0456\u04a3\u0456\u0437.",
"MessageItemSaved": "\u0422\u0430\u0440\u043c\u0430\u049b \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.",
"SearchResults": "Search Results"
"SearchResults": "\u0406\u0437\u0434\u0435\u0443 \u043d\u04d9\u0442\u0438\u0436\u0435\u043b\u0435\u0440\u0456"
}

View file

@ -246,5 +246,5 @@
"HeaderIdentifyItemHelp": "Vul \u00e9\u00e9n of meer zoek criteria in. Verwijder criteria om zoekresultaten te vergroten.",
"PleaseEnterNameOrId": "Voer een naam of een externe Id in",
"MessageItemSaved": "Item opgeslagen.",
"SearchResults": "Search Results"
"SearchResults": "Zoekresultaten"
}

View file

@ -227,24 +227,24 @@
"PackageInstallCompleted": "Instala\u00e7\u00e3o completa de {0}",
"PackageInstallFailed": "Falha na instala\u00e7\u00e3o de {0}.",
"PackageInstallCancelled": "Instala\u00e7\u00e3o cancelada de {0}.",
"SeriesYearToPresent": "{0}-Present",
"ValueOneSong": "1 song",
"ValueSongCount": "{0} songs",
"ValueOneMovie": "1 movie",
"ValueMovieCount": "{0} movies",
"ValueOneSeries": "1 series",
"ValueSeriesCount": "{0} series",
"ValueOneEpisode": "1 episode",
"ValueEpisodeCount": "{0} episodes",
"ValueOneGame": "1 game",
"ValueGameCount": "{0} games",
"ValueOneAlbum": "1 album",
"ValueAlbumCount": "{0} albums",
"ValueOneMusicVideo": "1 music video",
"ValueMusicVideoCount": "{0} music videos",
"SeriesYearToPresent": "{0}-Presente",
"ValueOneSong": "1 m\u00fasica",
"ValueSongCount": "{0} m\u00fasicas",
"ValueOneMovie": "1 filme",
"ValueMovieCount": "{0} filmes",
"ValueOneSeries": "1 s\u00e9rie",
"ValueSeriesCount": "{0} s\u00e9ries",
"ValueOneEpisode": "1 epis\u00f3dio",
"ValueEpisodeCount": "{0} epis\u00f3dios",
"ValueOneGame": "1 jogo",
"ValueGameCount": "{0} jogos",
"ValueOneAlbum": "1 \u00e1lbum",
"ValueAlbumCount": "{0} \u00e1lbuns",
"ValueOneMusicVideo": "1 v\u00eddeoclipe",
"ValueMusicVideoCount": "{0} v\u00eddeoclipes",
"ValueMinutes": "{0} min",
"HeaderIdentifyItemHelp": "Enter one or more search criteria. Remove criteria to increase search results.",
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
"HeaderIdentifyItemHelp": "Digite um ou mais crit\u00e9rios de busca. Remova um crit\u00e9rio para aumentar os resultados da busca.",
"PleaseEnterNameOrId": "Por favor, digite um nome ou um id externo.",
"MessageItemSaved": "Item salvo.",
"SearchResults": "Search Results"
"SearchResults": "Resultados da Busca"
}

View file

@ -246,5 +246,5 @@
"HeaderIdentifyItemHelp": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u043f\u043e\u0438\u0441\u043a\u0430. \u0418\u0437\u044b\u043c\u0438\u0442\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u0440\u0430\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b.",
"PleaseEnterNameOrId": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 ID.",
"MessageItemSaved": "\u042d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d.",
"SearchResults": "Search Results"
"SearchResults": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430"
}

View file

@ -1,6 +1,6 @@
{
"name": "paper-progress",
"version": "1.0.9",
"version": "1.0.10",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "A material design progress bar",
"authors": "The Polymer Authors",
@ -30,14 +30,13 @@
},
"ignore": [],
"homepage": "https://github.com/PolymerElements/paper-progress",
"_release": "1.0.9",
"_release": "1.0.10",
"_resolution": {
"type": "version",
"tag": "v1.0.9",
"commit": "389e717d2e600bb44c6cb1537ee12b203b55fca1"
"tag": "v1.0.10",
"commit": "dfdde2b02947fb2dfd3f2d303ec17f7f4919348c"
},
"_source": "git://github.com/PolymerElements/paper-progress.git",
"_target": "^1.0.9",
"_originalSource": "PolymerElements/paper-progress",
"_direct": true
"_originalSource": "PolymerElements/paper-progress"
}

View file

@ -0,0 +1,33 @@
<!-- Instructions: https://github.com/PolymerElements/paper-progress/CONTRIBUTING.md#filing-issues -->
### Description
<!-- Example: The `paper-foo` element causes the page to turn pink when clicked. -->
### Expected outcome
<!-- Example: The page stays the same color. -->
### Actual outcome
<!-- Example: The page turns pink. -->
### Live Demo
<!-- Example: https://jsbin.com/cagaye/edit?html,output -->
### Steps to reproduce
<!-- Example
1. Put a `paper-foo` element in the page.
2. Open the page in a web browser.
3. Click the `paper-foo` element.
-->
### Browsers Affected
<!-- Check all that apply -->
- [ ] Chrome
- [ ] Firefox
- [ ] Safari 9
- [ ] Safari 8
- [ ] Safari 7
- [ ] Edge
- [ ] IE 11
- [ ] IE 10

View file

@ -1,25 +1,23 @@
language: node_js
sudo: false
sudo: required
before_script:
- npm install -g bower polylint web-component-tester
- bower install
- polylint
- npm install -g bower polylint web-component-tester
- bower install
- polylint
env:
global:
- secure: fmp2kJysxTcVsouaQfEkPCJYPzbsuGCeq5RqvttDaYdue92n5912OR/WI476PPGpX2owvxq97saVX9CqXweVtgrmdhONsrGy31eULpW0vUonuhbjkKU87E0aAmHu478uuJnc4hU7oN7wuNEtqWmpFG+oqMqHKwUyAWLk+V4XY0nseuFYQLX52qfglD+CqipQsoe84nIM0JxQxpDw1njYZbKQzZVttyLQVv13Ahh+5v75EqqwggoD2mgU1xQIH1GarbnZpmE9BL4ETbaJwJ7Fon/Pxsrs1Zs9hEStJCwo5aTiyPJibRQBCk9Cj+PJY3TkqfE3zIwhbW1/aSCIuUg5egsh6Of6clqrDE2wWPyIURUB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s6MBfQFIlpV1e6F1YOvPLPOtBLLTVK1n1KeXeY9HSvk+f5lxRwS4VFZ1oG6+a/l+MoB2HMUmhEn0Wa+KS2qk5Yfea/UIlvi8IuA7zsXoeYkBuwIT7VJVdU0Oebfkam4jWR6qYs/QQF/MchzungKchhwyhsSzQvCuaHJhdA6D1L0oqkXRpPouJwkcvGu9z+wf+zPfh3h065Trg7tC4DYHnXRSTF0ocO3H+EfImRSP5jsgPz0gMl4iI0=
node_js: stable
addons:
firefox: latest
firefox: '46.0'
apt:
sources:
- google-chrome
- ubuntu-toolchain-r-test
- google-chrome
packages:
- google-chrome-stable
- g++-4.8
- google-chrome-stable
sauce_connect: true
script:
- xvfb-run wct
- "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi"
- xvfb-run wct
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'default'; fi
dist: trusty

View file

@ -1,4 +1,3 @@
<!--
This file is autogenerated based on
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
@ -11,6 +10,7 @@ specific element:
jsbin=https://jsbin.com/cagaye/edit?html,output
-->
# Polymer Elements
## Guide for Contributors

View file

@ -1,6 +1,6 @@
{
"name": "paper-progress",
"version": "1.0.9",
"version": "1.0.10",
"license": "http://polymer.github.io/LICENSE.txt",
"description": "A material design progress bar",
"authors": "The Polymer Authors",

View file

@ -49,11 +49,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</template>
</demo-snippet>
<h3>paper-progress can be indeterminate</h3>
<h3>paper-progress can be indeterminate with a custom duration</h3>
<demo-snippet class="centered-demo">
<template>
<style is="custom-style">
paper-progress.slow {
--paper-progress-indeterminate-cycle-duration: 20s;
}
</style>
<paper-progress indeterminate></paper-progress>
<paper-progress indeterminate value="800" min="100" max="1000"></paper-progress>
<paper-progress indeterminate class="slow"></paper-progress>
</template>
</demo-snippet>
@ -84,7 +89,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</div>
<script>
var progress, button, animationFrame;
var progress, button;
var repeat, maxRepeat = 5, animating = false;
function nextProgress() {
@ -99,7 +104,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
progress.value = progress.min;
}
var animationFrame = requestAnimationFrame(nextProgress);
requestAnimationFrame(nextProgress);
}
function startProgress() {

View file

@ -60,19 +60,27 @@ the value changed. You can also customize the transition:
--paper-progress-transition-transition-delay: 0s;
}
To change the duration of the indeterminate cycle:
paper-progress {
--paper-progress-indeterminate-cycle-duration: 2s;
}
The following mixins are available for styling:
Custom property | Description | Default
----------------------------------------------|---------------------------------------------|--------------
`--paper-progress-container-color` | Mixin applied to container | `--google-grey-300`
`--paper-progress-transition-duration` | Duration of the transition | `0.008s`
`--paper-progress-transition-timing-function` | The timing function for the transition | `ease`
`--paper-progress-transition-delay` | delay for the transition | `0s`
`--paper-progress-active-color` | The color of the active bar | `--google-green-500`
`--paper-progress-secondary-color` | The color of the secondary bar | `--google-green-100`
`--paper-progress-disabled-active-color` | The color of the active bar if disabled | `--google-grey-500`
`--paper-progress-disabled-secondary-color` | The color of the secondary bar if disabled | `--google-grey-300`
`--paper-progress-height` | The height of the progress bar | `4px`
Custom property | Description | Default
-------------------------------------------------|---------------------------------------------|--------------
`--paper-progress-container` | Mixin applied to container | `{}`
`--paper-progress-transition-duration` | Duration of the transition | `0.008s`
`--paper-progress-transition-timing-function` | The timing function for the transition | `ease`
`--paper-progress-transition-delay` | delay for the transition | `0s`
`--paper-progress-container-color` | Color of the container | `--google-grey-300`
`--paper-progress-active-color` | The color of the active bar | `--google-green-500`
`--paper-progress-secondary-color` | The color of the secondary bar | `--google-green-100`
`--paper-progress-disabled-active-color` | The color of the active bar if disabled | `--google-grey-500`
`--paper-progress-disabled-secondary-color` | The color of the secondary bar if disabled | `--google-grey-300`
`--paper-progress-height` | The height of the progress bar | `4px`
`--paper-progress-indeterminate-cycle-duration` | Duration of an indeterminate cycle | `2s`
@group Paper Elements
@element paper-progress
@ -90,7 +98,12 @@ Custom property | Description
overflow: hidden;
}
:host([hidden]) {
display: none !important;
}
#progressContainer {
@apply(--paper-progress-container);
position: relative;
}
@ -158,8 +171,8 @@ Custom property | Description
:host(:not([disabled])) #primaryProgress.indeterminate {
-webkit-transform-origin: right center;
transform-origin: right center;
-webkit-animation: indeterminate-bar 2s linear infinite;
animation: indeterminate-bar 2s linear infinite;
-webkit-animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
}
:host(:not([disabled])) #primaryProgress.indeterminate::after {
@ -167,8 +180,8 @@ Custom property | Description
-webkit-transform-origin: center center;
transform-origin: center center;
-webkit-animation: indeterminate-splitter 2s linear infinite;
animation: indeterminate-splitter 2s linear infinite;
-webkit-animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
}
@-webkit-keyframes indeterminate-bar {

View file

@ -754,6 +754,14 @@ a[data-role='button'], .type-interior button:not([data-role='none']):not(.clearB
width: 50%;
}
.activeSession .cardBox {
-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
-ms-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border: 0 !important;
}
.activeSession .cardPadder {
padding-bottom: 56.25%;
}
@ -839,21 +847,12 @@ a[data-role='button'], .type-interior button:not([data-role='none']):not(.clearB
color: #fff;
position: absolute;
right: 10px;
bottom: 39px;
}
.sessionTranscodingFramerate {
position: absolute;
left: 10px;
bottom: 19px;
color: #fff;
}
.sessionNowPlayingStreamInfo {
color: #fff;
position: absolute;
right: 10px;
bottom: 19px;
white-space: nowrap;
font-size: 90%;
}
.activeSession .transcodingProgress {

View file

@ -7,11 +7,16 @@
margin-left: .5em;
}
.background-theme-b, .dialog.background-theme-b {
.background-theme-b .backgroundContainer, .dialog.background-theme-b {
background-color: #121314;
/*background: radial-gradient(circle, #282828, #141414);*/
}
.background-theme-b .backgroundContainer.withBackdrop {
background-color: rgba(6, 6,6, .9);
/*background: radial-gradient(circle, #282828, #141414);*/
}
.ui-body-b {
/* Need the important tag for paper dialogs with this class */
color: #fff !important;
@ -30,10 +35,6 @@
z-index: -1;
}
.withBackdrop {
background-color: rgba(6, 6,6, .9);
}
.pageWithAbsoluteTabs neon-animatable {
z-index: 2;
}

View file

@ -311,7 +311,7 @@ textarea {
margin-top: 5px;
}
.background-theme-a, .dialog.background-theme-a {
.background-theme-a .backgroundContainer, .dialog.background-theme-a {
background-color: #f5f5f5;
}
@ -653,9 +653,9 @@ progress {
color: #555;
}
.ui-body-a .inputLabelFocused, .ui-body-a .textareaLabelFocused, .ui-body-a .selectLabelFocused {
color: green;
}
.ui-body-a .inputLabelFocused, .ui-body-a .textareaLabelFocused, .ui-body-a .selectLabelFocused {
color: green;
}
.ui-body-a .selectLabelUnfocused, .ui-body-a .paperListLabel, .ui-body-a .fieldDescription {
color: #555;
@ -668,4 +668,4 @@ progress {
.ui-body-a .cardFooter .cardText + .cardText {
opacity: .8;
}
}

View file

@ -23,14 +23,10 @@ body:not(.dashboardDocument) .mainDrawerButton {
background-attachment: initial;
}
.background-theme-b, .dialog.background-theme-b {
.background-theme-b .backgroundContainer:not(.withBackdrop), .dialog.background-theme-b {
background: #181818;
}
.backgroundContainer {
background-color: rgba(28,28,28,.92) !important;
}
.viewMenuBar {
/* It needs this in order to retain height since we're positioning the contents absolutely */
height: 50px;

View file

@ -1812,8 +1812,9 @@ var AppInfo = {};
define("prompt", [embyWebComponentsBowerPath + "/prompt/prompt"], returnFirstDependency);
}
if (browser.tv && !browser.animate) {
define("loading", [embyWebComponentsBowerPath + "/loading/loading-smarttv"], returnFirstDependency);
if (browser.tizen || browser.operaTv) {
// Need the older version due to artifacts
define("loading", [embyWebComponentsBowerPath + "/loading/loading-legacy"], returnFirstDependency);
} else {
define("loading", [embyWebComponentsBowerPath + "/loading/loading-lite"], returnFirstDependency);
}