Blame view

static/sass/cart/_select-coupon.scss 1.88 KB
1 2 3 4
.select-coupon-page {
    margin-top: pxToRem(30px);
    margin-bottom: pxToRem(30px);
5
    #new-coupon {
6 7 8
        margin-bottom: pxToRem(30px);
        padding-left: pxToRem(30px);
        padding-right: pxToRem(30px);
毕凯 authored
9
        font-size: pxToRem(24px);
10 11 12

        input {
            padding: 0 pxToRem(12px);
毕凯 authored
13
            width: pxToRem(384px);
14 15 16 17 18 19 20 21
            height: pxToRem(80px);
            border: 1px solid #b0b0b0;
            border-radius: .1rem;
            outline: 0;
        }

        .submit {
            margin-left: pxToRem(30px);
毕凯 authored
22
            width: pxToRem(130px);
23 24 25 26 27 28 29 30 31
            height: pxToRem(80px);
            color: #fff;
            background: #b0b0b0;
            border-radius: .1rem;
            border: none;
            outline: 0;
        }
    }
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
    .coupon-list {
        .employ-main:first-child {
            margin-top: 0;
        }
        .employ-main:last-child {
            margin-bottom: 0;
        }
    }

    %line {
        content: '';
        position: absolute;
        top: 50%;
        border-top: 1px solid #b0b0b0;
        width: pxToRem(120px);
        height: 0;
    }
50 51 52
    .not-use {
        display: block;
        width: pxToRem(560px);
毕凯 authored
53
        margin: pxToRem(30px) auto 0;
54 55 56 57 58 59 60
        text-align: center;
        font-size: pxToRem(32px);
        line-height: 2.5;
        border: 1px solid #444;
        @include border-radius(4px);
    }
61 62 63 64
    .not-avaliable-coupon-line {
        position: relative;
        margin-top: pxToRem(30px);
        margin-bottom: pxToRem(30px);
毕凯 authored
65
        font-size: pxToRem(28px);
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
        line-height: 2;
        color: #b0b0b0;
        text-align: center;

        &:before {
            @extend %line;
            left: pxToRem(60px);
        }

        &:after {
            @extend %line;
            right: pxToRem(60px);
        }
    }

    .not-avaliable {
82
        background-image: image-url('me/employ/employ-grey.jpg') !important;
83 84
    }
}