Sha256: e32ff1273120a409804b1c9c3e5b2c9f148ec576fb1967e11545c39f7b2985e0

Contents?: true

Size: 944 Bytes

Versions: 2

Compression:

Stored size: 944 Bytes

Contents

.constraints-container {
  @extend .mb-2;
}

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

    @media (max-width: breakpoint-min(sm)) {
      max-width: breakpoint-min(sm) / 2;
    }

    @media (min-width: breakpoint-min(sm)) and (max-width: breakpoint-max(sm)) {
      max-width: breakpoint-min(sm) / 2;
    }

    @media (min-width: breakpoint-min(md)) and (max-width: breakpoint-max(md)) {
      max-width: breakpoint-min(md) / 2;
    }

    @media (min-width: breakpoint-min(lg)) {
      max-width: breakpoint-min(lg) / 2;
    }

    &: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.19.2 app/assets/stylesheets/blacklight/_constraints.scss
blacklight-7.19.1 app/assets/stylesheets/blacklight/_constraints.scss