| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.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-list/iron-list.htm
l"> | 3 <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/paper-checkbox/paper-ch
eckbox.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
| 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="languages.html"> | 6 <link rel="import" href="languages.html"> |
| 7 <link rel="import" href="../settings_page/settings_subpage_search.html"> | 7 <link rel="import" href="../settings_page/settings_subpage_search.html"> |
| 8 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-add-languages-dialog"> | 10 <dom-module id="settings-add-languages-dialog"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 | 24 |
| 25 iron-list { | 25 iron-list { |
| 26 flex: 1; | 26 flex: 1; |
| 27 } | 27 } |
| 28 | 28 |
| 29 .ripple-padding { | 29 .ripple-padding { |
| 30 /* Create a little extra space for checkbox ink ripple to flow into. */ | 30 /* Create a little extra space for checkbox ink ripple to flow into. */ |
| 31 -webkit-padding-start: 20px; | 31 -webkit-padding-start: 20px; |
| 32 } | 32 } |
| 33 |
| 34 paper-checkbox { |
| 35 --paper-checkbox-label: { |
| 36 white-space: nowrap; |
| 37 } |
| 38 } |
| 33 </style> | 39 </style> |
| 34 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> | 40 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> |
| 35 <div class="title">$i18n{addLanguagesDialogTitle}</div> | 41 <div class="title">$i18n{addLanguagesDialogTitle}</div> |
| 36 <div class="body"> | 42 <div class="body"> |
| 37 <settings-subpage-search label="[[searchLabel]]" | 43 <settings-subpage-search label="[[searchLabel]]" |
| 38 on-search-changed="onSearchChanged_" autofocus> | 44 on-search-changed="onSearchChanged_" autofocus> |
| 39 </settings-subpage-search> | 45 </settings-subpage-search> |
| 40 <iron-list class="ripple-padding" scroll-target="[[$$('.body')]]" | 46 <iron-list class="ripple-padding" scroll-target="[[$$('.body')]]" |
| 41 items="[[getLanguages_( | 47 items="[[getLanguages_( |
| 42 languages.supported, languages.enabled.*, filterValue_)]]"> | 48 languages.supported, languages.enabled.*, filterValue_)]]"> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 58 <paper-button class="action-button" on-tap="onActionButtonTap_" | 64 <paper-button class="action-button" on-tap="onActionButtonTap_" |
| 59 disabled="[[disableActionButton_]]"> | 65 disabled="[[disableActionButton_]]"> |
| 60 $i18n{add} | 66 $i18n{add} |
| 61 </paper-button> | 67 </paper-button> |
| 62 </div> | 68 </div> |
| 63 </div> | 69 </div> |
| 64 </dialog> | 70 </dialog> |
| 65 </template> | 71 </template> |
| 66 <script src="add_languages_dialog.js"></script> | 72 <script src="add_languages_dialog.js"></script> |
| 67 </dom-module> | 73 </dom-module> |
| OLD | NEW |