/var/www/cobraambalaj/resources/scss
Edit: /var/www/cobraambalaj/resources/scss/_sections.scss (15688B)
// Header
.sidenav-back {
background-color: $fourth;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
visibility: hidden;
opacity: 0;
transition: all 300ms;
&.show {
visibility: visible;
opacity: 0.4;
}
}
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: transparent;
transition: background-color 300ms;
z-index: 999;
&.fixed-header {
background-color: $white;
box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
.navbar {
.container {
.navbar-brand {
.main-logo {
background-image: url("/img/cobra-ambalaj-logo.png");
}
}
.navbar-nav {
.nav-item {
.nav-link {
color: $fourth;
}
}
}
}
}
}
.color-bar {
display: flex;
> span {
width: 25%;
height: 5px;
display: block;
&:nth-child(1) {
background-color: $fourth;
}
&:nth-child(2) {
background-color: $third;
}
&:nth-child(3) {
background-color: $second;
}
&:nth-child(4) {
background-color: $first;
}
}
}
.navbar {
.container {
position: relative;
.navbar-collapse {
.sidenav-brand {
display: none;
img {
height: 45px;
margin: 0 0 20px 15px;
}
}
}
.navbar-brand {
> img {
height: 47px;
}
.main-logo {
background-image: url("/img/cobra-ambalaj-logo-white.png");
height: 50px;
width: 125px;
background-size: contain;
background-repeat: no-repeat;
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
background-position: center center;
}
}
.navbar-nav {
.nav-item {
.nav-link {
color: $white;
white-space: nowrap;
&:hover,
&:focus,
&.active {
color: $third;
}
&.btn {
margin-left: 1.6rem;
min-width: 110px;
}
&.dropdown-toggle {
padding-right: 0.5rem;
}
}
}
.lang-item {
display: none;
}
}
}
}
}
@media (max-width: 1200px) {
header {
.navbar {
.container {
.navbar-nav {
.nav-item {
.nav-link {
font-size: 0.9em;
}
}
}
.social-menu {
margin: 0 !important;
li > a {
margin-right: 2px;
height: 22px;
width: 22px;
line-height: 22px;
font-size: 1.1em;
}
}
}
}
}
}
@media (max-width: 992px) {
header {
&.fixed-header {
background-color: $white;
box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
.navbar {
.container {
.navbar-toggler {
color: $fourth;
}
}
}
}
.navbar {
.container {
.navbar-toggler {
color: #fff;
border: 0;
font-size: 2em;
margin-top: 5px;
}
.navbar-collapse {
position: fixed;
left: -80vw;
top: 0;
height: 100vh !important;
background-color: #fff;
width: 80vw;
max-width: 400px;
padding: 30px 15px;
transition: all 300ms;
display: block !important;
z-index: 999;
.navbar-nav {
padding: 0;
margin: 0;
}
&.show {
left: 0;
}
.sidenav-brand {
display: block;
}
}
.navbar-nav {
margin-left: 30px;
.nav-item {
.nav-link {
&.btn {
margin-top: 14px;
margin-right: 14px;
}
color: $fourth;
padding-right: 1rem;
padding-left: 1rem;
font-size: 1em;
&:hover,
&:focus {
color: $first;
}
}
}
.lang-item {
display: block;
}
.lang-dropdown {
display: none;
}
}
.social-menu {
margin-top: 30px !important;
padding-right: 1rem;
padding-left: 1rem;
li > a {
margin-right: 10px;
height: 30px;
width: 30px;
line-height: 30px;
font-size: 1.4em;
}
}
}
}
}
[dir="rtl"] header {
&.fixed-header {
background-color: $white;
box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
.navbar {
.container {
.navbar-toggler {
color: $fourth;
}
}
}
}
.navbar {
.container {
.navbar-toggler {
color: #fff;
border: 0;
font-size: 2em;
margin-top: 5px;
}
.navbar-collapse {
left: auto;
right: -80vw;
&.show {
left: auto;
right: 0;
}
.sidenav-brand {
display: block;
}
}
}
}
}
}
// Main Slider
.main-slider {
background-color: $fourth;
height: 100vh;
padding: 0;
.swiper-container {
.swiper-wrapper {
.swiper-slide {
position: relative;
overflow: hidden;
height: 100vh;
.container {
display: flex;
align-items: center;
height: 100vh;
.slide-img {
position: absolute;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
z-index: 0;
opacity: 0.3;
object-fit: cover;
}
.slide-content {
position: relative;
z-index: 1;
max-width: 700px;
color: #fff;
margin: 0 auto;
text-align: center;
h1 {
font-size: 5em;
font-weight: bold;
margin-bottom: 30px;
}
p {
font-size: 1.2em;
}
.btn {
margin: 50px 40px 0;
min-width: 150px;
}
}
}
&.swiper-slide-active {
.container {
.slide-content {
h1,
p,
.btn {
animation: fadeInUp;
animation-fill-mode: both;
animation-duration: 600ms;
}
}
}
}
}
}
}
}
@media (max-width: 768px) {
.main-slider {
.swiper-container {
.swiper-wrapper {
.swiper-slide {
.container {
.slide-content {
h1 {
font-size: 2.4em;
margin-bottom: 30px;
}
p {
font-size: 1em;
}
.btn {
margin: 20px 6px 0;
}
}
}
}
}
.swiper-button-prev,
.swiper-button-next {
display: none;
}
}
}
}
// Gallery
.gallery {
.gallery-filters {
> a {
margin-right: 6px;
padding-right: 20px;
position: relative;
&:after {
content: "/";
position: absolute;
right: 0;
color: initial;
}
&:last-child {
margin-right: 0;
padding-right: 0;
&:after {
content: none;
}
}
&:hover,
&.active {
color: $second;
}
}
}
.gallery-container {
margin: 0;
.gallery-item {
padding: 0 7.5px 15px;
.gallery-content {
&.shadow-bottom {
&::before {
opacity: 0;
visibility: hidden;
}
}
> img {
width: 100%;
height: 100%;
object-fit: cover;
}
.gallery-text {
position: absolute;
bottom: 0;
left: 0;
padding: 30px;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
opacity: 0;
visibility: hidden;
transition: all 300ms ease-out;
width: 100%;
div > h4 {
font-size: 1.3em;
margin-bottom: 0;
}
> i {
font-size: 3em;
color: $third;
margin-left: 10px;
position: relative;
left: 0;
transition: all 300ms ease;
}
}
}
&:hover {
.gallery-content {
&.shadow-bottom {
&::before {
opacity: 1;
visibility: visible;
}
}
> img {
width: 100%;
height: 100%;
object-fit: cover;
}
.gallery-text {
opacity: 1;
visibility: visible;
> i {
left: 5px;
}
}
}
}
}
}
}
@media (max-width: 768px) {
.gallery {
.gallery-filters {
margin-top: 20px;
}
}
}
// Work Process
.work-process {
.swiper-container {
padding: 0px 50px 80px;
.swiper-slide {
text-align: center;
.slide-img {
max-height: 220px;
max-width: 100%;
margin-bottom: 30px;
transition: all 300ms ease;
transform: translateY(50%);
}
.slide-content {
opacity: 0;
visibility: hidden;
transition: all 300ms ease;
> h4 {
font-size: 1.4em;
margin-bottom: 10px;
}
> p {
color: $textColor;
}
}
&.swiper-slide-active {
.slide-img {
max-height: 270px;
transform: translateY(0);
}
.slide-content {
opacity: 1;
visibility: visible;
}
}
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
left: 3px;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
right: 3px;
}
.swiper-pagination {
bottom: 0;
.swiper-pagination-bullet {
color: $textColor;
&:hover,
&:focus,
&.swiper-pagination-bullet-active {
color: $third;
}
}
}
}
}
@media (max-width: 768px) {
.work-process {
.swiper-container {
padding: 0 0 80px;
.swiper-slide {
.slide-img {
height: auto;
max-height: unset;
width: 100%;
max-width: 220px;
}
&.swiper-slide-active {
.slide-img {
height: auto;
max-height: unset;
}
}
}
.swiper-button-prev,
.swiper-button-next {
display: none;
}
}
}
}
// Get Offer
.get_offer {
background-color: $first;
color: $white;
.sec-head-horizontal .title > span {
color: $white;
}
}
@media (max-width: 768px) {
.get_offer {
.btn {
margin: 20px auto 0;
display: table;
}
}
}
// Why Choose Us
.why-choose-us {
.why-choose-us-item {
margin-bottom: 30px;
color: #fff;
> img {
height: 100%;
width: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
}
.item-content {
padding: 20px;
top: auto;
> h4 {
font-size: 1.3em;
margin-bottom: 15px;
}
> p {
margin: 0;
font-size: 0.9em;
}
}
}
}
// Clients
.clients {
.swiper-wrapper {
align-items: center;
.client-item {
text-align: center;
> img {
max-width: 140px;
max-height: 90px;
}
}
}
}
// Contact
.contact {
.map {
display: block;
border-radius: 6px;
overflow: hidden;
position: relative;
height: 350px;
> img {
height: 100%;
width: 100%;
object-fit: cover;
}
}
}
@media (max-width: 768px) {
.contact {
.social-menu {
margin: 0 auto !important;
}
.map {
height: 240px;
margin-top: 30px;
}
}
}
// Footer
footer {
padding: 70px 0;
.logo {
> img {
height: 50px;
margin-bottom: 20px;
}
}
}
.copyright {
font-size: 0.9em;
color: $textColor;
a {
color: #74d124;
}
}