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/icons.html"> | 7 <link rel="import" href="chrome://history/icons.html"> |
13 <link rel="import" href="chrome://history/shared_style.html"> | 8 <link rel="import" href="chrome://history/shared_style.html"> |
14 | 9 |
| 10 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light, |
| 11 paper-tab, paper-tabs. --> |
| 12 |
15 <dom-module id="history-toolbar"> | 13 <dom-module id="history-toolbar"> |
16 <template> | 14 <template> |
17 <style include="shared-style"> | 15 <style include="shared-style"> |
18 :host { | 16 :host { |
19 color: #fff; | 17 color: #fff; |
20 display: block; | 18 display: block; |
21 transition: background-color 150ms; | 19 transition: background-color 150ms; |
22 width: 100%; | 20 width: 100%; |
23 } | 21 } |
24 | 22 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 55 |
58 :host([has-drawer]) cr-toolbar { | 56 :host([has-drawer]) cr-toolbar { |
59 --cr-toolbar-field-margin: 0; | 57 --cr-toolbar-field-margin: 0; |
60 } | 58 } |
61 | 59 |
62 cr-toolbar .more-actions { | 60 cr-toolbar .more-actions { |
63 -webkit-margin-end: 12px; | 61 -webkit-margin-end: 12px; |
64 } | 62 } |
65 | 63 |
66 #info-button { | 64 #info-button { |
| 65 /* Additional styles for unresolved <button>. */ |
| 66 background: none; |
| 67 border: none; |
| 68 color: inherit; |
67 height: 32px; | 69 height: 32px; |
68 margin: 6px; | 70 margin: 6px; |
| 71 outline: none; |
| 72 padding: 0; |
69 width: 32px; | 73 width: 32px; |
70 } | 74 } |
71 | 75 |
72 #info-button-icon { | 76 #info-button-icon { |
73 height: 20px; | 77 height: 20px; |
74 width: 20px; | 78 width: 20px; |
75 } | 79 } |
76 | 80 |
77 iron-dropdown { | 81 iron-dropdown { |
78 margin-top: 28px; /** Height of icon + 8px spacing. */ | 82 margin-top: 28px; /** Height of icon + 8px spacing. */ |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 class="rtl-reversible"></paper-icon-button> | 233 class="rtl-reversible"></paper-icon-button> |
230 <paper-icon-button icon="cr:chevron-right" | 234 <paper-icon-button icon="cr:chevron-right" |
231 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" | 235 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" |
232 class="rtl-reversible"></paper-icon-button> | 236 class="rtl-reversible"></paper-icon-button> |
233 </div> | 237 </div> |
234 </div> | 238 </div> |
235 </template> | 239 </template> |
236 </template> | 240 </template> |
237 <script src="chrome://history/history_toolbar.js"></script> | 241 <script src="chrome://history/history_toolbar.js"></script> |
238 </dom-module> | 242 </dom-module> |
OLD | NEW |