/**
 * A class with a prefix of "pioneer-tree" is static and always available.
 *  Of which is typically supplied on the wrapper of a components content.
 *
 * A class with a prefix of "pt" is dynamic and is added or removed on events
 */

$dark-color: #2A2E31;
$grey-color: #666;
$green-color: #3b805e;
$red-color: #cc4b37;
$white-color: #fefefe;
$font-color: #a7aeb3;
ul.pioneer-tree-root {
    margin: 0 !important;
    list-style: none;
    padding: 0;
    color: $font-color;
    .menu.content {
        margin-left: 0;
        li {
            padding: 0 .5rem 0 0;
            display: table-cell;
        }
    }
    ul {
        list-style: none;
        padding-left: 0;
        margin-left: 1.25rem;
    }
    .pioneer-tree-node {
        .pioneer-tree-node-content {
            padding: 0 0.5rem;
            &:hover {
                background: $grey-color;
            }
            .pioneer-tree-collapse {
                cursor: pointer;
            }
            &.pt-node-selected {
                background: $white-color;
                color: $dark-color;
            }
            .pioneer-tree-handle {
                cursor: move;
            }
            &.pt-dropzone-drag-over {
                background: $green-color;
            }
            &.pt-dropzone-drag-over-deny {
                background: $red-color;
            }
        }
        .pt-repeater-collapsed {
            display: none;
        }
    }
    .pioneer-tree-dropzone {
        height: 2px;
        &.pt-dropzone-drag-over {
            height: 1.5rem;
            border: 2px dashed $white-color;
            background: $green-color;
        }
        &.pioneer-tree-dropzone-root.pt-dropzone-drag-over {
            background: $grey-color;
        }
        &.pioneer-tree-dropzone-end.pt-dropzone-drag-over {
            background: $grey-color;
        }
    }
}
