Skip to content
learning-result.scss 2.16 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
page-learning-result {
  p {
    margin: .5rem;
  }
  .main-container {
    height: 100%;
    background-color: #e6e8ed ;
  }
  .bgc{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  .learn-item {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 2rem;
  }
  .swiper-slide, .slide-zoom {
    text-align: left;
  }
  .swiper-slide {
    justify-content: normal;
    align-items: normal;
  }
  .learn-title {
    background-color: rgba(18, 28, 52, 0.34);
    font-size: 1.8rem;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
  }
  .item-container {
    background-color: #fff;
    height: calc(100% - 7rem);
    border-bottom-left-radius: .8rem;
    border-bottom-right-radius: .8rem;
    font-size: 1.5rem;
  }
  .item-title {
    padding: 1rem;
    font-size: 2rem;
    span {
      font-size: 3rem;
    }
  }
  .item-content1 {
    padding: 1rem;
  }
  .item-content2 {
    padding: 1rem;
    background-color: #f8f8f8;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    color: #333333;
  }
  .footer-subject {
    padding: 0 1rem;
    position: absolute;
    left: 0;
    bottom: 3rem;
    height: 5rem;
    width: 100%;
    background-color: #e6e8ed;
    display: flex;
    div {
      line-height: 5rem;
    }
    .prev {
      flex: 3;
    }
    .next {
      flex: 3;
      text-align: right;
    }
    .index {
      flex: 1;
      text-align: center;
    }
  }
  .footer-submit {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3rem;
    width: 100%;
    border-top: .1rem solid #34b4fc;
    display: flex;
    div {
      line-height: 3rem;
    }
    .time {
      text-align: center;
      flex: 4;
    }
    .submit {
      background-color: #34b4fc;
      color: #ffffff;
      text-align: center;
      flex: 1;
    }
  }
  .icon-star {
    font-size: 4.8rem;
    ion-icon {
      margin-right: 1rem;
    }
    .star-yellow {
      color: #faba54;
    }
    .star-gray {
      color: grey;
    }
  }
  .submit-btn {
    width: 35%;
    background-color: #34b4fc;
    margin: 10% 5%;
  }
}