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-checkbox/paper-ch
eckbox.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
6 <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-light.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
8 <link rel="import" href="chrome://resources/html/icon.html"> | 8 <link rel="import" href="chrome://resources/html/icon.html"> |
9 <link rel="import" href="chrome://resources/html/util.html"> | 9 <link rel="import" href="chrome://resources/html/util.html"> |
10 <link rel="import" href="chrome://history/browser_service.html"> | 10 <link rel="import" href="chrome://history/browser_service.html"> |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 | 119 |
120 #background-clip { | 120 #background-clip { |
121 /* Prevent artifacts when zoomed by overlapping the next item. */ | 121 /* Prevent artifacts when zoomed by overlapping the next item. */ |
122 bottom: -0.4px; | 122 bottom: -0.4px; |
123 clip: rect(auto 999px auto -5px); /* Clip the top and bottom edges. */ | 123 clip: rect(auto 999px auto -5px); /* Clip the top and bottom edges. */ |
124 left: 0; | 124 left: 0; |
125 position: absolute; | 125 position: absolute; |
126 right: 0; | 126 right: 0; |
127 top: 0; | 127 top: 0; |
| 128 z-index: -1; |
128 } | 129 } |
129 | 130 |
130 :host([is-card-end]) #background-clip { | 131 :host([is-card-end]) #background-clip { |
131 bottom: 0; | 132 bottom: 0; |
132 clip: rect(auto 999px 500px -5px); /* Clip the top edge. */ | 133 clip: rect(auto 999px 500px -5px); /* Clip the top edge. */ |
133 } | 134 } |
134 | 135 |
135 #background { | 136 #background { |
136 @apply(--shadow-elevation-2dp); | 137 @apply(--shadow-elevation-2dp); |
137 background: #fff; | 138 background: #fff; |
138 bottom: 0; | 139 bottom: 0; |
139 left: 0; | 140 left: 0; |
140 position: absolute; | 141 position: absolute; |
141 right: 0; | 142 right: 0; |
142 top: 0; | 143 top: 0; |
143 z-index: -1; | |
144 } | 144 } |
145 | 145 |
146 :host([embedded]) #background { | 146 :host([embedded]) #background { |
147 display: none; | 147 display: none; |
148 } | 148 } |
149 | 149 |
150 :host(:not([is-card-start])) #background { | 150 :host(:not([is-card-start])) #background { |
151 top: -5px; /* Draw the box shadow up the full edge of the background. */ | 151 top: -5px; /* Draw the box shadow up the full edge of the background. */ |
152 } | 152 } |
153 | 153 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 <div></div> | 204 <div></div> |
205 <div></div> | 205 <div></div> |
206 </button> | 206 </button> |
207 </div> | 207 </div> |
208 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> | 208 <div id="time-gap-separator" hidden="[[!hasTimeGap]]"></div> |
209 </div> | 209 </div> |
210 </div> | 210 </div> |
211 </template> | 211 </template> |
212 <script src="chrome://history/history_item.js"></script> | 212 <script src="chrome://history/history_item.js"></script> |
213 </dom-module> | 213 </dom-module> |
OLD | NEW |