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
14 <title>core-item
</title>
16 <script src=
"../webcomponentsjs/webcomponents.js"></script>
18 <link rel=
"import" href=
"../core-icons/core-icons.html">
19 <link rel=
"import" href=
"core-item.html">
24 font-family: sans-serif;
41 core-item.contact-item {
43 background-color: #efefef;
44 border:
1px solid #ddd;
47 core-item.contact-item .name {
51 core-item.contact-item .address {
60 <h2>items with icon and label:
</h2>
62 <core-item icon=
"settings" label=
"Settings"></core-item>
63 <core-item icon=
"account-box" label=
"Account"></core-item>
65 <h2>items with label only:
</h2>
67 <core-item label=
"Settings"></core-item>
68 <core-item label=
"Account"></core-item>
70 <h2>links (via
<a
>):
</h2>
72 <core-item icon=
"settings" label=
"Settings"><a href=
"#settings" target=
"_self"></a></core-item>
73 <core-item icon=
"account-box" label=
"Account"><a href=
"#account" target=
"_self"></a></core-item>
75 <h2>items sized with CSS:
</h2>
76 <core-item icon=
"settings" label=
"Settings" class=
"font-scalable big"></core-item>
77 <core-item icon=
"account-box" label=
"Account" class=
"font-scalable big"></core-item>
78 <core-item icon=
"settings" label=
"Settings" class=
"font-scalable small"></core-item>
79 <core-item icon=
"account-box" label=
"Account" class=
"font-scalable small"></core-item>
83 <core-item icon=
"account-circle" class=
"contact-item">
85 <div class=
"name">John Doe
</div>
86 <div class=
"address">123 A Street, San Francisco, CA
</div>
88 <core-icon icon=
"more-vert"></core-icon>