_dialog.css 3.88 KB
.order-dialog {
    $bigSpace: 30px;
    $smallSpace: 10px;
    $space: 20px;
    $normalSize: 14px;

    $borderColor: #f1f1f1;
    $skyBlue: #379ed6;

    .cancel-btn {
        background-color: #fff;
        color: #1b1b1b;
        border: 1px solid #1b1b1b;
    }

    .btns,
    .btn {
        text-align: center !important;
    }

    .dialog-title {
        padding-bottom: $space;
        border-bottom: 1px solid #f1f1f1;
        font-size: 16px;
    }

    &.alert {
        h1 {
            margin-bottom: $space;
            font-size: 22px;
            font-weight: bold;
        }

        span {
            font-size: $normalSize;
        }
    }

    &.delete-dialog {
        .content {
            h1 {
                font-size: 24px;
                font-weight: bold;
                margin-bottom: 24px;
            }

            p {
                height: 18px;
                font-size: 12px;
                color: #a3a3a3;
            }
        }

        .btns {
            margin-top: 5px;
        }
    }

    &.cancel-dialog {
        min-width: 660px;

        * {
            text-align: left;
            color: #1b1b1b;
        }

        .btn {
            &.confirm {
                color: #fff;
            }
        }

        .tip {
            display: block;
            margin: $space 0 10px;
            font-size: 12px;
            font-weight: bold;
        }

        .tip-item {
            height: $space;
            margin-bottom: $smallSpace;
            line-height: $space;
            font-size: $normalSize;
        }

        .radio {
            color: #ccc !important;

            &.checked {
                color: #1b1b1b !important;
            }
        }

        .row {
            height: $bigSpace;
            line-height: $bigSpace;

            .other {
                width: 90%;

                p {
                    width: 20%;
                }
                input {
                    height: 25px;
                    width: 50%;
                    padding: 5px;
                }
            }

            p {
                width: 49%;
                display: inline-block;
                box-sizing: border-box;
                font-size: $normalSize;
            }

            .iconfont {
                display: inline-block;
                margin-right: 3px;
                font-size: $normalSize;
                cursor: pointer;
            }
        }
    }

    &.edit-dialog {
        min-width: 750px;
        background-color: #fff;

        * {
            text-align: left;
        }

        .form {
            margin: $bigSpace 0 $space;
        }
    }

    .cascading-address {
        display: inline-block;
        border: 1px solid #f0f0f0;

        .dist-item {
            height: 32px;
            margin-right: 0;
            border: none;
            background-color: #fff;
        }

        .items-panel {
            border-color: #f0f0f0;
        }
    }

    .form {
        .input-row {
            height: 25px;
            line-height: 25px;
            margin-bottom: $space;
            font-size: $normalSize;

            label {
                display: inline-block;
                width: 70px;
                text-align: left;

                span {
                    margin-right: 7px;
                }
            }

            input {
                width: 190px;

                &.long {
                    width: 270px;
                }
            }

            &.selector {
                height: 32px;
                line-height: 1;

                > span,
                > label {
                    position: relative;
                    top: -12px !important;
                }
            }
        }
    }
}