Skip to content

Commit

Permalink
LIB-615 wc search widget adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
bricas committed Jun 29, 2023
1 parent fe22d7b commit 64b104f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
4 changes: 4 additions & 0 deletions custom/modules/guides/css/guides.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
content: "\f078";
}

.custom-legend {
font-size: 1.3rem;
}

/* Quick hack to prevent Edit Guide | Details Sidebar | Guise Category collapse re: validation
details[data-drupal-selector="edit-group-guide-categories"] > summary {
list-style-type: none;
Expand Down
15 changes: 4 additions & 11 deletions custom/modules/guides/templates/ckeditor-wc-search.html.twig
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
<form accept-charset="UTF-8" action="https://lib.unb.ca/worldcat-search-helper" method="post" class="alert alert-info" target="_blank">
<form accept-charset="UTF-8" action="https://lib.unb.ca/worldcat-search-helper" method="post" class="alert alert-info my-4" target="_blank">
<input type="hidden" name="scope" value="wz:66413">
<div class="form-group mb-0">
<fieldset>
<div class="form-row mb-2 ml-1">
<legend class="custom-legend mb-1 mr-3">Search UNB WorldCat:</legend>
<div class="custom-control custom-radio custom-control-inline mb-2 mb-lg-0">
<input checked="checked" class="custom-control-input" id="scope_UNBLibraries_WCD" name="scope" type="radio" value="wz:66413">
<label class="custom-control-label" for="scope_UNBLibraries_WCD"><span class="sr-only">Search </span>UNB Libraries</label>
</div>
<div class="custom-control custom-radio custom-control-inline mb-2 mb-lg-0">
<input class="custom-control-input" id="scope_worldwide_WCD" name="scope" type="radio" value="">
<label class="custom-control-label" for="scope_worldwide_WCD"><span class="sr-only">Search </span>Libraries Worldwide</label>
</div>
</div>
</fieldset>
<div class="form-row">
Expand Down Expand Up @@ -59,8 +52,8 @@
</div>
<div class="p-2">
<a href="https://unb.on.worldcat.org/advancedsearch">Advanced Search</a> |
<a href="https://lib.unb.ca/about/loc_call">Locations Guide</a> |
<a href="https://lib.unb.ca/worldcat/unb-worldcat-frequently-asked-questions" title="Using WorldCat Discovery"><i class="fa fa-question-circle"></i> Help</a>
<a href="https://lib.unb.ca/worldcat/unb-worldcat-frequently-asked-questions" title="Using WorldCat Discovery"><i class="fa fa-question-circle"></i> Tips for Searching </a> |
<a href="https://lib.unb.ca/about/loc_call">Catalogue Locations</a>
</div>
</div>
</form>

0 comments on commit 64b104f

Please sign in to comment.