index.scss 775 Bytes
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
.list-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-header--middle {
  .list-header__decorate {
    width: 25px;
    height: 12px;
  }

  .list-header__content {
    padding: 0 12px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
  }
}

.list-header__decorate {
  display: inline-block;
  width: 37px;
  height: 18px;
  background-size: cover;

  &[data-position="left"] {
28
    background-image: url("https://cdn.julyedu.com/active19_1111/m/list-header-l.png");
xuzhenghua committed
29 30 31
  }

  &[data-position="right"] {
32
    background-image: url("https://cdn.julyedu.com/active19_1111/m/list-header-r.png");
xuzhenghua committed
33 34 35 36 37 38 39 40
  }
}

.list-header__content {
  margin: 0;
  padding: 0 15px;
  font-size: 18px;
  font-weight: 600;
zhanghaozhe committed
41
  color: #fff604;
xuzhenghua committed
42
  line-height: 1;
zhanghaozhe committed
43
}