| 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 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/default-th
eme.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/default-th
eme.html"> |
| 6 | 6 |
| 7 <dom-module id="cr-dialog"> | 7 <dom-module id="cr-dialog"> |
| 8 <template> | 8 <template> |
| 9 <style> | 9 <style> |
| 10 :host { | 10 :host { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 :host ::content .button-container .cancel-button { | 81 :host ::content .button-container .cancel-button { |
| 82 -webkit-margin-end: 8px; | 82 -webkit-margin-end: 8px; |
| 83 color: var(--paper-grey-600); | 83 color: var(--paper-grey-600); |
| 84 } | 84 } |
| 85 | 85 |
| 86 :host ::content .footer { | 86 :host ::content .footer { |
| 87 border-bottom-left-radius: inherit; | 87 border-bottom-left-radius: inherit; |
| 88 border-bottom-right-radius: inherit; | 88 border-bottom-right-radius: inherit; |
| 89 margin: 0; | 89 margin: 0; |
| 90 padding: 12px 20px; | 90 padding: 16px 20px; |
| 91 } | 91 } |
| 92 | 92 |
| 93 :host ::content .border-top-divider { | 93 :host ::content .border-top-divider { |
| 94 border-top: 1px solid var(--divider-color); | 94 border-top: 1px solid var(--divider-color); |
| 95 } | 95 } |
| 96 </style> | 96 </style> |
| 97 <div class="title-container"> | 97 <div class="title-container"> |
| 98 <content select=".title"></content> | 98 <content select=".title"></content> |
| 99 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" | 99 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" |
| 100 aria-label$="[[closeText]]"> | 100 aria-label$="[[closeText]]"> |
| 101 </paper-icon-button> | 101 </paper-icon-button> |
| 102 </div> | 102 </div> |
| 103 <div class="body-container"> | 103 <div class="body-container"> |
| 104 <content select=".body"></content> | 104 <content select=".body"></content> |
| 105 </div> | 105 </div> |
| 106 <content select=".button-container"></content> | 106 <content select=".button-container"></content> |
| 107 <content select=".footer"></content> | 107 <content select=".footer"></content> |
| 108 </template> | 108 </template> |
| 109 <script src="cr_dialog.js"></script> | 109 <script src="cr_dialog.js"></script> |
| 110 </dom-module> | 110 </dom-module> |
| OLD | NEW |