Sha256: 620ab517ee61365b6e6cd1eda66a38b397c8dc0f8c98d62cd691fff8b310c4b6

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

// makes it so images don't bleed into the content on the right
.catalog img {
  max-width: 100%;
  height: auto;
}

.document-thumbnail {
  img {
    width: 100%;
  }
}

.search-result-wrapper {
  .list-thumbnail {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;

    @media (max-width: 768px) {
      img {
        max-height: 200px;
      }
    }
  }

  .collection-icon-search {
    padding-bottom: 20px;
  }

  .metadata {
    width: 100%;
  }

  .collection-counts-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    @media (max-width: 992px) {
      justify-content: flex-start;
    }

    .collection-counts-item {
      background-color: #f5f5f5;
      color: #666;
      display: inline-block;
      font-size: 13px;
      font-weight: bold;
      margin-left: 10px;
      padding: 8px;
      text-align: center;

      &:first-child {
        margin-left: 0;
      }

      span {
        display: block;
        font-size: 18px;
        font-weight: normal;
        line-height: 1;
      }
    }
  }

  @media (max-width: 768px) {
    padding-bottom: 20px;

    > div {
      padding-bottom: 10px;
    }
  }
}

.badge {
  color: #fff;
}

.view-type-group a {
  > span.caption {
    display: none;
  }
}

.search-widgets {
  .view-type {
    display: inline-block;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyrax-4.0.0.beta2 app/assets/stylesheets/hyrax/_catalog.scss
hyrax-4.0.0.beta1 app/assets/stylesheets/hyrax/_catalog.scss