| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 display: inline-block; | 158 display: inline-block; |
| 159 } | 159 } |
| 160 | 160 |
| 161 .styles-section { | 161 .styles-section { |
| 162 padding: 2px 2px 4px 4px; | 162 padding: 2px 2px 4px 4px; |
| 163 min-height: 18px; | 163 min-height: 18px; |
| 164 white-space: nowrap; | 164 white-space: nowrap; |
| 165 background-origin: padding; | 165 background-origin: padding; |
| 166 background-clip: padding; | 166 background-clip: padding; |
| 167 -webkit-user-select: text; | 167 -webkit-user-select: text; |
| 168 border-bottom: 1px solid rgb(191, 191, 191); | 168 border-bottom: 1px solid #ccc; |
| 169 position: relative; | 169 position: relative; |
| 170 } | 170 } |
| 171 | 171 |
| 172 .styles-section:last-child { |
| 173 border-bottom: none; |
| 174 } |
| 175 |
| 172 .styles-pane .sidebar-separator { | 176 .styles-pane .sidebar-separator { |
| 173 border-top: 0 none; | 177 border-top: 0 none; |
| 174 } | 178 } |
| 175 | 179 |
| 176 .styles-sidebar-placeholder { | 180 .styles-sidebar-placeholder { |
| 177 height: 16px; | 181 height: 16px; |
| 178 } | 182 } |
| 179 | 183 |
| 180 .styles-section.read-only { | 184 .styles-section.read-only { |
| 181 background-color: #eee; | 185 background-color: #eee; |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 .styles-section .style-properties .inherited { | 407 .styles-section .style-properties .inherited { |
| 404 opacity: 0.5; | 408 opacity: 0.5; |
| 405 } | 409 } |
| 406 | 410 |
| 407 .styles-section .style-properties .has-ignorable-error { | 411 .styles-section .style-properties .has-ignorable-error { |
| 408 color: gray; | 412 color: gray; |
| 409 } | 413 } |
| 410 | 414 |
| 411 .styles-element-state-pane { | 415 .styles-element-state-pane { |
| 412 overflow: hidden; | 416 overflow: hidden; |
| 413 padding-top: 18px; | 417 height: 60px; |
| 414 height: 56px; | |
| 415 padding-left: 2px; | 418 padding-left: 2px; |
| 416 border-bottom: 1px solid rgb(189, 189, 189); | 419 border-bottom: 1px solid rgb(189, 189, 189); |
| 417 } | 420 } |
| 418 | 421 |
| 419 @keyframes styles-element-state-pane-slidein { | 422 @keyframes styles-element-state-pane-slidein { |
| 420 from { | 423 from { |
| 421 margin-top: -56px; | 424 margin-top: -60px; |
| 422 } | 425 } |
| 423 to { | 426 to { |
| 424 margin-top: 0px; | 427 margin-top: 0px; |
| 425 } | 428 } |
| 426 } | 429 } |
| 427 | 430 |
| 428 @keyframes styles-element-state-pane-slideout { | 431 @keyframes styles-element-state-pane-slideout { |
| 429 from { | 432 from { |
| 430 margin-top: 0px; | 433 margin-top: 0px; |
| 431 } | 434 } |
| 432 to { | 435 to { |
| 433 margin-top: -56px; | 436 margin-top: -60px; |
| 434 } | 437 } |
| 435 } | 438 } |
| 436 | 439 |
| 437 .styles-sidebar-toolbar-pane { | 440 .styles-sidebar-toolbar-pane { |
| 438 position: relative; | 441 position: relative; |
| 439 animation-duration: 0.1s; | 442 animation-duration: 0.1s; |
| 440 animation-direction: normal; | 443 animation-direction: normal; |
| 441 } | 444 } |
| 442 | 445 |
| 443 .styles-sidebar-toolbar-pane-container { | 446 .styles-sidebar-toolbar-pane-container { |
| 444 position: relative; | 447 position: relative; |
| 445 max-height: 56px; | 448 max-height: 60px; |
| 446 overflow: hidden; | 449 overflow: hidden; |
| 447 } | 450 } |
| 448 | 451 |
| 449 .styles-element-state-pane.visible { | 452 .styles-element-state-pane { |
| 453 background-color: #eee; |
| 450 border-bottom: 1px solid rgb(189, 189, 189); | 454 border-bottom: 1px solid rgb(189, 189, 189); |
| 451 margin-top: 0; | 455 margin-top: 0; |
| 452 } | 456 } |
| 453 | 457 |
| 458 |
| 459 .styles-element-state-pane > div { |
| 460 margin: 6px 4px 2px; |
| 461 } |
| 462 |
| 454 .styles-element-state-pane > table { | 463 .styles-element-state-pane > table { |
| 455 width: 100%; | 464 width: 100%; |
| 456 border-spacing: 0; | 465 border-spacing: 0; |
| 457 } | 466 } |
| 458 | 467 |
| 459 .styles-element-state-pane td { | 468 .styles-element-state-pane td { |
| 460 padding: 0; | 469 padding: 0; |
| 461 } | 470 } |
| 462 | 471 |
| 463 .styles-animations-controls-pane > * { | 472 .styles-animations-controls-pane > * { |
| 464 margin: 6px 4px; | 473 margin: 6px 4px; |
| 465 } | 474 } |
| 466 | 475 |
| 467 .styles-animations-controls-pane { | 476 .styles-animations-controls-pane { |
| 468 border-bottom: 1px solid rgb(189, 189, 189); | 477 border-bottom: 1px solid rgb(189, 189, 189); |
| 469 height: 56px; | 478 height: 60px; |
| 470 overflow: hidden; | 479 overflow: hidden; |
| 480 background-color: #eee; |
| 471 } | 481 } |
| 472 | 482 |
| 473 .animations-controls { | 483 .animations-controls { |
| 474 width: 100%; | 484 width: 100%; |
| 475 max-width: 200px; | 485 max-width: 200px; |
| 476 display: flex; | 486 display: flex; |
| 477 align-items: center; | 487 align-items: center; |
| 478 } | 488 } |
| 479 | 489 |
| 480 .animations-controls > .toolbar { | 490 .animations-controls > .toolbar { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 505 max-height: 100px; | 515 max-height: 100px; |
| 506 background-image: url(Images/checker.png); | 516 background-image: url(Images/checker.png); |
| 507 -webkit-user-select: text; | 517 -webkit-user-select: text; |
| 508 -webkit-user-drag: auto; | 518 -webkit-user-drag: auto; |
| 509 } | 519 } |
| 510 | 520 |
| 511 .sidebar-pane.composite { | 521 .sidebar-pane.composite { |
| 512 position: absolute; | 522 position: absolute; |
| 513 } | 523 } |
| 514 | 524 |
| 515 .sidebar-pane.composite > .body { | 525 .metrics-and-computed .metrics { |
| 516 height: 100%; | 526 border-bottom: 1px solid rgb(64%, 64%, 64%); |
| 517 } | 527 } |
| 518 | 528 |
| 519 .sidebar-pane.composite .metrics { | 529 .sidebar-pane.composite .metrics { |
| 520 border-bottom: 1px solid rgb(64%, 64%, 64%); | 530 height: 160px; |
| 521 height: 206px; | |
| 522 display: flex; | 531 display: flex; |
| 523 flex-direction: column; | 532 flex-direction: column; |
| 524 -webkit-align-items: center; | 533 -webkit-align-items: center; |
| 525 -webkit-justify-content: center; | 534 -webkit-justify-content: center; |
| 526 } | 535 } |
| 527 | 536 |
| 528 .sidebar-pane .metrics-and-styles, | 537 .sidebar-pane .metrics-and-styles, |
| 529 .sidebar-pane .metrics-and-computed { | 538 .sidebar-pane .metrics-and-computed { |
| 530 display: flex !important; | 539 display: flex !important; |
| 531 flex-direction: column !important; | 540 flex-direction: column !important; |
| 532 position: relative; | 541 position: relative; |
| 533 } | 542 } |
| 534 | 543 |
| 535 .sidebar-pane .style-panes-wrapper { | 544 .sidebar-pane .style-panes-wrapper { |
| 536 transform: translateZ(0); | 545 transform: translateZ(0); |
| 537 flex: 1; | 546 flex: 1; |
| 538 overflow-y: auto; | 547 overflow-y: auto; |
| 539 position: relative; | 548 position: relative; |
| 540 } | 549 } |
| 541 | 550 |
| 542 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar, | |
| 543 .sidebar-pane.composite .metrics-and-styles .sidebar-pane-toolbar { | |
| 544 position: absolute; | |
| 545 } | |
| 546 | |
| 547 .sidebar-pane-filter-box { | 551 .sidebar-pane-filter-box { |
| 548 display: flex; | 552 display: flex; |
| 549 border-top: 1px solid rgb(191, 191, 191); | 553 border-top: 1px solid rgb(191, 191, 191); |
| 550 flex-basis: 19px; | 554 flex-basis: 19px; |
| 551 flex-shrink: 0; | 555 flex-shrink: 0; |
| 552 } | 556 } |
| 553 | 557 |
| 554 .sidebar-pane-filter-box > input { | 558 .sidebar-pane-filter-box > input { |
| 555 outline: none !important; | 559 outline: none !important; |
| 556 border: none; | 560 border: none; |
| 557 width: 100%; | 561 width: 100%; |
| 558 margin: 0 4px; | 562 margin: 0 4px; |
| 559 background: transparent; | 563 background: transparent; |
| 560 } | 564 } |
| 561 | 565 |
| 562 .styles-filter-engaged { | 566 .styles-filter-engaged { |
| 563 background-color: rgba(255, 255, 0, 0.5); | 567 background-color: rgba(255, 255, 0, 0.5); |
| 564 } | 568 } |
| 565 | 569 |
| 566 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { | 570 .sidebar-pane.composite .platform-fonts { |
| 567 margin-top: 4px; | |
| 568 margin-bottom: -4px; | |
| 569 position: relative; | |
| 570 } | |
| 571 | |
| 572 .sidebar-pane.composite .platform-fonts .body { | |
| 573 padding: 1ex; | 571 padding: 1ex; |
| 574 -webkit-user-select: text; | 572 -webkit-user-select: text; |
| 575 } | 573 } |
| 576 | 574 |
| 577 .sidebar-pane.composite .platform-fonts .sidebar-separator { | 575 .sidebar-pane.composite .platform-fonts .sidebar-separator { |
| 578 border-top: none; | 576 border-top: none; |
| 579 } | 577 } |
| 580 | 578 |
| 581 .sidebar-pane.composite .platform-fonts .stats-section { | 579 .sidebar-pane.composite .platform-fonts .stats-section { |
| 582 margin-bottom: 5px; | 580 margin-bottom: 5px; |
| 583 } | 581 } |
| 584 | 582 |
| 585 .sidebar-pane.composite .platform-fonts .font-stats-item { | 583 .sidebar-pane.composite .platform-fonts .font-stats-item { |
| 586 padding-left: 1em; | 584 padding-left: 1em; |
| 587 } | 585 } |
| 588 | 586 |
| 589 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { | 587 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { |
| 590 margin: 0 1ex 0 1ex; | 588 margin: 0 1ex 0 1ex; |
| 591 } | 589 } |
| 592 | 590 |
| 593 .sidebar-pane.composite .metrics-and-styles .metrics { | 591 .sidebar-pane.composite .metrics-and-styles .metrics { |
| 594 border-bottom: none; | 592 border-bottom: none; |
| 595 } | 593 } |
| 596 | 594 |
| 597 .sidebar-pane > .body > .split-widget { | 595 .sidebar-pane > .split-widget { |
| 598 position: absolute; | 596 position: absolute; |
| 599 top: 0; | 597 top: 0; |
| 600 bottom: 0; | 598 bottom: 0; |
| 601 left: 0; | 599 left: 0; |
| 602 right: 0; | 600 right: 0; |
| 603 } | 601 } |
| 604 | 602 |
| 605 .panel.elements .sidebar-pane-toolbar > select { | |
| 606 float: right; | |
| 607 width: 23px; | |
| 608 height: 17px; | |
| 609 color: transparent; | |
| 610 background-color: transparent; | |
| 611 border: none; | |
| 612 background-repeat: no-repeat; | |
| 613 margin: 1px 0 0 0; | |
| 614 padding: 0; | |
| 615 border-radius: 0; | |
| 616 -webkit-appearance: none; | |
| 617 } | |
| 618 | |
| 619 .panel.elements .sidebar-pane-toolbar > select:hover { | |
| 620 background-position: -23px 0; | |
| 621 } | |
| 622 | |
| 623 .panel.elements .sidebar-pane-toolbar > select:active { | |
| 624 background-position: -46px 0; | |
| 625 } | |
| 626 | |
| 627 .panel.elements .sidebar-pane-toolbar > select.select-filter { | |
| 628 background-image: url(Images/paneFilterButtons.png); | |
| 629 } | |
| 630 .panel.elements .sidebar-pane-toolbar > select > option, | |
| 631 .panel.elements .sidebar-pane-toolbar > select > hr { | |
| 632 color: black; | |
| 633 } | |
| 634 | |
| 635 .styles-section:not(.read-only) .style-properties .webkit-css-property.styles-pa
nel-hovered, | 603 .styles-section:not(.read-only) .style-properties .webkit-css-property.styles-pa
nel-hovered, |
| 636 .styles-section:not(.read-only) .style-properties .value .styles-panel-hovered, | 604 .styles-section:not(.read-only) .style-properties .value .styles-panel-hovered, |
| 637 .styles-section:not(.read-only) .style-properties .value.styles-panel-hovered, | 605 .styles-section:not(.read-only) .style-properties .value.styles-panel-hovered, |
| 638 .styles-section:not(.read-only) span.simple-selector.styles-panel-hovered { | 606 .styles-section:not(.read-only) span.simple-selector.styles-panel-hovered { |
| 639 text-decoration: underline; | 607 text-decoration: underline; |
| 640 cursor: default; | 608 cursor: default; |
| 641 } | 609 } |
| 642 | 610 |
| 643 .styles-clipboard-only { | 611 .styles-clipboard-only { |
| 644 display: inline-block; | 612 display: inline-block; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 margin-left: 10px; | 717 margin-left: 10px; |
| 750 text-overflow: clip; | 718 text-overflow: clip; |
| 751 } | 719 } |
| 752 | 720 |
| 753 .style-properties li.editing-sub-part { | 721 .style-properties li.editing-sub-part { |
| 754 padding: 3px 6px 8px 18px; | 722 padding: 3px 6px 8px 18px; |
| 755 margin: -1px -6px -8px -6px; | 723 margin: -1px -6px -8px -6px; |
| 756 text-overflow: clip; | 724 text-overflow: clip; |
| 757 } | 725 } |
| 758 | 726 |
| 759 .styles-pane-toolbar { | |
| 760 float: right; | |
| 761 margin-top: -3px; | |
| 762 background-color: rgba(255, 255, 255, 0.8); | |
| 763 } | |
| 764 | |
| 765 .properties-widget-section { | 727 .properties-widget-section { |
| 766 padding: 2px 0px 2px 5px; | 728 padding: 2px 0px 2px 5px; |
| 767 } | 729 } |
| OLD | NEW |