| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 .title-container { | 31 .title-container { |
| 32 align-items: center; | 32 align-items: center; |
| 33 border-bottom: 1px solid var(--divider-color); | 33 border-bottom: 1px solid var(--divider-color); |
| 34 display: flex; | 34 display: flex; |
| 35 min-height: 52px; | 35 min-height: 52px; |
| 36 } | 36 } |
| 37 | 37 |
| 38 :host ::content .title { | 38 :host ::content .title { |
| 39 font-size: 123.07%; /* (16px / 13px) * 100 */ | 39 font-size: 123.07%; /* (16px / 13px) * 100 */ |
| 40 outline: none; |
| 40 } | 41 } |
| 41 | 42 |
| 42 #close { | 43 #close { |
| 43 --paper-icon-button: { | 44 --paper-icon-button: { |
| 44 height: 40px; | 45 height: 40px; |
| 45 width: 40px; | 46 width: 40px; |
| 46 }; | 47 }; |
| 47 -webkit-margin-end: 6px; | 48 -webkit-margin-end: 6px; |
| 48 /* <paper-icon-button> overrides --iron-icon-{height,width}, so this | 49 /* <paper-icon-button> overrides --iron-icon-{height,width}, so this |
| 49 * padding essentially reduces 40x40 to 20x20. */ | 50 * padding essentially reduces 40x40 to 20x20. */ |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 </paper-icon-button> | 102 </paper-icon-button> |
| 102 </div> | 103 </div> |
| 103 <div class="body-container"> | 104 <div class="body-container"> |
| 104 <content select=".body"></content> | 105 <content select=".body"></content> |
| 105 </div> | 106 </div> |
| 106 <content select=".button-container"></content> | 107 <content select=".button-container"></content> |
| 107 <content select=".footer"></content> | 108 <content select=".footer"></content> |
| 108 </template> | 109 </template> |
| 109 <script src="cr_dialog.js"></script> | 110 <script src="cr_dialog.js"></script> |
| 110 </dom-module> | 111 </dom-module> |
| OLD | NEW |