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

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

Issue 293303002: history: make checkboxes always visible (instead of just when hovered). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 html[dir='rtl'] body.uber-frame > .page { 5 html[dir='rtl'] body.uber-frame > .page {
6 -webkit-margin-end: 0; 6 -webkit-margin-end: 0;
7 } 7 }
8 8
9 body.uber-frame > .page.big-topbar-page { 9 body.uber-frame > .page.big-topbar-page {
10 padding-top: 78px; 10 padding-top: 78px;
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 max-width: 90px; 340 max-width: 90px;
341 min-width: -webkit-min-content; 341 min-width: -webkit-min-content;
342 overflow: hidden; 342 overflow: hidden;
343 text-overflow: ellipsis; 343 text-overflow: ellipsis;
344 white-space: nowrap; 344 white-space: nowrap;
345 } 345 }
346 346
347 .entry input[type='checkbox'] { 347 .entry input[type='checkbox'] {
348 -webkit-margin-end: 6px; 348 -webkit-margin-end: 6px;
349 line-height: 1em; 349 line-height: 1em;
350 margin-top: 2px;
351 min-width: 13px; 350 min-width: 13px;
351 top: 0;
352 } 352 }
353 353
354 <if expr="not is_android"> 354 <if expr="not is_android">
355 /* Checkboxes are shown when checked or focused, or when the entry is hovered.
356 * Fade in on focus, but not on hover, because it makes the UI feel laggy. */
357 .site-domain-wrapper input[type=checkbox]:not(:checked),
358 .entry input[type='checkbox']:not(:checked) {
359 opacity: 0;
360 }
361
362 .site-domain-wrapper:hover input[type='checkbox'], 355 .site-domain-wrapper:hover input[type='checkbox'],
356 .site-domain-wrapper input[type='checkbox']:checked,
363 .site-domain-wrapper input[type='checkbox']:focus, 357 .site-domain-wrapper input[type='checkbox']:focus,
364 .entry-box:hover input[type='checkbox'], 358 .entry-box:hover input[type='checkbox'],
359 .entry-box input[type='checkbox']:checked,
365 .entry-box input[type='checkbox']:focus { 360 .entry-box input[type='checkbox']:focus {
366 opacity: 1; 361 border-color: rgba(0, 0, 0, .5);
367 }
368
369 .site-domain-wrapper input[type='checkbox']:focus,
370 .entry-box input[type='checkbox']:focus {
371 -webkit-transition: opacity 150ms;
372 } 362 }
373 363
374 .filter-status { 364 .filter-status {
375 -webkit-margin-start: 10px; 365 -webkit-margin-start: 10px;
376 } 366 }
377 367
378 .filter-status > div { 368 .filter-status > div {
379 -webkit-flex: 0 0 auto; 369 -webkit-flex: 0 0 auto;
380 -webkit-transition: background-color 150ms; 370 -webkit-transition: background-color 150ms;
381 border-radius: 3px; 371 border-radius: 3px;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 background: url('../ssl/images/roadblock.png'); 411 background: url('../ssl/images/roadblock.png');
422 background-size: 30%; 412 background-size: 30%;
423 } 413 }
424 414
425 .blocked-indicator .title { 415 .blocked-indicator .title {
426 color: rgb(151, 156, 160); 416 color: rgb(151, 156, 160);
427 } 417 }
428 </if> 418 </if>
429 419
430 .entry-box { 420 .entry-box {
431 background-color: none; 421 -webkit-padding-start: 6px;
422 border-radius: 2px;
432 } 423 }
433 424
434 .entry-box:hover, 425 .entry-box:hover,
435 .entry-box.contains-focus { 426 .entry-box.contains-focus {
436 background-color: rgb(252, 252, 252); 427 background-color: rgba(0, 0, 0, .05);
437 border-radius: 2px;
438 } 428 }
439 429
440 .entry-box-container { 430 .entry-box-container {
441 display: -webkit-flex; 431 display: -webkit-flex;
442 } 432 }
443 433
444 .entry .visit-entry { 434 .entry .visit-entry {
445 display: -webkit-flex; 435 display: -webkit-flex;
446 min-width: 0; 436 min-width: 0;
447 } 437 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 background-image: url(../../../../ui/webui/resources/images/phone_small.png); 613 background-image: url(../../../../ui/webui/resources/images/phone_small.png);
624 background-position: 14px center; 614 background-position: 14px center;
625 padding-left: 43px; 615 padding-left: 43px;
626 } 616 }
627 617
628 #action-menu[data-devicetype='tablet']::before { 618 #action-menu[data-devicetype='tablet']::before {
629 background-image: url(../../../../ui/webui/resources/images/tablet_small.png); 619 background-image: url(../../../../ui/webui/resources/images/tablet_small.png);
630 background-position: 17px center; 620 background-position: 17px center;
631 padding-left: 49px; 621 padding-left: 49px;
632 } 622 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698