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

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.css

Issue 13375003: Fixing iframe jank in the local omnibox popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/local_ntp/local_ntp.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 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 body { 4 body {
5 background-attachment: fixed !important; 5 background-attachment: fixed !important;
6 background-color: white; 6 background-color: white;
7 cursor: default; 7 cursor: default;
8 margin: 0; 8 margin: 0;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 position: absolute; 296 position: absolute;
297 right: 13px; 297 right: 13px;
298 text-align: left; 298 text-align: left;
299 z-index: -1; 299 z-index: -1;
300 } 300 }
301 301
302 #attribution img { 302 #attribution img {
303 display: block; 303 display: block;
304 } 304 }
305 305
306 #suggestions-box { 306 .suggestions-box {
307 border-bottom: 1px #d9d9d9 solid; 307 border-bottom: 1px #d9d9d9 solid;
308 padding-bottom: 6px; 308 padding-bottom: 6px;
309 padding-top: 6px; 309 padding-top: 6px;
310 } 310 }
311 311
312 #suggestions-box-container {
313 position: absolute;
314 top: 0;
315 width: 100%;
316 }
317
318 .suggestion { 312 .suggestion {
319 background: -webkit-image-set( 313 background: -webkit-image-set(
320 url(images/page_icon.png) 1x, 314 url(images/page_icon.png) 1x,
321 url(images/2x/page_icon.png) 2x) no-repeat; 315 url(images/2x/page_icon.png) 2x) no-repeat;
322 border-radius: 2px; 316 border-radius: 2px;
323 padding-bottom: 2px; 317 padding-bottom: 2px;
324 padding-top: 3px; 318 padding-top: 3px;
319 height: 22px;
325 white-space: nowrap; 320 white-space: nowrap;
326 } 321 }
327 322
328 .search { 323 .search {
329 background: -webkit-image-set( 324 background: -webkit-image-set(
330 url(images/search_icon.png) 1x, 325 url(images/search_icon.png) 1x,
331 url(images/2x/search_icon.png) 2x) no-repeat; 326 url(images/2x/search_icon.png) 2x) no-repeat;
332 } 327 }
333 328
334 .suggestion:hover { 329 .hovered {
335 background-color: #eee; 330 background-color: #eee;
336 } 331 }
337 332
338 .selected, 333 .selected {
339 .selected:hover {
340 background-color: rgba(181, 213, 255, 0.5); 334 background-color: rgba(181, 213, 255, 0.5);
341 } 335 }
342 336
343 .contents { 337 .suggestion-contents {
344 -webkit-padding-start: 26px; 338 -webkit-padding-start: 26px;
345 -webkit-user-select: none; 339 -webkit-user-select: none;
346 border: none; 340 border: none;
347 height: 22px; 341 height: 22px;
348 overflow: hidden; 342 overflow: hidden;
343 position: absolute;
349 } 344 }
350 345
351 /* Styling for native suggestions, hidden by the shadow DOM. */ 346 .pending-suggestions-container {
352 .chrome_url { 347 display: none;
353 color: rgb(0, 153, 51);
354 } 348 }
355
356 .chrome_title {
357 color: #666;
358 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/local_ntp/local_ntp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698