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

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

Issue 5608003: Add a disabled property to DOMUI lists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a property 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 list > * { 342 list > * {
343 -webkit-box-align: center; 343 -webkit-box-align: center;
344 -webkit-box-sizing: border-box; 344 -webkit-box-sizing: border-box;
345 border-radius: 0px; 345 border-radius: 0px;
346 display: -webkit-box; 346 display: -webkit-box;
347 height: 32px; 347 height: 32px;
348 border: none; 348 border: none;
349 } 349 }
350 350
351 list > :hover { 351 list:not([disabled]) > :hover {
352 background-color: #f2f2f2; 352 background-color: #f2f2f2;
353 } 353 }
354 354
355 list > [selected], 355 list > [selected],
356 list:focus > [selected], 356 list:focus > [selected],
357 list:focus > [lead][selected], 357 list:focus > [lead][selected],
358 list > [selected]:hover { 358 list > [selected]:hover {
359 background-color: #f2f2f2; 359 background-color: #f2f2f2;
360 border-top: 1px solid #b2b2b2;
361 border-bottom: 1px solid #b2b2b2;
362 background-image: none; 360 background-image: none;
363 } 361 }
364 362
363 list > [lead][selected],
364 list:focus > [lead][selected] {
365 border-top: 1px solid #b2b2b2;
366 border-bottom: 1px solid #b2b2b2;
367 z-index: 3;
368 }
369
370 list[disabled] > [lead][selected],
371 list[disabled]:focus > [lead][selected] {
372 border: none;
373 }
374
375 list[disabled] {
376 opacity: 0.6;
377 }
378
365 list > .heading { 379 list > .heading {
366 color: #666666; 380 color: #666666;
367 } 381 }
368 382
369 list > .heading:hover { 383 list > .heading:hover {
370 background-color: transparent; 384 background-color: transparent;
371 border-color: transparent; 385 border-color: transparent;
372 } 386 }
373 387
374 .left-side-table { 388 .left-side-table {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 label.radio > span, 470 label.radio > span,
457 .suboption { 471 .suboption {
458 -webkit-margin-start: 16px; 472 -webkit-margin-start: 16px;
459 display: block; 473 display: block;
460 } 474 }
461 475
462 html[os=mac] label.checkbox > input, 476 html[os=mac] label.checkbox > input,
463 html[os=mac] label.radio > input { 477 html[os=mac] label.radio > input {
464 margin-top: 2px; 478 margin-top: 2px;
465 } 479 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/shared/css/list.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698