:root {
    --node-list-header-height: 22px;
    --node-list-search-height: 35px;
    --node-list-padding: 10px;
}

.node-list {
    color: var(--whispr-white);

    margin-left: var(--node-list-padding);
    margin-top: 7px;
    width: calc(100% - var(--node-list-padding));
}

.node-list-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--node-list-search-height) - 3*var(--node-list-padding));
}

.node-list .search-container {
    min-height: var(--node-list-search-height);
}

.node-list .search-container input {
    width: calc(100% - 2em - 2px);
}

.node-list .search-container i {
    color: var(--whispr-dark-grey);
}

.node-list-header {
    height: var(--node-list-header-height);
    font-weight: bold;
    font-size: 120%;
}

.node-list-nodes {
    margin-bottom: var(--node-list-padding);
    overflow-y: auto;
}

.node-list-properties-warning {
    margin-top: var(--node-list-padding);
}

.node-list-properties {
    overflow-y: auto;
    margin-top: var(--node-list-padding);
    min-height: 30vh;
    flex-grow: 1;
    position: relative;
}

.node-list .node-editor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.node-list .selected-node-header {
    position: absolute;
    top: 0;
    height: 35px;
    box-sizing: border-box;
    width: 100%;
}

.node-list .selected-node-body {
    position: absolute;
    top: 35px;
    bottom: 45px;
}

.node-list .selected-node-footer {
    position: absolute;
    bottom: 0;
    height: 45px;
    width: 100%;
}

.node-list-node {
    color: var(--whispr-light-grey);
    font-size: 12px;
    line-height: 20px;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-right: 1em;
    cursor: pointer;
}

.node-list-node-comment {
    opacity: 0.5;
}

.node-list-node:hover {
    color: var(--whispr-dark-grey);
    background-color: var(--whispr-white);
}

.node-list-node.selected {
    color: var(--whispr-white);
    background-color: var(--whispr-dark-red);
}
