﻿.xy-main {
    display: grid;
    /*grid-template-columns: 100px auto 100px;*/
    /*grid-template-rows: 40px auto 40px;*/
}

    .xy-main .el-input-number {
        width: 90%;
    }

    .xy-main .fa-plus {
        font-size: 20px;
        color: blue;
    }

    .xy-main .fa-minus {
        font-size: 20px;
        color: red;
    }

.xy-y-title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

    .xy-y-title > div {
        margin-bottom: 5px;
    }

.xy-y-add {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

    .xy-y-add > i {
        margin-bottom: 3px;
    }

.xy-y-content {
    display: flex;
    flex-flow: column wrap;
}

    .xy-y-content > div {
        display: flex;
        align-items: center;
        justify-content: center;
        /*height: 40px;*/
        border-left: 1px solid black;
        border-top: 1px solid black;
    }

.xy-content {
    display: grid;
    /*
        grid-template-columns: repeat(3, 100px);
        grid-template-rows: repeat(3, 40px);
        height: 120px;
        */
}

    .xy-content > div {
        border-left: 1px solid black;
        border-top: 1px solid black;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

.xy-x-add {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .xy-x-add > i {
        width: 20px;
        margin-left: 3px;
    }

.xy-zero {
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xy-x-content {
    display: flex;
}

    .xy-x-content > div {
        /*flex: 0 0 100px;*/
        border-left: 1px solid black;
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.xy-x-title {
    display: flex;
    align-items: center;
}

    .xy-x-title > div {
        margin-left: 5px;
    }

.xy-border-r {
    border-right: 1px solid black;
}

.xy-content-item-title {
    font-size: 20px;
    font-weight: 600;
}

.xy-title-font {
    font-size: 15px;
    font-weight: 600;
}