my-courses.scss 1.97 KB
Newer Older
zhanghaozhe committed
1 2 3
.info {
    display: flex;
    flex-wrap: wrap;
zhanghaozhe committed
4
    width: 55%;
zhanghaozhe committed
5 6 7 8

    .title {
        font-size: 15px;
        font-weight: 400;
zhanghaozhe committed
9 10 11 12
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
zhanghaozhe committed
13 14 15 16 17
    }

    .contact {
        font-size: 13px;
        color: $red;
zhanghaozhe committed
18 19
        flex: 0 1 auto;
        width: 100%;
zhanghaozhe committed
20 21 22 23 24
    }

    .des {
        color: $color_999;
        font-size: 11px;
zhanghaozhe committed
25 26
        align-self: flex-end;
        line-height: 1;
zhanghaozhe committed
27 28 29 30 31

        .time {
            margin-right: 10px;
        }
    }
zhanghaozhe committed
32 33

    .start-learn {
zhanghaozhe committed
34 35 36 37 38 39 40 41 42 43 44 45 46
        display: block;
        box-sizing: border-box;
        align-self: flex-end;
        width: 78px;
        height: 22px;
        padding: 5px 14px;
        -webkit-appearance: none;
        outline: 0;
        border: none;
        background: $bg_active;
        color: $white;
        border-radius: 3px;
    }
zhanghaozhe committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
}

.add-course {
    padding: 10px 12px;

    button.add {
        width: 150px;
        height: 108px;

        font-size: 15px;
        font-family: HiraginoSansGB-W3;
        font-weight: normal;
        color: $active;


        border: 1px dashed $active;
        background: transparent;
    }
}

zhanghaozhe committed
67 68 69 70 71 72 73 74 75 76
.my-course-uid {
    width: 375px;
    height: 30px;
    background: $bg_FFF4CE;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: $color_333;
}

zhanghaozhe committed
77 78 79 80 81 82 83
.empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
    background: $bg_f5f5f5;
zhanghaozhe committed
84

zhanghaozhe committed
85 86 87 88 89 90 91 92 93 94 95
    .iconfish {
        width: 20px;
        height: 20px;
        color: #1a4263;
    }

    .empty-prompt {
        margin-bottom: 30px;
        font-size: $font_12;
        color: $color_666;
    }
zhanghaozhe committed
96

zhanghaozhe committed
97 98
    .select-course {
        display: block;
zhanghaozhe committed
99 100 101 102
        width: 131px;
        height: 30px;
        border: 1px solid $active;
        border-radius: 15px;
zhanghaozhe committed
103 104 105
        background: transparent;
        color: $active;
        font-size: $font_16;
zhanghaozhe committed
106 107
        text-align: center;
        line-height: 30px;
zhanghaozhe committed
108 109
    }
}