242 lines
4.7 KiB
SCSS
242 lines
4.7 KiB
SCSS
@use "variables.scss";
|
|
@use "mixins.scss";
|
|
@use "views/index.scss";
|
|
@use "views/aydinlatma.scss";
|
|
@use "partials/header.scss";
|
|
@use "partials/footer.scss";
|
|
@use "sass:math";
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: variables.$clr_sides;
|
|
}
|
|
|
|
.content-spacing {
|
|
padding: math.div(variables.$px_horizontalPadding, 2) variables.$px_horizontalPadding;
|
|
|
|
@include mixins.mx_index_brands_fix {
|
|
padding: math.div(variables.$px_horizontalPadding2, 2) variables.$px_horizontalPadding2;
|
|
}
|
|
|
|
@include mixins.mx_index_brands_fix2 {
|
|
padding: math.div(variables.$px_horizontalPadding3, 2) variables.$px_horizontalPadding3;
|
|
}
|
|
}
|
|
|
|
.ignore-vertical {
|
|
// ignores vertical padding applied by .content-spacing
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.inline-block {
|
|
display: inline-block;
|
|
}
|
|
|
|
#header {
|
|
// Layout, details and children is set in partials/header.scss
|
|
height: 10vh;
|
|
|
|
@include mixins.header_overflow2 {
|
|
height: 5vh;
|
|
}
|
|
}
|
|
|
|
.dropdown {
|
|
position: fixed;
|
|
z-index: 2;
|
|
background: linear-gradient(to left bottom, variables.$clr_brand, #003e86);
|
|
width: 100%;
|
|
height: 90vh;
|
|
-webkit-animation: drawer-open 550ms;
|
|
animation: drawer-open 550ms;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
.dropdown-nav-item {
|
|
position: relative;
|
|
margin-top: math.div(variables.$px_horizontalPadding, 4);
|
|
background: -webkit-linear-gradient(#FFFFFF, #adf0ff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
font: 600 28px "Montserrat", sans-serif;
|
|
text-decoration: none;
|
|
-webkit-animation: navbar-appear 550ms;
|
|
animation: navbar-appear 550ms;
|
|
|
|
&:first-of-type {
|
|
margin-top: math.div(variables.$px_horizontalPadding, 2);
|
|
}
|
|
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
transform: scaleX(0);
|
|
height: 2px;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(to left, #FFF, #AFF);
|
|
transform-origin: bottom right;
|
|
transition: transform 0.25s ease-out;
|
|
}
|
|
|
|
&:hover:after {
|
|
transform: scaleX(1);
|
|
transform-origin: bottom left;
|
|
}
|
|
}
|
|
|
|
@include mixins.header_overflow2 {
|
|
height: 95vh;
|
|
}
|
|
}
|
|
|
|
.dropdown_close_animation {
|
|
-webkit-animation: drawer-close 550ms;
|
|
animation: drawer-close 550ms;
|
|
}
|
|
|
|
.dropdown-nav-item_close_animation {
|
|
-webkit-animation: navbar-disappear 550ms;
|
|
animation: navbar-disappear 550ms;
|
|
}
|
|
|
|
@-webkit-keyframes drawer-close {
|
|
from {
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
|
|
to {
|
|
visibility: hidden;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
}
|
|
@keyframes drawer-close {
|
|
from {
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
|
|
to {
|
|
visibility: hidden;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes drawer-open {
|
|
from {
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
visibility: visible;
|
|
}
|
|
|
|
to {
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
@keyframes drawer-open {
|
|
from {
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
visibility: visible;
|
|
}
|
|
|
|
to {
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes navbar-appear {
|
|
from {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
@keyframes navbar-appear {
|
|
from {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes navbar-disappear {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
}
|
|
@keyframes navbar-disappear {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(100%, 0, 0);
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
}
|
|
|
|
#container {
|
|
height: 90vh;
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
grid-template-columns: 1fr;
|
|
grid-gap: 0;
|
|
overflow: auto;
|
|
|
|
@include mixins.header_overflow2 {
|
|
height: 95vh;
|
|
}
|
|
}
|
|
|
|
#content {
|
|
background: whitesmoke;
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
#footer {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
#footer-stateless {
|
|
grid-column: 1;
|
|
grid-row: 3;
|
|
} |