variable-repository {
    float: left;
    width: 100%;
    height: 100%;
    .container {
        display: block;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        margin: 5px;
    }
    div#button-panel {
        float: left;
        width: 100%;
        border-top: 1px solid #bdbdbd;
        padding-top: 3px;
        height: 32px;
        text-align: right;
    }
    .work-area {
        float: left;
        border: 1px solid #bdbdbd;
        margin-bottom: 3px;
        width: calc(100% - 1px);
        height: calc(100% - 40px);
        .left {
            float: left;
            width: 45%;
            padding: 5px;
            height: calc(100% - 10px);
        }
        .right {
            float: left;
            border-left: 1px solid #bdbdbd;
            padding: 5px;
            width: calc(55% - 21px);
            height: calc(100% - 10px);
        }
    }
    .tabs {
        float: left;
        width: 100%;
        font-size: 12px;
        font-weight: 600;
        height: 18px;
        padding-top: 2px;
        cursor: pointer;
        span {
            float: left;
            width: 53px;
            padding-left: 10px;
            height: 16px;
        }
        span.selected {
            border-bottom: 2px solid #0088cc;
        }
    }
    .tab-view {
        float: left;
        width: calc(100% - 6px);
        margin-top: 5px;
        height: calc(100% - 30px);
        overflow: auto;
        background: #f2f2f2;
        padding: 3px;
    }
}

repo-viewer {
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    .viewer {
        float: left;
        width: 100%;
        height: 100%;
        .tabs span {
            width: 75px;
        }
    }
    .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #e6e6e6;
        opacity: 0.5;
        z-index: 99;
        .tabs .selected {
            width: 77px;
        }
    }
}

repo-browse {
    float: left;
    width: 100%;
    height: 100%;
    .tree {
        float: left;
        width: calc(100% - 27px);
        overflow: auto;
        height: 100%;
        tree {
            width: 100%;
            height: 100%;
            float: left;
        }
    }
    .button-menu {
        float: left;
        width: 17px;
        height: 100%;
        background: #fff;
        padding: 0 5px;
        box-shadow: 0px 0px 3px #b7b7b7;
    }
}

repo-search {
    float: left;
    width: 100%;
    height: 100%;
    .search-container {
        float: left;
        width: 100%;
        height: 100%;
    }
    .input-container {
        float: left;
        width: 100%;
    }
    .input-container.search {
        margin-bottom: 5px;
        input[type="text"] {
            width: calc(100% - 6px);
            border: 1px solid #e6e6e6;
            height: 18px;
            padding-left: 4px;
        }
        input[type="text"]:focus,
        input[type="text"]:active {
            outline: 1px solid #0088cc;
        }
    }
    .input-container.result {
        height: calc(100% - 40px);
        overflow: auto;
        width: calc(100% - 32px);
    }
    span.title {
        float: left;
        width: 100%;
        height: 16px;
    }
    .result-list {
        float: left;
        width: 100%;
        height: calc(100% - 20px);
        background: #fff;
        overflow: auto;
        .global,
        .local {
            float: left;
            width: 100%;
        }
        .item {
            display: block;
            height: 13px;
            padding: 3px 5px;
        }
        span.icon {
            float: left;
            width: 16px;
            height: 16px;
        }
        span.icon.numeric {
            background: url('../../assets/icon/treemenu/one.png') no-repeat left top transparent !important;
        }
        span.icon.alphabet {
            background: url('../../assets/icon/treemenu/letter-a.png') no-repeat left top transparent !important;
        }
        a.title {
            margin-left: 4px;
            float: left;
            padding: 2px;
            cursor: pointer;
        }
        a.title.active,
        a.title:focus,
        a.title:active {
            background-color: #d9f2ff;
            padding: 1px;
            outline: none;
        }
    }
    .button-menu {
        float: left;
        width: 17px;
        height: calc(100% - 60px);
        background: #fff;
        padding: 0 5px;
        margin-top: 16px;
        margin-left: 5px;
        box-shadow: 0px 0px 3px #b7b7b7;
    }
}

repo-description {
    float: left;
    width: 100%;
    height: 100%;
    .desc-container {
        float: left;
        width: 100%;
        height: 100%;
    }
    .input-container {
        float: left;
        width: 100%;
    }
    .input-container.description {
        margin-top: 5px;
        height: calc(100% - 41px);
    }
    span.title {
        float: left;
        width: 100%;
        height: 17px;
    }
    input[type="text"] {
        width: calc(100% - 6px);
        border: 1px solid #e6e6e6;
        height: 18px;
        padding-left: 4px;
    }
    input[type="text"]:focus,
    input[type="text"]:active {
        outline: 1px solid #0088cc;
    }
    textarea {
        border: 1px solid #e6e6e6;
        width: calc(100% - 7px);
        height: calc(100% - 26px);
        font-family: arial;
    }
    textarea:focus,
    textarea:active {
        outline: 1px solid #0088cc;
    }
}

repo-categories {
    float: left;
    width: 100%;
    height: 100%;
    .cat-container {
        float: left;
        width: 100%;
        height: 100%;
    }
    span.title {
        float: left;
        width: 100%;
        height: 17px;
    }
    .input-container {
        float: left;
        width: 100%;
        margin-bottom: 5px;
        position: relative;
    }
    input[type="text"] {
        width: calc(100% - 6px);
        border: 1px solid #e6e6e6;
        height: 18px;
        padding-left: 4px;
    }
    select {
        float: left;
        width: 100%;
        border: 1px solid #e6e6e6;
        height: 22px;
    }
    select:active,
    select:focus,
    input[type="text"]:focus,
    input[type="text"]:active {
        outline: 1px solid #0088cc;
    }
    .list {
        float: left;
        width: calc(100% - 35px);
        margin-bottom: 5px;
        height: calc(100% - 135px);
    }
    .button-menu {
        float: left;
        width: 17px;
        height: calc(100% - 138px);
        background: #fff;
        padding: 0 5px;
        margin-top: 2px;
        margin-left: 5px;
        box-shadow: 0px 0px 3px #b7b7b7;
    }
    span.val-message {
        position: absolute;
        right: 0px;
        top: 46px;
        background-color: #fff;
        z-index: 99;
        border: 1px solid #bdbdbd;
        padding: 5px;
        color: #ff3131;
        background: #ffffcf;
    }
    span.val-message {
        border: 1px solid #bdbdbd;
    }
    .val-message:after,
    .val-message:before {
        bottom: 100%;
        left: 10%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
    .val-message:after {
        border-color: rgba(136, 183, 213, 0);
        border-bottom-color: #ffffcf;
        border-width: 6px;
        margin-left: -6px;
    }
    .val-message:before {
        border-color: rgba(189, 189, 189, 0);
        border-bottom-color: #bdbdbd;
        border-width: 7px;
        margin-left: -7px;
    }
}