insurance-query.scss 4.09 KB
@import "@/styles/_support.scss";

.container {
  // font-size: 18px;
}

.cell-group {
  margin-bottom: 12px;

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

  div {
    color: #4c4948;
  }

  .w1 {
    width: 240px;
    text-align: center;
  }

  .w2 {
    width: 150px;
    text-align: center;
  }

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

    .normal-header {
      @extend .bb;
      padding: 0 32px;
      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: 12px;
        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 {
    height: auto;
    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 32px;
    max-height: 500px;
    transition: max-height ease-out 0.3s !important;
    overflow: scroll;

    .cell {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 50px;
      border-bottom: solid 1px #f2f2f2;

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

      &:last-child(){
        border-bottom: none;
      }
      &:nth-last-child(2){
        border-bottom: none;
      }
  
      &:nth-child(odd) {
        padding-right: 10px;
      }
      &:nth-child(even) {
        padding-left: 10px;
      }
      &:nth-child(odd):after {
        content: "";
        background-color: #f2f2f2;
        position: absolute;
        top: 10px;
        right: 0;
        height: 30px;
        width: 1px;
      }
    }

    .cell1:nth-child(1){
      text-align: right !important;
    }

    .data-line {
      height: 50px;
      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;

        div:first-child{
          text-align: left;
          min-width: 80px !important;
        }
      }

      .cell1:nth-child(1){
        text-align: right !important;
      }

      .separator-v {
        height: 30px;
        width: 2px;
        background-color: #f2f2f2;
        margin: 0 11px;
      }
    }

    .label span {
      color: #f05a23;
      margin-left: 7px;
      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 12px;
}

.icon-check {
  height: 17px;
  margin: 0 12px;
}

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

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

// .container{
//   -ms-overflow-style: none;
// }

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

// .list-container{
//   -ms-overflow-style: none;
// }

// .table-content::-webkit-scrollbar {
//   display: none;
// }

// .table-content{
//   -ms-overflow-style: none;
// }