diff --git a/themes/fid_adlr/languages/de.ini b/themes/fid_adlr/languages/de.ini index bfe56449f12c36779fa84f19f5a1a834e5681b76..a32d0ae784f77c1a88ea6ddf739538bb2d4ebfe4 100644 --- a/themes/fid_adlr/languages/de.ini +++ b/themes/fid_adlr/languages/de.ini @@ -2,6 +2,7 @@ Your Profile = Mein Nutzerkonto Forgot Password = Passwort vergessen? Services for subject specialists = Service für Fachreferate Username = E-Mail-Adresse +offcanvas-toggler-myresearch = "Profilmenü einblenden" ; Branding for Source Ids (result list) Branding Facet Free = Open Access diff --git a/themes/fid_adlr/languages/en.ini b/themes/fid_adlr/languages/en.ini index 853104c2de2b51871a005adbd6a6a03c0c4a174a..80b66993a549d21552bf7138f20b62cf981470f8 100644 --- a/themes/fid_adlr/languages/en.ini +++ b/themes/fid_adlr/languages/en.ini @@ -2,6 +2,7 @@ Your Profile = My account Forgot Password = Forgot your password? Services for subject specialists = Services for Subject Specialists Username = Email address +offcanvas-toggler-myresearch = "Show profile options" ; Branding for Source Ids (result list) Branding Facet Free = Open Access diff --git a/themes/fid_adlr/scss/compiled.scss b/themes/fid_adlr/scss/compiled.scss index 47ba8e3c0386a8cfe0646cb641c10631ab516df6..38bb8e5bae54946366ece53213fe0ded3971940c 100644 --- a/themes/fid_adlr/scss/compiled.scss +++ b/themes/fid_adlr/scss/compiled.scss @@ -1374,10 +1374,9 @@ input.searchForm_lookfor { width: $search-panel-width-xs-md; } -.search-stats { - .offcanvas-toogler { - float: none; - } +.offcanvas-toggler { + float: none; + .search-filter-toggle { @include result-list-border($black); background-color: $white; @@ -1389,10 +1388,18 @@ input.searchForm_lookfor { content: none; } + &:hover { + background-color: $white; + } + i { margin: 5px; } } + + .btn-primary { + color: $black; + } } .search-controls { diff --git a/themes/fid_adlr/templates/RecordDriver/DefaultRecord/offcanvas-toggler-myresearch.phtml b/themes/fid_adlr/templates/RecordDriver/DefaultRecord/offcanvas-toggler-myresearch.phtml new file mode 100644 index 0000000000000000000000000000000000000000..28c67511209a551005c5c03ac30c0e2a5611537f --- /dev/null +++ b/themes/fid_adlr/templates/RecordDriver/DefaultRecord/offcanvas-toggler-myresearch.phtml @@ -0,0 +1,9 @@ +<!-- fid_adlr: RecordDriver - DefaultRecord - offcanvas-toggler-myresearch --> +<?php ?> +<span class="offcanvas-toggler"> + <button class="search-filter-toggle btn btn-primary visible-xs" href="#search-sidebar" data-toggle="offcanvas" title="<?=$this->transEsc('sidebar_expand')?>"> + <?=$this->transEsc('offcanvas-toggler-myresearch')?> + <i class="icon icon-plus right" aria-hidden="true"></i> + </button> +</span> +<!-- fid_adlr: RecordDriver - DefaultRecord - offcanvas-toggler-myresearch - END --> diff --git a/themes/fid_adlr/templates/myresearch/menu.phtml b/themes/fid_adlr/templates/myresearch/menu.phtml index 30b2667c0da6e1ef9a85e50b85f7f1ff5d42a44f..8d8c0d258e2ee27eb5e922e083b22dc177a427ec 100644 --- a/themes/fid_adlr/templates/myresearch/menu.phtml +++ b/themes/fid_adlr/templates/myresearch/menu.phtml @@ -15,7 +15,8 @@ $user = $this->auth()->isLoggedIn(); ?> <?php /* Offcanvas closing button missing in BS3! CK*/ ?> -<button class="close-offcanvas btn btn-link" data-toggle="offcanvas"><?=$this->transEsc('navigate_back') ?></button> +<button class="close-offcanvas btn btn-link right" data-toggle="offcanvas"><i class="icon icon-close icon-2x"></i></button> +<div class="clearfix"></div> <?php if (!empty($user)): ?> <h4><?=$this->transEsc('Your Account')?></h4> diff --git a/themes/fid_adlr/templates/myresearch/profile.phtml b/themes/fid_adlr/templates/myresearch/profile.phtml index b6365decbd8a4e5e0596915538063ed09722a40e..c3d386e5fb8bf435e1d07112cce8dc04a758f0f5 100644 --- a/themes/fid_adlr/templates/myresearch/profile.phtml +++ b/themes/fid_adlr/templates/myresearch/profile.phtml @@ -21,6 +21,8 @@ if (is_array($profile)) { ?> <div class="<?=$this->layoutClass('mainbody')?>"> + <?php /* finc V5: adds offcanvas-toggler missing in VF5, compare with finc/fid themes during update - CK */ ?> + <?=$this->render('RecordDriver/DefaultRecord/offcanvas-toggler-myresearch'); ?> <h2><?=$this->transEsc('Your Profile')?></h2> <?=$this->flashmessages();?> <?php if (is_array($this->profile)): ?>