home.scss 1.7 KB
.home {
  background: #dfe7f3;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  overflow-y: hidden;

  &-left,
  &-center,
  &-right {
    width: 32%;
    height: 100%;
    border-radius: 4px;
  }

  &-left {
    width: 25%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    &-top {
      width: 100%;
      height: 35%;
      background: #fff;
      margin-bottom: 15px;
      border-radius: 4px;
    }

    &-bottom {
      width: 100%;
      height: calc(65% - 15px);
      background: #fff;
      border-radius: 4px;
    }
  }

  &-center {
    width: calc(40% - 30px);
    background: #fff;
    margin: 0 15px;
  }

  &-right {
    width: 35%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    &-top {
      width: 100%;
      height: 35%;
      background: #fff;
      margin-bottom: 15px;
      border-radius: 4px;
    }

    &-bottom {
      width: 100%;
      height: calc(65% - 15px);
      background: #fff;
      border-radius: 4px;
    }
  }

  &-title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #dfe7f3;
    font-size: 16px;

    .title-name,
    .title-more {
      display: inline-block;
      height: 24px;
      line-height: 24px;
      margin-top: 8px;
    }

    .title-name {
      float: left;
      margin-left: 20px;
      padding-left: 10px;
      border-left: 4px solid #0F93F6;
    }

    .title-more {
      display: inline-block;
      float: right;
      margin-right: 20px;
      color: #97a8be;
      cursor: pointer;
    }
  }

  &-content {
    width: 100%;
    height: calc(100% - 41px);
    padding: 0 20px 20px 20px;
  }
}