| 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/assert.html"> | 2 <link rel="import" href="chrome://resources/html/assert.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 5 | 5 |
| 6 <dom-module id="cr-dialog"> | 6 <dom-module id="cr-dialog"> |
| 7 <template> | 7 <template> |
| 8 <style> | 8 <style> |
| 9 :host { | 9 :host { |
| 10 border: 0; | 10 border: 0; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 .body-container { | 50 .body-container { |
| 51 display: flex; | 51 display: flex; |
| 52 flex-direction: column; | 52 flex-direction: column; |
| 53 max-width: 800px; | 53 max-width: 800px; |
| 54 min-width: 512px; | 54 min-width: 512px; |
| 55 /* TODO(dbeam): use <paper-dialog-scrollable> to get dividers? */ | 55 /* TODO(dbeam): use <paper-dialog-scrollable> to get dividers? */ |
| 56 overflow: auto; | 56 overflow: auto; |
| 57 } | 57 } |
| 58 | 58 |
| 59 :host ::content .body { | 59 :host ::content .body { |
| 60 margin: 12px 0; | 60 padding-bottom: 12px; |
| 61 padding-top: 12px; |
| 61 } | 62 } |
| 62 | 63 |
| 63 :host ::content .body, | 64 :host ::content .body, |
| 64 :host ::content .title { | 65 :host ::content .title { |
| 65 -webkit-padding-end: 24px; | 66 -webkit-padding-end: 24px; |
| 66 -webkit-padding-start: 24px; | 67 -webkit-padding-start: 24px; |
| 67 flex: 1; | 68 flex: 1; |
| 68 } | 69 } |
| 69 | 70 |
| 70 :host ::content .button-container { | 71 :host ::content .button-container { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 95 </paper-icon-button> | 96 </paper-icon-button> |
| 96 </div> | 97 </div> |
| 97 <div class="body-container"> | 98 <div class="body-container"> |
| 98 <content select=".body"></content> | 99 <content select=".body"></content> |
| 99 </div> | 100 </div> |
| 100 <content select=".button-container"></content> | 101 <content select=".button-container"></content> |
| 101 <content select=".footer"></content> | 102 <content select=".footer"></content> |
| 102 </template> | 103 </template> |
| 103 <script src="cr_dialog.js"></script> | 104 <script src="cr_dialog.js"></script> |
| 104 </dom-module> | 105 </dom-module> |
| OLD | NEW |