MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/imenso.co/dev/japfa/sass/_table.scss
.table-scroll {
  position: relative;
  width:100%;
  z-index: 1;
  margin: auto;
  overflow: auto;
  height: calc(100vh - 155px);
}

.table-scroll::-webkit-scrollbar {
  width: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 100px;
}

.table-scroll::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: rgba(0,0,0,0.4);
  box-shadow: inset 1px 2px 2px 0 rgba(#fff, 0.1);
}
.table-scroll table {
  width: 100%;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
}
.table-wrap {
  position: relative;
}
.table-scroll th,
.table-scroll td {
  padding: 10px;
  border-bottom: 1px solid #DDD;
  background: #fff;
  vertical-align: middle;
  &:last-child {
    padding-right:20px;
  }
}
.table-scroll thead th {
  background: #efefef;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-size:11px;
  color: #777;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #333;
  color: #fff;
  z-index:4;
}

.table-scroll tbody tr:hover td {
  background-color: #FEF5EF;
}
.table-scroll tbody tr:hover th {
  background-color: #FEF5EF;
}

th:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
}

thead th:first-child,
tfoot th:first-child {
  z-index: 5;
}
.scroller table {
  min-width: 1280px;
}
.scroller table td, .scroller table th {
  border-left: 1px solid #DDD;
}

.scroller {
   tbody td:last-child {
    position: -webkit-sticky;
    position: sticky;
    right: 0;
    z-index: 1;
    top: 0;
    background-color: #efefef;
    min-width: 100px;
  }
  tfoot td:last-child {
    position: -webkit-sticky;
    position: sticky;
    right: 0;
    z-index: 10;
    bottom: 0;
    background-color: #000;
    min-width: 100px;
    color: #FFF;
  }
  th:last-child {
    position: -webkit-sticky;
    position: sticky;
    right: 0;
    z-index: 6;
    background-color: #000;
    color: #FFF;

  }
  th:first-child {
    background-color: #efefef;
    color: #000;
    border-left: none;
    font-weight: normal;
  }
  thead th {
    background-color: #333;
    color: #FFF;
  }
  thead th:first-child {
    background-color: #000;
    color: #FFF;
    min-width: 400px;
  }
  tfoot th:first-child {
    background-color: #000;
    color: #FFF;
    
  }
  .chosen-container .chosen-drop {
      border-bottom: 0;
      border-top: 1px solid #aaa;
      top: auto;
      bottom: 40px;
      font-size: 0.9em;
  }
  .chosen-container-single .chosen-single span {
    font-size: 0.9em;
    color: #000;
  }
  .chosen-container-single .chosen-single {
    background-color: #FFF;
  }
  .form-control {
    width: 100px;
    margin-left: 20px;
  }
}

.scroller-2 table {
  min-width: 1280px;
}
.scroller-2 table td, .scroller-2 table th {
  border-left: 1px solid #DDD;
}

.scroller-2 {
   
 
  
  th:first-child {
    background-color: #efefef;
    color: #000;
    border-left: none;
    font-weight: normal;
  }
  thead th {
    background-color: #333;
    color: #FFF;
  }
  thead th:first-child {
    background-color: #000;
    color: #FFF;
    min-width: 400px;
  }
  tfoot th:first-child {
    background-color: #000;
    color: #FFF;
    
  }
  .chosen-container .chosen-drop {
      border-bottom: 0;
      border-top: 1px solid #aaa;
      top: auto;
      bottom: 40px;
      font-size: 0.9em;
  }
  .chosen-container-single .chosen-single span {
    font-size: 0.9em;
    color: #000;
  }
  .chosen-container-single .chosen-single {
    background-color: #FFF;
  }
  .form-control {
    width: 100px;
    margin-left: 20px;
  }
}
.h-auto {
  height:auto;
}
.orders {
  .card-header {
    font-weight:600;
    background-color: #333;
    color: #FFF;

  }
  .table {
    margin-bottom: 0;
    width: 100%;
    font-size: 0.9em;
    td{
      vertical-align: middle;
    }
  }
  thead th {
    border-top: 0;
  }
  .scrollable-panel {    
    padding: 0;
    height: 350px;
    overflow-y: auto;
    thead {
      position: sticky;
      top: 0;
      width: 100%;
      z-index: 1;
      background-color: #FFF;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    tfoot {
      position: sticky;
      bottom: 0;
      width: 100%;
      z-index: 1;
      background-color: #EEE;

    }
  }
  .card {
    margin-bottom: 30px;
  }
}
.item-table {
  table {
    width: 100%;
    th {
      text-transform: uppercase;
      color: #777;
      letter-spacing: 1px;
      font-weight: 600;
      font-size:12px;
      padding: 10px;
      vertical-align: middle;
      background-color: #efefef;
    }
    td {
      padding: 10px;
      border-bottom: 1px solid #DDD;
      vertical-align: middle;
    }
    th, td {
      width: 100px;
      &:first-child {
        width:85%;
      }
    }
    .item-name {
      font-weight: 600;
      color: #223d66;
      display: block;
    }
    .item-price {
      font-size: 0.9em;
    }
    tfoot {
      td {
        font-weight: 600;
      }
    }
    .sml-input {
      float: none;
      margin-right: 10px;
      text-align: right;
    }
  }
}