policy-head-list.scss 4.08 KB
@import '@/styles/_support.scss';

.list-container {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.hide {
  max-height: 0;
  border-bottom: none;
}

.table-contaner {
  position: relative;
}

.download {
  position: relative;

  &-tips {
    display: none;
    position: absolute;
    top: -3px;
    left: 20px;
    z-index: 11;
    padding: 2px;
    @include border-tans();
    min-width: 80px;
  }
}

.guide {
  position: absolute;
  transition: all 0.5s;
  cursor: pointer;
  width: 1rem;
  height: 8px;
  background: url("~@/assets/images/insurance-query/triangle-down2.png") no-repeat center center;
  background-size: 100% 100%;
  top: 16px;
  right: 26px;
}

.rotate180 {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.cell-group {
  margin-bottom: 1rem;

  &:last-child {
    margin-bottom: 0;
  }

  div {
    color: #4c4948;
  }

  .w1 {
    // width: 10rem;
    width: 20rem;
    text-align: center;
  }

  .w2 {
    // width: 6.25rem;
    width: 12.5rem;
    text-align: center;
  }

  .table-header {
    // width: 64.166667rem;
    height: 3.25rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;

    .normal-header {
      // width: 58.833333rem;
      @extend .bb;
      padding: 0 2.75rem;
      width: 100%;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .title {
        font-weight: bold;
        color: #575453;
      }

      .guide {
        transition: all 0.5s;
        cursor: pointer;
        width: 1rem;
        height: 8px;
        background: url("~@/assets/images/insurance-query/triangle-down.png") no-repeat center center;
        background-size: 100% 100%;
      }

      .rotate180 {
        transform: rotate(180deg);
        transition: all 0.5s;
      }
    }
  }

  .table-content {
    // width: 64.166667rem;

    height: auto;
    max-height: 50rem;
    // display: inline-block;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: solid 1px #f2f2f2;
    border-right: solid 1px #f2f2f2;
    border-bottom: solid 1px #f2f2f2;
    padding: 0 2.75rem;
    // max-height: 41.666667rem;
    transition: max-height ease-out 0.3s !important;
    overflow: auto;

    .data-line {
      // padding: 0 2.75rem;
      height: 4.416667rem;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .td {
        display: flex;
        justify-content: center;
        align-items: center;


      }

      .cell1 {
        width: 98%;
        display: flex;
        justify-content: space-between;
        margin: auto;
      }

      .separator-v {
        height: 2.5rem;
        width: 2px;
        background-color: #f2f2f2;
        margin: 0 .916667rem;
      }
    }

    .label span {
      color: $cOrange;
      margin-left: .583333rem;
      cursor: pointer;
      text-decoration: underline;
    }

    .separator-h {
      width: 100%;
      height: 1px;
      background-color: #f2f2f2;
    }
  }

  .orange {
    background-color: $cOrange !important;

    div {
      color: #ffffff;
    }
  }

  .hide {
    max-height: 0;
    border-bottom: none;
  }

  .sp {
    text-decoration: underline;
    padding: 0 .4rem;
  }

  .ac {
    color: $cOrange !important;
  }
}

.show-more-btn {
  width: 100%;
  color: $cOrange !important;
  text-decoration: underline;
  cursor: pointer;
  justify-content: center !important;
}

.pointer {
  cursor: pointer;
}

.activity {
  background-color: $cOrange !important;
  opacity: .5;

  div {
    color: #FFFFFF !important;
  }
}

.empty {
  height: 41.666667rem;
  display: flex;
  align-items: center;
  justify-content: center;

  .tips {
    align-items: center;
    display: flex;

    .icon {
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
      color: $cOrange;
    }
  }
}

@media (max-width: 1200px) {
  .list-container {
    display: -webkit-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 92vw;

  }
}

.list-container::-webkit-scrollbar {
  display: none;
}