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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
99 --paper-icon-button: { | 99 --paper-icon-button: { |
100 height: 36px; | 100 height: 36px; |
101 width: 36px; | 101 width: 36px; |
102 }; | 102 }; |
103 | 103 |
104 --layout-inline: { | 104 --layout-inline: { |
105 display: flex; | 105 display: flex; |
106 }; | 106 }; |
107 | 107 |
108 -webkit-margin-end: 4px; | 108 -webkit-margin-end: 4px; |
109 align-self: flex-start; | |
110 margin-top: 4px; | |
dschuyler
2017/04/11 23:49:32
I believe this dialog is used in a variety of plac
dullweber
2017/04/13 14:47:50
I checked the existing page of the clear_browsing_
| |
109 padding: 10px; /* Makes the actual icon 16x16. */ | 111 padding: 10px; /* Makes the actual icon 16x16. */ |
110 } | 112 } |
111 </style> | 113 </style> |
112 <div class="top-container"> | 114 <div class="top-container"> |
113 <div class="title-container" tabindex="-1"> | 115 <div class="title-container" tabindex="-1"> |
114 <content select=".title"></content> | 116 <content select=".title"></content> |
115 </div> | 117 </div> |
116 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" | 118 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" |
117 aria-label$="[[closeText]]"> | 119 aria-label$="[[closeText]]"> |
118 </paper-icon-button> | 120 </paper-icon-button> |
119 </div> | 121 </div> |
120 <div class="body-container"> | 122 <div class="body-container"> |
121 <span id="bodyTopMarker"></span> | 123 <span id="bodyTopMarker"></span> |
122 <content select=".body"></content> | 124 <content select=".body"></content> |
123 <span id="bodyBottomMarker"></span> | 125 <span id="bodyBottomMarker"></span> |
124 </div> | 126 </div> |
125 <content select=".button-container"></content> | 127 <content select=".button-container"></content> |
126 <content select=".footer"></content> | 128 <content select=".footer"></content> |
127 </template> | 129 </template> |
128 <script src="cr_dialog.js"></script> | 130 <script src="cr_dialog.js"></script> |
129 </dom-module> | 131 </dom-module> |
OLD | NEW |