video-catalog.scss 1.36 KB
Newer Older
1
.video-catalog {
2 3 4
    & li:first-child{
        border-top: 1px solid #E7EAF1;
    }
5 6 7
    li {
        line-height: 44px;
        border-bottom: 1px solid #E7EAF1;
8 9
        padding: 0 15px;

10 11

        &.active {
12
            .title, .duration {
13 14
                color: $active;
            }
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

            .video-title {
                background-color: #F5FBFF;
            }
            .exercise{
                border-top: 1px solid #E7EAF1;
            }
        }

        .video-title {
            height: 44px;
            margin: 0 -15px;
            padding: 0 15px;

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

        .exercise {
            padding-left: 15px;
            height: 35px;
            background: #F5FBFF;
            margin-bottom: 15px;
            line-height: 35px;
            color: #000;
            border-top: 1px solid transparent;

            .iconfont {
                font-size: 18px;
                //font-weight: bold;
            }
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
        }
    }

    .title {
        display: inline-block;
        width: 50%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: $font_14;
        margin-right: 26px;
    }

    .duration {
        display: inline-block;
        font-size: 11px;
        overflow: hidden;
    }

    .iconfont {
        float: right;
    }

}