insurance-query.scss 2.78 KB
@import '@/styles/_support';

.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: .666667rem;
    border-top-right-radius: .666667rem;
    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: .666667rem;
        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;
    // display: inline-block;
    border-bottom-left-radius: .666667rem;
    border-bottom-right-radius: .666667rem;
    border-left: solid .083333rem #f2f2f2;
    border-right: solid .083333rem #f2f2f2;
    border-bottom: solid .083333rem #f2f2f2;
    padding: 0 2.75rem;
    max-height: 41.666667rem;
    transition: max-height ease-out 0.3s !important;
    overflow: hidden;

    .data-line {
      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: .166667rem;
        background-color: #f2f2f2;
        margin: 0 .916667rem;
      }
    }

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

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

  .orange {
    background-color: #f05a23 !important;

    div {
      color: #ffffff;
    }
  }

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

}



.cell-between {
  .data-line {
    .td {
      &:first-child {
        justify-content: flex-start;
      }

      &:last-child {
        justify-content: flex-end;
      }
    }
  }

}

.icon-download {
  margin: 0 1rem;
}

.icon-check {
  height: 1.4rem;
  margin: 0 1rem;
}