Sha256: 8ca3288a46f453724987aee16e6ecd1978bd5ee20a5cbf77e91ecd2ba1a18c6d

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

.constraints-container {
  @extend .mb-2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

.applied-filter {
  @extend .mx-1;

  .constraint-value {
    cursor: default;
    text-overflow: ellipsis;
    overflow: hidden;

    @media (max-width: breakpoint-min(sm)) {
      max-width: breakpoint-min(sm) * .5;
    }

    @media (min-width: breakpoint-min(sm)) and (max-width: breakpoint-max(sm)) {
      max-width: breakpoint-min(sm) * .5;
    }

    @media (min-width: breakpoint-min(md)) and (max-width: breakpoint-max(md)) {
      max-width: breakpoint-min(md) * .5;
    }

    @media (min-width: breakpoint-min(lg)) {
      max-width: breakpoint-min(lg) * .5;
    }

    &:hover, &:active {
      background-color: theme-color("secondary");
      border-color: theme-color("secondary");
      box-shadow: none;
    }
  }

  .filter-name:after {
    color: $gray-500;
    content: "❯";
    font-size: 90%;
    padding-left: $caret-width;
  }

  .remove:hover, .remove:active {
    @extend .btn-danger;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-7.23.0.1 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.23.0 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.22.2 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.22.1 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.22.0 app/assets/stylesheets/blacklight/_constraints.scss