Sha256: 749e483ce332154ea234330796bf90723bd8e1d5da631dafc4bf887178758c5a

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 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;
    white-space: nowrap;

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

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

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

    @media (min-width: breakpoint-min(lg)) {
      max-width: breakpoint-min(lg) * 0.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

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-7.40.0 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.39.0 app/assets/stylesheets/blacklight/_constraints.scss