mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update loading
This commit is contained in:
parent
f7f42a9777
commit
5516424502
22 changed files with 739 additions and 145 deletions
|
@ -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"
|
||||
}
|
33
dashboard-ui/bower_components/paper-progress/.github/ISSUE_TEMPLATE.md
vendored
Normal file
33
dashboard-ui/bower_components/paper-progress/.github/ISSUE_TEMPLATE.md
vendored
Normal 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
|
|
@ -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/aSCIuUg5egsh6Of6clqrDE2wWPyIURUBFcE3UXsqBEXh56K9WQh+KNIgJYoQ/tzhD2VlgQhM89geTKZc6ysSTWcukv9tw9h9gaG2gD1e+uRQ/rMyt6vlh2DNI/J8oAv1WifZwuUKRkwm7SUBP55sukFryJIQEXEMqjT0WVbjTWP+2VNiHFPo7wGdVZ8X7y4bwA7lmnlC4AnNd8L6BE0tStZUBAKv3LhzRvd+DrRvaiSPdFhGBbAiMzytKGgxfD7nhMntV7GREjfQCB/hch5anePK7Cuw58kF8PiZX9aVk8Se3VP0+rdUkzVgWTW5THhdpw2nnuIyK5QDtL4/L3l/oJhl9Jbm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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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue