| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- 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;
- }
- .properties-list {
- font-family: monospace;
- font-size: 11px;
- margin: 4px 0;
- padding: 4px 0;
- border-left: 1px solid #eee;
- }
- .properties-section {
- margin-bottom: 8px;
- }
- .properties-header {
- color: #666;
- font-weight: bold;
- padding: 4px 0;
- padding-left: 16px; /* Align header with items */
- user-select: none;
- margin-bottom: 4px; /* Add space below header */
- }
- .property-item {
- padding: 2px 16px;
- display: flex;
- align-items: center;
- }
- .property-name {
- color: #666;
- margin-right: 8px;
- min-width: 120px;
- }
- .property-value {
- color: #333;
- }
- .visibility-btn {
- background: none;
- border: none;
- cursor: pointer;
- padding: 2px 6px;
- font-size: 12px;
- opacity: 0.5;
- border-radius: 4px;
- margin-right: 4px;
- }
- .visibility-btn:hover {
- background: #e0e0e0;
- opacity: 1;
- }
- .tree-item:hover .visibility-btn {
- opacity: 0.8;
- }
- /* Styles for two-column layout */
- .properties-grid {
- display: flex;
- flex-direction: row;
- gap: 24px; /* Space between columns */
- }
- .properties-column-left,
- .properties-column-right {
- flex: 1; /* Each column takes equal width */
- }
- /* End styles for two-column layout */
- /* 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 */
- }
|