Loading resources/styles/landingpage.css +129 −0 Changes for resources/styles/landingpage.css: 129 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2200,3 +2200,132 @@ body.dark :is(.landingPage .landing_entry_details, .obj_article_details .entry_d width: 160px; } } /* Header : recherche et menu utilisateur (connexion, inscription, tableau de bord) */ .pkp_structure_head .pkp_head_wrapper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; } .landing_head_tools { display: flex; align-items: center; gap: 1.25rem; font-family: var(--font-sans, sans-serif); font-size: 0.9rem; } .landing_head_tools a { color: var(--primary-color, #006798); text-decoration: none; } .landing_head_tools a:hover, .landing_head_tools a:focus { text-decoration: underline; } .landing_head_tools .landing_search { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.9em; border: 1px solid var(--primary-color, #006798); border-radius: 3px; } .landing_head_tools .landing_search:hover, .landing_head_tools .landing_search:focus { background: var(--primary-color, #006798); color: #fff; text-decoration: none; } .landing_head_tools .pkp_navigation_user { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; list-style: none; } .landing_head_tools .pkp_navigation_user li { position: relative; margin: 0; padding: 0; } .landing_head_tools .pkp_navigation_user ul { display: none; position: absolute; top: 100%; right: 0; z-index: 1000; min-width: 12rem; margin: 0; padding: 0.3rem 0; list-style: none; background: #fff; border: 1px solid #ddd; border-radius: 3px; box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1)); } .landing_head_tools .pkp_navigation_user li:hover > ul, .landing_head_tools .pkp_navigation_user li:focus-within > ul { display: block; } .landing_head_tools .pkp_navigation_user ul a { display: block; padding: 0.4rem 0.9rem; white-space: nowrap; } .landing_head_tools .pkp_navigation_user .task_count { display: inline-block; min-width: 1.4em; margin-left: 0.3em; padding: 0 0.3em; border-radius: 1em; background: var(--primary-color, #006798); color: #fff; font-size: 0.75rem; text-align: center; } body.dark .landing_head_tools a { color: var(--accent-color, #0ea5e9); } body.dark .landing_head_tools .landing_search { border-color: var(--accent-color, #0ea5e9); } body.dark .landing_head_tools .landing_search:hover, body.dark .landing_head_tools .landing_search:focus { background: var(--accent-color, #0ea5e9); color: #fff; } body.dark .landing_head_tools .pkp_navigation_user ul { background: var(--dark-bg-secondary, #1e293b); border-color: var(--dark-border, #334155); } @media (max-width: 480px) { .landing_head_tools .landing_search { padding: 0.3em 0.5em; font-size: 0; } .landing_head_tools .landing_search svg { width: 18px; height: 18px; } } templates/LandingPage.tpl +9 −0 Changes for templates/LandingPage.tpl: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -68,6 +68,15 @@ </div> </div> <nav class="landing_head_tools" aria-label="{translate|escape key="common.navigation.user"}"> {if $currentContext && $requestedPage !== 'search'} <a href="{url page="search"}" class="landing_search"> <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M15.5 15.5 21 21"/></svg> {translate key="common.search"} </a> {/if} {load_menu name="user" id="navigationUser" ulClass="pkp_navigation_user" liClass="profile"} </nav> </div> </header> Loading templates/LandingPageBook.tpl +9 −0 Changes for templates/LandingPageBook.tpl: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -46,6 +46,15 @@ {/if} </div> </div> <nav class="landing_head_tools" aria-label="{translate|escape key="common.navigation.user"}"> {if $currentContext && $requestedPage !== 'search'} <a href="{url page="search"}" class="landing_search"> <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M15.5 15.5 21 21"/></svg> {translate key="common.search"} </a> {/if} {load_menu name="user" id="navigationUser" ulClass="pkp_navigation_user" liClass="profile"} </nav> </div> </header> Loading Loading
resources/styles/landingpage.css +129 −0 Changes for resources/styles/landingpage.css: 129 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2200,3 +2200,132 @@ body.dark :is(.landingPage .landing_entry_details, .obj_article_details .entry_d width: 160px; } } /* Header : recherche et menu utilisateur (connexion, inscription, tableau de bord) */ .pkp_structure_head .pkp_head_wrapper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; } .landing_head_tools { display: flex; align-items: center; gap: 1.25rem; font-family: var(--font-sans, sans-serif); font-size: 0.9rem; } .landing_head_tools a { color: var(--primary-color, #006798); text-decoration: none; } .landing_head_tools a:hover, .landing_head_tools a:focus { text-decoration: underline; } .landing_head_tools .landing_search { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.9em; border: 1px solid var(--primary-color, #006798); border-radius: 3px; } .landing_head_tools .landing_search:hover, .landing_head_tools .landing_search:focus { background: var(--primary-color, #006798); color: #fff; text-decoration: none; } .landing_head_tools .pkp_navigation_user { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; list-style: none; } .landing_head_tools .pkp_navigation_user li { position: relative; margin: 0; padding: 0; } .landing_head_tools .pkp_navigation_user ul { display: none; position: absolute; top: 100%; right: 0; z-index: 1000; min-width: 12rem; margin: 0; padding: 0.3rem 0; list-style: none; background: #fff; border: 1px solid #ddd; border-radius: 3px; box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1)); } .landing_head_tools .pkp_navigation_user li:hover > ul, .landing_head_tools .pkp_navigation_user li:focus-within > ul { display: block; } .landing_head_tools .pkp_navigation_user ul a { display: block; padding: 0.4rem 0.9rem; white-space: nowrap; } .landing_head_tools .pkp_navigation_user .task_count { display: inline-block; min-width: 1.4em; margin-left: 0.3em; padding: 0 0.3em; border-radius: 1em; background: var(--primary-color, #006798); color: #fff; font-size: 0.75rem; text-align: center; } body.dark .landing_head_tools a { color: var(--accent-color, #0ea5e9); } body.dark .landing_head_tools .landing_search { border-color: var(--accent-color, #0ea5e9); } body.dark .landing_head_tools .landing_search:hover, body.dark .landing_head_tools .landing_search:focus { background: var(--accent-color, #0ea5e9); color: #fff; } body.dark .landing_head_tools .pkp_navigation_user ul { background: var(--dark-bg-secondary, #1e293b); border-color: var(--dark-border, #334155); } @media (max-width: 480px) { .landing_head_tools .landing_search { padding: 0.3em 0.5em; font-size: 0; } .landing_head_tools .landing_search svg { width: 18px; height: 18px; } }
templates/LandingPage.tpl +9 −0 Changes for templates/LandingPage.tpl: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -68,6 +68,15 @@ </div> </div> <nav class="landing_head_tools" aria-label="{translate|escape key="common.navigation.user"}"> {if $currentContext && $requestedPage !== 'search'} <a href="{url page="search"}" class="landing_search"> <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M15.5 15.5 21 21"/></svg> {translate key="common.search"} </a> {/if} {load_menu name="user" id="navigationUser" ulClass="pkp_navigation_user" liClass="profile"} </nav> </div> </header> Loading
templates/LandingPageBook.tpl +9 −0 Changes for templates/LandingPageBook.tpl: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -46,6 +46,15 @@ {/if} </div> </div> <nav class="landing_head_tools" aria-label="{translate|escape key="common.navigation.user"}"> {if $currentContext && $requestedPage !== 'search'} <a href="{url page="search"}" class="landing_search"> <svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M15.5 15.5 21 21"/></svg> {translate key="common.search"} </a> {/if} {load_menu name="user" id="navigationUser" ulClass="pkp_navigation_user" liClass="profile"} </nav> </div> </header> Loading