@main-bgColor: rgb(40,40,40); //主背景颜色
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@status-pending:#1CC0F3;
@status-finish:#A0A0A0;
@status-ready:#71AAE7;
@primary-fontSize: 14px;
@second-fontSize: 16px;
@title-fontSize: 18px;

.qn-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
	
	.qn-header{
		height: 50px;
		border-top: 1px solid @borderColor;
		border-bottom: 1px solid @borderColor;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 20px;
		z-index: 1;
		
		span {
		    margin-right: 30px;
		    color: @second-textColor;
		    border-bottom: 2px solid transparent;
		    font-size: 14px;
		    font-weight: bold;
		    padding: 5px 0;
		    cursor: pointer;
		}
		
		.tab-active {
		    border-color: @primary-textColor;
		    color: @primary-textColor;
		    font-size: 14px;
		}
	}
	
	
	
	.qn-box{
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: row;
		.demo-split-pane{
			height: 100%;
		}
	}
	
    .qn-col {
        height: 100%;
        overflow: hidden;

        .qn-box-header {
            height: 45px;
            line-height: 45px;
            padding: 0 15px;
            font-weight: bold;
            border-bottom: 1px solid @borderColor;
            display: flex;
            justify-content: space-between;

            span {
                color: @second-textColor;
            }
			
			&-tab{
				margin-right: 10px;
				cursor: pointer;
			}
			
			&-tab-active{
				color: #fff !important;
			}

            .qn-box-header-tools {
				display: flex;

                &-tool {
                    cursor: pointer;
					font-weight: 500;
					color: #f6f6f6 !important;
					
					.ivu-btn:before{
						background-color: none;
					}
                }

                .ivu-icon {
                    font-size: 20px;
                    margin-right: 5px;
                    vertical-align: sub;
                }
				
				.ivu-dropdown-rel{
					display: flex;
					align-items: center;
					
					.ivu-btn{
						padding: 0;
					}
				}
				
				.ivu-btn{
					background: transparent;
					border: none;
					color:#DCDCDC;
					padding: 0 10px;
					
					&::before{
						background-color: none;
					}
					
					&:focus{
						border: none;
					}
					
					.ivu-icon{
						font-size: 16px;
					}
				}
				
            }
        }
    }

    .qn-list-box {
		min-width: 200px;
        border-right: 1px solid @borderColor;

        .qn-item-wrap {
            padding-bottom: 50px;
            .fl-col-center;

            .qn-item {
                width: 100%;
                min-height: 90px;
                padding: 15px;
                border-bottom: 1px solid #2c2c2c;
                cursor: pointer;

                &:hover {
                    .item-active;
                }

                &-name {
                    font-size: @title-fontSize;
                    color: @primary-textColor;
                    font-weight: bold;
					word-break: break-all;
                }

                &-info {
                    font-size: 12px;
                    color: @second-textColor;
                    margin-top: 10px;
                }

                &-status {
                    padding: 0 5px;
                    background: @status-pending;
                    color: #fff;
                    display: inline-block;
                    border-radius: 5px;
                }

                &-nums {
					display: inline-block;
					margin: 0 20px 5px 0;
                }
            }
        }
    }

    .qn-info-box {
        border-right: 1px solid @borderColor;
		background-color: #2b2b2e;

        .qn-info-wrap{
            color:#AAAAAA !important;
        }
    }

    .qn-data-box {

        .qn-data-wrap{
            // height: 100%;
            min-height: 1200px;
            padding: 20px;
			
			.progress-wrap{
				width: 100%;
				display: flex;
				background-color: #373737;
			}
        }
    }
}
.to-create-icon {
    float: right;
    cursor: pointer;
    line-height:45px;
    color: @second-textColor;
    font-size: 18px;
}

.fl-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fl-row-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-active {
    background-image: -webkit-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: -o-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: -moz-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
}