Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Side by Side Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html

Issue 2800603002: MD WebUI: Pull 'X selected' toolbar overlay from History into shared element (Closed)
Patch Set: dbeam review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.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">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
5
6 <dom-module id="cr-toolbar-selection-overlay">
7 <template>
8 <style>
9 :host {
10 -webkit-padding-start: var(--cr-toolbar-field-margin, 0);
11 height: 56px;
12 display: flex;
13 }
14
15 #overlay-content {
16 align-items: center;
17 display: flex;
18 flex: 1;
19 margin: 0 auto;
20 max-width: var(--selection-overlay-max-width, initial);
21 padding: 0 var(--selection-overlay-padding, 24px);
22 }
23
24 paper-button {
25 font-weight: 500;
26 }
27
28 #number-selected {
29 flex: 1;
30 }
31
32 button {
33 -webkit-margin-end: 24px;
34 -webkit-margin-start: 2px;
35 height: 36px;
36 width: 36px;
37 }
38
39 button iron-icon {
40 height: 20px;
41 width: 20px;
42 }
43 </style>
44 <div id="overlay-content">
45 <button is="paper-icon-button-light"
46 on-tap="onClearSelectionTap_"
47 title="[[cancelLabel]]">
48 <iron-icon icon="cr:clear"></iron-icon>
49 </button>
50 <div id="number-selected">[[selectionLabel]]</div>
51 <paper-button on-tap="onClearSelectionTap_">
52 [[cancelLabel]]
53 </paper-button>
54 <paper-button on-tap="onDeleteTap_">
55 [[deleteLabel]]
56 </paper-button>
57 </div>
58 </template>
59 <script src="cr_toolbar_selection_overlay.js"></script>
60 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698