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
10 <link rel=
"import" href=
"core-style.html">
21 <core-style id=
"main">
23 font-family: sans-serif;
31 border:
1px solid {{g.theme.colorOne | cycle(-
50)}};
33 background-color: {{g.theme.colorOne}};
34 color: {{g.theme.colorTwo}};
38 border:
1px solid {{g.theme.colorTwo | cycle(
50)}};
40 background-color: {{g.theme.colorTwo}};
41 color: {{g.theme.colorOne}};
44 <template repeat=
"{{item in g.items}}">
45 my-panel:nth-of-type({{item+
1}}) {
46 background-color: {{ g.theme.colorThree | cycle(item * -
1) }};
51 <core-style id=
"my-toolbar">
53 border-bottom:
8px solid {{g.theme.colorOne}};
54 color: {{g.theme.colorOne | cycle(
100)}};
55 background-color: {{g.theme.colorTwo}};
59 <core-style id=
"my-panel">
61 box-sizing: border-box;
62 background-color: {{g.theme.colorOne}};
63 border:
8px solid {{g.theme.colorOne | cycle(
50)}};
64 color: {{g.theme.colorOne | cycle(-
100)}};
67 :host(:nth-of-type(
2n +
1)) {
68 background-color: {{g.theme.colorTwo}};
69 border:
8px solid {{g.theme.colorTwo | cycle(-
50)}};
70 color: {{g.theme.colorTwo | cycle(
100)}}