/* 
 * Copyright 2011-2025, The Trustees of Indiana University and Northwestern
 *   University.  Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 *   under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 *   CONDITIONS OF ANY KIND, either express or implied. See the License for the
 *   specific language governing permissions and limitations under the License.
 * ---  END LICENSE_HEADER BLOCK  ---
*/

@import 'bootstrap';

@import 'blacklight/blacklight';

.result-thumbnail img,
img.result-thumbnail {
  max-width: 160px;
}

.no-icon img,
img.no-icon {
  max-height: 90px;
}

.btn-outline-primary {
  @extend .btn-sm;
  @extend .btn-outline;
}

// Only show facet pagination on the bottom of the modal
.facet-pagination.top {
  display: none !important;
}

.facet-pagination .btn-outline-secondary.active {
  @extend .btn-primary;
}

#sort-dropdown,
#per_page-dropdown {
  .dropdown-item.active {
    color: $dark;
    background-color: $white;
  }
}

.dl-invert dt {
  text-align: left;
}

// Access control update modal form in Bookmarks
#update_access_control_form {
  .item-discovery,
  .item-access,
  .special-access {
    legend {
      border-bottom: 1px solid #e5e5e5;
    }
  }
}

// Search constraint remove button
// Needed to override btn-secondary-outline
.applied-filter .remove:hover {
  color: white !important;
  background-color: #df3603 !important;
}

.page-item span.page-link {
  color: $dark !important;
}
