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/polymer/v1_0/iron-dropdown/iron-drop
down.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tab.ht
ml"> | |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tabs.h
tml"> | |
9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
10 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
11 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> | 6 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> |
12 <link rel="import" href="chrome://history/browser_service.html"> | 7 <link rel="import" href="chrome://history/browser_service.html"> |
13 <link rel="import" href="chrome://history/icons.html"> | 8 <link rel="import" href="chrome://history/icons.html"> |
14 <link rel="import" href="chrome://history/shared_style.html"> | 9 <link rel="import" href="chrome://history/shared_style.html"> |
15 | 10 |
| 11 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light, |
| 12 paper-tab, paper-tabs. --> |
| 13 |
16 <dom-module id="history-toolbar"> | 14 <dom-module id="history-toolbar"> |
17 <template> | 15 <template> |
18 <style include="shared-style"> | 16 <style include="shared-style"> |
19 :host { | 17 :host { |
20 color: #fff; | 18 color: #fff; |
21 display: block; | 19 display: block; |
22 transition: background-color 150ms; | 20 transition: background-color 150ms; |
23 width: 100%; | 21 width: 100%; |
24 } | 22 } |
25 | 23 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 56 |
59 :host([has-drawer]) cr-toolbar { | 57 :host([has-drawer]) cr-toolbar { |
60 --cr-toolbar-field-margin: 0; | 58 --cr-toolbar-field-margin: 0; |
61 } | 59 } |
62 | 60 |
63 cr-toolbar .more-actions { | 61 cr-toolbar .more-actions { |
64 -webkit-margin-end: 12px; | 62 -webkit-margin-end: 12px; |
65 } | 63 } |
66 | 64 |
67 #info-button { | 65 #info-button { |
| 66 /* Additional styles for unresolved <button>. */ |
| 67 background: none; |
| 68 border: none; |
| 69 color: inherit; |
68 height: 32px; | 70 height: 32px; |
69 margin: 6px; | 71 margin: 6px; |
| 72 outline: none; |
| 73 padding: 0; |
70 width: 32px; | 74 width: 32px; |
71 } | 75 } |
72 | 76 |
73 #info-button-icon { | 77 #info-button-icon { |
74 height: 20px; | 78 height: 20px; |
75 width: 20px; | 79 width: 20px; |
76 } | 80 } |
77 | 81 |
78 iron-dropdown { | 82 iron-dropdown { |
79 margin-top: 28px; /** Height of icon + 8px spacing. */ | 83 margin-top: 28px; /** Height of icon + 8px spacing. */ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 class="rtl-reversible"></paper-icon-button> | 242 class="rtl-reversible"></paper-icon-button> |
239 <paper-icon-button icon="cr:chevron-right" | 243 <paper-icon-button icon="cr:chevron-right" |
240 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" | 244 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" |
241 class="rtl-reversible"></paper-icon-button> | 245 class="rtl-reversible"></paper-icon-button> |
242 </div> | 246 </div> |
243 </div> | 247 </div> |
244 </template> | 248 </template> |
245 </template> | 249 </template> |
246 <script src="chrome://history/history_toolbar.js"></script> | 250 <script src="chrome://history/history_toolbar.js"></script> |
247 </dom-module> | 251 </dom-module> |
OLD | NEW |