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

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 5685003: DOMUI Prefs: Add a deletable item list type, and use it for startup pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits fixed Created 10 years 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
OLDNEW
1 body { 1 body {
2 -webkit-user-select: none; 2 -webkit-user-select: none;
3 cursor: default; 3 cursor: default;
4 font-size: 100%; 4 font-size: 100%;
5 } 5 }
6 6
7 #settings-title { 7 #settings-title {
8 -webkit-padding-end: 24px; 8 -webkit-padding-end: 24px;
9 color: #53637d; 9 color: #53637d;
10 font-size: 200%; 10 font-size: 200%;
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 list > .heading { 390 list > .heading {
391 color: #666666; 391 color: #666666;
392 } 392 }
393 393
394 list > .heading:hover { 394 list > .heading:hover {
395 background-color: transparent; 395 background-color: transparent;
396 border-color: transparent; 396 border-color: transparent;
397 } 397 }
398 398
399 list .deletable-item {
400 display: -webkit-box;
401 }
402
403 list .deletable-item > :first-child {
404 -webkit-box-flex: 1;
405 }
406
407 list .close-button {
408 background-color: transparent;
409 /* TODO(stuartmorgan): Replace with real images once they are available. */
410 background-image: url("../../../app/theme/close_bar.png");
411 border: none;
412 height: 16px;
413 width: 16px;
414 }
415
416 list > *:not(:hover) .close-button, list[disabled] .close-button {
417 display: none;
418 }
419
420 list .close-button:hover {
421 background-image: url("../../../app/theme/close_bar_h.png");
422 }
423
424 list .close-button:active {
425 background-image: url("../../../app/theme/close_bar_p.png");
426 }
427
399 .left-side-table { 428 .left-side-table {
400 display: -webkit-box; 429 display: -webkit-box;
401 } 430 }
402 431
403 .left-side-table > div:first-child { 432 .left-side-table > div:first-child {
404 -webkit-box-flex: 1; 433 -webkit-box-flex: 1;
405 } 434 }
406 435
407 .left-side-table > :last-child { 436 .left-side-table > :last-child {
408 -webkit-padding-start: 20px; 437 -webkit-padding-start: 20px;
(...skipping 13 matching lines...) Expand all
422 451
423 .favicon-cell { 452 .favicon-cell {
424 -webkit-padding-start: 20px; 453 -webkit-padding-start: 20px;
425 background-position: left; 454 background-position: left;
426 background-repeat: no-repeat; 455 background-repeat: no-repeat;
427 } 456 }
428 457
429 list .favicon-cell { 458 list .favicon-cell {
430 -webkit-margin-start: 7px; 459 -webkit-margin-start: 7px;
431 -webkit-padding-start: 26px; 460 -webkit-padding-start: 26px;
461 display: block;
462 text-overflow: ellipsis;
463 overflow: hidden;
464 white-space: nowrap;
432 } 465 }
433 466
434 html[dir=rtl] .favicon-cell { 467 html[dir=rtl] .favicon-cell {
435 background-position: right; 468 background-position: right;
436 } 469 }
437 470
438 html[enable-background-mode=false] #background-mode-section { 471 html[enable-background-mode=false] #background-mode-section {
439 display: none; 472 display: none;
440 } 473 }
441 474
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 label.radio > span, 514 label.radio > span,
482 .suboption { 515 .suboption {
483 -webkit-margin-start: 16px; 516 -webkit-margin-start: 16px;
484 display: block; 517 display: block;
485 } 518 }
486 519
487 html[os=mac] label.checkbox > input, 520 html[os=mac] label.checkbox > input,
488 html[os=mac] label.radio > input { 521 html[os=mac] label.radio > input {
489 margin-top: 2px; 522 margin-top: 2px;
490 } 523 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/resources/options/startup_page_manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698