415 lines
12 KiB
SCSS
415 lines
12 KiB
SCSS
@use "sass:color";
|
|
|
|
body {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 100lvh;
|
|
flex-direction: column;
|
|
|
|
// * HEADER
|
|
> header {
|
|
position: fixed;
|
|
z-index: 1050;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
transition: all 0.3s ease;
|
|
|
|
@include rfs(1.19rem + 2rem !important, padding-top);
|
|
@include rfs(1.19rem + 2rem !important, padding-bottom);
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
@include rfs(1.56rem !important, padding-top);
|
|
@include rfs(1.56rem !important, padding-bottom);
|
|
}
|
|
|
|
#main-nav {
|
|
@include rfs(1.25rem, margin-right);
|
|
@include rfs(1.25rem, margin-left);
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
@include rfs(2.3rem, margin-right);
|
|
@include rfs(2.3rem, margin-left);
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
@include rfs(3rem, margin-right);
|
|
@include rfs(3rem, margin-left);
|
|
}
|
|
|
|
.bars {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='18' viewBox='0 0 21 18' fill='none'%3E%3Cline x1='1.25' y1='5.0835' x2='20.75' y2='5.0835' stroke='#{urlencodecolor($color-secondary)}' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='1.25' y1='12.4167' x2='12.6833' y2='12.4167' stroke='#{urlencodecolor($color-secondary)}' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.8rem 1.1rem;
|
|
}
|
|
|
|
.no-wrap {
|
|
overflow: visible !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
// * Menu Logo Nav item
|
|
.menu-logo {
|
|
position: relative;
|
|
width: 6.125rem;
|
|
|
|
@include media-breakpoint-up(xsmin) {
|
|
width: 7.125rem;
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
width: 8.75rem;
|
|
}
|
|
|
|
img {
|
|
position: absolute;
|
|
left: 50%;
|
|
width: 6.125rem;
|
|
height: 3.75rem;
|
|
object-fit: contain;
|
|
transform: translateX(-50%);
|
|
|
|
@include rfs(0.5rem, top);
|
|
|
|
@include media-breakpoint-up(xsmin) {
|
|
width: 7.125rem;
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
width: 8.75rem;
|
|
height: 4.625rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nav-collapse {
|
|
position: absolute;
|
|
z-index: -1;
|
|
top: 100%;
|
|
left: 50%;
|
|
width: 80%;
|
|
transform: translateX(-50%);
|
|
|
|
.list-badge {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
|
|
&-item {
|
|
width: fit-content;
|
|
padding: 0 !important;
|
|
margin: 0.5rem;
|
|
}
|
|
}
|
|
|
|
&-left {
|
|
&-background {
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
}
|
|
|
|
&-image {
|
|
max-height: 10rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// * Mobile Offcanvas Nav
|
|
#offcanvas-main-menu {
|
|
.btn-club {
|
|
position: relative;
|
|
margin-top: -2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 1.375rem;
|
|
|
|
&-arrow {
|
|
&::after {
|
|
transition: .3s;
|
|
|
|
@include after-arrow-right(translateY(-50%) rotate(90deg));
|
|
}
|
|
|
|
&.collapsed::after {
|
|
transform: translateY(-50%) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nav-collapse {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
#main-nav,
|
|
// * Mobile Offcanvas Nav
|
|
#offcanvas-main-menu {
|
|
// * Center vertical menu link
|
|
.nav-item {
|
|
display: flex;
|
|
overflow: hidden;
|
|
flex-shrink: 1;
|
|
align-items: center;
|
|
|
|
.nav-link {
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
max-height: var(--bs-nav-link-font-size);
|
|
font-family: BourtonBase, sans-serif;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
|
|
&.menu-logo {
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#input-group-search {
|
|
[type="submit"] {
|
|
border-radius: 1rem;
|
|
border-right-width: 0 !important;
|
|
border-bottom-right-radius: 0 !important;
|
|
border-top-right-radius: 0 !important;
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
border-radius: 0 1rem 1rem 0 !important;
|
|
border-right-width: var(--bs-border-width) !important;
|
|
border-left-width: 0 !important;
|
|
}
|
|
}
|
|
|
|
#btn-search-empty {
|
|
border-radius: 1rem;
|
|
border-left-width: 0 !important;
|
|
border-bottom-left-radius: 0 !important;
|
|
border-top-left-radius: 0 !important;
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
border-radius: 1rem 0 0 1rem !important;
|
|
border-right-width: 0 !important;
|
|
border-left-width: var(--bs-border-width) !important;
|
|
}
|
|
}
|
|
|
|
#search-input {
|
|
height: calc(2.65rem + calc(var(--bs-border-width) * 2));
|
|
min-height: calc(2.65rem + calc(var(--bs-border-width) * 2));
|
|
line-height: 1.25;
|
|
|
|
@include media-breakpoint-up(md) {
|
|
@include rfs(20rem, min-width);
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
@include rfs(30rem, min-width);
|
|
}
|
|
|
|
+ label {
|
|
height: 2rem;
|
|
padding: 0.5rem 0.25rem;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#menu-lang-list {
|
|
display: none;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
display: list-item;
|
|
}
|
|
}
|
|
}
|
|
|
|
/** For home page usage */
|
|
> .no-offset {
|
|
margin-top: 0;
|
|
}
|
|
|
|
> main {
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
margin-top: $top-menu-offset;
|
|
}
|
|
|
|
// * FOOTER
|
|
> footer {
|
|
position: relative;
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
|
|
#footer-logo {
|
|
position: relative;
|
|
top: -2rem;
|
|
width: 17.6875rem;
|
|
object-fit: contain;
|
|
}
|
|
|
|
// * Text line visibile on mobile only
|
|
.mobile-span {
|
|
position: absolute;
|
|
top: 6.5rem;
|
|
left: 50%;
|
|
width: 100%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.bottom-menu-links {
|
|
@include media-breakpoint-between(sm, lg) {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: -3.7rem;
|
|
}
|
|
|
|
.btn-link {
|
|
text-align: start;
|
|
|
|
@include text-inset-shadow(var(--bs-btn-color));
|
|
}
|
|
}
|
|
|
|
.bottom-links {
|
|
color: color.adjust($color: $body-color, $lightness: -4%);
|
|
}
|
|
|
|
// * NEWSLETTER SECTION
|
|
.newsletter {
|
|
margin-bottom: -1rem;
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
margin-bottom: -1.5rem;
|
|
}
|
|
|
|
.newsletter-form {
|
|
button {
|
|
padding: 1.06rem 1.25rem;
|
|
line-height: 1.286;
|
|
}
|
|
}
|
|
|
|
#club-part-wrapper {
|
|
@include media-breakpoint-up(md) {
|
|
position: absolute;
|
|
right: 0%;
|
|
bottom: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
position: relative;
|
|
bottom: -40%;
|
|
}
|
|
}
|
|
|
|
.club-text {
|
|
margin-left: calc(50% - 10rem);
|
|
|
|
@include media-breakpoint-up(md) {
|
|
margin-left: calc(50% - 9rem);
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
transition: opacity 0.5s;
|
|
|
|
&.fade-hide {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
&::before {
|
|
position: absolute;
|
|
right: -3rem;
|
|
bottom: -1rem;
|
|
display: block;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
background-image: url('@/images/footer/arrow.png');
|
|
background-size: 100% 100%;
|
|
content: "";
|
|
rotate: 5deg;
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
right: 4rem;
|
|
bottom: -2.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card {
|
|
max-width: 20rem;
|
|
border-radius: 15px;
|
|
margin-bottom: -4rem;
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
top: 3rem;
|
|
right: -20%;
|
|
transform: rotate(2deg);
|
|
transition:
|
|
top 0.5s,
|
|
transform 0.5s;
|
|
|
|
&:hover {
|
|
top: -8rem;
|
|
transform: rotate(0deg);
|
|
}
|
|
}
|
|
|
|
.svg-little-chicken {
|
|
top: -40%;
|
|
left: 5%;
|
|
width: 1.3rem;
|
|
|
|
&-shout {
|
|
right: -0.5rem;
|
|
bottom: -1.5rem;
|
|
width: 1.5rem;
|
|
}
|
|
|
|
&-puzzle {
|
|
right: 8.8rem;
|
|
bottom: 0.2rem;
|
|
}
|
|
|
|
&-playing {
|
|
right: 1rem;
|
|
bottom: 15%;
|
|
width: 13rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
> footer, > header {
|
|
.btn-social, .btn-lang {
|
|
width: 2.3rem;
|
|
height: 2.3rem;
|
|
padding: 0.1rem;
|
|
}
|
|
|
|
.btn-lang {
|
|
padding: 0.4rem 0;
|
|
background-clip: inherit !important;
|
|
background-color: inherit !important;
|
|
background-image: url('@/images/footer/lang-btn-bg.png');
|
|
background-position: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
font-family: BourtonBase, sans-serif;
|
|
text-align: center !important;
|
|
text-decoration: none;
|
|
|
|
@include rfs(1.1rem, font-size);
|
|
|
|
span {
|
|
@include text-inset-shadow(var(--bs-btn-color));
|
|
}
|
|
}
|
|
}
|
|
}
|