OLD | NEW |
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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 372 |
373 list > [selected], | 373 list > [selected], |
374 list:focus > [selected], | 374 list:focus > [selected], |
375 list:focus > [lead][selected], | 375 list:focus > [lead][selected], |
376 list > [selected]:hover { | 376 list > [selected]:hover { |
377 background-color: #f2f2f2; | 377 background-color: #f2f2f2; |
378 background-image: none; | 378 background-image: none; |
379 } | 379 } |
380 | 380 |
381 list:focus > [lead], | 381 list:focus > [lead], |
382 list:focus > [lead][selected] { | 382 list:focus > [lead][selected], |
| 383 list [lead][selected][editing] { |
383 border-top: 1px solid #b2b2b2; | 384 border-top: 1px solid #b2b2b2; |
384 border-bottom: 1px solid #b2b2b2; | 385 border-bottom: 1px solid #b2b2b2; |
385 } | 386 } |
386 | 387 |
387 list:focus > [lead]:nth-child(2), | 388 list:focus > [lead]:nth-child(2), |
388 list:focus > [lead][selected]:nth-child(2) { | 389 list:focus > [lead][selected]:nth-child(2), |
| 390 list [lead][selected][editing]:nth-child(2) { |
389 border-top: 1px solid #f2f2f2; | 391 border-top: 1px solid #f2f2f2; |
390 } | 392 } |
391 | 393 |
392 list:focus > [lead]:nth-last-child(2), | 394 list:focus > [lead]:nth-last-child(2), |
393 list:focus > [lead][selected]:nth-last-child(2) { | 395 list:focus > [lead][selected]:nth-last-child(2), |
| 396 list [lead][selected][editing]:nth-last-child(2) { |
394 border-bottom: 1px solid #f2f2f2; | 397 border-bottom: 1px solid #f2f2f2; |
395 } | 398 } |
396 | 399 |
397 list[disabled] > [lead][selected], | 400 list[disabled] > [lead][selected], |
398 list[disabled]:focus > [lead][selected] { | 401 list[disabled]:focus > [lead][selected] { |
399 border: none; | 402 border: none; |
400 } | 403 } |
401 | 404 |
402 list[disabled] { | 405 list[disabled] { |
403 opacity: 0.6; | 406 opacity: 0.6; |
404 } | 407 } |
405 | 408 |
406 list > .heading { | 409 list > .heading { |
407 color: #666666; | 410 color: #666666; |
408 } | 411 } |
409 | 412 |
410 list > .heading:hover { | 413 list > .heading:hover { |
411 background-color: transparent; | 414 background-color: transparent; |
412 border-color: transparent; | 415 border-color: transparent; |
413 } | 416 } |
414 | 417 |
415 list .deletable-item { | 418 list .deletable-item { |
416 -webkit-box-align: center; | 419 -webkit-box-align: center; |
417 } | 420 } |
418 | 421 |
419 list .deletable-item > :first-child { | 422 list .deletable-item > :first-child { |
420 -webkit-box-align: center; | 423 -webkit-box-align: center; |
421 -webkit-box-flex: 1; | 424 -webkit-box-flex: 1; |
422 -webkit-padding-end: 3px; | 425 -webkit-padding-end: 5px; |
423 display: -webkit-box; | 426 display: -webkit-box; |
424 } | 427 } |
425 | 428 |
426 list .close-button { | 429 list .close-button { |
427 -webkit-transition: .15s opacity; | 430 -webkit-transition: .15s opacity; |
428 background-color: transparent; | 431 background-color: transparent; |
429 /* TODO(stuartmorgan): Replace with real images once they are available. */ | 432 /* TODO(stuartmorgan): Replace with real images once they are available. */ |
430 background-image: url("../../../app/theme/close_bar.png"); | 433 background-image: url("../../../app/theme/close_bar.png"); |
431 border: none; | 434 border: none; |
432 height: 16px; | 435 height: 16px; |
433 opacity: 1; | 436 opacity: 1; |
434 width: 16px; | 437 width: 16px; |
435 } | 438 } |
436 | 439 |
437 list > *:not(:hover) .close-button, | 440 list > *:not(:hover):not([editing]) .close-button, |
438 list[disabled] .close-button, | 441 list[disabled] .close-button, |
439 list .close-button[disabled] { | 442 list .close-button[disabled] { |
440 opacity: 0; | 443 opacity: 0; |
441 pointer-events: none; | 444 pointer-events: none; |
442 } | 445 } |
443 | 446 |
444 list .close-button:hover { | 447 list .close-button:hover { |
445 background-image: url("../../../app/theme/close_bar_h.png"); | 448 background-image: url("../../../app/theme/close_bar_h.png"); |
446 } | 449 } |
447 | 450 |
448 list .close-button:active { | 451 list .close-button:active { |
449 background-image: url("../../../app/theme/close_bar_p.png"); | 452 background-image: url("../../../app/theme/close_bar_p.png"); |
450 } | 453 } |
451 | 454 |
| 455 list .static-text { |
| 456 overflow: hidden; |
| 457 text-overflow: ellipsis; |
| 458 white-space: nowrap; |
| 459 } |
| 460 |
| 461 list > :not([editing]) [editmode=true] { |
| 462 display: none; |
| 463 } |
| 464 |
| 465 list > [editing] [editmode=false] { |
| 466 display: none; |
| 467 } |
| 468 |
| 469 list > [editing] input:invalid { |
| 470 /* TODO(stuartmorgan): Replace with validity badge */ |
| 471 background-color: pink; |
| 472 } |
| 473 |
452 .left-side-table { | 474 .left-side-table { |
453 display: -webkit-box; | 475 display: -webkit-box; |
454 } | 476 } |
455 | 477 |
456 .left-side-table > div:first-child { | 478 .left-side-table > div:first-child { |
457 -webkit-box-flex: 1; | 479 -webkit-box-flex: 1; |
458 } | 480 } |
459 | 481 |
460 .left-side-table > :last-child { | 482 .left-side-table > :last-child { |
461 -webkit-padding-start: 20px; | 483 -webkit-padding-start: 20px; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 } | 544 } |
523 | 545 |
524 .suboption { | 546 .suboption { |
525 -webkit-margin-start: 16px; | 547 -webkit-margin-start: 16px; |
526 } | 548 } |
527 | 549 |
528 html[os=mac] label > input[type=checkbox], | 550 html[os=mac] label > input[type=checkbox], |
529 html[os=mac] label > input[type=radio] { | 551 html[os=mac] label > input[type=radio] { |
530 margin-top: 2px; | 552 margin-top: 2px; |
531 } | 553 } |
OLD | NEW |