Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Aug 11, 2023
1 parent 7d0fd8e commit 4953222
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 47 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@
}
}

.su-masthead {
.su-site-search__submit {
@include grid-media-max('md') {
right: 4.1rem;
top: 3.7rem;
}
}
}

// Makes the menu 'sticky' for LG sreens and up
@include grid-media-min('lg') {
// Add a scroll offset equivalent to the sticky header to account for any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.newsroom-wrapper {
border-bottom: 1px solid $su-color-black-20;
margin-bottom: 5.8rem;
}

.menu--newsroom {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,61 +1,62 @@
@charset "UTF-8";

// Mobile menu for the newsroom

.newsroom-mobile--btn {
display: none;
}

@include grid-media-max('md') {

.newsroom-wrapper {
.newsroom-mobile--btn {
display: block;
border: 1px solid $su-color-black-20;
padding: 15px 20px 17px 20px;
max-width: 25rem;
display: none;
}

a {
color: $sdss-color-green-link;
font-weight: $su-font-semi-bold;
line-height: 109%; /* 18.53px */
@include grid-media-max('md') {
h2 {
display: none;
}
}

.newsroom-wrapper:has(nav > button[aria-expanded="true"]) {
background: #155f65;
position: fixed;
z-index: 999;
top: 0;
right: 0;
width: 100%;
.newsroom-mobile--btn {
display: block;
border: 1px solid $su-color-black-20;
padding: 15px 20px 17px 20px;
max-width: 25rem;

.menu--newsroom {
justify-items: left;
a {
color: $sdss-color-green-link;
font-weight: $su-font-semi-bold;
line-height: 109%; /* 18.53px */
}
}

h2 {
display: none;
&:has(nav > button[aria-expanded="true"]) {
background: #155f65;
position: fixed;
z-index: 999;
top: 0;
right: 0;
width: 100%;

.menu--newsroom {
justify-items: left;
}
}
}

nav > button[aria-expanded="false"] {
color: $sdss-color-green-link;
font-weight: $su-font-semi-bold;
position: unset;
margin: 0 auto;
}
nav > button[aria-expanded="false"] {
color: $sdss-color-green-link;
font-weight: $su-font-semi-bold;
position: unset;
margin: 0 auto;
}

nav > button[aria-expanded="true"] {
color: $su-color-white;
top: -120px;
right: 0;

&:focus,
&:active,
&:hover {
outline: none;
color: white;
text-decoration: underline;
nav > button[aria-expanded="true"] {
color: $su-color-white;
top: -43px;
right: 0;

&:focus,
&:active,
&:hover {
outline: none;
color: white;
text-decoration: underline;
}
}
}
}

}

0 comments on commit 4953222

Please sign in to comment.