OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select or/cr_profile_avatar_selector.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> |
6 <link rel="import" href="/people_page/manage_profile_browser_proxy.html"> | 6 <link rel="import" href="/people_page/manage_profile_browser_proxy.html"> |
7 <link rel="import" href="/settings_shared_css.html"> | 7 <link rel="import" href="/settings_shared_css.html"> |
8 | 8 |
9 <dom-module id="settings-manage-profile"> | 9 <dom-module id="settings-manage-profile"> |
10 <template> | 10 <template> |
11 <style include="settings-shared"> | 11 <style include="settings-shared"> |
12 #selector { | 12 #selector { |
13 --avatar-selector-avatar-hovered: { | |
14 @apply(--shadow-elevation-2dp); | |
15 }; | |
Dan Beam
2016/07/21 02:11:28
fun fact, I believe:
--avatar-selector-avatar-hov
| |
16 -webkit-margin-start: 16px; | 13 -webkit-margin-start: 16px; |
17 margin-top: 16px; | 14 margin-top: 16px; |
18 max-width: 624px; | 15 max-width: 624px; |
19 } | 16 } |
20 </style> | 17 </style> |
21 <div class="settings-box first"> | 18 <div class="settings-box first"> |
22 <paper-input id="name" value="{{profileName}}" pattern=".*\S.*" | 19 <paper-input id="name" value="{{profileName}}" pattern=".*\S.*" |
23 auto-validate required on-change="onProfileNameChanged_"> | 20 auto-validate required on-change="onProfileNameChanged_"> |
24 </paper-input> | 21 </paper-input> |
25 </div> | 22 </div> |
26 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]" | 23 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]" |
27 selected-avatar-url="{{profileIconUrl}}" | 24 selected-avatar-url="{{profileIconUrl}}" |
28 on-iron-activate="onIconActivate_"> | 25 on-iron-activate="onIconActivate_"> |
29 </cr-profile-avatar-selector> | 26 </cr-profile-avatar-selector> |
30 </template> | 27 </template> |
31 <script src="manage_profile.js"></script> | 28 <script src="manage_profile.js"></script> |
32 </dom-module> | 29 </dom-module> |
OLD | NEW |