header.scss 864 Bytes
Newer Older
FE 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 28 29 30 31 32 33 34 35 36 37 38 39 40
.college-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
}

.college-header__icon {
  width: 44px;
  height: 8px;
  background-size: cover;

  &[data-direction="left"] {
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-left.png');
    background-position: right;
  }

  &[data-direction="right"] {
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/icon-right.png');
    background-position: left;
  }
}

.college-header__text {
  margin: 0;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: #525C65;
  line-height: 1;
}

.college-header__decorate {
  display: block;
  width: 39px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg,rgba(0,153,255,1) 0%,rgba(55,117,239,1) 100%);
}