OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
5 | 5 |
6 <dom-module id="cr-toolbar-selection-overlay"> | 6 <dom-module id="cr-toolbar-selection-overlay"> |
7 <template> | 7 <template> |
8 <style> | 8 <style> |
9 :host { | 9 :host { |
10 -webkit-padding-start: var(--cr-toolbar-field-margin, 0); | 10 -webkit-padding-start: var(--cr-toolbar-field-margin, 0); |
| 11 display: flex; |
11 height: 56px; | 12 height: 56px; |
12 display: flex; | |
13 } | 13 } |
14 | 14 |
15 #overlay-content { | 15 #overlay-content { |
16 align-items: center; | 16 align-items: center; |
17 display: flex; | 17 display: flex; |
18 flex: 1; | 18 flex: 1; |
19 margin: 0 auto; | 19 margin: 0 auto; |
20 max-width: var(--selection-overlay-max-width, initial); | 20 max-width: var(--selection-overlay-max-width, initial); |
21 padding: 0 var(--selection-overlay-padding, 24px); | 21 padding: 0 var(--selection-overlay-padding, 24px); |
22 } | 22 } |
(...skipping 28 matching lines...) Expand all Loading... |
51 <paper-button on-tap="onClearSelectionTap_"> | 51 <paper-button on-tap="onClearSelectionTap_"> |
52 [[cancelLabel]] | 52 [[cancelLabel]] |
53 </paper-button> | 53 </paper-button> |
54 <paper-button on-tap="onDeleteTap_"> | 54 <paper-button on-tap="onDeleteTap_"> |
55 [[deleteLabel]] | 55 [[deleteLabel]] |
56 </paper-button> | 56 </paper-button> |
57 </div> | 57 </div> |
58 </template> | 58 </template> |
59 <script src="cr_toolbar_selection_overlay.js"></script> | 59 <script src="cr_toolbar_selection_overlay.js"></script> |
60 </dom-module> | 60 </dom-module> |
OLD | NEW |