video-catalog.scss 1.59 KB
Newer Older
zhanghaozhe committed
1
@import "src/assets/css/variable";
2
.video-catalog {
zhanghaozhe committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  color: #515b65;
  border-top: 1px solid #e7e9f1;
  ul {
    margin: 0 15px;
  }
  li {
    border-bottom: 1px solid #e7e9f1;
    &.active {
      .video-title {
        color: $active;
      }
      .exercise {
        font-size: $font_12;
        .iconRectangleCopy {
          font-weight: 500;
          color: $active;
19
        }
zhanghaozhe committed
20 21
      }
    }
22

zhanghaozhe committed
23 24 25 26 27 28
    .video-title {
      height: 100%;
      padding: 12px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
29

zhanghaozhe committed
30 31 32
      .iconfont {
        font-size: 18px;
      }
33 34
    }

zhanghaozhe committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
    .exercise {
      padding: 0 10px;
      height: 24px;
      background: #f7f8f9;
      line-height: 24px;
      font-size: $font_12;
      color: #525b65;
      font-weight: 500;
      margin-bottom: 5px;
      border-radius: 2px;
      display: flex;
      justify-content: space-between;
      span {
        max-width: 90%;
      }
      &:last-child {
        margin-bottom: 15px;
      }
      .iconfont {
        font-size: 18px;
      }
56
    }
zhanghaozhe committed
57
  }
58

zhanghaozhe committed
59 60 61 62 63 64 65 66 67 68 69 70 71
  .title {
    display: inline-block;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 90%;
    font-size: $font_14;
    margin-right: 26px;
  }
72

zhanghaozhe committed
73 74 75 76 77
  .duration {
    display: inline-block;
    font-size: 11px;
    overflow: hidden;
  }
78

zhanghaozhe committed
79 80 81
  .iconfont {
    float: right;
  }
82

zhanghaozhe committed
83 84 85
  .iconplay_hovericon {
    color: $active;
  }
xuzhenghua committed
86

zhanghaozhe committed
87 88 89 90 91
  .icontimeout {
    font-size: 20px !important;
    color: $active;
  }
}