4 The progress bars are for situations where the percentage completed can be
5 determined. They give users a quick sense of how much longer an operation
11 <paper-progress value="10"></paper-progress>
14 There is also a secondary progress which is useful for displaying intermediate
15 progress, such as the buffer level during a streaming playback progress bar.
20 <paper-progress value="10" secondary-progress="30"></paper-progress>
23 ### Styling progress bar:
25 To change the active progress bar color:
29 --paper-progress-active-color: #e91e63;
33 To change the secondary progress bar color:
37 --paper-progress-secondary-color: #f8bbd0;
41 To change the progress bar background color:
45 --paper-progress-container-color: #64ffda;
49 Add the class `transiting` to a `<paper-progress>` to animate the progress bar when
50 the value changed. You can also customize the transition:
54 --paper-progress-transition-duration: 0.08s;
55 --paper-progress-transition-timing-function: ease;
56 --paper-progress-transition-transition-delay: 0s;
60 The following mixins are available for styling:
62 Custom property | Description | Default
63 --------------------------------------------|---------------------------------------------|----------
64 --paper-progress-container-color | Mixin applied to container | --google-grey-300
65 --paper-progress-transition-duration | Duration of the transition | 0.008s
66 --paper-progress-transition-timing-function | The timing function for the transition | ease
67 --paper-progress-transition-delay | delay for the transition | 0s
68 --paper-progress-active-color | The color of the active bar | --google-green-500
69 --paper-progress-secondary-color | The color of the secondary bar | --google-green-100
70 --paper-progress-disabled-active-color | The color of the active bar if disabled | --google-grey-500
71 --paper-progress-disabled-secondary-color | The color of the secondary bar if disabled | --google-grey-300
72 --paper-progress-height | The height of the progress bar | 4px