| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.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/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> |
| 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="../prefs/prefs.html"> | 8 <link rel="import" href="../prefs/prefs.html"> |
| 9 <link rel="import" href="../prefs/prefs_behavior.html"> | 9 <link rel="import" href="../prefs/prefs_behavior.html"> |
| 10 <link rel="import" href="../settings_shared_css.html"> | 10 <link rel="import" href="../settings_shared_css.html"> |
| 11 | 11 |
| 12 <dom-module id="settings-edit-dictionary-page"> | 12 <dom-module id="settings-edit-dictionary-page"> |
| 13 <template> | 13 <template> |
| 14 <style include="settings-shared"> | 14 <style include="settings-shared"> |
| 15 :host { | 15 :host { |
| 16 display: flex; | 16 display: flex; |
| 17 flex-direction: column; | 17 flex-direction: column; |
| 18 } | 18 } |
| 19 | 19 |
| 20 #newWord { | 20 #newWord { |
| 21 width: var(--paper-input-max-width); | 21 width: var(--paper-input-max-width); |
| 22 --paper-input-container-label: { | |
| 23 font-size: inherit; | |
| 24 }; | |
| 25 } | 22 } |
| 26 | 23 |
| 27 iron-list { | 24 iron-list { |
| 28 /* TODO(michaelpg): Size to fit the viewport. */ | 25 /* TODO(michaelpg): Size to fit the viewport. */ |
| 29 height: 300px; | 26 height: 300px; |
| 30 } | 27 } |
| 31 | 28 |
| 32 iron-list .word { | 29 iron-list .word { |
| 33 flex: 1; | 30 flex: 1; |
| 34 } | 31 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> | 64 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> |
| 68 <div id="noWordsLabel" class="list-item"> | 65 <div id="noWordsLabel" class="list-item"> |
| 69 $i18n{noCustomDictionaryWordsFound} | 66 $i18n{noCustomDictionaryWordsFound} |
| 70 </div> | 67 </div> |
| 71 </template> | 68 </template> |
| 72 </div> | 69 </div> |
| 73 </div> | 70 </div> |
| 74 </template> | 71 </template> |
| 75 <script src="edit_dictionary_page.js"></script> | 72 <script src="edit_dictionary_page.js"></script> |
| 76 </dom-module> | 73 </dom-module> |
| OLD | NEW |