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/.trash/sass/_slider.scss
.viewport {
  height: calc(100vh - 70px);
  position: relative;
  background-color: #f0f4f7;
  padding-bottom: 200px;
  .head-label, .explore {
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: block;
  }
  .explore {
    color: #FFF;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 0;
    padding-right: 50px;
    position: relative;
    &:after {
      position:absolute;
      width: 40px;
      top: 50%;
      background-color: #FFF;
      height: 2px;
      margin-left: 10px;
      content: "";
    }
  }
}
.main {
  display: grid;
  grid-template-rows: 2fr 1fr;
  grid-template-areas: "headline" "nav";
  align-items: end;
  position: relative;
  height: 100%; }

.main__slider {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  bottom: 0;
  transition: 0.3s all;
  right: 0;
  overflow: hidden; }
.main__slider a {
  display: block;
  transition: 0.3s all;
  cursor: pointer;
  height: 100%;
}

.main__slide-image img {
  position: relative;
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  
}
.main__slide-image img {
   display: block;
   transition: 0.3s all; 
}
.main__slide-image:hover > img {
  transform: scale(1.05);
  transition: 0.3s all;
}
.main__slide-image-enter img {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transform: scale(1.3);
}
.main__slide-image-leave-to img {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transform: scale(1.3);
}
.main__slide-image-enter-active img {
  transition: all 700ms;
  transition-delay: 500ms;
}
.main__slide-image-leave-active {
  transition: all 700ms;
}

.main__headline {
  display: table-cell;
  z-index: 1;
  color: white;
  font-size: 24px;
  vertical-align: middle;  
  z-index: 1;
  padding-left: 50px;
  width:70%;
}
.main__nav {
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-area: nav;
  width: 30rem;
  padding: 3rem 5rem;
  color: white; }

.social-links {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 0.4rem;
  align-items: center; }

.social-links:before, .social-links:after {
  content: "";
  display: block;
  width: 1rem;
  height: 0.1rem;
  background: white; }

.social-links:before {
  grid-column: 2; }

.social-links:after {
  grid-column: 4; }

.social-links__item {
  color: white; }

.aside {
  position: absolute;
  display: grid;
  width: 350px;
  height: 200px;
  bottom: 100px;
  right: 100px; }
  .aside:after {
    position: absolute;
    width: 50px;
    right: 0;
    top: 0;
    bottom: 0;
    background:linear-gradient( 180deg, var(--secondaryClr), var(--primaryClr));
    content: ""; }
  .aside:before {
    position: absolute;
    height: 30px;
    right: 13px;
    bottom: 0;
    color: #FFF;
    z-index: 9;
    letter-spacing: 1px;
    top: 38%;
    transform: rotate(90deg);
    content: "NEXT";
    font-size: 0.8em; }

.aside__slider {
  position: relative;
  overflow: hidden;
  background-color: #EEE;
  height: 100%;  
  width: 100%; }

.aside__slide-image {
  position: absolute;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  cursor:pointer;
  transition:0.3s all;
  width: 100%; }
.aside__slide-image:hover {
  transform: scale(1.1);
}

.aside__slide-image-enter {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transform: scale(1.3); }

.aside__slide-image-leave-to {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transform: scale(1.3); }

.aside__slide-image-enter-active {
  transition: all 700ms;
  transition-delay: 500ms; }

.aside__slide-image-leave-active {
  transition: all 700ms; }

.aside__slide-image-leave-active {
  transition-delay: 200ms; }

.aside__slide-image-enter-active {
  transition-delay: 600ms; }

.aside__button {
  font-size: 1.5rem;
  width: 100%;
  height: 100px;
  margin: 0;
  cursor: pointer;
  outline: 0;
  background: #fff;
  border-color:transparent;
  color: $color__primary; }

.aside__button:hover, .aside__button:focus {
  border-color: transparent;
  background-color: rebeccapurple;
  outline: none;
  color: #FFF; }

.aside__button:active {
  color: white;
  border-color: #rebeccapurple;
  background: #rebeccapurple; }

.nav__slider {
  display: table;
  background-color: $color__primary;
  height: 200px;
  width: 100%;}
.nav__slider .nav__progress {
    width: 32%;
    display: table-cell;
    vertical-align: middle;
}
.nav__count {
    width: 10%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #FFF;
}
.progress {
    height: 2px;
    background: rgba(255,255,255,0.2);
}
.progress-bar {
    background:#FFF;
}
.nav__control {
    width: 12%;
    display: table-cell;
    vertical-align: middle;
}
.progress-indicator {
  position: absolute;
  top:30%;
  right: 0;
  width: 100px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0; }

.progress-indicator__bar {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  margin-bottom: 15px;
  position: relative;
  background: rgba(255,255,255,0.4); }

.progress-indicator__bar--active {
  background: #FFF;
  position: relative; }
  
.progress-indicator__bar--active:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--primaryClr);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: scale(0);
    border-radius: 50%;
    opacity: .1;
    transition: all ease .3s;
    }

.progress-indicator:before, .progress-indicator:after {
  color: #030303; }

.progress-indicator:before {
  content: "01"; }

.progress-indicator:after {
  content: attr(data-slides-count); }