403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.6
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/harmoniegolfpark.com/assets/sass/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/harmoniegolfpark.com/assets/sass/_components.header.scss
// HEADER
// ==========================================================================
$font-size-nav: 18px;
$fix-height: 60px;

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: z("header");
	transition: all 0.5s; 

	&.is-scrolled {
		top: 0;
	}

	@include media-breakpoint-up(sm) {
		
	}

	@include media-breakpoint-up(lg) {
		
		
	}
}

.header__logo__link {
	display: inline-block;
	cursor: pointer;
	min-height: 45px;
}
.header__logo__img {
	display: none;

	@include media-breakpoint-up(lg) {
		display: block;
	}
}


.header__nav {
	@extend %fr;
	@extend %list-unstyled;
	
	width: auto;
	transition: all 0.5s, all 0.5s;
	text-align: center;
	float: none;

	.header__nav__ul {
		position: absolute;
		display: inline-block;
		background: $color-brand-1;
		&.header__nav__ul--left {
			float: left;
			right: 50%;
			padding-right: 90px;
			padding-left: 20px;
			@include border-radius(0 0 0 15);
		}
		&.header__nav__ul--right {
			float: right;
			left: 50%;
			padding-left: 90px;
			padding-right: 20px;
			@include border-radius(0 0 15 0);
		}
	}


    &.is-opening {
		right: 0;
	}

	.header__nav__link {
		color: $color-white;
		font-size: $font-size-nav;
		line-height: 22px;
		font-family: $font-rotobo;
		display: inline-block;
		padding: 19px 0;

		&:hover,
		&:focus {
			color: $color-brand-2;
			text-decoration: none;
		}

	}

	.header__nav__item {
		display: inline-block;
		padding: 0 20px;
		position: relative;
		z-index: 10;
		/*top: -95px;*/

		&.is-current {
			.header__nav__link {
				color: $color-brand-2;
				text-decoration: none;
			}
		}
	}

}
.logo {
	@include border-radius(0 0 20 20);
	position: absolute;
	width: 160px;
	height: 130px;
	background: $color-brand-1;
	top: 0;
	display: block;
	left: 50%;
	transform: translateX(-50%);
}
.header__nav__link--logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
}

.header__logo {
	display: block;
	max-height: 109px;
}


.toogle-nav {
  float: right;
  background: $color-brand-1;
  width: 60px;
  height: 60px;
}


.toogle-nav__link {
	width: 60px;
	height: 60px;
	background: $color-brand-1;
	position: relative;
	float: right;
	cursor: pointer;

	.toogle-nav__icon {
		position: absolute; display: block; width: 30px; height: 3px;
		top: 50%; left: 15px;
		background-color: #fff; font-size: 0px; border-radius: 3px;
	    -webkit-touch-callout: none;
	    -webkit-user-select: none;
	    -khtml-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	    -webkit-transition: background-color 0.3s;
	    transition: background-color 0.3s;
	    &:before, &:after {
	    	position: absolute; left: 0; width: 100%; height: 100%; border-radius: 3px;
	    	background: #fff; content: '';  -webkit-transition: all 0.3s; transition: all 0.3s;
	    }
	    &:before {
	    	-webkit-transform: translateY(-300%); transform: translateY(-300%);
	    }
	    &:after {
	    	-webkit-transform: translateY(300%); transform: translateY(300%);
	    }
	}
	&.is-current span {
		background-color: transparent;
		&:before {
			background: #ffffff;
			-webkit-transform: translateY(0) rotate(45deg);  transform: translateY(0) rotate(45deg);
		}
		&:after {
			background: #ffffff;
			-webkit-transform: translateY(0) rotate(-45deg);  transform: translateY(0) rotate(-45deg);
		}
	}
}

.header__infos {
	@include border-radius(0 0 0 20);
	position: absolute;
	right: 0;
	top: 0;
	background: $color-brand-1;
	padding: 0 0 0 20px;
	color: $color-white;

}
.header__lang {
	display: inline-block;
	height: $fix-height;
	line-height: $fix-height;

	&__item {
		display: inline-block;
	}

	&__link {
		color: $color-white;
		text-transform: uppercase;

		&:hover,
		&:focus,
		&.is-current {
			color: $color-white;
			text-decoration: underline;
			font-weight: 700;

		}
	}
}

.header__nav-m {
	position: fixed;
	z-index: 99;
	top: 0;
	height: 100vh;
	width: 100%;
	max-width: 400px;
	right: -400px;
	transition: .4s;
	overflow-y: scroll;
	background: rgba( $color-brand-1, 1);
	color: white;
	padding: 60px 3%;
	text-transform: none;
	text-align: left;

	&.is-showing {
		right: 0;
	}

	.is-opening & {
		right: 0;
	}
	
	&__ul {
		@extend %list-unstyled;
		text-align: left;
	}

	&__link {
		color: $color-white;
		text-transform: none;

		&:hover,
		&:focus {
			text-decoration: none;
			color: $color-brand-2;
		}
		
	}

	&__item {
		padding: 15px;
		font-size: 22px;
		font-weight: 700;
		
	}

	.m-btn-close {
		@extend %fr;
		font-size: $lg-font-size;
		color: $color-white;
		margin-right: 0;
		cursor: pointer;
		position: absolute;
		right: 5%;
		top: 30px;
		width: 50px;
		height: 50px;
		display: block;
		text-align: center;

		&:hover,
		&:focus {
			text-decoration: none;
			color: $color-brand-2;
		}
	}

	.toogle-nav__link span {
		background-color: transparent;
		&:before {
			background: #ffffff;
			-webkit-transform: translateY(0) rotate(45deg);  transform: translateY(0) rotate(45deg);
		}
		&:after {
			background: #ffffff;
			-webkit-transform: translateY(0) rotate(-45deg);  transform: translateY(0) rotate(-45deg);
		}
	}

	.header__nav-m__item-light {
		font-weight: 400;
		font-size: 18px;
	}
	
}
.header__nav-m__item--lang {
	position: relative;
}
.header__nav-m__link-lang {
	color: $color-white;
	padding: 0 10px;
	display: inline-block;

	&:hover,
	&:focus,
	&.is-current {
		color: $color-white;
		text-decoration: underline;
	}

	&:first-child {
		border-right: solid 2px rgba($color-white, 0.8);
		padding-right: 15px;

	}
}
.container-lang {
	position: absolute;
	right: 0;
}
@media screen and (min-width: 769px) and (max-width: 64em) {
	.logo { width: 120px;height: 100px; }
	.header__nav {
		.header__nav__ul {
			&.header__nav__ul--right { padding-left: 70px; }
			&.header__nav__ul--left { padding-right: 70px; }
		}
	}
}
@media screen and (min-width: 601px) and (max-width: 990px) {
	.logo { display: block;float: left;-webkit-border-radius: unset;border-radius: unset;height: 80px;width:120px;left:0;transform: translateX(0);
        .header__nav__link--logo { transform: none;top: 0;left:0;height: 100%;padding: 10px;
            img { height: 100%; width: auto;}                
        }
    }
}
@media screen and (max-width: 37.5em) {
	.logo { display: block;float: left;-webkit-border-radius: unset;border-radius: unset;height: 80px;width:120px;left:0;transform: translateX(0);
        .header__nav__link--logo { transform: none;top: 0;left:0;height: 100%;padding: 10px;
            img { height: 100%; }                
        }
    }
}
@media screen and (max-width: 414px) {
	.logo { display: block;float: left;-webkit-border-radius: unset;border-radius: unset;height: 80px;width:120px;left:0;transform: translateX(0);
        .header__nav__link--logo { transform: none;top: 0;left:0;height: 100%;padding: 10px;
            img { height: 100%; }                
        }
    }
}
@media screen and (min-width: 601px) and (max-width: 990px) {
	.header__nav {
		.header__nav__item {
			display: none;
		}
	}
	.header__infos { height: 80px;padding: 10px 0; }
    .header__nav__ul { width: 100%;margin: 0;padding: 0;height: 80px; }
}

@media screen and (max-width: 990px) {
	.header__nav {
		background-color: #1a2b42;
		height: 80px;
		width: 100%;
		&__ul {
			&.header__nav__ul--right {
				display: none;
			}
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit