HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/javago-portal-updates/public/sass-light/assets/apps/invoice-add.scss
//  =================
//      Imports
//  =================

@import '../../base/base';    // Base Variables

.selectable-dropdown {
  a.dropdown-toggle {
    padding: 11px 35px 10px 15px;
    position: relative;
    padding: 9px 8px 10px 12px;
    border: 1px solid $m-color_5;
    border-radius: 6px;
    transform: none;
    font-size: 13px;
    line-height: 17px;
    background-color: #fff;
    letter-spacing: normal;
    text-align: inherit;
    color: $m-color_12;
    box-shadow: none;
    max-height: 35px;
    display: inline-block;
    cursor: pointer;
    width: 100%;

    img {
      width: 19px;
      height: 19px;
      vertical-align: text-bottom;
      position: absolute;
      left: 12px;
      top: 7px;
    }

    .selectable-text {
      overflow: hidden;
      display: block;
    }

    .selectable-arrow {
      display: inline-block;
      position: absolute;
      padding: 6px 4px;
      background: #fff;
      top: 2px;
      right: 1px;
    }

    svg {
      color: $m-color_6;
      width: 13px !important;
      height: 13px !important;
      margin: 0;
      -webkit-transition: -webkit-transform .2s ease-in-out;
      transition: -webkit-transform .2s ease-in-out;
      transition: transform .2s ease-in-out;
      transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
    }
  }

  &.show a.dropdown-toggle svg {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  &.dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu {
    right: auto;
    top: 50px !important;

    &.show {
      top: 38px !important;
    }

    img {
      width: 19px;
      height: 19px;
      margin-right: 7px;
      vertical-align: top;
    }
  }
}

.invoice-detail-body {
  padding: 0;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: #fff;
  border: 1px solid $m-color_3;
  box-shadow: 0 0 40px 0 rgba(94, 92, 154, 0.06);
  border-radius: 6px;
}

/*
====================
    Detail Body
====================
*/

/* Detail Title */

.invoice-content {
  .invoice-detail-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 48px;
  }

  .invoice-title input {
    font-size: 18px;
    padding: 5px 15px;
    height: auto;
  }

  .invoice-logo .dropify-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    padding: 7px;
    border: 1px solid $m-color_3;

    .dropify-preview {
      background-color: #FFF;
      padding: 0;
    }

    .dropify-clear {
      font-size: 10px;
      padding: 4px 8px;
      color: $m-color_4;
      border: none;
      top: -3px;
      right: 0;

      &:hover {
        background-color: transparent;
      }
    }

    .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-infos-message {
      padding-top: 27px;

      &::before {
        height: 20px;
        position: absolute;
        top: -1px;
        left: 45%;
        color: #fff;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        background: transparent;
        width: 0;
        height: 0;
        font-size: 28px;
        width: 24px;
        content: " ";
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-upload-cloud'%3e%3cpolyline points='16 16 12 12 8 16'%3e%3c/polyline%3e%3cline x1='12' y1='12' x2='12' y2='21'%3e%3c/line%3e%3cpath d='M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3'%3e%3c/path%3e%3cpolyline points='16 16 12 12 8 16'%3e%3c/polyline%3e%3c/svg%3e");
        height: 20px;
      }
    }

    &.touch-fallback {
      border: 1px solid $m-color_2;

      .dropify-preview .dropify-infos .dropify-infos-inner {
        padding: 0;
      }

      .dropify-clear {
        color: $m-color_9;
        position: relative;
      }

      .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-filename {
        margin-top: 10px;
      }
    }
  }

  .invoice-detail-header {
    padding: 0 48px;
  }

  .invoice-address-company {
    h4 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .invoice-address-company-fields {
      label {
        font-size: 14px;
        color: $m-color_9;
        min-width: 75px;
        align-self: center;
        margin-bottom: 0;
      }

      .form-group {
        margin-bottom: 5px;
      }
    }
  }

  .invoice-address-client {
    h4 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .invoice-address-client-fields {
      label {
        font-size: 14px;
        color: $m-color_9;
        min-width: 75px;
        align-self: center;
        margin-bottom: 0;
      }

      .form-group {
        margin-bottom: 5px;
      }
    }
  }
}

/* Detail Header */

/* Detail Header -> invoice-address-company */

/* Detail Header -> invoice-address-client */

/* Detail Terms */

.invoice-detail-terms {
  padding: 0 48px;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid $m-color_2;

  label {
    font-size: 14px;
    color: $m-color_9;
    min-width: 75px;
    align-self: center;
    margin-bottom: 0;
  }
}

/* Detail Items */

.invoice-detail-items {
  background: $m-color_20;
  padding: 30px;
  padding: 30px 48px;

  thead th {
    padding: 9px 6px;
    font-size: 11px !important;
    border: none;
    border-top: 1px solid $m-color_3;
    border-bottom: 1px solid $m-color_3;
    color: $m-color_9 !important;
  }

  tbody td {
    border: none;
    padding: 14px 7px;
    vertical-align: top !important;
  }
}

/* Detail Items -> table thead */

/* Detail Items -> table body */

.delete-item-row {
  width: 10px;
}

.invoice-detail-items tbody td {
  &.description {
    width: 365px;
  }

  &.rate, &.qty {
    width: 110px;
  }

  &.amount {
    width: 60px;
  }

  &.tax {
    width: 60px;

    .new-chk-content {
      display: none;
    }
  }

  ul {
    padding: 0;

    li {
      list-style: none;

      svg {
        color: $m-color_9;
        stroke-width: 1.5;
        height: 19px;
        width: 19px;
      }
    }
  }

  input {
    font-size: 12px;
    padding: 12px 9px;
  }

  textarea {
    margin-top: 5px;
    resize: none;
  }

  span.editable-amount {
    white-space: nowrap;
  }
}

/* Detail Items -> Editable amount */

/* Detail Total */

.invoice-detail-total {
  padding: 0 48px;
  margin-top: 25px;

  .invoice-created-by {
    margin-bottom: 5px;

    label {
      font-size: 14px;
      color: $m-color_9;
      min-width: 75px;
      align-self: center;
      margin-bottom: 0;
    }
  }
}

/* Detail Total -> invoice-totals-row */

.totals-row {
  max-width: 9rem;
  margin-left: auto;
  margin-right: 60px;
}

.invoice-totals-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;

  .invoice-summary-label {
    min-width: 130px;
    min-width: 60px;
    font-size: 14px;
    color: $m-color_6;
  }

  .invoice-summary-value {
    min-width: 60px;
    text-align: right;
    font-size: 14px;
    color: $m-color_9;
    font-weight: 600;
  }

  &.invoice-summary-balance-due {
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px solid $m-color_2;

    .invoice-summary-label {
      font-size: 14px;
      color: $m-color_10;
    }
  }
}

/* Detail Total -> invoice-summary-balance-due */

/* Detail Note */

.invoice-detail-note {
  padding: 0 48px;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid $m-color_2;

  .invoice-note {
    margin-bottom: 0;

    label {
      font-size: 14px;
      color: $m-color_9;
      min-width: 75px;
      align-self: center;
      margin-bottom: 0;
    }
  }

  textarea {
    resize: none;
  }
}

/*
======================
    Invoice Actions
======================
*/

.invoice-actions {
  padding: 0;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: #fff;
  border: 1px solid $m-color_3;
  border-radius: 6px;

  label {
    font-size: 13px;
    font-weight: 600;
    color: $m-color_9;
  }

  .invoice-action-currency {
    label {
      padding: 0 25px 10px 25px;
      padding-bottom: 10px;
      margin-bottom: 20px;
      border-bottom: 1px solid $m-color_2;
      width: 100%;
      font-size: 16px;
      color: $primary;
      font-weight: 500;
    }

    .invoice-select {
      margin: 0 25px 0 25px;
    }

    a.dropdown-toggle {
      padding: 9px 38px 9px 45px;
      width: 100%;

      span {
        vertical-align: middle;
      }
    }

    .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu {
      width: 100%;
      padding: 6px 15px;

      .dropdown-item {
        padding: 10px 3px;
        border-radius: 0;
        font-size: 16px;
        line-height: 1.45;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;

        &:not(:last-child) {
          border-bottom: 1px solid $m-color_1;
        }
      }

      img {
        vertical-align: sub;
      }
    }
  }

  .invoice-action-tax {
    padding-top: 20px;
    margin-top: 20px;

    h5 {
      padding: 0 25px 10px 25px;
      width: 100%;
      padding-bottom: 10px;
      margin-bottom: 20px;
      border-bottom: 1px solid $m-color_2;
      width: 100%;
      font-size: 16px;
      color: $primary;
      font-weight: 500;
    }

    .invoice-action-tax-fields {
      margin: 0 25px 0 25px;
    }

    .input-rate {
      position: relative;
      padding: 9px 15px 10px 15px;
      border: 1px solid $m-color_5;
      border-radius: 6px;
      transform: none;
      font-size: 13px;
      line-height: 17px;
      background-color: #fff;
      letter-spacing: normal;
      text-align: inherit;
      color: $m-color_12;
      box-shadow: none;
      max-height: 35px;
      display: inline-block;
    }
  }

  .invoice-action-discount {
    padding-top: 20px;
    margin-top: 20px;

    .invoice-action-discount-fields {
      margin: 0 25px 0 25px;
    }

    h5 {
      width: 100%;
      padding: 0 25px 10px 25px;
      padding-bottom: 10px;
      margin-bottom: 20px;
      border-bottom: 1px solid $m-color_2;
      width: 100%;
      font-size: 16px;
      color: $primary;
      font-weight: 500;
    }

    .input-rate {
      position: relative;
      padding: 9px 15px 10px 15px;
      border: 1px solid $m-color_5;
      border-radius: 6px;
      transform: none;
      font-size: 13px;
      line-height: 17px;
      background-color: #fff;
      letter-spacing: normal;
      text-align: inherit;
      color: $m-color_12;
      box-shadow: none;
      max-height: 35px;
      display: inline-block;
    }
  }
}

/* Invoice Actions -> action-currency */

/* Invoice Actions -> action-tax */

/* Invoice Actions -> action-discount */

/*
===============================
    Invoice Actions Button
===============================
*/

.invoice-actions-btn {
  padding: 25px;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 25px;
  background-color: #fff;
  border: 1px solid $m-color_3;
  border-radius: 6px;

  label {
    font-size: 14px;
    font-weight: 600;
    color: $m-color_9;
  }

  .invoice-action-btn a {
    -webkit-transform: none;
    transform: none;

    &.btn-send, &.btn-preview {
      width: 100%;
      margin-bottom: 20px;
    }

    &.btn-download {
      width: 100%;
      float: right;
    }
  }
}

/* Invoice Actions -> action-btn */

@media (max-width: 1199px) {
  .invoice-detail-body {
    margin-bottom: 50px;
  }

  .invoice-content .invoice-address-client {
    margin-top: 30px;
  }

  .invoice-actions-btn .invoice-action-btn a {
    &.btn-send, &.btn-preview {
      margin-bottom: 0;
    }
  }
}

@media (max-width: 767px) {
  .invoice-detail-total {
    padding: 0 25px;
  }

  .invoice-detail-note {
    padding: 0 25px;
    padding-top: 25px;
  }

  .invoice-detail-items {
    padding: 0 25px;
    background: transparent;
  }

  .invoice-detail-terms {
    padding-left: 25px;
    padding-right: 25px;
  }

  .invoice-content {
    .invoice-detail-header {
      padding: 0 25px;
    }

    .invoice-detail-title {
      display: block;
      max-width: 320px;
      margin: 0 auto;
      margin-bottom: 40px;
    }

    .invoice-logo {
      margin-bottom: 15px;

      .dropify-wrapper {
        width: auto;
      }
    }
  }

  .totals-row {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }

  .invoice-detail-items {
    thead {
      display: none;
    }

    tbody {
      td {
        display: block;

        &.description {
          width: 100%;
          padding: 10px 4px;
        }

        &.rate, &.qty {
          display: inline-block;
          padding: 0 4px;
        }

        &.amount {
          display: inline-block;
          width: auto;
        }

        &.tax {
          width: auto;
          display: inline-block;
          padding: 12px 7px;

          .new-chk-content {
            display: inline-block;
          }
        }

        &.delete-item-row {
          padding: 0;

          ul {
            position: absolute;
            left: 3px;
            top: 7px;
          }

          .delete-item {
            position: absolute;
            left: 6px;
            top: 1px;
          }
        }
      }

      tr {
        background: $m-color_20;
        display: block;
        padding: 25px 5px;
        border-radius: 8px;
        position: relative;

        &:not(:last-child) {
          margin-bottom: 16px;
        }
      }
    }
  }

  .invoice-actions-btn .invoice-action-btn a {
    &.btn-send, &.btn-preview {
      margin-bottom: 20px;
    }
  }
}

@media (max-width: 575px) {
  .invoice-actions-btn .invoice-action-btn {
    width: 100%;
  }

  .selectable-dropdown a.dropdown-toggle {
    padding: 9px 20px 10px 15px;

    svg {
      top: 11px;
      right: 4px;
    }
  }
}