Skip to content

Commit

Permalink
Merge pull request #131 from scientist-softserv/HideHostInst
Browse files Browse the repository at this point in the history
added css to hide host inst field from all but the shared theme
  • Loading branch information
ckarpinski authored Aug 17, 2023
2 parents fe58788 + f5fe9e2 commit 16f0dda
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
22 changes: 21 additions & 1 deletion app/assets/stylesheets/atla-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,27 @@ button.btn.btn-default.btn-block.citations-button.center-block:hover, button.btn
color:white;
}


/* hide custom field host institution */
/* hide the label in works list */
dt[data-solr-field-name="institution_tesim"] {
display: none;
}

/* hide the value in works list */
body.catalog-index div.metadata dl.dl-horizontal dd:last-child {
display: none;
}

/* hide from the facets */
.panel.panel-default.facet_limit.blacklight-institution_sim {
display: none;
}
/* fix remove facet button color* /
.glyphicon-remove:before {
color:#d33a35;
}
/* add space for collection icon in search results view*/
.search-result-wrapper {padding-bottom:.5em;}

@media only screen and (min-width: 768px) {
.hyc-banner .hyc-title h1 {margin-bottom: 0em;}
Expand Down
19 changes: 19 additions & 0 deletions app/assets/stylesheets/themes/shared_repository.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,25 @@
&.hyrax-homepage #search-form-header {margin-top:1em;}
&.hyrax-homepage .text-right p{color:#258FCE;}


/* hide custom field host institution */
/* hide the label in works list */
dt[data-solr-field-name="institution_tesim"] {
display: block;
}

/* hide the value in works list */
&.catalog-index div.metadata dl.dl-horizontal dd:last-child {
display: block;
}

/* hide from the facets */
.panel.panel-default.facet_limit.blacklight-institution_sim {
display: block;
}



@media screen and (min-width:768px){

.dropdown-menu .divider, .twitter-typeahead .tt-menu .divider{
Expand Down

0 comments on commit 16f0dda

Please sign in to comment.