Skip to content
Snippets Groups Projects
Commit 3a978d00 authored by Robert Lange's avatar Robert Lange Committed by Dorian Merz
Browse files

refs #16750 [fid_adlr] design the category box

* in the same purple as a facet filter
* change headline for category dropdown
* dont show switch tab hint for default category 'All'
* set violet color for all content in switch-tab facet
* also use fix of 16750 for mobile click on category dropdown items
parent 7a837070
Branches
Tags
No related merge requests found
...@@ -63,7 +63,7 @@ Texts = "Texte" ...@@ -63,7 +63,7 @@ Texts = "Texte"
# SearchToggler # SearchToggler
Apply Filters = "Suchfilter anwenden" Apply Filters = "Suchfilter anwenden"
Apply Format Filters = "Formatfilter anwenden" Apply Format Filters = "Kategorie wählen"
Close Search = "Suche schließen" Close Search = "Suche schließen"
Open Search = "Suche öffnen" Open Search = "Suche öffnen"
......
...@@ -61,7 +61,7 @@ Texts = "Texts" ...@@ -61,7 +61,7 @@ Texts = "Texts"
# SearchToggler # SearchToggler
Apply Filters = "apply filter" Apply Filters = "apply filter"
Apply Format Filters = "apply format filter" Apply Format Filters = "Choose category"
Close Search = "close search" Close Search = "close search"
Open Search = "open search" Open Search = "open search"
basic_search_keep_filters = "Retain Filters" basic_search_keep_filters = "Retain Filters"
......
...@@ -516,6 +516,11 @@ a { ...@@ -516,6 +516,11 @@ a {
} }
} }
// fix bug of clicking twice in quickfilter for mobile
#searchbox .dropdown-backdrop {
display: none;
}
// ++ DROPDOWNS - END // ++ DROPDOWNS - END
// ++ MODALS // ++ MODALS
...@@ -1753,8 +1758,16 @@ input.searchForm_lookfor { ...@@ -1753,8 +1758,16 @@ input.searchForm_lookfor {
.sidebar { .sidebar {
hyphens: auto; // avoid ugly linebreaks with overlong words hyphens: auto; // avoid ugly linebreaks with overlong words
// set colors for selected filters in sidebar // set colors for selected filters in sidebar
.active-filters, .switchtab-info {
color: $violet;
a {
color: $violet;
}
}
.facet-group { .facet-group {
.facet { .facet {
-webkit-hyphens: auto; -webkit-hyphens: auto;
...@@ -1807,7 +1820,8 @@ input.searchForm_lookfor { ...@@ -1807,7 +1820,8 @@ input.searchForm_lookfor {
} }
} }
.active-filters { .active-filters,
.switchtab-info {
@include result-list-border($violet !important); @include result-list-border($violet !important);
margin-top: 1em; margin-top: 1em;
.facet { .facet {
...@@ -1815,6 +1829,7 @@ input.searchForm_lookfor { ...@@ -1815,6 +1829,7 @@ input.searchForm_lookfor {
color: $violet; color: $violet;
} }
} }
.btn-default { .btn-default {
font-family: $font-family-monospace; font-family: $font-family-monospace;
font-weight: 700; font-weight: 700;
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
$tabConfig = is_object($this->params) $tabConfig = is_object($this->params)
? $this->searchTabs()->getTabConfigForParams($this->params) : []; ? $this->searchTabs()->getTabConfigForParams($this->params) : [];
?> ?>
<?php if (count($tabConfig) > 0): ?> <? error_reporting(E_ALL); ini_set("display_errors", 1); ?>
<?php if (count($tabConfig) > 0 && ($this->recommend->getActiveTab($tabConfig)["label"] ?? "All") !== "All"): ?>
<div class="facet-group switchtab-info flex-column-default"> <div class="facet-group switchtab-info flex-column-default">
<div class="switchtab-heading"><i class="icon icon-filter2 icon-1.5x" aria-hidden="true"></i> <div class="switchtab-heading"><i class="icon icon-filter2 icon-1.5x" aria-hidden="true"></i>
<?=$this->transEsc('switchtab_headline')?></div> <?=$this->transEsc('switchtab_headline')?></div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment