From a69c44cc87ebf811ca66bd90c2a96fd3360119e7 Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Tue, 22 Oct 2024 11:49:58 +0200 Subject: [PATCH 1/3] pkp/pkp-lib#10392 Masthead styling --- .prettierignore | 4 +- plugins/themes/default/styles/index.less | 1 + .../themes/default/styles/pages/masthead.less | 56 +++++++++++++++++++ 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 plugins/themes/default/styles/pages/masthead.less diff --git a/.prettierignore b/.prettierignore index 65a7e038763..fbbdb2bbe1e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,6 @@ cypress/tests/**/* lib/pkp/cypress/**/* cypress/support/**/* -package.json \ No newline at end of file +plugins/themes/default/**/* + +package.json diff --git a/plugins/themes/default/styles/index.less b/plugins/themes/default/styles/index.less index cc6dc90e24b..5cf9d49a34b 100644 --- a/plugins/themes/default/styles/index.less +++ b/plugins/themes/default/styles/index.less @@ -38,6 +38,7 @@ @import "pages/indexSite.less"; @import "pages/login.less"; @import "pages/lostPassword.less"; +@import "pages/masthead.less"; @import "pages/register.less"; @import "pages/search.less"; @import "pages/viewFile.less"; diff --git a/plugins/themes/default/styles/pages/masthead.less b/plugins/themes/default/styles/pages/masthead.less new file mode 100644 index 00000000000..0b55a998c1c --- /dev/null +++ b/plugins/themes/default/styles/pages/masthead.less @@ -0,0 +1,56 @@ +/* + * @file plugins/themes/default/styles/pages/masthead.less + * + * Copyright (c) 2014-2024 Simon Fraser University + * Copyright (c) 2003-2024 John Willinsky + * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. + * + * @brief Styles applying to the masthead and editorial history page + * @link templates/frontend/pages/editorialMasthead.tpl + * @link templates/frontend/pages/editorialHistory.tpl + */ + +.page_masthead { + h2 { + margin-top: @double; + margin-bottom: @base; + } + + .user_listing { + li { + margin-bottom: @double; + } + li > span { + display: block; + } + list-style-type: none; + padding: 0; + margin-top: @half; + + .name { + font-weight: bold; + } + + .affiliation { + font-size: @font-sml; + color: @text-light; + } + + .date_start { + font-size: @font-sml; + color: @text-light; + } + + .orcid { + font-size: @font-sml; + margin-left: 0.2rem; + margin-right: 0.2rem; + } + + .orcid_icon { + width: 1.4rem; + height: 1.4rem; + margin: 0; + } + } +} From 48bb7f3b56b2f7c97978af4ef7ca0a8ac50d4803 Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Tue, 22 Oct 2024 11:50:27 +0200 Subject: [PATCH 2/3] fix locale key for masthead nav item under about --- registry/navigationMenus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/navigationMenus.xml b/registry/navigationMenus.xml index 075ee2cea39..e4b1273567d 100644 --- a/registry/navigationMenus.xml +++ b/registry/navigationMenus.xml @@ -31,7 +31,7 @@ - + From 9dfc9458d3adb912bdff2f329aa862fa11e402e8 Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Tue, 22 Oct 2024 12:03:33 +0200 Subject: [PATCH 3/3] pkp/pkp-lib#10392 submodule update ##bozana/i10392## --- lib/pkp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pkp b/lib/pkp index b8d985fb8ba..f28675c1152 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit b8d985fb8baebe981935ba2175616c6fd1a923b8 +Subproject commit f28675c1152856bf8c289d5f98ae580bfc59829c