@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;

.hw-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
	
	.hw-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;
		}
	}
	
	.hw-box{
		width: 100%;
		// height: calc(100% - 50px);
		height: 100%;
		display: flex;
		flex-direction: row;
		
		.demo-split-pane{
			height: 100%;
		}
	}

    .hw-col {
        height: 100%;
        overflow: hidden;

        .hw-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;
            }

            .hw-box-header-tools {

                &-tool {
                    cursor: pointer;
                }
				
				.btn-save{
					background: transparent;
					border: none;
					color:#DCDCDC;
					padding: 0 10px;
				}

                .ivu-icon {
                    font-size: 20px;
                    margin-right: 5px;
                    vertical-align: text-bottom;
                }
            }
        }
    }

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

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

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

                // &:first-child {
                //     .item-active;
                // }

                &: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;
                }
            }
        }
    }

    .hw-info-box {
        width: 100%;
		background-color: #2b2b2e;
        border-right: 1px solid @borderColor;
    }

    .hw-data-box {
        width: 100%;
    }
}
.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%);
}