OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
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://bookmarks/shared_style.html"> | 4 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
5 | 5 |
6 <dom-module id="bookmarks-toast-manager"> | 6 <dom-module id="bookmarks-toast-manager"> |
7 <template> | 7 <template> |
8 <style include="shared-style"> | 8 <style include="shared-style"> |
9 #content { | 9 #content { |
10 display: flex; | 10 display: flex; |
11 flex: 1; | 11 flex: 1; |
12 margin-right: 32px; | 12 margin-right: 32px; |
13 overflow: hidden; | 13 overflow: hidden; |
14 text-overflow: ellipsis; | 14 text-overflow: ellipsis; |
15 white-space: nowrap; | 15 white-space: nowrap; |
16 } | 16 } |
17 | 17 |
18 paper-button { | 18 paper-button { |
19 color: var(--google-blue-300); | 19 color: var(--google-blue-300); |
20 font-weight: 500; | 20 font-weight: 500; |
21 height: 32px; | 21 height: 32px; |
22 margin: 0; | 22 margin: 0; |
23 min-width: 52px; | 23 min-width: 52px; |
24 padding: 8px; | 24 padding: 8px; |
25 } | 25 } |
26 | 26 |
27 .collapsible { | 27 .collapsible { |
28 flex: 1; | |
calamity
2017/07/03 03:40:05
I thought we got rid of this?
tsergeant
2017/07/03 05:28:29
oops, merge flub
| |
28 overflow: hidden; | 29 overflow: hidden; |
29 text-overflow: ellipsis; | 30 text-overflow: ellipsis; |
30 } | 31 } |
31 | 32 |
32 span { | 33 span { |
33 white-space: pre; | 34 white-space: pre; |
34 } | 35 } |
35 | 36 |
36 #toast { | 37 #toast { |
37 align-items: center; | 38 align-items: center; |
(...skipping 23 matching lines...) Expand all Loading... | |
61 </style> | 62 </style> |
62 <div id="toast" aria-live="polite"> | 63 <div id="toast" aria-live="polite"> |
63 <div id="content"></div> | 64 <div id="content"></div> |
64 <paper-button id="button" hidden$="[[!showUndo_]]" on-tap="onUndoTap_"> | 65 <paper-button id="button" hidden$="[[!showUndo_]]" on-tap="onUndoTap_"> |
65 $i18n{undo} | 66 $i18n{undo} |
66 </paper-button> | 67 </paper-button> |
67 </div> | 68 </div> |
68 </template> | 69 </template> |
69 <script src="chrome://bookmarks/toast_manager.js"></script> | 70 <script src="chrome://bookmarks/toast_manager.js"></script> |
70 </dom-module> | 71 </dom-module> |
OLD | NEW |