Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-range / demo.html
blobf0d3f78fb63f63266c69fe3a1af007fb36f06885
1 <!--
2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 -->
10 <!doctype html>
11 <html>
12 <head>
13 <title>core-range</title>
15 <script src="../webcomponentsjs/webcomponents.js"></script>
17 <link rel="import" href="core-range.html">
18 <link rel="import" href="../core-input/core-input.html">
20 <style>
22 body {
23 font-family: sans-serif;
26 </style>
27 </head>
29 <body unresolved>
31 <polymer-element name="x-progressbar" noscript attributes="value min max">
33 <template>
35 <style>
37 :host {
38 display: block;
39 height: 40px;
40 background-color: #555;
41 border-radius: 4px;
42 padding: 8px;
43 box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.5);
46 .progress {
47 background-color: #999;
48 height: 100%;
49 border-radius: 4px;
50 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
53 .progress-value {
54 padding: 0 8px;
55 font-size: 18px;
56 color: #fff;
59 </style>
61 <core-range min="{{min}}" max="{{max}}" value="{{value}}" ratio="{{ratio}}"></core-range>
63 <div class="progress" horizontal center layout _style="width: {{ratio}}%;">
64 <div class="progress-value">{{ratio}}%</div>
65 </div>
67 </template>
69 </polymer-element>
71 <x-progressbar min="0" max="200" value="120"></x-progressbar>
73 </body>
74 </html>