From 9a4c9cc68713f43f784f129dd5810b310b34c9cb Mon Sep 17 00:00:00 2001 From: Joshua Nicholson <94021017+jnicholCU@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:53:33 -0700 Subject: [PATCH 1/2] Replace layout-container class These pages need the `layout-container` class again from switching to stable9 from claro --- templates/layout/page--403.html.twig | 2 +- templates/layout/page--search.html.twig | 2 +- templates/layout/page--user--login.html.twig | 2 +- templates/layout/page--user.html.twig | 2 +- templates/layout/page.html.twig | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/layout/page--403.html.twig b/templates/layout/page--403.html.twig index 8823c6a1..f9f8a10b 100755 --- a/templates/layout/page--403.html.twig +++ b/templates/layout/page--403.html.twig @@ -44,7 +44,7 @@ */ #} -
+
{{ block("page_header", "page.html.twig") }} {{ page.highlighted }} diff --git a/templates/layout/page--search.html.twig b/templates/layout/page--search.html.twig index 35bfd9dd..a6ca8bf6 100755 --- a/templates/layout/page--search.html.twig +++ b/templates/layout/page--search.html.twig @@ -46,7 +46,7 @@ {{ attach_library('boulder_base/ucb-search-page') }} -
+
{{ block("page_header", "page.html.twig") }} {{ page.highlighted }} diff --git a/templates/layout/page--user--login.html.twig b/templates/layout/page--user--login.html.twig index 93043870..2fc13b83 100755 --- a/templates/layout/page--user--login.html.twig +++ b/templates/layout/page--user--login.html.twig @@ -47,7 +47,7 @@ {{ attach_library('boulder_base/ucb-user-login') }} -
+
{{ block("page_header", "page.html.twig") }} {{ page.highlighted }} diff --git a/templates/layout/page--user.html.twig b/templates/layout/page--user.html.twig index c099cc86..0bd05350 100755 --- a/templates/layout/page--user.html.twig +++ b/templates/layout/page--user.html.twig @@ -46,7 +46,7 @@ {{ attach_library('boulder_base/ucb-user-page') }} -
+
{{ block("page_header", "page.html.twig") }} {{ page.highlighted }} diff --git a/templates/layout/page.html.twig b/templates/layout/page.html.twig index 1e82fc97..44f94a01 100644 --- a/templates/layout/page.html.twig +++ b/templates/layout/page.html.twig @@ -46,7 +46,7 @@ -
+
{# HEADER CONTENT #} {% block page_header %} {{ attach_library('boulder_base/ucb-social-media') }} From 295958784d014a9e99a4798bf12045d2eaba5898 Mon Sep 17 00:00:00 2001 From: Joshua Nicholson <94021017+jnicholCU@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:55:55 -0700 Subject: [PATCH 2/2] Update style.css Local task clean up --- css/style.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/css/style.css b/css/style.css index ae263b50..9855f806 100644 --- a/css/style.css +++ b/css/style.css @@ -321,6 +321,41 @@ ul.ucb-main-menu.nav { } /****** Local Tasks ********/ +.ucb-local-tasks { + top: 0; + width: 100%; + background-color: var(--ucb-link); + z-index: 99; + height: 32px; + padding: 0; + margin: 0; +} + +.ucb-local-tasks ul { + display: flex; + list-style-type: none; + align-items: center; + justify-content: flex-start; + padding: 0; + margin: 0; +} + +.ucb-local-tasks ul li { + width: 100px; + padding: 0.25em; + text-align: center; + background-color: inherit; + color: inherit; +} + +.ucb-local-tasks ul li:hover { + background-color: rgba(255 255 255 / 15%); + transition: background-color 200ms; +} + +.ucb-local-tasks li>a:hover { + color: #fff; +} /********* Footer ***********/