| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- body {
- margin: 0;
- padding: 16px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
- font-size: 12px;
- color: #333;
- background: #fff;
- }
- .info-item {
- padding: 8px 12px;
- background: #f5f5f5;
- border-radius: 4px;
- margin-bottom: 16px;
- font-family: monospace;
- color: #666;
- }
- .section {
- margin-bottom: 24px;
- }
- .section h3 {
- margin: 0 0 8px 0;
- font-size: 11px;
- text-transform: uppercase;
- color: #666;
- font-weight: 500;
- border-bottom: 1px solid #eee;
- padding-bottom: 4px;
- }
- .tree-item {
- display: flex;
- align-items: center;
- padding: 2px;
- /* cursor: pointer; Let summary handle this */
- border-radius: 4px;
- }
- .tree-item:hover {
- background: #e0e0e0;
- }
- .tree-item .icon {
- margin-right: 4px;
- opacity: 0.7;
- }
- .tree-item .label {
- flex: 1;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .tree-item .label .object-details {
- color: #aaa;
- margin-left: 4px;
- font-weight: normal;
- }
- .tree-item .type {
- margin-left: 8px;
- opacity: 0.5;
- font-size: 0.9em;
- }
- .children {
- margin-left: 0;
- }
- /* Style for clickable renderer summary */
- .renderer-summary {
- cursor: pointer;
- }
- .renderer-summary:hover {
- background: #e0e0e0;
- }
- /* Hide default details marker when using custom summary */
- details.renderer-container > summary.renderer-summary { /* Target summary */
- list-style: none; /* Hide default arrow */
- cursor: pointer; /* Make the summary div look clickable */
- }
- details.renderer-container > summary.renderer-summary::-webkit-details-marker {
- display: none; /* Hide default arrow in WebKit */
- }
- /* Style for the toggle icon */
- .toggle-icon::before {
- content: '▶'; /* Default: collapsed */
- display: inline-block;
- width: 1em;
- margin-right: 2px;
- opacity: 0.7;
- }
- details.renderer-container[open] > summary.renderer-summary .toggle-icon::before {
- content: '▼'; /* Expanded */
- }
|