Sha256: c4f660825857e78537c29c826e01b3c72a9bb125306229a1f7c2f07c71793177

Contents?: true

Size: 1.52 KB

Versions: 8

Compression:

Stored size: 1.52 KB

Contents

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

    &:hover, &:focus, &:focus-within {
      .caption-area {
        left: auto;
        width: auto;
        height: auto;
        clip: unset;
        max-height: 75%;
        overflow-y: scroll;
      }
    }

    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;
      padding: 5px 7px;
      background-color: rgba(0,0,0,0.5) !important;
      position: absolute;
      bottom: 0;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
    }

    .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

8 entries across 8 versions & 1 rubygems

Version Path
blacklight-gallery-4.8.3 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.8.2 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.8.1 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.8.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.7.0 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.6.4 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.6.3 app/assets/stylesheets/blacklight_gallery/_masonry.scss
blacklight-gallery-4.6.2 app/assets/stylesheets/blacklight_gallery/_masonry.scss