Skip to content

Commit

Permalink
adds styles and library for social menu (#37)
Browse files Browse the repository at this point in the history
* adds styles and library for social menu

* removes empty line break

---------

Co-authored-by: “Kerry <“kmurphychi@gmail.com”>
  • Loading branch information
kmurphychi247 and “Kerry authored Apr 3, 2024
1 parent a111944 commit 39806a9
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
50 changes: 48 additions & 2 deletions assets/scss/custom/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,50 @@
padding-left: 2rem;
}

ul.menu.menu--social.navbar-nav {
flex-direction: row;
justify-content: flex-end;
gap: unset;

@include media-breakpoint-down(md) {
justify-content: flex-start;
}

i.bi {
color: white;
font-size: 1.5625rem;
}

.nav-link {
padding: unset;
position: relative;
margin-left: 1rem;

@include media-breakpoint-down(md) {
margin-left: 0;
margin-right: 1rem;
}
}

.nav-link:after {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 0.125rem;
transform: scaleX(0);
transform-origin: bottom right;
transition: transform 200ms ease-out;
background-color: #fff;
content: "";
}

.nav-link:hover:after {
transform: scaleX(1);
transform-origin: bottom left;
}
}

.navbar-brand {
color: #fff;
font-size: 1.25rem;
Expand Down Expand Up @@ -33,9 +77,11 @@
color: #fff;
display: block;
padding-top: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;

&:not(:last-child) {
margin-right: 2rem;
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions saplings_child.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ libraries-extend:
- saplings_child/bootstrap
ui_suite_bootstrap/form:
- saplings_child/form

libraries:
- menu_bootstrap_icon/cdn

0 comments on commit 39806a9

Please sign in to comment.