Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-style / my-theme.html
blobcba74dcc0feb67c8ee8b12989afb97365856ccc1
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 --><html><head><link rel="import" href="core-style.html">
13 </head><body><core-style id="main">
14 body {
15 font-family: sans-serif;
18 section {
19 overflow: auto;
22 button {
23 border: 1px solid {{g.theme.colorOne | cycle(-50)}};
24 border-radius: 4px;
25 background-color: {{g.theme.colorOne}};
26 color: {{g.theme.colorTwo}};
29 button:active {
30 border: 1px solid {{g.theme.colorTwo | cycle(50)}};
31 border-radius: 4px;
32 background-color: {{g.theme.colorTwo}};
33 color: {{g.theme.colorOne}};
36 <template repeat="{{item in g.items}}">
37 my-panel:nth-of-type({{item+1}}) {
38 background-color: {{ g.theme.colorThree | cycle(item * -1) }};
40 </template>
41 </core-style>
43 <core-style id="my-toolbar">
44 :host {
45 border-bottom: 8px solid {{g.theme.colorOne}};
46 color: {{g.theme.colorOne | cycle(100)}};
47 background-color: {{g.theme.colorTwo}};
49 </core-style>
51 <core-style id="my-panel">
52 :host {
53 box-sizing: border-box;
54 background-color: {{g.theme.colorOne}};
55 border: 8px solid {{g.theme.colorOne | cycle(50)}};
56 color: {{g.theme.colorOne | cycle(-100)}};
59 :host(:nth-of-type(2n + 1)) {
60 background-color: {{g.theme.colorTwo}};
61 border: 8px solid {{g.theme.colorTwo | cycle(-50)}};
62 color: {{g.theme.colorTwo | cycle(100)}}
65 </core-style>
66 <script charset="utf-8" src="my-theme-extracted.js"></script></body></html>