_third.css 3.24 KB
@import "config";

$big-font: 20px;
$small-font: 13px;
$btn-height: 50px;
$btn-width: 180px;

.bind-wrapper {
    .auth-page,
    .pwd-page,
    .relate-success-page {
        @mixin passport-page;
    }

    .bind-confirm-page {
        @mixin passport-page;
        width: 530px !important;
        .quick-link {
            margin: 0 150px;
        }
    }

    .relate-confirm-page {
        @mixin passport-page;
        width: 530px !important;
        .quick-btn {
            margin: 0 70px;
        }
    }

    .bind-success-page {
        @mixin passport-page;
        width: 650px !important;
    }

    .relate-success-page {
        @mixin passport-page;
        width:380px !important;
    }

    li {
        @mixin li-setting;

        &.small {
            height: calc($item-height / 3);
        }

        &.big-width {
            height: 110px !important;
            margin: -10px 0;
        }
    }

    .title {
        font-size: $big-font;
        color: $theme-color;
        font-weight: bold;
        height: $item-height;
        line-height: @height;
    }

    .desc {
        font-size: $small-font;
        height: @font-size;
    }

    .center {
        text-align: center;
    }

    .underline {
        text-decoration: underline;
    }

    .input {
        @mixin input;
    }

    .bind-confirm-page {
        li {
            width: 530px !important;
            height: $item-height;
        }
    }
}

.btn-fixed-height {
    height: $btn-height;
    line-height: @height;
    width: $btn-width;
    margin: 0 auto;
}

.bottom {
    position: absolute;
    bottom: 0;
}

$captcha-input: 195px;
$captcha-margin: 20px;
$captcha-ctrl: calc($item-width - $captcha-input - $captcha-margin);
$captcha-img-width: 90px;
$captcha-btn-width: calc($captcha-ctrl - $captcha-img-width);

.img-captcha-component {
    .input {
        @mixin input;
        width: $captcha-input;
    }

    .refresh {
        background-color: $captcha-img-bg;
        margin-left: $captcha-margin;
        width: $captcha-ctrl;
        height: $item-height;

        .img-captcha {
            width: 90px;
            height: $item-height;
        }

        .ctrl {
            height: $item-height;
            width: $captcha-btn-width;
            line-height: @height;
            text-align: center;
            color: $captcha-btn-fg;
            cursor: pointer;
        }
    }
}

.sms-captcha-component {
    .input {
        @mixin input;
        width: $captcha-input;
    }

    .send {
        margin-left: $captcha-margin;
        width: $captcha-ctrl;
        height: $item-height;
        line-height: @height;
    }
}

$mobile-margin: 20px;
$mobile-region: 100px;
$mobile-code: 50px;
$mobile-mobile: calc($item-width - $mobile-margin - $mobile-region);
$mobile-phone: calc($item-width - $mobile-margin - $mobile-region - $mobile-code - 2px);

.mobile-input-component {
    .region {
        @mixin region;
    }

    .ctrl {
        border: 1px solid $bord-color;
        width: $mobile-mobile;
        margin-left: $mobile-margin;
        height: $item-height;

        .code {
            @mixin country-code;
        }

        .phone-num {
            width: $mobile-phone;
            height: calc($item-height - 2px);
            border: none !important;
        }
    }
}