_invoice.css 5.28 KB
.invoice-me-page {
    .orders > .title {
        font-size: 16px;
        font-weight: bold;
        padding-left: 10px;
        background: #e3e3e3;
        margin-bottom: 10px;
    }

    .operation {
        > .on-invoice {
            color: #999;
        }

        > .supply-invoice {
            display: inline-block;
            box-sizing: border-box;
            width: 68px;
            height: 18px;
            border-radius: 5px;
            text-align: center;
            color: #000;
            border: 1px solid #000;
        }
    }

    &.invoice-detail-dialog {
        background: #fff;

        > .close {
            position: absolute;
            top: 10px;
            right: 12px;
            cursor: pointer;

            .iconfont {
                font-size: 32px;
            }
        }

        .content {
            width: 450px;
            text-align: left;
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            padding-bottom: 10px;
        }

        .title {
            font-size: 16px;
            color: #222;
            padding-bottom: 14px;
            border-bottom: 1px solid #ccc;
        }

        .order-info {
            line-height: 50px;
            color: #555;
        }

        table {
            width: 100%;
            margin-bottom: 20px;

            td {
                padding: 6px 20px;
                border: 1px solid #e3e4e5;
            }

            .lt {
                text-align: justify;
                text-align-last: justify;
                display: block;
                color: #555;

                &:after {
                    content: "";
                    display: block;
                    overflow: hidden;
                    width: 100%;
                    height: 0;
                }
            }

            .line {
                background-color: #eff0f1;
            }
        }

        .download-btn {
            display: block;
            width: 130px;
            line-height: 30px;
            color: #fff;
            background-color: #444;
            text-align: center;
            margin: auto;
            margin-top: 10px;
        }
    }

    &.invoice-supply-dialog {
        $red: #d0021b;

        width: 690px;
        padding: 20px 58px;
        font-size: 14px;
        color: #444;
        background-color: #fff;
        box-sizing: border-box;

        > .close {
            position: absolute;
            top: 10px;
            right: 12px;
            cursor: pointer;

            .iconfont {
                font-size: 32px;
            }
        }

        .radio-btn {
            &:before {
                content: "";
                width: 15px;
                height: 15px;
                margin-right: 4px;
                background-image: url(/cart/radio-off.png);
                display: inline-block;
                vertical-align: middle;
                position: relative;
                top: -2px;
                cursor: pointer;
            }

            &.on:before {
                content: ".";
                background-image: url(/cart/radio-on.png);
                text-indent: -9999px;
            }
        }

        > .content {
            text-align: left;
        }

        .invoice-header {
            font-size: 14px;
            padding: 24px 0 20px;
            border-bottom: 1px solid #e8e8e8;
        }

        .invoice-content {
            font-weight: 300;
        }

        .row-title {
            font-weight: normal;
        }

        .el-tip {
            background-color: #f5f5f5;
            padding: 14px;
            line-height: 1.5;

            > a {
                display: inline-block;
                padding-top: 12px;
                font-weight: 500;
            }
        }

        .invoice-type-text {
            line-height: 20px;
            padding: 20px 10px;

            .row-title {
                margin-right: 10px;
            }
        }

        .invoice-row {
            padding-top: 16px;
            padding-left: 92px;
            overflow: hidden;

            .row-content {
                width: 110%;
            }

            .row-title {
                line-height: 30px;
                position: absolute;
                margin-left: -92px;

                > em {
                    color: $red;
                    margin-right: 3px;
                    position: relative;
                    top: 2px;
                }
            }

            .radio-wrap {
                width: 92px;
                display: inline-block;
                padding: 8px 0;
            }

            input {
                width: 220px;
                height: 30px;
                padding: 0 10px;
                background: #f5f5f5;
                border: 1px solid #e0e0e0;
            }

            .red {
                color: $red;
            }
        }

        .btns {
            padding-top: 28px;
            padding-bottom: 10px;

            .btn {
                width: 140px;
                height: 40px;
                line-height: 38px;
                box-sizing: border-box;
            }

            .sure-apply {
                background-color: #000;
                color: #fff;
                font-weight: 300;
                margin-right: 30px;
            }
        }
    }
}