OLD | NEW |
1 | 1 |
2 <!--- | 2 <!--- |
3 | 3 |
4 This README is automatically generated from the comments in these files: | 4 This README is automatically generated from the comments in these files: |
5 paper-icon-item.html paper-item-behavior.html paper-item-body.html paper-item
.html | 5 paper-icon-item.html paper-item-behavior.html paper-item-body.html paper-item
.html |
6 | 6 |
7 Edit those files, and our readme bot will duplicate them over here! | 7 Edit those files, and our readme bot will duplicate them over here! |
8 Edit this file, and the bot will squash your changes :) | 8 Edit this file, and the bot will squash your changes :) |
9 | 9 |
10 --> | 10 --> |
(...skipping 20 matching lines...) Expand all Loading... |
31 <div>Show your status</div> | 31 <div>Show your status</div> |
32 <div secondary>Your status is visible to everyone</div> | 32 <div secondary>Your status is visible to everyone</div> |
33 </paper-item-body> | 33 </paper-item-body> |
34 <iron-icon icon="warning"></iron-icon> | 34 <iron-icon icon="warning"></iron-icon> |
35 </paper-item> | 35 </paper-item> |
36 | 36 |
37 ### Styling | 37 ### Styling |
38 | 38 |
39 The following custom properties and mixins are available for styling: | 39 The following custom properties and mixins are available for styling: |
40 | 40 |
41 Custom property | Description |
Default | 41 Custom property | Description | D
efault |
42 ------------------------------|------------------------------------------------|
---------- | 42 ------------------------------|----------------------------------------------|--
-------- |
43 `--paper-item-min-height` | Minimum height of the item |
`48px` | 43 `--paper-item-min-height` | Minimum height of the item | `
48px` |
44 `--paper-item` | Mixin applied to the item |
`{}` | 44 `--paper-item` | Mixin applied to the item | `
{}` |
45 `--paper-item-selected-weight`| The font weight of a selected item |
`bold` | 45 `--paper-item-selected-weight`| The font weight of a selected item | `
bold` |
46 `--paper-item-selected` | Mixin applied to selected paper-items
| `{}` | 46 `--paper-item-selected` | Mixin applied to selected paper-items | `
{}` |
47 `--paper-item-disabled-color` | The color for disabled paper-items |
`--disabled-text-color` | 47 `--paper-item-disabled-color` | The color for disabled paper-items | `
--disabled-text-color` |
48 `--paper-item-disabled` | Mixin applied to disabled paper-items | `
{}` | 48 `--paper-item-disabled` | Mixin applied to disabled paper-items | `
{}` |
49 `--paper-item-focused` | Mixin applied to focused paper-items | `
{}` | 49 `--paper-item-focused` | Mixin applied to focused paper-items | `
{}` |
50 `--paper-item-focused-before` | Mixin applied to :before focused paper-items | `
{}` | 50 `--paper-item-focused-before` | Mixin applied to :before focused paper-items | `
{}` |
51 | 51 |
52 ### Accessibility | 52 ### Accessibility |
53 | 53 |
54 This element has `role="listitem"` by default. Depending on usage, it may be mor
e appropriate to set | 54 This element has `role="listitem"` by default. Depending on usage, it may be mor
e appropriate to set |
55 `role="menuitem"`, `role="menuitemcheckbox"` or `role="menuitemradio"`. | 55 `role="menuitem"`, `role="menuitemcheckbox"` or `role="menuitemradio"`. |
56 | 56 |
57 <paper-item role="menuitemcheckbox"> | 57 <paper-item role="menuitemcheckbox"> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 Custom property | Description | Default | 118 Custom property | Description | Default |
119 ----------------|-------------|---------- | 119 ----------------|-------------|---------- |
120 `--paper-item-body-two-line-min-height` | Minimum height of a two-line item
| `72px` | 120 `--paper-item-body-two-line-min-height` | Minimum height of a two-line item
| `72px` |
121 `--paper-item-body-three-line-min-height` | Minimum height of a three-line item
| `88px` | 121 `--paper-item-body-three-line-min-height` | Minimum height of a three-line item
| `88px` |
122 `--paper-item-body-secondary-color` | Foreground color for the `secondary`
area | `--secondary-text-color` | 122 `--paper-item-body-secondary-color` | Foreground color for the `secondary`
area | `--secondary-text-color` |
123 `--paper-item-body-secondary` | Mixin applied to the `secondary` are
a | `{}` | 123 `--paper-item-body-secondary` | Mixin applied to the `secondary` are
a | `{}` |
124 | 124 |
125 | 125 |
126 | 126 |
127 <!-- No docs for Polymer.PaperItemBehavior found. --> | 127 <!-- No docs for Polymer.PaperItemBehavior found. --> |
OLD | NEW |