diff --git a/fid_adlr/languages/de.ini b/fid_adlr/languages/de.ini index 58b028f93bcf3597f3cfc505ccbfe057fb72a857..735cf4654bc781ef9141cab5df1ae88e5200702e 100644 --- a/fid_adlr/languages/de.ini +++ b/fid_adlr/languages/de.ini @@ -63,7 +63,7 @@ Texts = "Texte" # SearchToggler Apply Filters = "Suchfilter anwenden" -Apply Format Filters = "Formatfilter anwenden" +Apply Format Filters = "Kategorie wählen" Close Search = "Suche schließen" Open Search = "Suche öffnen" diff --git a/fid_adlr/languages/en.ini b/fid_adlr/languages/en.ini index fa1b95de7e3f1da27984ebbbc02a02da92d12200..fcbae71fca5a41c390847ee93f16fd28ed14bc58 100644 --- a/fid_adlr/languages/en.ini +++ b/fid_adlr/languages/en.ini @@ -61,7 +61,7 @@ Texts = "Texts" # SearchToggler Apply Filters = "apply filter" -Apply Format Filters = "apply format filter" +Apply Format Filters = "Choose category" Close Search = "close search" Open Search = "open search" basic_search_keep_filters = "Retain Filters" diff --git a/themes/fid_adlr/scss/compiled.scss b/themes/fid_adlr/scss/compiled.scss index 4d1312317a76c3e67d08b674458f7d10f9554182..e149f36771389115a693b6cd8bc0bfbbf194770b 100644 --- a/themes/fid_adlr/scss/compiled.scss +++ b/themes/fid_adlr/scss/compiled.scss @@ -516,6 +516,11 @@ a { } } +// fix bug of clicking twice in quickfilter for mobile +#searchbox .dropdown-backdrop { + display: none; +} + // ++ DROPDOWNS - END // ++ MODALS @@ -1753,8 +1758,16 @@ input.searchForm_lookfor { .sidebar { hyphens: auto; // avoid ugly linebreaks with overlong words + // set colors for selected filters in sidebar - .active-filters, + .switchtab-info { + color: $violet; + + a { + color: $violet; + } + } + .facet-group { .facet { -webkit-hyphens: auto; @@ -1807,7 +1820,8 @@ input.searchForm_lookfor { } } - .active-filters { + .active-filters, + .switchtab-info { @include result-list-border($violet !important); margin-top: 1em; .facet { @@ -1815,6 +1829,7 @@ input.searchForm_lookfor { color: $violet; } } + .btn-default { font-family: $font-family-monospace; font-weight: 700; diff --git a/themes/fid_adlr/templates/Recommend/SwitchTab.phtml b/themes/fid_adlr/templates/Recommend/SwitchTab.phtml index 2e680d58d11634a1f3af17e445e524bb2ac8ae1d..f6b457b6432d68259d7b99315a889c40c19f744f 100644 --- a/themes/fid_adlr/templates/Recommend/SwitchTab.phtml +++ b/themes/fid_adlr/templates/Recommend/SwitchTab.phtml @@ -3,7 +3,8 @@ $tabConfig = is_object($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="switchtab-heading"><i class="icon icon-filter2 icon-1.5x" aria-hidden="true"></i> <?=$this->transEsc('switchtab_headline')?></div>