﻿
.xonomy.nerd,
.xonomy.laic {
    background-color: #2d3039 !important;
    color: #f0f0f0 !important;
}
/* Textinhalt linksbündig anzeigen */
.xml-viewer,
.xonomy {
    text-align: left !important;
}
    .xonomy.nerd .element > .children > .textnode > .value,
    .xonomy.laic .element > .children > .textnode > .value,
    .xonomy .childrenCollapsed,
    .xonomy .rollouter,
    .xonomyBubble .menuItem,
    .xonomyBubble .menuLabel,
    .xonomyBubble .inside,
    .xonomyBubble #xonomyBubbleContent {
        background-color: #1e1e1e !important;
        color: #e0e0e0 !important;
        border-color: #333 !important;
    }

.xonomy .tag > .name,
.xonomy .attribute > .name {
    color: #81d4fa !important;
}

.xonomy .attribute > .valueContainer > .value {
    color: #aed581 !important;
}

.xonomy .textnode > .value {
    color: #f5f5f5 !important;
}

.xonomy .connector > .plusminus {
    filter: brightness(80%);
}

.xonomyBubble .menuItem:hover,
.xonomyBubble .menuLabel:hover {
    background-color: #333 !important;
}

.xonomy .element.current > .tag > .name,
.xonomy .attribute.current > .name,
.xonomy .attribute > .valueContainer.current > .value,
.xonomy .textnode.current > .value {
    background-color: #333 !important;
    color: #00cc00 !important;
}
/* Nur auf geöffnete Knoten anwenden (also solche ohne .collapsed) */
.xonomy.nerd .element:not(.collapsed) {
    margin-top: 4px;
    margin-bottom: 4px;
}

    /* Optional auch für Kind-Textelemente (z. B. Textknoten in geöffnetem Zustand) */
    .xonomy.nerd .element:not(.collapsed) .children .textnode {
        margin-top: 4px;
        margin-bottom: 4px;
    }
