Sha256: fd0e5f01c27dd03118cd49669227ff03cc87ed23e4630a2e72f62b11b131a438

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 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: $secondary;
      border-color: $secondary;
      box-shadow: none;
    }
  }

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

  .remove {
    --bs-btn-hover-bg: var(--bl-constraint-remove-hover-bg);
    --bs-btn-hover-border-color: var(--bl-constraint-remove-hover-border-color);
    --bs-btn-active-bg: var(--bl-constraint-remove-hover-bg);
    --bs-btn-active-border-color: var(
      --bl-constraint-remove-hover-border-color
    );
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-8.7.0 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-8.6.1 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-8.6.0 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-8.5.1 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-8.5.0 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-8.4.0 app/assets/stylesheets/blacklight/_constraints.scss