Sha256: 67e7db7e5ec2f6f5ed74ba1aca3961f407d2b7c0fcf46d310ff2d0cc0613358a

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

$gray-light: lightgray !default;
$gray-dark: darkgray !default;

.slideshow-block {
  background-color: whitesmoke;
  border: 1px solid #ddd;

  .slideshow-inner {
    overflow: hidden;

    .item {
      width: 100%;
      padding: 20px 0 0 0;
      position: relative;
      text-align: center;
      vertical-align: middle;

      img {
        margin: 0 auto;
        padding: 10px 0;
        display: inline-block;
        vertical-align: middle;
      }
    }
  }

  .slideshow-indicators {
    list-style: none;
    padding: 10px 0;
    position: relative;
    text-align: center;
    z-index: 15;
  }

  .slideshow-indicators li {
    background-color: transparent;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid $gray-light;
    display: inline-block;
    height: 12px;
    padding: 0;
    width: 12px;
  }

  .slideshow-indicators .active {
    background-color: $gray-light;
  }

  .carousel-control {
    background-image: none;
    height: 80%;
    width: 50px;

    .glyphicon {
      color: $gray-dark;
    }
  }

  .caption {

    .primary, .secondary {
      font-size: 1em;
      opacity: 0.75;
      line-height: 1.6em;
      height: 1.8em;
      min-width: 200px;
      overflow: hidden;
      padding: 0 10%;
      width: 100%;
      overflow: hidden;
      position: relative;
    }

    .caption-hover {
      background-color: $gray-dark;
      color: white;
      bottom: 0;
      overflow: visible;
      max-height: none;
      position: absolute;
    }
  }

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.3.1 app/assets/stylesheets/spotlight/_slideshow_block.scss
blacklight-spotlight-0.3.0 app/assets/stylesheets/spotlight/_slideshow_block.scss
blacklight-spotlight-0.2.0 app/assets/stylesheets/spotlight/_slideshow_block.scss
blacklight-spotlight-0.1.0 app/assets/stylesheets/spotlight/_slideshow_block.css.scss