| OLD | NEW |
| 1 <link rel="import" href="/shared_styles.html"> | 1 <link rel="import" href="/shared_styles.html"> |
| 2 <link rel="import" href="/user_manager_dialog.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 | 4 |
| 5 <dom-module id="error-dialog"> | 5 <dom-module id="error-dialog"> |
| 6 <template> | 6 <template> |
| 7 <style include="shared-styles"> | 7 <style include="shared-styles"> |
| 8 #dialog { | 8 :host { |
| 9 --user-manager-dialog-title-bar: { | 9 color: var(--primary-text-color); |
| 10 border-bottom: 0; | |
| 11 }; | |
| 12 } | 10 } |
| 13 | 11 |
| 14 #message { | 12 #message { |
| 15 margin-bottom: 52px; | 13 margin-bottom: 52px; |
| 16 white-space: pre-wrap; | 14 white-space: pre-wrap; |
| 17 word-wrap: break-word; | 15 word-wrap: break-word; |
| 18 } | 16 } |
| 19 </style> | 17 </style> |
| 20 <user-manager-dialog id="dialog"> | 18 <dialog is="cr-dialog" id="dialog"> |
| 21 <div class="body"> | 19 <div class="body"> |
| 22 <div id="message">[[message_]]</div> | 20 <div id="message">[[message_]]</div> |
| 23 </div> | 21 </div> |
| 24 </user-manager-dialog> | 22 </dialog> |
| 25 </template> | 23 </template> |
| 26 <script src="error_dialog.js"></script> | 24 <script src="error_dialog.js"></script> |
| 27 </dom-module> | 25 </dom-module> |
| OLD | NEW |