OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 3 <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"> | 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"> | 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-styles/shadow.htm
l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
7 <link rel="import" href="chrome://resources/html/icon.html"> | 7 <link rel="import" href="chrome://resources/html/icon.html"> |
8 <link rel="import" href="chrome://resources/html/util.html"> | 8 <link rel="import" href="chrome://resources/html/util.html"> |
9 <link rel="import" href="chrome://history/browser_service.html"> | 9 <link rel="import" href="chrome://history/browser_service.html"> |
10 <link rel="import" href="chrome://history/constants.html"> | 10 <link rel="import" href="chrome://history/constants.html"> |
11 <link rel="import" href="chrome://history/searched_label.html"> | 11 <link rel="import" href="chrome://history/searched_label.html"> |
12 <link rel="import" href="chrome://history/shared_style.html"> | 12 <link rel="import" href="chrome://history/shared_style.html"> |
13 | 13 |
14 <dom-module id="history-item"> | 14 <dom-module id="history-item"> |
15 <template> | 15 <template> |
16 <style include="shared-style"> | 16 <style include="shared-style"> |
17 :host { | 17 :host { |
18 --checked-color: rgb(68, 136, 255); | 18 --checked-color: rgb(68, 136, 255); |
19 display: block; | 19 display: block; |
20 } | 20 } |
21 | 21 |
22 :host(:not([embedded])) #main-container { | 22 :host(:not([embedded])) #main-container { |
23 position: relative; | 23 position: relative; |
24 } | 24 } |
25 | 25 |
26 :host(:not([embedded])) #sizing-container { | 26 :host(:not([embedded])) #sizing-container { |
27 @apply(--card-sizing); | 27 @apply(--card-sizing); |
28 } | 28 } |
29 | 29 |
30 :host([is-first-item]) #main-container { | |
31 margin-top: var(--first-card-padding-top); | |
32 } | |
33 | |
34 :host([is-card-end]) #main-container { | 30 :host([is-card-end]) #main-container { |
35 margin-bottom: var(--card-padding-between); | 31 margin-bottom: var(--card-padding-between); |
36 } | 32 } |
37 | 33 |
38 :host([is-card-start][is-card-end]) #main-container { | 34 :host([is-card-start][is-card-end]) #main-container { |
39 border-radius: 2px; | 35 border-radius: 2px; |
40 } | 36 } |
41 | 37 |
42 #date-accessed { | 38 #date-accessed { |
43 display: none; | 39 display: none; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 <div></div> | 241 <div></div> |
246 <div></div> | 242 <div></div> |
247 </button> | 243 </button> |
248 </div> | 244 </div> |
249 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> | 245 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> |
250 </div> | 246 </div> |
251 </div> | 247 </div> |
252 </template> | 248 </template> |
253 <script src="chrome://history/history_item.js"></script> | 249 <script src="chrome://history/history_item.js"></script> |
254 </dom-module> | 250 </dom-module> |
OLD | NEW |