diff --git a/themes/fid_bbi/scss/compiled.scss b/themes/fid_bbi/scss/compiled.scss index bcb508139d88c02b4553cdcc9765740e7a94aa68..8f41ebe2c6b9904aec88302eac6b4724b298bfd6 100644 --- a/themes/fid_bbi/scss/compiled.scss +++ b/themes/fid_bbi/scss/compiled.scss @@ -193,6 +193,7 @@ body { .searchbox-tools { max-width: $searchboxWidth; + padding-bottom: 15px; } // Search Box on home page @@ -321,7 +322,7 @@ input.searchFormKeepFilters { // Breadcrumbs .breadcrumb { - padding-top: 23px; + padding-top: 20px; > li + li::before { color: $white; @@ -754,4 +755,106 @@ tr.hline { margin-top: 4rem; } -// BROWSE items display - END \ No newline at end of file +// BROWSE items display - END + +// Temporary Reset of finc hover/focus states +.btn-primary:hover, +.btn-primary:focus { + background-color: #012020; + color: #fff; +} + +select:hover { + outline: none; +} + +input[type="checkbox"]:focus, +input[type="checkbox"]:hover, +input[type="radio"]:focus, +input[type="radio"]:hover { + outline: none; +} + +header input[type="text"]:hover, +#searchForm input[type="text"]:hover { + box-shadow: none; + outline: none; +} + +#searchForm input:hover, +#searchForm input:focus { + border: 0; + outline: none; +} + +input[type="text"]:hover { + outline: none; +} + +.facet-group:not(.active-filters) .title:hover, +.facet-group:not(.active-filters) .title:focus { + outline: none; + background-color: transparent; +} + +.language .dropdown-menu li a, +.language .dropdown-menu-parent li a { + color: #333; +} +.banner.navbar { + h1 { + display: contents; + } +} + +.template-name-results .breadcrumbs { + margin-top: 15px; + + @media screen and (min-width: $screen-sm-min) { + margin-top: 15px; + } + + @media screen and (min-width: $screen-lg-min) { + margin-top: 20px; + } +} + +.template-name-advanced .breadcrumbs { + margin-top: -38px; + + @media screen and (min-width: $screen-sm-min) { + margin-top: 30px; + } +} + +.template-name-results { + .navbar-form { + margin-bottom: 15px; + + @media screen and (min-width: $screen-lg-min) { + margin-bottom: 20px; + } + } +} + +input[type='text'] header, #searchForm input[type='text'] { + border: 1px solid $btn-default-border; +} + +.btn-primary[disabled="disabled"], +.nav a[disabled="disabled"].btn.btn-primary:hover, +.nav .channel [disabled="disabled"].btn.btn-primary.channel-record.is-selected, +.channel .nav [disabled="disabled"].btn.btn-primary.channel-record.is-selected, +.nav .channel [disabled="disabled"].btn-primary.channel-record.is-selected.search-filter-toggle, +.channel .nav [disabled="disabled"].btn-primary.channel-record.is-selected.search-filter-toggle, +.nav a[disabled="disabled"].btn-primary.search-filter-toggle:hover, .btn-primary.active[disabled="disabled"], +.nav a.active[disabled="disabled"].btn.btn-primary:hover, +.nav .channel .active[disabled="disabled"].btn.btn-primary.channel-record.is-selected, +.channel .nav .active[disabled="disabled"].btn.btn-primary.channel-record.is-selected, +.nav .channel .active[disabled="disabled"].btn-primary.channel-record.is-selected.search-filter-toggle, +.channel .nav .active[disabled="disabled"].btn-primary.channel-record.is-selected.search-filter-toggle, +.nav a.active[disabled="disabled"].btn-primary.search-filter-toggle:hover { + color: $white; +} + +// Temporary Reset of finc hover/focus states - END \ No newline at end of file diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-series.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-series.phtml index 30e692f056c5be37393e8d70a83ea9097a208071..2da1a596649cdc7e197fb8c686000d040cdb42e4 100644 --- a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-series.phtml +++ b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-series.phtml @@ -1,5 +1,5 @@ <!-- fid_bbi: RecordDriver - DefaultRecord - data-series --> -<?php if (!empty($array = $data['title'])): ?> +<?php if (!empty($array = $data['title'] ?? [])): ?> <a href="<?=$this->record($this->driver)->getLink('series', $v = array_shift($array))?>"><?=$this->escapeHtml($v)?></a> <?php foreach ($array as $v): ?> <?php /* Depending on the record driver, $field may either be an array with @@ -8,7 +8,7 @@ <?=" : "?><a href="<?=$this->record($this->driver)->getLink('series', $v)?>"><?=$this->escapeHtml($v)?></a> <?php endforeach; ?> <?php endif; ?> -<?php if(!empty($data['volume'])): ?> +<?php if (!empty($data['volume'] ?? [])): ?> <?=' ; ' . $data['volume']?> <?php endif; ?> <!-- fid_bbi: RecordDriver - DefaultRecord - data-series - END --> diff --git a/themes/fid_bbi/templates/RecordDriver/SolrAI/result-list.phtml b/themes/fid_bbi/templates/RecordDriver/SolrAI/result-list.phtml index df0f7d06409ff1cdb1b7bc46706d33bb5b3d6d1d..d59a424a63b2e3ad859df2a6d3dcd600b7d15df7 100644 --- a/themes/fid_bbi/templates/RecordDriver/SolrAI/result-list.phtml +++ b/themes/fid_bbi/templates/RecordDriver/SolrAI/result-list.phtml @@ -241,7 +241,7 @@ if ($cover): <?php /* Add to favorites; finc: keep Icon inside link - CK */ ?> <a href="<?=$this->recordLink()->getActionUrl($this->driver, 'Save')?>" data-lightbox class="save-record result-link-label" data-id="<?=$this->escapeHtmlAttr($this->driver->getUniqueId())?>" title="<?=$this->transEsc('Add to favorites')?>"> - <i class="result-link-icon fa fa-fw fa-star fa-2x" aria-hidden="true"></i> <span class="sr-only"> <?=$this->transEsc('Add to favorites')?></span> + <i id="fav-icon<?=$this->driver->getUniqueId()?>" class="result-link-icon fa fa-fw fa-star fa-2x" aria-hidden="true"></i> <span class="sr-only"> <?=$this->transEsc('Add to favorites')?></span> </a><br/> <?php elseif ($block = $this->permission()->getAlternateContent('feature.Favorites')): ?> <?=$block?> diff --git a/themes/fid_bbi/templates/search/searchbox.phtml b/themes/fid_bbi/templates/search/searchbox.phtml index 68354b4b977c29b11a63efe7f6220cea42868c63..3f76b21c989ee029a5188fea1f5f75a53074523b 100644 --- a/themes/fid_bbi/templates/search/searchbox.phtml +++ b/themes/fid_bbi/templates/search/searchbox.phtml @@ -112,24 +112,24 @@ $hiddenFilterParams = $this->searchTabs()->getCurrentHiddenFilterParams($this->s <a href="<?=$this->url($advSearch) . ((isset($this->searchId) && $this->searchId) ? '?edit=' . $this->escapeHtmlAttr($this->searchId) : $hiddenFilterParams)?>" class="btn btn-primary" role="button" rel="nofollow"><i class="fa fa-cog"></i> <span class="hidden-xs hidden-sm hidden-md"><?=$this->transEsc("Advanced")?></span></a> </div> <?php endif; ?> + <?php /* finc: We hide this for small and keep the solution using labels, same below - CK */ ?> + <div class="flex-checkbox hidden-xs"> + <?php $shards = $options->getShards(); + if ($options->showShardCheckboxes() && !empty($shards)): ?> + <?php + $selectedShards = isset($this->selectedShards) + ? $this->selectedShards : $options->getDefaultSelectedShards(); + ?> + <?php foreach ($shards as $shard => $val): ?> + <?php $isSelected = empty($selectedShards) || in_array($shard, $selectedShards); ?> + <label for="checkbox_<?=$this->escapeHtmlAttr($shard)?>"><?=$this->transEsc($shard)?> + <input type="checkbox" <?=$isSelected ? 'checked="checked" ' : ''?>name="shard[]" value='<?=$this->escapeHtmlAttr($shard)?>' id='checkbox_<?=$this->escapeHtmlAttr($shard)?>' + class="shards-checkbox"/> + </label> + <?php endforeach; ?> + <?php endif; ?> + </div> </div> - <?php /* finc: We hide this for small and keep the solution using labels, same below - CK */ ?> - <div class="flex-checkbox hidden-xs"> - <?php $shards = $options->getShards(); - if ($options->showShardCheckboxes() && !empty($shards)): ?> - <?php - $selectedShards = isset($this->selectedShards) - ? $this->selectedShards : $options->getDefaultSelectedShards(); - ?> - <?php foreach ($shards as $shard => $val): ?> - <?php $isSelected = empty($selectedShards) || in_array($shard, $selectedShards); ?> - <label for="checkbox_<?=$this->escapeHtmlAttr($shard)?>"><?=$this->transEsc($shard)?> - <input type="checkbox" <?=$isSelected ? 'checked="checked" ' : ''?>name="shard[]" value='<?=$this->escapeHtmlAttr($shard)?>' id='checkbox_<?=$this->escapeHtmlAttr($shard)?>' - class="shards-checkbox"/> - </label> - <?php endforeach; ?> - <?php endif; ?> - </div> <?php /* Show hidden field for active search class when in combined handler mode. */ if ($this->searchbox()->combinedHandlersActive()) {