@main-bgColor: rgb(40,40,40); //主背景颜色
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@primary-fontSize: 14px;
@second-fontSize: 16px;

.template-wrap {
    width: 100%;
    height: 100%;
    color: white;
    background: #242328;

    .order-learn-header {
        height: 45px;
        line-height: 45px;
        padding: 0px 15px;
        border-bottom: 1px solid @borderColor;

        .order-learn-title {
            height: 45px;
            line-height: 45px;
            color: #fff;
            font-size: 16px;
            width: 150px;
            display: inline-block;
        }

        .header-btn-save {
            color: #6bdfc3;
            float: right;
            cursor: pointer;
            line-height: 45px;
            margin-right: 40px;
        }
    }

    .order-learn-main {
        width: 100%;
        height: ~"calc(100% - 45px)";
        display: flex;
        flex-direction: row;

        .base-info-wrap {
            width: 400px;
            height: 100%;
            border-right: 1px solid @borderColor;
            padding-left: 15px;

            .base-info-form {
                width: 100%;
                height: calc(100% - 45px);
                padding-top: 30px;
                padding-right: 15px;
            }
        }

        .order-learn-main {
            height: 100%;
            width: ~"calc(100% - 400px)";
        }
    }
}

.learn-step-wrap {
    height: 100%;
    padding-left: 15px;

    .learn-step-name {
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
        width: 100%;
        display: inline-block;
        color: white;
        vertical-align: middle;
    }
}

.learn-content-wrap {
    height: 100%;
    padding-left: 15px;
    overflow: hidden;
    position: relative;

    .preview-learn-content-wrap {
        width: ~"calc(100% - 15px)";
        height: 100%;
        position: absolute;
        left: 15px;
        top: 40px;
    }

    .choose-learn-content-wrap {
        position: absolute;
        left: 15px;
        top: 40px;
        width: ~"calc(100% - 15px)";
        height: ~"calc(100% - 40px)";
    }
}

.base-info-label {
    color: @second-textColor;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    border-bottom: 1px solid @borderColor;
}

.create-learn-content {
    border-bottom: 1px solid #606060;
    height: 40px;
    line-height: 40px;

    span {
        margin-right: 30px;
        color: @second-textColor;
        cursor: pointer;
    }

    .active-span {
        color: white;
        border-bottom: 2px solid white;
    }
}

.radio-box-wrap {
    display: inline-block;
    float: right;
    margin-right: 55px;
    margin-left: 30px;

    .active-radio-box-item {
        background: white;
        color: black !important;
    }

    .radio-box-item {
        color: white;

        &:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }

        &:last-child {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            border-left: 0px;
        }

        line-height: 10px;
        display: inline-block;
        padding: 2px 10px;
        border: 1px solid white;
        cursor: pointer;
    }
}

.content-file-wrap {
    padding: 5px 0px 20px 0px;
    color: white;
    margin-bottom:10px;
}

.content-question-wrap {
    min-height: 200px;
    padding: 10px 0px 20px 0px;
}
.add-learn-step-icon {
    margin-right: 10px;
    line-height: 40px;
    cursor: pointer;
    color:white;
    float:right;
}
.add-step-type-label{
    padding:10px 4px;
    cursor:pointer;
    &:hover{
        color:aqua;
    }
}
.question-shopping-car {
    position: absolute;
    right: 50px;
    bottom: 60px;
    z-index: 9999;
}
.shopping-car-detail {
    width: 100%;
    min-height: 200px;
    position: relative;
    padding-bottom: 55px;

    .shopping-car-detail-title {
        width: 100%;
        height: 40px;
        background: #6bdfc3;
        text-align: center;
        line-height: 40px;
        color: white;
        font-size: 18px;
    }

    .shopping-car-detail-bottom {
        width: 100%;
        height: 40px;
        position: absolute;
        left: 0px;
        bottom: 0px;
        background: #AAAAAA;
        text-align: center;
        line-height: 40px;
        color: white;
        font-size: 18px;
        cursor: pointer;
    }
}
.shopping-car-detail-item {
    margin-top: 15px;
    padding: 0px 10px;
    color: #515a6e;

    .question-type {
        font-size: 16px;
        font-weight: bold;
        margin-right: 10px;
    }

    .question-num {
        font-size: 16px;
        font-weight: bold;
        margin-left: 10px;
    }
}
.edit-step-name-icon {
    display: none;
    cursor: pointer;
}
.content-type-label {
    color: white;
    line-height: 13px;
    margin: 10px 0px 5px 0px;
    padding: 5px;
    padding-left: 8px;
    border-left: 2px solid white;
    background: #333333;
}
.content-file-item {
    margin-bottom: 4px;

    &:hover {
        border-bottom: 1px solid @borderColor;
        background: #606060;
        padding-left: 4px;
        border-radius: 4px;
    }

    &:hover .content-file-item-action {
        display: inline-block;
    }
}
.btn-save {
    color: white;
    float: right;
    cursor: pointer;
    margin-top: 6px;
    margin-right: 18px;
}

.file-icon {
    display: inline-block;
    vertical-align: sub;
    margin-right: 5px;
}
.action-icon {
    cursor: pointer;
    margin-right: 8px;
    font-size: 18px;
    line-height: 22px;

    &:hover {
        color: aqua;
    }
}
.content-file-item-action {
    display: none;
    float:right;
    margin-right:15px;
}