HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RMourik/bassol.nl/CMS/App_Themes/Default/Bootstrap/tree.less
//
// Tree
// --------------------------------------------------

ul.tree {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;

    li,
    a,
    span {
        cursor: pointer;
        padding: 0;
        margin: 0;
        color: @color-gray-50;
        font-weight: normal;
        text-decoration: none;

        &:hover {
            text-decoration: none;
        }
    }

    li {
        position: relative;
        // Vertical line between nods
        &:before {
            content: '';
            position: absolute;
            top: -@line-height-100 * 0.5;
            left: @line-height-100 * 0.25;
            border-left: 1px dotted #ccc;
            height: 100%;
        }

        &:first-child:before {
            top: @line-height-100 * 0.25;
            height: @line-height-100 * 0.25;
        }
        // Horizontal line before each leaf
        a {
            padding-left: @padding-base-horizontal;

            &:before {
                content: ' ';
                position: absolute;
                border-bottom: 1px dotted #ccc;
                left: @line-height-100 * 0.25;
                top: @line-height-100 * 0.5;
                width: @line-height-100 * 0.25;
            }
        }

        span {
            &.tree-toggle {
                &:before {
                    font-family: @icon-font-name;
                    content: @icon-plus-circle; // "+"
                    .cms-icon-50;
                    color: @color-blue-70;
                    background-color: @body-bg;
                    margin-right: @base-unit * 0.25;
                    // Overlay of dotted lines
                    z-index: 1;
                    position: relative;
                }

                &.active {
                    &:before {
                        font-family: @icon-font-name;
                        content: @icon-minus-circle; // "-"
                        color: @color-blue-70;
                        background-color: @body-bg;
                        margin-right: @base-unit * 0.25;
                        // Overlay of dotted lines
                        z-index: 1;
                        position: relative;
                    }
                }
            }
        }
    }

    & > li {
        & ul.tree {
            display: none;
        }
    }

    ul.tree {
        margin-left: @padding-xlarge-horizontal;
    }
}