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

Side by Side Diff: runtime/observatory/lib/src/elements/css/shared.css

Issue 2991203002: Fix Observatory virtual-collection layout issues (Closed)
Patch Set: Fix persistent handles page Created 3 years, 4 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
OLDNEW
1 /* Global styles */ 1 /* Global styles */
2 * { 2 * {
3 margin: 0; 3 margin: 0;
4 padding: 0; 4 padding: 0;
5 box-sizing: border-box; 5 box-sizing: border-box;
6 } 6 }
7 7
8 body { 8 body {
9 padding-top: 56px; 9 padding-top: 56px;
10 color: #333; 10 color: #333;
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 bottom: 0; 452 bottom: 0;
453 left: 0; 453 left: 0;
454 right: 0; 454 right: 0;
455 top: 560px; 455 top: 560px;
456 } 456 }
457 457
458 allocation-profile .collection.expanded { 458 allocation-profile .collection.expanded {
459 top: 160px; 459 top: 160px;
460 } 460 }
461 461
462 allocation-profile .container {
463 padding-left: 5%;
464 padding-right: 5%;
465 }
466
462 allocation-profile .collection-item { 467 allocation-profile .collection-item {
468 background-color: #FFFFFF;
463 box-sizing: border-box; 469 box-sizing: border-box;
464 line-height: 20px; 470 line-height: 20px;
465 margin-left: 5%; 471 }
466 margin-right: 5%; 472
473 allocation-profile .collection-item:hover {
474 background-color: #d2e7fe;
475 }
476
477 allocation-profile .header .collection-item:hover {
478 background-color: #FFFFFF;
467 } 479 }
468 480
469 allocation-profile .header .collection-item:last-child { 481 allocation-profile .header .collection-item:last-child {
470 margin-bottom: -3px; 482 margin-bottom: -3px;
471 border-bottom: solid 1px #AAAAAA; 483 border-bottom: solid 1px #AAAAAA;
472 } 484 }
473 485
474 allocation-profile .header .collection-item span { 486 allocation-profile .header .collection-item span {
475 font-weight: bolder; 487 font-weight: bolder;
476 } 488 }
477 489
478 allocation-profile .collection-item :nth-child(2n+2).group, 490 allocation-profile .collection-item :nth-child(2n+2).group,
479 allocation-profile .collection-item :nth-child(4n+3).bytes, 491 allocation-profile .collection-item :nth-child(4n+3),
480 allocation-profile .collection-item :nth-child(4n+3).instances, 492 allocation-profile .collection-item :nth-child(4n+4) {
481 allocation-profile .collection-item :nth-child(4n+4).bytes,
482 allocation-profile .collection-item :nth-child(4n+4).instances {
483 background-color: #EEEEEE; 493 background-color: #EEEEEE;
484 } 494 }
485 495
486 allocation-profile .collection-item:hover :nth-child(2n+2).group, 496 allocation-profile .collection-item:hover :nth-child(2n+2).group,
487 allocation-profile .collection-item:hover :nth-child(4n+3).bytes, 497 allocation-profile .collection-item:hover :nth-child(4n+3),
488 allocation-profile .collection-item:hover :nth-child(4n+3).instances, 498 allocation-profile .collection-item:hover :nth-child(4n+4) {
489 allocation-profile .collection-item:hover :nth-child(4n+4).bytes,
490 allocation-profile .collection-item:hover :nth-child(4n+4).instances {
491 background-color: #afd5fd; 499 background-color: #afd5fd;
492 } 500 }
493 501
502 allocation-profile .header .collection-item :nth-child(2n+1).group,
503 allocation-profile .header .collection-item :nth-child(4n+1),
504 allocation-profile .header .collection-item :nth-child(4n+2) {
505 background-color: #FFFFFF;
506 }
507
494 allocation-profile .header .collection-item :nth-child(2n+2).group, 508 allocation-profile .header .collection-item :nth-child(2n+2).group,
495 allocation-profile .header .collection-item :nth-child(4n+3).bytes, 509 allocation-profile .header .collection-item :nth-child(4n+3),
496 allocation-profile .header .collection-item :nth-child(4n+3).instances, 510 allocation-profile .header .collection-item :nth-child(4n+4) {
497 allocation-profile .header .collection-item :nth-child(4n+4).bytes,
498 allocation-profile .header .collection-item :nth-child(4n+4).instances {
499 background-color: #DDDDDD; 511 background-color: #DDDDDD;
500 } 512 }
501 513
502 allocation-profile .scroller .collection-item:hover {
503 background-color: #d2e7fe;
504 }
505
506 allocation-profile .collection-item .group { 514 allocation-profile .collection-item .group {
507 background-color: white;
508 display: inline-block; 515 display: inline-block;
509 width: 12em; 516 width: 12em;
510 text-align: right; 517 text-align: right;
511 padding-right: 0.5em; 518 padding-right: 0.5em;
512 line-height: 20px; 519 line-height: 20px;
513 border-right: solid 1px #AAAAAA; 520 border-right: solid 1px #AAAAAA;
514 } 521 }
515 522
516 allocation-profile .collection-item .bytes { 523 allocation-profile .collection-item .bytes {
517 background-color: white;
518 display: inline-block; 524 display: inline-block;
519 width: 6em; 525 width: 6em;
520 text-align: right; 526 text-align: right;
521 line-height: 20px; 527 line-height: 20px;
522 padding-right: 0.5em; 528 padding-right: 0.5em;
523 } 529 }
524 530
525 allocation-profile .collection-item .instances { 531 allocation-profile .collection-item .instances {
526 background-color: white;
527 display: inline-block; 532 display: inline-block;
528 width: 6em; 533 width: 6em;
529 text-align: right; 534 text-align: right;
530 padding-right: 0.5em; 535 padding-right: 0.5em;
531 line-height: 20px; 536 line-height: 20px;
532 border-right: solid 1px #AAAAAA; 537 border-right: solid 1px #AAAAAA;
533 } 538 }
534 539
535 allocation-profile .collection-item .name { 540 allocation-profile .collection-item .name {
536 background-color: white;
537 padding-left: 0.5em; 541 padding-left: 0.5em;
542 display: inline-block;
538 } 543 }
539 544
540 allocation-profile .collection-item > button, 545 allocation-profile .collection-item > button,
541 allocation-profile .collection-item > button:active { 546 allocation-profile .collection-item > button:active {
542 background-color: transparent; 547 background-color: transparent;
543 color: #0489c3; 548 color: #0489c3;
544 border-style: none; 549 border-style: none;
545 } 550 }
546 551
547 allocation-profile .collection-item > button:hover { 552 allocation-profile .collection-item > button:hover {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 587
583 class-tree virtual-tree { 588 class-tree virtual-tree {
584 position: absolute; 589 position: absolute;
585 height: auto; 590 height: auto;
586 top: 60px; 591 top: 60px;
587 bottom: 0; 592 bottom: 0;
588 left: 0; 593 left: 0;
589 right: 0; 594 right: 0;
590 } 595 }
591 596
597 class-tree virtual-tree .container {
598 padding-left: 10%;
599 padding-right: 10%;
600 }
601
592 class-tree virtual-tree .class-tree-item { 602 class-tree virtual-tree .class-tree-item {
593 line-height: 25px; 603 line-height: 25px;
594 height: 25px; 604 height: 25px;
595 padding-left: 10%;
596 padding-right: 10%;
597 } 605 }
598 606
599 class-tree virtual-tree .class-tree-item .name { 607 class-tree virtual-tree .class-tree-item .name {
600 margin-left: 0.5em; 608 margin-left: 0.5em;
601 } 609 }
602 610
603 /* code-view */ 611 /* code-view */
604 612
605 code-view .table { 613 code-view .table {
606 table-layout: fixed; 614 table-layout: fixed;
(...skipping 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2452 position: relative; 2460 position: relative;
2453 display: block; 2461 display: block;
2454 overflow-y: auto; 2462 overflow-y: auto;
2455 width: 100%; 2463 width: 100%;
2456 height: 100%; 2464 height: 100%;
2457 } 2465 }
2458 2466
2459 virtual-collection .header { 2467 virtual-collection .header {
2460 background: white; 2468 background: white;
2461 position: relative; 2469 position: relative;
2462 display: inline-block; 2470 display: block;
2463 min-width: 100%; 2471 min-width: 100%;
2464 z-index: +1; 2472 z-index: +1;
2465 } 2473 }
2466 2474
2467 virtual-collection .scroller { 2475 virtual-collection .scroller {
2468 overflow: hidden; 2476 overflow: hidden;
2469 background: transparent; 2477 background: transparent;
2470 display: inline-block; 2478 display: inline-block;
2471 min-width: 100%; 2479 min-width: 100%;
2472 } 2480 }
2473 2481
2474 virtual-collection .shifter { 2482 virtual-collection .shifter {
2475 background: transparent; 2483 background: transparent;
2476 position: relative; 2484 position: relative;
2477 display: inline-block; 2485 display: inline-block;
2478 min-width: 100%; 2486 min-width: 100%;
2479 } 2487 }
2480 2488
2481 virtual-collection .header > *, 2489 virtual-collection .header > div,
2482 virtual-collection .shifter > * { 2490 virtual-collection .shifter > div {
2483 display: inline-block;
2484 min-width: 100%; 2491 min-width: 100%;
2485 white-space: nowrap; 2492 white-space: nowrap;
2486 } 2493 }
2487 2494
2488 /* virtual-tree */ 2495 /* virtual-tree */
2489 2496
2490 virtual-tree .expander { 2497 virtual-tree .expander {
2491 display: inline-block; 2498 display: inline-block;
2492 text-align: center; 2499 text-align: center;
2493 font-weight: bold; 2500 font-weight: bold;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2561 2568
2562 vm-connect-target > button.delete-button:hover { 2569 vm-connect-target > button.delete-button:hover {
2563 background: #ff0000; 2570 background: #ff0000;
2564 } 2571 }
2565 2572
2566 /* vm-connect */ 2573 /* vm-connect */
2567 2574
2568 vm-connect ul { 2575 vm-connect ul {
2569 list-style-type: none; 2576 list-style-type: none;
2570 } 2577 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698