Your IP : 3.145.80.247


Current Path : /home/lentoinv/finationglobal.com/assets/scss/plugins/
Upload File :
Current File : //home/lentoinv/finationglobal.com/assets/scss/plugins/_smart_wizard_theme_arrows.scss

/*!
* jQuery SmartWizard v6.x
* The awesome step wizard plugin for jQuery
* http://www.techlaboratory.net/jquery-smartwizard
*
* Created by Dipu Raj (http://dipu.me)
*
* Licensed under the terms of the MIT License
* https://github.com/techlab/jquery-smartwizard/blob/master/LICENSE
*/

/* SmartWizard Base Styles */

.sw {
  position: relative;

  * {
    box-sizing: border-box;

    &::before, &::after {
      box-sizing: border-box;
    }
  }

  > .tab-content {
    position: relative;
    overflow: hidden;

    > .tab-pane {
      padding: 0.8rem;
    }
  }

  .toolbar {
    padding: 0.8rem;
    text-align: right;

    > .sw-btn {
      display: inline-block;
      text-decoration: none;
      text-align: center;
      text-transform: none;
      vertical-align: middle;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      margin-left: 0.2rem;
      margin-right: 0.2rem;
      cursor: pointer;
      padding: 0.375rem 0.75rem;
      border-radius: 0.25rem;
      font-weight: 400;
      color: var(--sw-toolbar-btn-color);
      background-color: var(--sw-toolbar-btn-background-color);
      border: 1px solid var(--sw-toolbar-btn-background-color);

      &.disabled, &:disabled {
        opacity: 0.65;
      }
    }
  }

  &[dir=rtl] {
    > .toolbar {
      text-align: left;
    }

    > .nav .nav-link > .num {
      float: right;
    }
  }

  > .nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;

    .nav-link {
      display: block;
      padding: 0.5rem 1rem;
      text-decoration: none;

      &:hover, &:active, &:focus {
        text-decoration: none;
      }

      &::-moz-focus-inner {
        border: 0;
      }

      &.disabled {
        pointer-events: none;
        cursor: not-allowed;
      }

      &.hidden {
        display: none;
        visibility: none;
      }

      > .num {
        display: flex;
        justify-content: center;
        align-items: center;
        float: left;
        pointer-events: none;
        height: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        border-radius: 10em;
        text-align: center;
        font-size: 2em;
        font-weight: 800;
        clear: both;
        line-height: 1;
        text-decoration: none;
      }
    }
  }

  > .progress {
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
    height: 5px;
    background: var(--sw-progress-background-color);
    overflow: hidden;

    > .progress-bar {
      height: 5px;
      width: 0%;
      background-color: var(--sw-progress-color);
      transition: width 0.5s ease-in-out;
    }
  }

  &.sw-justified > .nav {
    > li, .nav-link {
      flex-basis: 0;
      flex-grow: 1;
      text-align: center;
    }
  }

  &.sw-loading {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    &::after {
      content: "";
      display: block;
      position: absolute;
      opacity: 1;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: var(--sw-loader-background-wrapper-color);
      z-index: 2;
    }

    &::before {
      content: "";
      display: inline-block;
      position: absolute;
      top: 45%;
      left: 45%;
      width: 2rem;
      height: 2rem;
      border: 10px solid var(--sw-loader-color);
      border-top: 10px solid var(--sw-loader-background-color);
      border-radius: 50%;
      z-index: 10;
      -webkit-animation: spin 1s linear infinite;
      animation: spin 1s linear infinite;
    }
  }
}

@media screen and (max-width: 640px) {
  .sw > .nav {
    flex-direction: column !important;
    flex: 1 auto;
  }
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* SmartWizard Theme: Arrows */

.sw-theme-arrows {
  border: 1px solid var(--sw-border-color);

  > .nav {
    overflow: hidden;

    .nav-item:last-child .nav-link {
      margin-right: 0px;
    }

    .nav-link {
      position: relative;
      height: 100%;
      padding: 10px;
      margin-right: 30px;
      margin-left: -30px;
      padding-left: 50px;
      transition: all 0.5s ease-in-out;

      &::after, &::before {
        content: "";
        pointer-events: none;
        position: absolute;
        display: block;
        left: 100%;
        top: 50%;
        height: 0;
        width: 0;
        margin-top: -50px;
        border: 50px solid transparent;
        border-left-width: 40px;
        transition: all 0.5s ease-in-out;
      }

      &::after {
        z-index: 2;
      }

      &::before {
        z-index: 1;
      }

      &.default {
        color: var(--sw-anchor-default-secondary-color);
        background-color: var(--sw-anchor-default-primary-color);
        cursor: not-allowed;

        &::after {
          border-left-color: var(--sw-anchor-default-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-default-secondary-color);
        }
      }

      &.active {
        color: var(--sw-anchor-active-secondary-color) !important;
        border-color: var(--sw-anchor-active-primary-color);
        background-color: var(--sw-anchor-active-primary-color);
        cursor: pointer;

        &::after {
          border-left-color: var(--sw-anchor-active-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-active-secondary-color);
        }
      }

      &.done {
        color: var(--sw-anchor-done-secondary-color);
        border-color: var(--sw-anchor-done-primary-color);
        background-color: var(--sw-anchor-done-primary-color);
        cursor: pointer;

        &::after {
          border-left-color: var(--sw-anchor-done-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-done-secondary-color);
        }
      }

      &.disabled {
        color: var(--sw-anchor-disabled-secondary-color);
        border-color: var(--sw-anchor-disabled-primary-color);
        background-color: var(--sw-anchor-disabled-primary-color);

        &::after {
          border-left-color: var(--sw-anchor-disabled-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-disabled-secondary-color);
        }
      }

      &.error {
        color: var(--sw-anchor-error-secondary-color);
        border-color: var(--sw-anchor-error-primary-color);
        background-color: var(--sw-anchor-error-primary-color);
        cursor: pointer;

        &::after {
          border-left-color: var(--sw-anchor-error-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-error-secondary-color);
        }
      }

      &.warning {
        color: var(--sw-anchor-warning-secondary-color);
        border-color: var(--sw-anchor-warning-primary-color);
        background-color: var(--sw-anchor-warning-primary-color);
        cursor: pointer;

        &::after {
          border-left-color: var(--sw-anchor-warning-primary-color);
        }

        &::before {
          border-left-color: var(--sw-anchor-warning-secondary-color);
        }
      }
    }
  }

  &[dir=rtl] > .nav {
    padding-right: 0;

    .nav-item {
      &:first-child .nav-link {
        padding-left: unset;
        margin-left: unset;
        padding-right: 10px;
        margin-right: 0;
      }

      &:last-child .nav-link {
        margin-right: unset;
        margin-left: 0px;
      }
    }

    .nav-link {
      margin-right: unset;
      margin-left: unset;
      padding-left: unset;
      padding-right: 50px;

      &::after, &::before {
        left: unset;
        right: 100%;
        border-left-width: 0;
        border-right-width: 40px;
      }

      &.default {
        &::after {
          border-right-color: var(--sw-anchor-default-primary-color);
        }

        &::before {
          border-right-color: var(--sw-anchor-default-secondary-color);
        }
      }

      &.active {
        &::after {
          border-right-color: var(--sw-anchor-active-primary-color);
        }

        &::before {
          border-right-color: var(--sw-anchor-active-secondary-color);
        }
      }

      &.done {
        &::after {
          border-right-color: var(--sw-anchor-done-primary-color);
        }

        &::before {
          border-right-color: var(--sw-anchor-done-secondary-color);
        }
      }

      &.disabled {
        &::after {
          border-left-color: unset;
          border-right-color: var(--sw-anchor-disabled-primary-color);
        }

        &::before {
          border-left-color: unset;
          border-right-color: var(--sw-anchor-disabled-secondary-color);
        }
      }
    }
  }
}

@media screen and (min-width: 640px) {
  .sw-theme-arrows > .nav .nav-item:first-child .nav-link {
    padding-left: 10px;
    margin-left: 0;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link {
    overflow: hidden;
    margin-right: unset;
    text-align: left !important;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.default {
    border-bottom: 1px solid var(--sw-anchor-default-primary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.active {
    border-bottom: 1px solid var(--sw-anchor-active-secondary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.done {
    border-bottom: 1px solid var(--sw-anchor-done-secondary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.disabled {
    border-bottom: 1px solid var(--sw-anchor-disabled-secondary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.error {
    border-bottom: 1px solid var(--sw-anchor-error-secondary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows > .nav .nav-link.warning {
    border-bottom: 1px solid var(--sw-anchor-warning-secondary-color);
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-arrows[dir=rtl] > .nav .nav-link {
    margin-left: unset;
  }
}

?>