Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Claro theme mini-update #635

Merged
merged 3 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 ***********/
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/page--403.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
#}

<div class="ucb-page-container">
<div class="layout-container ucb-page-container">
{{ block("page_header", "page.html.twig") }}
<div{{ create_attribute({ class: ['ucb-page-content', ucb_heading_font == 'normal' ? 'ucb-heading-font-normal'] }) }}>
{{ page.highlighted }}
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/page--search.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

{{ attach_library('boulder_base/ucb-search-page') }}

<div class="ucb-page-container">
<div class="layout-container ucb-page-container">
{{ block("page_header", "page.html.twig") }}
<div{{ create_attribute({ class: ['ucb-page-content', ucb_heading_font == 'normal' ? 'ucb-heading-font-normal'] }) }}>
{{ page.highlighted }}
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/page--user--login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{{ attach_library('boulder_base/ucb-user-login') }}


<div class="ucb-page-container">
<div class="layout-container ucb-page-container">
{{ block("page_header", "page.html.twig") }}
<div{{ create_attribute({ class: ['ucb-page-content', ucb_heading_font == 'normal' ? 'ucb-heading-font-normal'] }) }}>
{{ page.highlighted }}
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/page--user.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

{{ attach_library('boulder_base/ucb-user-page') }}

<div class="ucb-page-container">
<div class="layout-container ucb-page-container">
{{ block("page_header", "page.html.twig") }}
<div{{ create_attribute({ class: ['ucb-page-content', ucb_heading_font == 'normal' ? 'ucb-heading-font-normal'] }) }}>
{{ page.highlighted }}
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@



<div class="ucb-page-container highlight-style">
<div class="layout-container ucb-page-container highlight-style">
{# HEADER CONTENT #}
{% block page_header %}
{{ attach_library('boulder_base/ucb-social-media') }}
Expand Down
Loading