Skip to content

Commit

Permalink
added css to hide host inst field from all but the shared theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Christy Karpinski authored and Christy Karpinski committed Aug 3, 2023
1 parent d8df909 commit 3eb91a0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/assets/stylesheets/atla-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,22 @@ 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;
}



@media only screen and (min-width: 768px) {
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 3eb91a0

Please sign in to comment.