/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

.sp-tree {
    overflow-y: auto;
}

.tree-normal-height {
    min-height: 300px;
    max-height: 300px;
}

.tree-large-height {
    min-height: 800px;
}

.sp-tree-invisible {
    display: none;
}

.sp-tree ul,
.sp-tree li {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.sp-tree .mat-nested-tree-node div[role='group'] {
    padding-left: 20px;
    min-height: 24px;
}

.sp-tree div[role='group'] > .mat-tree-node {
    padding-left: 20px;
    min-height: 30px;
}

.mat-nested-tree-node {
    min-height: 30px;
}

.tree-input-header {
    background: var(--color-bg-2);
    height: 40px;
    padding: 5px;
    border-bottom: 1px solid var(--color-bg-3);
}

.tree-input-section {
    border: 1px solid var(--color-bg-3);
    margin-top: 10px;
}

.color-primary {
    color: var(--color-primary);
}

.icon-button {
    cursor: pointer;
    color: var(--color-accent);
}

.node-metadata {
    border-bottom: 1px solid var(--color-bg-3);
    color: var(--color-default-text);
    padding: 10px;
}

.node-name {
    font-weight: bold;
}

.selected-node {
    padding: 10px;
    border-bottom: 1px solid var(--color-bg-3);
}

.selected-node:nth-child(odd) {
    background: var(--color-bg-1);
}

.selected-node:nth-child(even) {
    background: var(--color-bg-2);
}

.selected-node {
    padding: 5px;
    border: 1px solid var(--color-bg-3);
}
