| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon
/iron-icon.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon
/iron-icon.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-edit-dictionary-page"> | 10 <dom-module id="settings-edit-dictionary-page"> |
| 11 <template> | 11 <template> |
| 12 <style include="settings-shared"> | 12 <style include="settings-shared"> |
| 13 :host { | 13 :host { |
| 14 display: flex; | 14 display: flex; |
| 15 flex-direction: column; | 15 flex-direction: column; |
| 16 } | 16 } |
| 17 | 17 |
| 18 #addWordRow { | 18 #addWordRow { |
| 19 display: flex; | 19 display: flex; |
| 20 } | 20 } |
| 21 | 21 |
| 22 #newWord { | 22 #newWord { |
| 23 flex: 1; | 23 flex: .5; |
| 24 } | 24 } |
| 25 | 25 |
| 26 iron-list { | 26 iron-list { |
| 27 /* TODO(michaelpg): Size to fit the viewport. */ | 27 /* TODO(michaelpg): Size to fit the viewport. */ |
| 28 height: 300px; | 28 height: 300px; |
| 29 } | 29 } |
| 30 | 30 |
| 31 iron-list .word { | 31 iron-list .word { |
| 32 flex: 1; | 32 flex: 1; |
| 33 } | 33 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 52 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_"> | 52 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_"> |
| 53 </paper-icon-button> | 53 </paper-icon-button> |
| 54 </div> | 54 </div> |
| 55 </template> | 55 </template> |
| 56 </iron-list> | 56 </iron-list> |
| 57 </div> | 57 </div> |
| 58 </div> | 58 </div> |
| 59 </template> | 59 </template> |
| 60 <script src="edit_dictionary_page.js"></script> | 60 <script src="edit_dictionary_page.js"></script> |
| 61 </dom-module> | 61 </dom-module> |
| OLD | NEW |