• File: _backtotop.scss
  • Full Path: /home/monpetu/www/leoreno.fr/wp-content/themes/buildexo/assets/scss/components/_backtotop.scss
  • Date Modified: 10/29/2024 2:43 PM
  • File size: 1.64 KB
  • MIME-type: text/plain
  • Charset: utf-8
/* backtoup */

.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 40px;
  height: 35px;
  width: 35px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 170, 0, 0.08);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  transform: translateY(15px);
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  -ms-transform: translateY(15px);
  -o-transform: translateY(15px);
  &::after {
    position: absolute;
    content: '\f176';
    font-family: "Font Awesome 5 Pro";
    text-align: center;
    line-height: 35px;
    font-size: 15px;
    color: var(--color-primary);
    left: 0;
    top: 0;
    height: 35px;
    width: 35px;
    cursor: pointer;
    display: block;
    font-weight: 700;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    font-size: 13px;
  }
  svg {
    path {
      fill: none;
    }
    &.progress-circle path {
      stroke: var(--color-primary);
      stroke-width: 4;
      box-sizing: border-box;
      -webkit-transition: all 200ms linear;
      transition: all 200ms linear;
    }
  }
  &.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  &.style2 {
    &::after {
      color: var(--thm-color-2);
    }
    svg.progress-circle path {
      stroke: var(--thm-color-2);
    }
  }
  &.style3 {
    &::after {
      color: var(--thm-color-3);
    }
    svg.progress-circle path {
      stroke: var(--thm-color-3);
    }
  }
}