rdrew 2 years ago
parent
commit
90cb1d1099
  1. 21
      css/global-style.css
  2. 2
      css/global-style.css.map
  3. 19
      css/sass/components/_search-results.scss
  4. 24
      js/custom_js.js

21
css/global-style.css

@ -17691,6 +17691,10 @@ ul.menu a.is-active {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
} }
.moveme-please {
display: none;
}
#block-roblibsearchothersources h3, #block-roblibsearchothersources .field--name-field__help-me-section-title, #block-roblibsearchothersources h3, #block-roblibsearchothersources .field--name-field__help-me-section-title,
.roblib-search-header { .roblib-search-header {
display: flex; display: flex;
@ -17708,6 +17712,23 @@ ul.menu a.is-active {
margin: 0; margin: 0;
font-size: 1.5rem; font-size: 1.5rem;
} }
#block-roblibsearchothersources h3 .roblib-search-more a, #block-roblibsearchothersources .field--name-field__help-me-section-title .roblib-search-more a,
.roblib-search-header .roblib-search-more a {
color: #fefefe;
font-family: "Roboto Condensed", sans-serif;
font-size: 0.875rem;
text-transform: uppercase;
color: #fefefe;
padding: 3px;
border-radius: 4px;
transition: all 0.5s ease;
}
#block-roblibsearchothersources h3 .roblib-search-more a:hover, #block-roblibsearchothersources .field--name-field__help-me-section-title .roblib-search-more a:hover,
.roblib-search-header .roblib-search-more a:hover {
background: #e0e0e0;
color: #8c2004;
background: #fefefe;
}
#roblib-searchbox-form .form-item { #roblib-searchbox-form .form-item {
margin: 0; margin: 0;

2
css/global-style.css.map

File diff suppressed because one or more lines are too long

19
css/sass/components/_search-results.scss

@ -14,6 +14,9 @@
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
} }
.moveme-please {
display: none;
}
#block-roblibsearchothersources h3, #block-roblibsearchothersources h3,
.roblib-search-header { .roblib-search-header {
@include flex; @include flex;
@ -33,6 +36,22 @@
margin: 0; margin: 0;
font-size: rem-calc(24); font-size: rem-calc(24);
} }
.roblib-search-more a {
color: $white;
font-family: $roboto-condensed;
font-size: rem-calc(14);
text-transform: uppercase;
//color: lighten($green, 40%);
color: $white;
padding: 3px;
border-radius: 4px;
transition: all 0.5s ease;
&:hover {
background: $light-gray;
color: $red;
background: $white;
}
}
} }
#roblib-searchbox-form { #roblib-searchbox-form {
.form-item { .form-item {

24
js/custom_js.js

@ -28,6 +28,30 @@ $('.p-navigation__nav > ul').superfish();
// hours // hours
$(".page-node-675 .page-title").prepend('<i class="fa-solid fa-clock"></i>'); $(".page-node-675 .page-title").prepend('<i class="fa-solid fa-clock"></i>');
Drupal.behaviors.bentoSearch = {
attach: function (context, settings) {
//$('.js-search-results__container .books').append($('#roblib-eds-books-toc'));
//$('.js-search-results__container .articles').append($('#roblib-eds-articles-toc'));
//$('.js-search-results__container .web').append($('#roblib-solr-search-toc-results'));
//$('.searchtabs .tabs').append($('.admin-menu__container'));
//move the all results link to bento block header
var header = '.roblib-search-eds-media-header';
var link = '#roblib-search-eds-more';
$( header ).append($( link ));
var header = '.roblib-search-eds-articles-header';
var link = '#roblib-search-eds-article-more';
$( header ).append($( link ));
var header = '.roblib-search-solr-results-header';
var link = '#roblib-search-solr-site-results-more';
$( header ).append($( link ));
}
};

Loading…
Cancel
Save