Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: chrome/browser/resources/history/history_mobile.css

Issue 1596273003: [Android] Use fallback icon if there is no large favicon on the history page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* This file contains styles specific to Android and iOS. */ 5 /* This file contains styles specific to Android and iOS. */
6 6
7 html:not(.focus-outline-visible) :focus { 7 html:not(.focus-outline-visible) :focus {
8 outline: none; 8 outline: none;
9 } 9 }
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 opacity: 0; 189 opacity: 0;
190 } 190 }
191 191
192 .entry input[type=checkbox] { 192 .entry input[type=checkbox] {
193 display: none; 193 display: none;
194 } 194 }
195 195
196 .entry .visit-entry { 196 .entry .visit-entry {
197 -webkit-flex: auto; 197 -webkit-flex: auto;
198 -webkit-flex-flow: column; 198 -webkit-flex-flow: column;
199 -webkit-padding-start: 48px; 199 -webkit-padding-start: 16px;
200 background-size: 32px;
201 line-height: 1.3; 200 line-height: 1.3;
202 } 201 }
203 202
204 .entry .visit-entry.blocked-indicator { 203 .entry .visit-entry.blocked-indicator {
205 line-height: 2; 204 line-height: 2;
206 } 205 }
207 206
208 .entry .visit-entry :-webkit-any(a, .domain) { 207 .entry .visit-entry :-webkit-any(a, .domain) {
209 display: block; 208 display: block;
210 margin-left: 0; 209 margin-left: 0;
211 margin-right: 0; 210 margin-right: 0;
212 min-width: 0; 211 min-width: 0;
213 overflow: hidden; 212 overflow: hidden;
214 padding-left: 0; 213 padding-left: 0;
215 padding-right: 0; 214 padding-right: 0;
216 text-overflow: ellipsis; 215 text-overflow: ellipsis;
217 white-space: nowrap; 216 white-space: nowrap;
218 } 217 }
219 218
220 .entry .visit-entry.blocked-indicator a { 219 .entry .visit-entry.blocked-indicator a {
221 display: inline; 220 display: inline;
222 } 221 }
223 222
223 .favicon {
224 background-size: 32px;
225 height: 32px;
226 width: 32px;
227 }
228
229 .fallback-favicon {
230 border-radius: 2px;
231 color: white;
232 font: bold 20px/32px sans-serif;
233 text-align: center;
234 }
235
224 .entry .domain { 236 .entry .domain {
225 font-size: 14px; 237 font-size: 14px;
226 } 238 }
227 239
228 #older-button { 240 #older-button {
229 -webkit-padding-end: 16px; 241 -webkit-padding-end: 16px;
230 } 242 }
231 243
232 #newest-button { 244 #newest-button {
233 -webkit-padding-start: 16px; 245 -webkit-padding-start: 16px;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 337
326 .ios-keyboard-visible #scrolling-container { 338 .ios-keyboard-visible #scrolling-container {
327 /* Should be 0, but that breaks scrolling -- see crbug.com/292715. */ 339 /* Should be 0, but that breaks scrolling -- see crbug.com/292715. */
328 bottom: -1px; 340 bottom: -1px;
329 } 341 }
330 342
331 #results-header:empty { 343 #results-header:empty {
332 display: none; 344 display: none;
333 } 345 }
334 </if> /* is_ios */ 346 </if> /* is_ios */
OLDNEW
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698