250 lines
6.2 KiB
SCSS
250 lines
6.2 KiB
SCSS
/* continaer-fluid modifications */
|
|
.container-fluid {
|
|
padding-right: var(--bs-gutter-x, 1rem);
|
|
padding-left: var(--bs-gutter-x, 1rem);
|
|
@include media-breakpoint-up(md) {
|
|
padding-right: var(--bs-gutter-x, 2.75rem);
|
|
padding-left: var(--bs-gutter-x, 2.75rem);
|
|
}
|
|
&:not(.container-lg) {
|
|
@include media-breakpoint-up(xl) {
|
|
padding-right: var(--bs-gutter-x, 4rem);
|
|
padding-left: var(--bs-gutter-x, 4rem);
|
|
}
|
|
@include media-breakpoint-up(xxl) {
|
|
max-width: 1400px;
|
|
}
|
|
}
|
|
}
|
|
.container-lg {
|
|
@include media-breakpoint-up(xl) {
|
|
max-width: 960px;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* main section layout
|
|
*/
|
|
main.rdnyc-single-outer {
|
|
@extend .container-lg;
|
|
@extend .mt-4;
|
|
@extend .mb-3;
|
|
@extend .mt-md-4;
|
|
@extend .d-flex;
|
|
@extend .justify-content-center;
|
|
& > div.content {
|
|
@extend .w-100;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* top navbar css grid layout
|
|
*/
|
|
nav#top-navbar-grid-outer {
|
|
@extend .container-fluid;
|
|
@include media-breakpoint-down(md) {
|
|
margin-top: 1.25rem !important;
|
|
}
|
|
@extend .mt-md-5;
|
|
@extend .mb-4;
|
|
@include media-breakpoint-up(sm) {
|
|
margin-bottom: 2rem !important;
|
|
}
|
|
@include media-breakpoint-up(lg) {
|
|
margin-bottom: 2.5rem !important;
|
|
}
|
|
@include media-breakpoint-up(xl) {
|
|
margin-bottom: 3rem !important;
|
|
}
|
|
@include media-breakpoint-up(xxl) {
|
|
margin-bottom: 4rem !important;
|
|
}
|
|
@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;
|
|
}
|
|
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 {
|
|
color: $gray-300;
|
|
svg.header-logo {
|
|
height: 4.3rem;
|
|
@include media-breakpoint-up(md) {
|
|
height: 5.3rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
&:first-child {
|
|
a.wp-block-social-link-anchor {
|
|
@extend .ps-0;
|
|
}
|
|
}
|
|
&:last-child {
|
|
a.wp-block-social-link-anchor {
|
|
@extend .pe-0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
div#top-navbar-grid-main-menu-outer {
|
|
@include media-breakpoint-down(lg) {
|
|
display: none;
|
|
margin: 1em 0 0 0;
|
|
&.show, &.collapsing {
|
|
display: grid;
|
|
grid-column-start: 1;
|
|
grid-column-end: 3;
|
|
grid-row-start: 3;
|
|
grid-row-end: 4;
|
|
justify-items: center;
|
|
}
|
|
}
|
|
@include media-breakpoint-up(lg) {
|
|
display: grid;
|
|
margin: 0 !important;
|
|
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 {
|
|
list-style: none;
|
|
@extend .d-grid;
|
|
grid-template-columns: 1fr;
|
|
@extend .d-lg-flex;
|
|
@extend .flex-lg-row;
|
|
@extend .p-0;
|
|
@extend .m-0;
|
|
& > li.menu-item {
|
|
@extend .text-center;
|
|
@extend .my-2;
|
|
@extend .my-lg-0;
|
|
@include media-breakpoint-up(lg) {
|
|
display: list-item;
|
|
padding: 0 0 0 1.5em !important;
|
|
}
|
|
.top-navbar-grid-main-menu-item-link {
|
|
@extend .fw-bold;
|
|
@extend .text-uppercase;
|
|
@extend .text-decoration-none;
|
|
color: $gray-300;
|
|
&:hover {
|
|
@extend .text-decoration-none;
|
|
color: $primary;
|
|
}
|
|
&.active {
|
|
opacity: 0.5;
|
|
&:hover {
|
|
@extend .text-decoration-none;
|
|
color: $gray-300;
|
|
}
|
|
}
|
|
}
|
|
.dropdown-toggle {
|
|
cursor: pointer;
|
|
div.icon.baseline {
|
|
transform: rotate(0deg);
|
|
transition: transform 150ms ease;
|
|
svg {
|
|
top: inherit;
|
|
height: .75em;
|
|
width: .75em;
|
|
}
|
|
}
|
|
&.show {
|
|
// color: $primary;
|
|
opacity: 0.5;
|
|
&:hover {
|
|
@extend .text-decoration-none;
|
|
}
|
|
div.icon.baseline {
|
|
transform: rotate(180deg);
|
|
transition: transform 150ms ease;
|
|
}
|
|
}
|
|
&::after {
|
|
@extend .d-none;
|
|
}
|
|
}
|
|
.dropdown-menu.dropdown-menu-dark {
|
|
background-color: $spaceblue-900;
|
|
li.menu-item {
|
|
.dropdown-item.top-navbar-grid-main-menu-item-link {
|
|
@extend .fw-normal;
|
|
// padding: 0.25rem 1rem 0 1rem !important;
|
|
text-transform: inherit !important;
|
|
&:hover {
|
|
@extend .text-decoration-none;
|
|
color: $spaceblue-800;
|
|
background-color: $primary;
|
|
}
|
|
}
|
|
&.active {
|
|
.dropdown-item.top-navbar-grid-main-menu-item-link {
|
|
color: $spaceblue-100;
|
|
background-color: $spaceblue-600;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|