Sha256: 5131ee1d70350b6d3fda3f2ab484651a2ba485a7a1c3ae27d9c3c4c69502bbbf

Contents?: true

Size: 1.43 KB

Versions: 45

Compression:

Stored size: 1.43 KB

Contents

.slider {
  position: relative;
  height: 400px;
  width: 100%;

  // Fullscreen slider
  &.fullscreen {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    ul.slides {
      height: 100%;
    }

    ul.indicators {
      z-index: 2;
      bottom: 30px;
    }
  }

  .slides {
    background-color: $slider-bg-color;
    margin: 0;
    height: 400px;

    li {
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100%;
      height: inherit;
      overflow: hidden;

      img {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
      }

      .caption {
        color: #fff;
        position: absolute;
        top: 15%;
        left: 15%;
        width: 70%;
        opacity: 0;

        p { color: $slider-bg-color-light; }
      }

      &.active {
        z-index: 2;
      }
    }
  }


  .indicators {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;

    .indicator-item {
      display: inline-block;
      position: relative;
      cursor: pointer;
      height: 16px;
      width: 16px;
      margin: 0 12px;
      background-color: $slider-bg-color-light;

      transition: background-color .3s;
      border-radius: 50%;

      &.active {
        background-color: $slider-indicator-color;
      }
    }
  }

}

Version data entries

45 entries across 44 versions & 7 rubygems

Version Path
jera_push-2.1.4 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-2.1.3 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-2.1.2 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-2.0.0 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.2.4 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.2.3 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.2.1 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.7 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.6 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.5 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.4 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.3 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.2 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.1 app/assets/styles/jera_push/materialize/components/_slider.scss
jera_push-1.1.0 app/assets/styles/jera_push/materialize/components/_slider.scss
jekyll-theme-anc-0.1.2 _sass/materialize-css/components/_slider.scss
jekyll-theme-anc-0.1.2 _sass/materialize/components/_slider.scss
mtl-1.1.10 vendor/assets/stylesheets/materialize/_slider.scss
mtl-1.1.9 vendor/assets/stylesheets/materialize/_slider.scss
mtl-1.1.8 vendor/assets/stylesheets/materialize/_slider.scss