diff --git a/local/languages/de.ini b/local/languages/de.ini index 5991e07331a5a6bfa248af41411f89c989ee4c15..ee1c8afe326c209867e7680307e5ba1b1f80c86f 100644 --- a/local/languages/de.ini +++ b/local/languages/de.ini @@ -1975,17 +1975,15 @@ ReliefPrint = Druckgraphik ; Accessibility Modal_description = "Sie befinden sich in einem Dialogfenster, das über dem Hauptinhalt der Seiten liegt. Drücken Sie die Escape-Taste oder die Schaltfläche 'Dialogfenster schließen', um das Fenster zu schließen und auf der Hauptseite weiterzuarbeiten." - -; #17598 +Skip_navigation_links = "Sprunglinks zum Inhalt" Skip to search = "Zum Suchbereich" +Skip to content = "Zum Inhalt" + ; Overwrite, only in de.ini necessary: Search type = "Suchtyp" License = "Lizenz" -; #17717 -Skip to content = "Zum Inhalt" - fine_date_short = "Gebühr fällig" ; #17626 diff --git a/local/languages/en.ini b/local/languages/en.ini index 9cf833274f01634dafb38e5eecb46a7fe1f04d95..411a6507469f36f5406a5736ad0861ff69387f4d 100644 --- a/local/languages/en.ini +++ b/local/languages/en.ini @@ -2079,16 +2079,13 @@ ReliefPrint = "Printmaking" ; Accessibility Modal_description = "This is a dialog window which overlays the main content of the page. Pressing the Escape key or the Close Dialog Window button will close the modal and bring you back to where you were on the page." - -; #17598 +Skip_navigation_links = "Skip navigation links" Skip to search = "Skip to search" - -License = "License" - -; #17717 ; only necessary in en.ini skip-to = "Skip to " +License = "License" + fine_date_short = "Fine Date" ; #9016, #17375 diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index acf94c5a8cba1fbd877cf2544ac1292545127dbb..9e652f3cd80a983775ce812608c8311739755623 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -587,11 +587,13 @@ select { a.toggle { color: inherit; text-decoration: inherit; + &:active, &:focus, &:hover { text-decoration: inherit; } + &::after { font-family: 'FontAwesome'; content: $fa-var-angle-down; @@ -604,9 +606,11 @@ span.notation ul { @media (max-width: $screen-md-min) { padding-inline-start: 0; } + li { list-style-type: none; } + li:before { margin-right: 0.5em; font-family: 'FontAwesome'; @@ -2523,6 +2527,28 @@ footer ul { // Bookbag - END +// Result List + +.result-links { + // Favorites list in MyAccount + .edit.tool, + .del-button { + a { + margin-top: 1em; + + @media (max-width: $screen-sm-max) { + margin-top: 0; + } + } + + li a { + margin-top: 0; + } + } +} + +// Result List - END + // Translate feature (Admin panel) #set-translation-form { margin-top: 2em; @@ -2755,6 +2781,15 @@ input { } } +// Delete dropdown in favorites list +.open > .dropdown-menu { + .template-dir-myresearch.template-name-mylist .result-links & { + float: none; + position: relative; + } +} + + // AMSL .template-dir-amsl.template-name-sources-list { diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml index 851e6ce67f152deece86b95d811e2bae4c7ddfd9..991ba371499a349bff31bede9361361cf666133e 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml @@ -213,7 +213,7 @@ if ($cover): ?> <div class="dropdown"> <i class="fa fa-fw fa-trash-o" aria-hidden="true"></i> - <a class="dropdown-toggle" id="<?= $dLabel ?>" + <a class="dropdown-toggle del-button" id="<?= $dLabel ?>" role="button" data-toggle="dropdown" href="<?= $deleteUrlGet ?>"> <?= $this->transEsc('Delete') ?> diff --git a/themes/finc/templates/layout/layout.phtml b/themes/finc/templates/layout/layout.phtml index 2db1002ed24142e7b60fbe138a54d0219c5a8090..66144aaff1cb2644c48bd0a9519d4cb30329063d 100644 --- a/themes/finc/templates/layout/layout.phtml +++ b/themes/finc/templates/layout/layout.phtml @@ -157,19 +157,21 @@ if (!isset($this->layout()->searchbox)) { <span class="sr-only" role="heading" aria-level="1"><?=$this->layout()->srmessage?></span> <?php endif; ?> -<?php /* Show skip to search link only when page is not "advanced" search, CK */ ?> -<?php if (strtolower($this->layout()->templateName) !== 'advanced'): ?> - <a class="sr-only" href="#searchForm_lookfor"><?=$this->transEsc('Skip to search')?></a> -<?php endif; ?> -<a class="sr-only" href="#content"><?=$this->transEsc('Skip to content')?></a> -<?php if (substr_count(strtolower($this->layout()->templateName), 'results') > 0): ?> - <?php if (strcmp($this->layout()->userLang, 'de') == 0): ?> - <a class="sr-only hidden-xs" href="#myresearch-sidebar"><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></a> - <?php else: ?> - <a class="sr-only hidden-xs" href="#myresearch-sidebar"><?=$this->transEsc('skip-to')?><?=strtolower($this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search'))?></a> +<?php /* Add landmark role to avoid 'all content must be inside landmarks error', CK */ ?> +<div role="navigation" aria-label="Skip_navigation_links"> + <?php /* Show skip to search link only when page is not "advanced" search, CK */ ?> + <?php if (strtolower($this->layout()->templateName) !== 'advanced'): ?> + <a class="sr-only" href="#searchForm_lookfor"><?=$this->transEsc('Skip to search')?></a> <?php endif; ?> -<?php endif; ?> - + <a class="sr-only" href="#content"><?=$this->transEsc('Skip to content')?></a> + <?php if (substr_count(strtolower($this->layout()->templateName), 'results') > 0): ?> + <?php if (strcmp($this->layout()->userLang, 'de') == 0): ?> + <a class="sr-only hidden-xs" href="#myresearch-sidebar"><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></a> + <?php else: ?> + <a class="sr-only hidden-xs" href="#myresearch-sidebar"><?=$this->transEsc('skip-to')?><?=strtolower($this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search'))?></a> + <?php endif; ?> + <?php endif; ?> +</div> <?php /* Start header here, not above, custom finc, CK */ ?> <header class="hidden-print">