Sha256: 1ef8b6e7f7cdba2ac2d22988efbf8e8e537fdb44a83808b8fca1f1db78fb8eca

Contents?: true

Size: 1.4 KB

Versions: 11

Compression:

Stored size: 1.4 KB

Contents

.documents-masonry {
  .document {
    max-width: 25%;
    padding: 0;
    margin: 0;

    &:hover, &:focus {
      .caption-area {
        display: block;
      }
    }

    margin-bottom: $spacer * 0.5;
    position: relative;
    width: auto;

    .thumbnail-container {
      position: relative;
      min-height: 100px;
      background-color: $gray-300;
    }

    .img-thumbnail {
      padding: 0;
      border-radius: 0;
    }

    .caption-area {
      // styling for documents without thumbnails
      &:first-child {
        display: block;
        max-height: 100%;
        background-color: rgba(0,0,0,0.7) !important;
      }
      @extend .bg-dark;
      @extend .text-white;
      display: none;
      padding: 5px 7px;
      background-color: rgba(0,0,0,0.5) !important;
      position: absolute;
      bottom: 0;
      overflow-x: hidden;
      overflow-y: scroll;
      max-height: 75%;
    }

    .document-counter {
      display: none;
    }

    .index_title {
      @extend .h6;
      a, a:hover, a:visited, a:active {
        @extend .stretched-link;
        color: $gray-300
      }
    }

    .document-metadata {
      dt {
        color: $gray-300;
      }
      dt, dd {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        float: none;
        width: auto;
        clear: none;
        text-align: left;
        margin: 0;
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
blacklight-gallery-4.6.1 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.6.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.5.4 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.5.3 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.5.2 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.5.1 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.5.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-gallery-4.4.1/app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.4.1 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.4.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.3.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss