Your IP : 52.15.42.61


Current Path : /home/lentoinv/finationglobal.com/arch/assets/scss/plugins/
Upload File :
Current File : //home/lentoinv/finationglobal.com/arch/assets/scss/plugins/_smart_wizard_theme_dots.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: $white;
      background-color: $primary-1;
      border: 1px solid $primary-1;

      &.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: Dots */

.sw-theme-dots {
  > {
    .nav {
      position: relative;
      margin-bottom: 10px;

      &::before {
        content: " ";
        position: absolute;
        top: 18px;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: $background;
        border-radius: 3px;
        z-index: 0;
      }

      .nav-link {
        position: relative;
        margin-top: 40px;

        &::after {
          content: " ";
          position: absolute;
          display: block;
          left: 0;
          right: 0;
          margin-left: auto;
          margin-right: auto;
          border-radius: 50%;
          top: -42px;
          width: 46px;
          height: 46px;
          z-index: 1;
          border: 2px solid $border;
          transition: all 0.5s ease-in-out;
        }

        > .num {
          font-size: 1.3em;
          position: absolute;
          display: block;
          left: 0;
          right: 0;
          top: -28px;
          margin-left: auto;
          margin-right: auto;
          z-index: 2;
          transition: all 0.5s ease-in-out;
        }

        &.default {
          color: $default-color;
          cursor: not-allowed;

          > .num {
            color: $primary-1 !important;
          }

          &::after {
            background-color: $background;
          }
        }

        &.active {
          color: $primary-1 !important;
          cursor: pointer;

          > .num {
            color: $white !important;
          }

          &::after {
            background-color: $primary-1 !important;
            box-shadow: none;
          }
        }

        &.done {
          color: $primary-1;
          opacity: 0.95;
          cursor: pointer;

          > .num {
            color: $white !important;
            opacity: 0.7;
          }

          &::after {
            background-color: $primary-1;
            opacity: 0.9;
          }
        }

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

          > .num {
            color: var(--sw-anchor-disabled-secondary-color) !important;
          }

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

        &.error {
          color: var(--sw-anchor-error-primary-color) !important;
          cursor: pointer;

          > .num {
            color: var(--sw-anchor-error-secondary-color) !important;
          }

          &::after {
            background-color: var(--sw-anchor-error-primary-color) !important;
          }
        }

        &.warning {
          color: var(--sw-anchor-warning-primary-color) !important;
          cursor: pointer;

          > .num {
            color: var(--sw-anchor-warning-secondary-color) !important;
          }

          &::after {
            background-color: var(--sw-anchor-warning-primary-color) !important;
          }
        }
      }
    }

    .nav-progress::after {
      content: " ";
      position: absolute;
      top: 18px;
      left: 0;
      width: var(--sw-progress-width);
      height: 5px;
      background-color: var(--sw-progress-color);
      border-radius: 3px;
      z-index: 2;
      transition: width 0.5s ease-in-out;
    }
  }

  &[dir=rtl] > .nav-progress::after {
    left: unset;
    right: 0;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav::before {
    top: 0;
    left: 20.5px;
    width: 5px;
    height: 100%;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-item:last-child .nav-link {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link {
    margin-top: unset;
    margin-bottom: 20px;
    padding-left: 55px;
    text-align: left !important;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link::after {
    top: 0;
    right: unset;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link > .num {
    top: 0;
    right: unset;
    width: 46px;
    padding-top: 13px;
  }
}

@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav-progress::after {
    top: 0;
    left: 20.5px;
    width: 5px;
    height: var(--sw-progress-width);
  }
}

?>