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-dialog-behavior/p aper-dialog-behavior.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-behavior.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
7 | 7 |
8 <dom-module id="cr-dialog"> | 8 <dom-module id="cr-dialog"> |
9 <template> | 9 <template> |
10 <style include="paper-dialog-shared-styles"> | 10 <style include="paper-dialog-shared-styles"> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 :host ::content .footer { | 86 :host ::content .footer { |
87 background-color: var(--paper-grey-200); | 87 background-color: var(--paper-grey-200); |
88 border-bottom-left-radius: inherit; | 88 border-bottom-left-radius: inherit; |
89 border-bottom-right-radius: inherit; | 89 border-bottom-right-radius: inherit; |
90 margin: 0; | 90 margin: 0; |
91 padding: 12px 20px; | 91 padding: 12px 20px; |
92 } | 92 } |
93 </style> | 93 </style> |
94 <div class="title-container"> | 94 <div class="title-container"> |
95 <content select=".title"></content> | 95 <content select=".title"></content> |
96 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"> | 96 <paper-icon-button disabled$="[[closeDisabled]]" icon="cr:clear" |
Dan Beam
2016/07/01 01:03:21
don't we really want to disable submitting?
dschuyler
2016/07/02 01:49:24
Done.
| |
97 on-tap="cancel" id="close"> | |
97 </paper-icon-button> | 98 </paper-icon-button> |
98 </div> | 99 </div> |
99 <div class="body-container"> | 100 <div class="body-container"> |
100 <content select=".body"></content> | 101 <content select=".body"></content> |
101 </div> | 102 </div> |
102 <content select=".button-container"></content> | 103 <content select=".button-container"></content> |
103 <content select=".footer"></content> | 104 <content select=".footer"></content> |
104 </template> | 105 </template> |
105 <script src="cr_dialog.js"></script> | 106 <script src="cr_dialog.js"></script> |
106 </dom-module> | 107 </dom-module> |
OLD | NEW |