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

.component-hw-table {
    padding: 20px 20px 50px 20px;

    .ivu-table th,
    .ivu-table td {
        background: @main-bgColor;
        color: @second-textColor;
    }

    .ivu-table-border td,
    .ivu-table-border th {
        border-color: @borderColor;
    }

    .ivu-table:before,
    .ivu-table-border:after,
    .ivu-table-wrapper-with-border {
        background: @borderColor;
        border-color: @borderColor;
    }

    .ivu-table-stripe .ivu-table-body tr:nth-child(2n) td,
    .ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td {
        background: #2e2e2e;
    }

    .ivu-table-stripe .ivu-table-body tr.ivu-table-row-hover td,
    .ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-hover td {
        background: #5C5A5A;
    }

    .ivu-checkbox-inner {
        border: none;
        background: #b5b5b5;
    }

    .ivu-checkbox-checked .ivu-checkbox-inner {
        background: @primary-color;

        &:after {
            top: 4px;
            left: 6px;
        }
    }

    .table-tools-icon {
        .ivu-icon {
            font-size: 22px;
            margin-right: 14px;
            cursor: pointer;
        }
    }
}

.score-modal {

    .ivu-modal-content {
        background: #454545;
    }

    .ivu-modal-body {
        padding: 0;
    }

    .ivu-modal-header {
        border-bottom: none;
    }
	
	.ivu-select-input{
		color: #fff;
	}
	
    .score-modal-container {
        padding: 10px 20px;
        color: @second-textColor;

        .score-modal-item {
            margin: 20px 0;

            .ivu-btn {
                background: @primary-color;
                border: none;
                color: #fff;
                width: 90%;
                height: 40px;
                margin-top: 20px;
                margin-left: 5%;
            }

            .used-comments {
                margin: 20px 40px;
                font-size: 12px;
                display: flex;
                flex-wrap: wrap;

                .ivu-input, .ivu-select-single .ivu-select-selection,
                .ivu-select-multiple .ivu-select-selection {
                    background: #353535;
                    border: none;
                    height: 40px;
                    line-height: 40px;
                    margin-top: 10px;
                    color: @primary-textColor;
                }
				
				.ivu-select-item{
					.ivu-icon{
						visibility: hidden;
					}
					
					&:hover{
						.ivu-icon{
							visibility: visible;
						}
					}
				}

                .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
                .ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
                .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
                    height: 40px;
                    line-height: 40px;
                }

                .ivu-select-multiple .ivu-select-selection {
                    height: auto;
                }
            }

            .ivu-checkbox-wrapper {
                margin-left: 40px;

                .ivu-checkbox-checked .ivu-checkbox-inner {
                    background: @primary-color;
                    border: none;
                    margin-right: 5px;
                }

                .ivu-checkbox-checked .ivu-checkbox-inner:after {
                    top: 4px;
                    left: 6px;
                }
            }
        }


        .ivu-input::-webkit-input-placeholder {
            color: #939393;
        }

        .ivu-input-wrapper {
            width: 60%;
        }
		
		textarea{
			padding-left: 10px;
		}


        .ivu-input, .ivu-input-number, .ivu-input-number-input {
            background: #353535;
            border: none;
            margin-left: 10px;
            height: 40px;
            line-height: 40px;
            color: @primary-textColor;
            display: inline-block;
        }
		
		 .ivu-input-number-input{
			 padding-left: 0;
		 }

        .ivu-input {
            line-height: 30px;
        }

        .ivu-input-number-handler-wrap {
            border: none;
            background: #424242;
        }

        .ivu-input-number-handler-down {
            border: none;
        }

        .ivu-input-number-handler-down-inner,
        .ivu-input-number-handler-up-inner {
            height: 25px;
            line-height: 25px;
        }
    }
}

.score-modal .ivu-modal-header p,
.score-modal .ivu-modal-header-inner {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.download-modal {

    .ivu-table-wrapper {
        margin: 20px;
    }

    .ivu-modal-body{
        margin-top:10px;
    }

    .download-btn-wrap {
        margin-bottom: 10px;
        display: flex;
        align-items: center;

        .ivu-btn {
            margin-left: 20px;
            margin-bottom: 20px;
        }
    }

    .download-title {
        color: @second-textColor;
        margin-left: 20px;
    }

    .download-hw-content{
        margin:20px;
        padding:10px;
        color:@second-textColor;
        background:#282828;
    }
}

.mutual-modal {

    .ivu-modal-body {
        padding: 20px 0;
    }

    .mutual-comment-list {
        height: 600px;
        width: 100%;
        color: @second-textColor;

        .mutual-comment-rate {
            margin: 10px 30px;
            display: inline-block;
            vertical-align: super;

            .ivu-rate {
                font-size: 26px;
            }

            .mutual-score {
                font-size: 20px;
                font-weight: bold;
                margin-left: 10px;
                vertical-align: text-top;
                color: #f5a623;
            }
        }

        .comment-item {
            display: flex;
            width: 100%;
            min-height: 100px;
            margin-top: 20px;

            &-left {
                width: 15%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-right: 10px;
                padding-top: 10px;

                &-name {
                    color: @second-textColor;
                    font-size: 14px;
                    margin: 10px 0;
                }

                &-level {
                    color: #1CC0F3;
                }
            }

            &-right {
                position: relative;
                width: 80%;
                min-height: 100px;
                padding: 10px;
                padding-bottom: 30px;
                background: #5C5C5C;
                color: @second-textColor;
                border-radius: 5px;

                &-content {
                    font-size: 14px;
                }

                &-time {
                    position: absolute;
                    bottom: 5px;
                    left: 15px;
                    font-size: 12px;
                }

                &-score {
                    position: absolute;
                    bottom: 5px;
                    right: 15px;
                    font-size: 12px;
                    display:flex;
                    justify-content:center;
                    align-items:center;
                }
            }
        }
    }
}

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