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

Side by Side Diff: lib/src/paper-item/paper-icon-item.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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
« no previous file with comments | « lib/src/paper-input/paper-textarea.html ('k') | lib/src/paper-item/paper-item.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 --> 9 -->
10 10
(...skipping 15 matching lines...) Expand all
26 </paper-icon-item> 26 </paper-icon-item>
27 <paper-icon-item> 27 <paper-icon-item>
28 <div class="avatar" item-icon></div> 28 <div class="avatar" item-icon></div>
29 Avatar 29 Avatar
30 </paper-icon-item> 30 </paper-icon-item>
31 31
32 ### Styling 32 ### Styling
33 33
34 The following custom properties and mixins are available for styling: 34 The following custom properties and mixins are available for styling:
35 35
36 Custom property | Description | Default 36 Custom property | Description | Default
37 ----------------|-------------|---------- 37 ------------------------------|------------------------------------------------| ----------
38 `--paper-item-icon-width` | Width of the icon area | `56px` 38 `--paper-item-icon-width` | Width of the icon area | `56px`
39 `--paper-icon-item` | Mixin applied to the item | `{}` 39 `--paper-icon-item` | Mixin applied to the item | `{}`
40 `--paper-item-selected-weight`| The font weight of a selected item | `bold`
41 `--paper-item-selected` | Mixin applied to selected paper-items | `{}`
42 `--paper-item-disabled-color` | The color for disabled paper-items | `--disabled-text-color`
43 `--paper-item-disabled` | Mixin applied to disabled paper-items | ` {}`
44 `--paper-item-focused` | Mixin applied to focused paper-items | ` {}`
45 `--paper-item-focused-before` | Mixin applied to :before focused paper-items | ` {}`
40 46
41 --> 47 -->
42 48
43 <dom-module id="paper-icon-item"> 49 <dom-module id="paper-icon-item">
44 <template> 50 <template>
45 <style include="paper-item-shared-styles"></style> 51 <style include="paper-item-shared-styles"></style>
46 <style> 52 <style>
47 :host { 53 :host {
48 @apply(--layout-horizontal); 54 @apply(--layout-horizontal);
49 @apply(--layout-center); 55 @apply(--layout-center);
(...skipping 23 matching lines...) Expand all
73 'tabindex': '0' 79 'tabindex': '0'
74 }, 80 },
75 81
76 behaviors: [ 82 behaviors: [
77 Polymer.IronControlState, 83 Polymer.IronControlState,
78 Polymer.IronButtonState 84 Polymer.IronButtonState
79 ] 85 ]
80 }); 86 });
81 </script> 87 </script>
82 </dom-module> 88 </dom-module>
OLDNEW
« no previous file with comments | « lib/src/paper-input/paper-textarea.html ('k') | lib/src/paper-item/paper-item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698