2021-07-26 13:07:57 -04:00
|
|
|
/*
|
|
|
|
* top navbar css grid layout
|
|
|
|
*/
|
|
|
|
nav#top-navbar-grid-outer {
|
|
|
|
@extend .container-fluid;
|
|
|
|
@extend .mt-4;
|
|
|
|
@extend .mt-md-5;
|
|
|
|
@extend .mb-4;
|
|
|
|
@extend .px-3;
|
|
|
|
@extend .px-sm-4;
|
|
|
|
@extend .px-md-5;
|
|
|
|
@extend .d-grid;
|
|
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
|
|
grid-template-rows: calc(4.3rem / 2) calc(4.3rem / 2) auto;
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
grid-template-rows: calc(5.3rem / 2) calc(5.3rem / 2) auto;
|
|
|
|
}
|
|
|
|
// grid-auto-rows: calc(4.3rem / 2);
|
|
|
|
div#top-navbar-grid-brand-outer {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 2;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
a#top-navbar-grid-brand-link {
|
2021-07-25 07:16:35 -04:00
|
|
|
color: $gray-300;
|
2021-07-26 13:07:57 -04:00
|
|
|
svg.header-logo {
|
|
|
|
height: 4.3rem;
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
height: 5.3rem;
|
|
|
|
}
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-26 13:07:57 -04:00
|
|
|
div#top-navbar-grid-toggle-button-outer {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 3;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 2;
|
|
|
|
display: grid;
|
|
|
|
justify-items: end;
|
|
|
|
@extend .d-lg-none;
|
|
|
|
}
|
|
|
|
div#top-navbar-grid-socialicon-widget-outer {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 3;
|
|
|
|
grid-row-start: 2;
|
|
|
|
grid-row-end: 3;
|
|
|
|
display: grid;
|
|
|
|
justify-items: end;
|
|
|
|
align-items: end;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 2;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
section.widget_block {
|
|
|
|
ul.wp-block-social-links {
|
|
|
|
@extend .mb-0;
|
|
|
|
li.wp-social-link {
|
|
|
|
@extend .mx-0;
|
|
|
|
@extend .my-0;
|
|
|
|
@extend .px-0;
|
|
|
|
@extend .py-0;
|
|
|
|
a.wp-block-social-link-anchor {
|
|
|
|
@extend .px-1;
|
|
|
|
@extend .px-md-2;
|
|
|
|
@extend .py-0;
|
|
|
|
color: $gray-300;
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
height: 1.1em;
|
|
|
|
width: 1.1em;
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-26 13:07:57 -04:00
|
|
|
&:first-child {
|
|
|
|
a.wp-block-social-link-anchor {
|
|
|
|
@extend .ps-0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
a.wp-block-social-link-anchor {
|
|
|
|
@extend .pe-0;
|
|
|
|
}
|
|
|
|
}
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-26 13:07:57 -04:00
|
|
|
div#top-navbar-grid-main-menu-outer {
|
2021-07-26 18:02:36 -04:00
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
display: none;
|
|
|
|
&.show, &.collapsing {
|
|
|
|
display: grid;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
grid-row-start: 3;
|
|
|
|
grid-row-end: 4;
|
|
|
|
justify-items: center;
|
|
|
|
}
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
2021-07-26 13:07:57 -04:00
|
|
|
@include media-breakpoint-up(lg) {
|
2021-07-26 18:02:36 -04:00
|
|
|
display: grid;
|
2021-07-26 13:07:57 -04:00
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 3;
|
|
|
|
grid-row-start: 2;
|
|
|
|
grid-row-end: 3;
|
|
|
|
justify-items: end;
|
|
|
|
align-items: end;
|
|
|
|
}
|
|
|
|
ul#menu-navbar-main-menu {
|
|
|
|
@extend .d-grid;
|
|
|
|
grid-template-columns: 1fr;
|
2021-07-26 18:02:36 -04:00
|
|
|
list-style: none;
|
2021-07-26 13:07:57 -04:00
|
|
|
padding: 0;
|
|
|
|
margin: 1em 0 0 0;
|
|
|
|
@extend .d-lg-inline;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
li.menu-item {
|
|
|
|
@extend .text-center;
|
|
|
|
@extend .py-2;
|
|
|
|
@extend .d-lg-inline;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
padding: 0 0 0 1.5em !important;
|
|
|
|
}
|
|
|
|
a.top-navbar-grid-main-menu-item-link {
|
|
|
|
@extend .fw-bold;
|
|
|
|
@extend .text-uppercase;
|
|
|
|
@extend .text-decoration-none;
|
|
|
|
color: $gray-300;
|
|
|
|
&:hover {
|
|
|
|
@extend .text-decoration-underline;
|
|
|
|
text-decoration-color: $primary !important;
|
|
|
|
color: $gray-300;
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
|
|
|
}
|
2021-07-26 18:02:36 -04:00
|
|
|
&.menu-item-has-children {
|
|
|
|
@extend .dropdown;
|
|
|
|
& > a.top-navbar-grid-main-menu-item-link {
|
|
|
|
@extend .dropdown-toggle;
|
|
|
|
&:hover {
|
|
|
|
@extend .text-decoration-none;
|
|
|
|
}
|
|
|
|
&.shown {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul.sub-menu {
|
|
|
|
display: none;
|
|
|
|
color: $gray-300;
|
|
|
|
list-style: none;
|
|
|
|
min-width: 10rem;
|
|
|
|
background-color: tint-color($spaceblue-800, 5%);
|
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
position: relative;
|
|
|
|
color: $gray-300;
|
|
|
|
// background-color: shade-color($gray-900, 50%);
|
|
|
|
padding: 0.25em 1em 0 1em;
|
|
|
|
margin: 0;
|
|
|
|
background-clip: border-box;
|
|
|
|
word-wrap: break-word;
|
|
|
|
border: 1px solid $gray-700;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
margin: 0;
|
|
|
|
border: 1px solid rgba(0,0,0,0.15);
|
|
|
|
border-color: rgba(0, 0, 0, 0.15);
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
|
|
|
inset: -1em 0px auto auto;
|
|
|
|
transform: translate(0px, 40px);
|
|
|
|
padding: .5rem 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
text-align: left;
|
|
|
|
background-clip: padding-box;
|
|
|
|
li.menu-item {
|
|
|
|
padding: 8px 0 8px 0 !important;
|
|
|
|
a.top-navbar-grid-main-menu-item-link {
|
|
|
|
text-align: left;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: .25rem 1rem;
|
|
|
|
clear: both;
|
|
|
|
font-weight: inherit;
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
// &:hover {
|
|
|
|
// ul.sub-menu {
|
|
|
|
// display: block;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
2021-07-25 07:16:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|