Skip to content
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
16 changes: 16 additions & 0 deletions src/supplemental-ui/css/site-extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ header .navbar.navbar-top {
background-color: transparent;
}

.navbar-burger {
height: 3rem;
border-radius: 50%;
right: 12px;
top: 3px;
}

.navbar-burger:hover {
background-color: rgba(255, 255, 255, 0.08);
}

.navbar-burger:focus-visible {
outline: 2px solid white;
outline-offset: -8px;
}

/* Make the background color slightly less intense */
.navbar-end .navbar-item.has-dropdown:hover .navbar-link, .navbar-end .navbar-link:hover, .navbar-end>a.navbar-item:hover {
background: rgba(0, 0, 0, 0.5);
Expand Down
6 changes: 3 additions & 3 deletions src/supplemental-ui/js/landing-page-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@

function toggleNavbarMenu (e) {
e.stopPropagation() // trap event
document.documentElement.classList.toggle('is-clipped--navbar')
navbarBurger.setAttribute('aria-expanded', this.classList.toggle('is-active'))
var menu = document.getElementById(this.getAttribute('aria-controls') || this.dataset.target)
document.classList.toggle('is-clipped--navbar')
navbarBurger.setAttribute('aria-expanded', document.classList.contains('is-clipped--navbar'))
var menu = document.getElementById("topbar-nav")
if (menu.classList.toggle('is-active')) {
menu.style.maxHeight = ''
var expectedMaxHeight = window.innerHeight - Math.round(menu.getBoundingClientRect().top)
Expand Down