Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-item/paper-item.html

Issue 1766433002: Roll Polymer to 1.3.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 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/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> 10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
(...skipping 11 matching lines...) Expand all
22 items. 22 items.
23 23
24 <paper-item> 24 <paper-item>
25 <paper-item-body two-line> 25 <paper-item-body two-line>
26 <div>Show your status</div> 26 <div>Show your status</div>
27 <div secondary>Your status is visible to everyone</div> 27 <div secondary>Your status is visible to everyone</div>
28 </paper-item-body> 28 </paper-item-body>
29 <iron-icon icon="warning"></iron-icon> 29 <iron-icon icon="warning"></iron-icon>
30 </paper-item> 30 </paper-item>
31 31
32 To use `paper-item` as a link, wrap it in an anchor tag. Since `paper-item` will
33 already receive focus, you may want to prevent the anchor tag from receiving
34 focus as well by setting its tabindex to -1.
35
36 <a href="https://www.polymer-project.org/" tabindex="-1">
37 <paper-item raised>Polymer Project</paper-item>
38 </a>
39
32 ### Styling 40 ### Styling
33 41
34 The following custom properties and mixins are available for styling: 42 The following custom properties and mixins are available for styling:
35 43
36 Custom property | Description | D efault 44 Custom property | Description | D efault
37 ------------------------------|----------------------------------------------|-- -------- 45 ------------------------------|----------------------------------------------|-- --------
38 `--paper-item-min-height` | Minimum height of the item | ` 48px` 46 `--paper-item-min-height` | Minimum height of the item | ` 48px`
39 `--paper-item` | Mixin applied to the item | ` {}` 47 `--paper-item` | Mixin applied to the item | ` {}`
40 `--paper-item-selected-weight`| The font weight of a selected item | ` bold` 48 `--paper-item-selected-weight`| The font weight of a selected item | ` bold`
41 `--paper-item-selected` | Mixin applied to selected paper-items | ` {}` 49 `--paper-item-selected` | Mixin applied to selected paper-items | ` {}`
(...skipping 30 matching lines...) Expand all
72 80
73 @apply(--paper-item); 81 @apply(--paper-item);
74 } 82 }
75 </style> 83 </style>
76 84
77 <content></content> 85 <content></content>
78 </template> 86 </template>
79 87
80 </dom-module> 88 </dom-module>
81 <script src="paper-item-extracted.js"></script></body></html> 89 <script src="paper-item-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698