
.x-progress {
    position: relative;
    height: 4px;
    display: block;
    width: 100%;
    background-color: #acece6;
    border-radius: 2px;
    margin: 0.5rem 0 1rem 0;
    overflow: hidden;
}

.x-progress .determinate {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #26a69a;
    transition: width 0.3s linear;
}

.x-progress .indeterminate {
    background-color: #26a69a;
}

.x-progress .indeterminate:before {
    content: "";
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate 2.1s
        cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395)
        infinite;
}

.x-progress .indeterminate:after {
    content: "";
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate-short 2.1s
        cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1)
        infinite;
    -webkit-animation-delay: 1.15s;
    animation-delay: 1.15s;
}

@-webkit-keyframes indeterminate {
    0% {
        left: -35%;
        right: 100%;
    }
    60% {
        left: 100%;
        right: -90%;
    }
    100% {
        left: 100%;
        right: -90%;
    }
}

@keyframes indeterminate {
    0% {
        left: -35%;
        right: 100%;
    }
    60% {
        left: 100%;
        right: -90%;
    }
    100% {
        left: 100%;
        right: -90%;
    }
}

@-webkit-keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }
    60% {
        left: 107%;
        right: -8%;
    }
    100% {
        left: 107%;
        right: -8%;
    }
}

@keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }
    60% {
        left: 107%;
        right: -8%;
    }
    100% {
        left: 107%;
        right: -8%;
    }
}

.code-element{
    display: flex;
}
.code-element>.page-aside{
    position: inherit;
    width: 300px;
}
.code-element>.page-main{
    width: 100%;
}

.code-tree{
    overflow: auto;
}

.code-check-btn{
    position: absolute;
    z-index: 999;
    right: 0;
}
.lint-error {
    font-family: arial;
    font-size: 70%;
    background: #ffa;
    color: #a00;
    padding: 2px 5px 3px;
}
.lint-error-icon {
    color: white;
    background-color: red;
    font-weight: bold;
    border-radius: 50%;
    padding: 0 3px;
    margin-right: 7px;
}
.context-menu-item{
    width: 100%;
}
.context-menu-item span{
    font-family: sans-serif;
    margin-left: 10px;
}

.context-menu-list{
    z-index: 99 !important;
}
.file-tree-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-add-file{
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.btn-add-file:hover{
    background: #eaf3ff;
}

.site-menubar .navbar-toolbar .nav-item.h3{
    word-wrap: none;
}
.group-with-btn{
    position: relative;
}
.group-with-btn a.btn{
    position: absolute;
    right: 0;
    top: 0;
}
.modal-body img{
    width: 100% !important;
    height: auto !important;
}

#site-sub-navbar-collapse{
    width: 100%;
}
#site-sub-navbar-collapse .h-title{
    max-width: calc(100% - 620px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#site-sub-navbar-collapse .h-action{
    width: 580px;
    display: flex;
    justify-content: end;
}