Chromium Code Reviews| 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; |
| 11 border-radius: 2px; | 11 border-radius: 2px; |
| 12 bottom: 0; | 12 bottom: 0; |
| 13 box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.12), | |
| 14 0px 16px 16px rgba(0, 0, 0, 0.24); | |
|
Dan Beam
2017/01/31 03:02:24
i highly suspect we're copying this from somewhere
| |
| 13 color: inherit; | 15 color: inherit; |
| 14 padding: 0; | 16 padding: 0; |
| 15 top: 0; | 17 top: 0; |
| 16 width: 512px; | 18 width: 512px; |
| 17 } | 19 } |
| 18 | 20 |
| 19 :host::backdrop { | 21 :host::backdrop { |
| 20 background-color: rgba(0, 0, 0, 0.6); | 22 background-color: rgba(0, 0, 0, 0.6); |
| 21 bottom: 0; | 23 bottom: 0; |
| 22 left: 0; | 24 left: 0; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 </paper-icon-button> | 98 </paper-icon-button> |
| 97 </div> | 99 </div> |
| 98 <div class="body-container"> | 100 <div class="body-container"> |
| 99 <content select=".body"></content> | 101 <content select=".body"></content> |
| 100 </div> | 102 </div> |
| 101 <content select=".button-container"></content> | 103 <content select=".button-container"></content> |
| 102 <content select=".footer"></content> | 104 <content select=".footer"></content> |
| 103 </template> | 105 </template> |
| 104 <script src="cr_dialog.js"></script> | 106 <script src="cr_dialog.js"></script> |
| 105 </dom-module> | 107 </dom-module> |
| OLD | NEW |