Preview: _header.scss
Size: 34.77 KB
//proc/thread-self/root/home/byroehnu/easetack.com/resources/scss/Frontend/common/_header.scss
/*--------------------------------------------------------------
7. Header
----------------------------------------------------------------*/
.cs_dropdown_wrap {
position: relative;
}
.cs_header_user_btn {
display: flex;
cursor: pointer;
position: relative;
z-index: 1;
transition: all 0.3s ease;
&:hover {
color: var(--accent);
}
align-items: center;
}
.cs_dropdown_toggle_btn {
background-color: transparent;
border: none;
display: flex;
font-size: 20px;
padding: 0;
svg {
height: 20px;
width: 20px;
}
&:hover {
color: var(--accent);
}
}
.cs_site_header {
position: relative;
z-index: 101;
}
.cs_site-branding {
display: inline-block;
max-width: 180px;
}
.cs_site_header {
position: absolute;
width: 100%;
left: 0;
top: 0px;
transition: all 0.4s ease;
}
.cs_hamburger_btn {
display: flex;
justify-content: center;
align-items: center;
width: 45px;
height: 45px;
transition: all 0.3s ease;
cursor: pointer;
border: none;
border-radius: 50%;
color: currentColor;
background-color: transparent;
outline: none;
padding: 0;
.cs_hamburger_btn_in {
width: 18px;
height: 16px;
line-height: 0;
cursor: pointer;
position: relative;
text-align: left;
overflow: hidden;
span {
display: inline-block;
position: absolute;
height: 2px;
width: 100%;
border-radius: 0;
background-color: currentColor;
color: inherit;
vertical-align: top;
transition: 0.3s ease-in-out;
border-radius: 3px;
right: 0;
&:nth-child(1) {
transform: translate(0, -7px);
width: calc(100% - 5px);
}
&:nth-child(2) {
transform: translate(0, 0);
}
&:nth-child(3) {
transform: translate(0, 7px);
}
&:nth-child(4) {
transform: translate(0, 14px);
width: calc(100% - 5px);
}
}
}
&:hover {
.cs_hamburger_btn_in {
span {
transition: 0.3s ease-in-out;
&:nth-child(1) {
transform: translate(0, 0);
}
&:nth-child(2) {
transform: translate(0, 7px);
}
&:nth-child(3) {
transform: translate(0, 14px);
width: calc(100% - 3px);
}
&:nth-child(4) {
transform: translate(0, 21px);
}
}
}
}
}
.cs_main_header_right {
.cs_hamburger_btn {
margin-right: -14px;
// @media (max-width: 1199px) {
// margin-right: 0;
// position: relative;
// right: -63px;
// }
}
}
.cs_main_header_left {
.cs_hamburger_btn {
margin-left: -14px;
}
}
.cs_header_search_form {
position: relative;
padding-right: 5px;
&::after {
content: "";
position: absolute;
height: 18px;
width: 1px;
background-color: var(--ternary);
right: 0;
top: 50%;
margin-top: -9px;
}
.cs_header_search_field {
outline: none;
border: none;
width: 86px;
transition: all 0.4s ease;
padding: 0 0 0 28px;
background-color: transparent;
&::placeholder {
color: var(--secondary);
}
&::-ms-input-placeholder {
color: var(--secondary);
}
@media (min-width: 400px) {
&:focus {
width: 120px;
}
}
}
.cs_header_submit_btn {
background-color: transparent;
position: absolute;
left: 0;
padding: 0;
border: none;
color: var(--secondary);
display: flex;
top: 50%;
transform: translateY(-50%);
&:hover {
color: var(--accent);
}
}
@media (max-width: 450px) {
position: fixed;
top: 70px;
left: 0;
width: calc(100% - 24px);
background-color: #fff;
padding: 6px 15px;
box-shadow: 0 0 10px 0px rgb(0 0 0 / 36%);
margin-left: 12px;
border-radius: 8px;
display: none;
.cs_header_search_field {
width: 100%;
height: 39px;
}
.cs_header_submit_btn {
left: 12px;
}
&::after {
display: none;
}
&.active {
display: block;
}
}
}
.cs_search_mobile_toggle {
display: none;
position: relative;
z-index: 1;
transition: all 0.3s ease;
&:hover {
color: var(--accent);
}
@media (max-width: 450px) {
display: flex;
}
}
.cs_header_contact_list {
display: flex;
@media (max-width: 1199px) {
display: none;
}
li {
position: relative;
padding-left: 25px;
&:not(:last-child) {
border-right: 1px solid rgba(255, 255, 255, 0.3);
padding-right: 25px;
margin-right: 25px;
@media (max-width: 1400px) {
padding-right: 15px;
margin-right: 15px;
}
}
i {
position: absolute;
display: flex;
left: 0;
top: 4px;
}
}
}
@media (max-width: 1300px) {
.container-fluid {
.cs_header_contact_list {
display: none;
}
}
}
.cs_site_header.cs_style_1.cs_primary_color {
.cs_header_contact_list li {
border-color: var(--ternary);
}
}
.cs_header_social {
display: flex;
gap: 5px 28px;
@media (max-width: 1400px) {
gap: 5px 20px;
}
@media (max-width: 350px) {
gap: 5px 15px;
}
}
.cs_site_header.cs_style_1,
.cs_site_header.cs_style_2 {
.cs_main_header_in,
.cs_top_header_in {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
}
.cs_main_header_in {
height: 100px;
}
.cs_top_header_in {
height: 50px;
}
.cs_main_header_right {
display: flex;
align-items: center;
height: 100%;
@media (max-width: 1199px) {
padding-right: 45px;
}
@media (max-width: 400px) {
padding-right: 40px;
}
}
.cs_toolbox {
display: flex;
align-items: center;
gap: 16px;
@media (max-width: 355px) {
gap: 12px;
}
.cs_header_contact_list {
border-right: 1px solid var(--ternary);
padding-right: 25px;
}
}
&.cs_size_md {
.cs_main_header_in {
height: 85px;
}
}
}
.cs_dropdown_wrap + .cs_hamburger_btn {
margin-left: -14px;
}
.cs_site_header.cs_style_1,
.cs_site_header.cs_style_2 {
&.cs_sticky_active {
background-color: var(--white);
box-shadow: 0 10px 10px -10px rgba(33, 43, 53, 0.1);
.cs_top_header_in {
height: 0;
}
}
&.cs_color_1 {
&.cs_sticky_active {
background-color: var(--primary);
}
.cs_btn.cs_style_1.cs_primary_bg {
background-color: #fff;
color: var(--primary);
&:hover {
color: #fff;
background-color: var(--accent);
}
}
}
.cs_action_box {
display: flex;
align-items: center;
.cs_action_value {
margin-left: 15px;
}
> * {
&:not(:last-child) {
margin-right: 35px;
}
}
}
&.cs_with_border {
border-bottom: 1px solid var(--ternary);
}
}
.cs_site_header.cs_style_2 {
.cs_hamburger_btn {
color: #fff;
.cs_hamburger_btn_in span {
left: 0;
right: initial;
&:nth-child(2) {
width: calc(100% - 5px);
}
}
&:hover {
.cs_hamburger_btn_in span {
&:nth-child(1) {
width: 100%;
}
&:nth-child(2) {
width: calc(100% - 5px);
}
&:nth-child(3) {
width: calc(100% - 2px);
}
}
}
}
}
.cs_site_header.cs_style_1.cs_color_1,
.cs_site_header.cs_style_2.cs_color_1 {
&.cs_gescout_show {
background-color: var(--primary);
}
.cs_nav_list {
> li > a {
color: #fff;
}
}
.cs_hamburger_btn {
color: #fff;
}
.cs_header_submit_btn {
color: var(--ternary);
&:hover {
color: var(--accent);
}
}
.cs_header_search_field {
color: #fff;
&::placeholder {
color: var(--ternary);
}
&::-ms-input-placeholder {
color: var(--ternary);
}
}
.cs_top_header {
color: #fff;
@media (max-width: 1199px) {
display: none;
}
}
.cs_header_social {
&:hover {
a {
color: rgba(255, 255, 255, 0.6);
}
}
a {
&:hover {
color: #fff;
}
}
}
.cs_header_user_btn,
.cs_dropdown_toggle_btn {
color: #fff;
}
}
.cs_site_header_full_width .container {
max-width: 100%;
padding: 0 100px;
}
///////////////
.cs_side_header {
position: fixed;
top: 0;
right: 0px;
width: 100%;
z-index: 1000;
height: 100vh;
opacity: 0;
visibility: hidden;
transition: all 0.4s ease;
.cs_side_header_overlay {
background-color: rgba(0, 0, 0, 0.5);
height: inherit;
width: inherit;
left: inherit;
top: inherit;
position: inherit;
cursor: zoom-out;
transition: all 0.4s ease;
opacity: 0;
}
.cs_side_header_in {
width: 500px;
height: 100vh;
background-color: var(--white);
flex: none;
margin-left: auto;
overflow: auto;
padding: 70px 50px 50px 50px;
position: relative;
z-index: 2;
right: -500px;
transition: all 0.4s ease;
}
.cs_side_header_heading {
font-size: 28px;
line-height: 1.2em;
font-weight: 400;
margin: 0;
}
.cs_side_header_title {
font-size: 24px;
font-weight: 400;
margin-bottom: 22px;
}
.cs_side_header_box {
padding: 30px 0;
}
.cs_close {
opacity: 0;
}
&.active {
opacity: 1;
visibility: visible;
.cs_side_header_overlay,
.cs_close {
opacity: 1;
}
.cs_side_header_in {
right: 0;
}
}
.cs_side_header_contact_info {
li {
padding-left: 32px;
position: relative;
&:not(:last-child) {
margin-bottom: 20px;
}
}
i {
color: var(--accent);
position: absolute;
left: 0;
top: 3px;
width: 20px;
text-align: center;
}
}
.cs_social_btns.cs_style_1 {
font-size: 14px;
a {
height: 35px;
width: 35px;
}
}
}
.cs_close {
position: fixed;
right: 30px;
top: 30px;
height: 25px;
width: 25px;
border-radius: 50%;
border: 2px solid currentColor;
background-color: transparent;
color: var(--primary);
cursor: pointer;
z-index: 2;
z-index: 100;
&::before,
&::after {
content: "";
position: absolute;
width: 50%;
height: 2px;
background-color: currentColor;
left: 50%;
top: 50%;
margin-left: -25%;
margin-top: -1px;
transform: rotate(-45deg);
}
&::before {
transform: rotate(45deg);
}
&:hover {
color: var(--accent);
transform: scale(1.05);
}
}
.cs_site_header_spacing_100 {
height: 100px;
}
@media screen and (max-width: 1199px) {
.cs_site_header.cs_style_1 {
.cs_top_header_in {
justify-content: center;
}
}
.cs_site_header_spacing_100 {
height: 80px;
}
.cs_main_header .container {
max-width: 100%;
}
.cs_site_header.cs_style_1 {
.cs_nav {
display: flex;
}
}
}
.cs_nav ul {
margin: 0;
padding: 0;
list-style: none;
}
.cs_sticky_header {
position: fixed !important;
width: 100%;
z-index: 999;
.cs_top_header_in {
overflow: hidden;
transition: all 0.3s ease;
}
}
.cs_gescout_sticky {
position: fixed !important;
top: -110px;
opacity: 0;
transition: all 0.4s ease;
background-color: var(--white);
&.cs_site_header.cs_style_1 {
.cs_top_header_in {
height: 0;
}
}
&.cs_fixed_sticky {
top: 0;
opacity: 1;
box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
}
}
.cs_gescout_show {
top: 0 !important;
opacity: 1;
box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
}
.cs_site_branding {
display: inline-block;
+ .cs_nav {
margin-left: 60px;
@media (max-width: 1600px) {
margin-left: 40px;
}
@media (max-width: 1540px) {
margin-left: 30px;
}
}
}
.cs_main_header {
position: relative;
.container-fluid {
padding-right: 120px;
padding-left: 120px;
}
}
@media screen and (min-width: 1200px) {
.cs_main_header_center,
.cs_top_header_center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.cs_site_header.cs_style_1 {
.cs_main_header_center {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
max-width: calc(100% - 300px);
}
.cs_main_header_left {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
}
.cs_nav {
display: flex;
align-items: center;
height: 100%;
line-height: 1.6em;
.cs_nav_list {
display: flex !important;
flex-wrap: wrap;
height: inherit;
> li {
margin-right: 40px;
height: inherit;
&:last-child {
margin-right: 0;
}
> a {
padding: 10px 0;
display: inline-flex;
position: relative;
height: inherit;
align-items: center;
}
> ul {
left: 0;
top: calc(100% + 15px);
pointer-events: none;
}
&:hover {
> ul {
top: 100%;
opacity: 1;
visibility: visible;
pointer-events: auto;
}
}
&.menu-item-has-children {
> a {
position: relative;
&::after {
content: "";
display: inline-block;
height: 6px;
width: 6px;
border: 2px solid currentColor;
transform: rotate(45deg);
border-left: 0;
border-top: 0;
margin-left: 6px;
position: relative;
top: -1px;
border-radius: 0px 0px 2px 0px;
}
}
}
}
li:not(.cs_mega_menu) {
position: relative;
}
ul {
width: 260px;
background-color: var(--white);
position: absolute;
border-top: 2px solid var(--accent);
box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
padding: 10px 0;
z-index: 100;
opacity: 0;
visibility: hidden;
display: block !important;
border-radius: 0 0 5px 5px;
transition: all 0.4s ease;
li {
&:hover {
ul {
top: 0px;
}
> ul {
opacity: 1;
visibility: visible;
transition: all 0.4s ease;
}
}
}
a {
display: block;
line-height: inherit;
padding: 10px 20px;
}
ul {
top: 15px;
left: 100%;
}
}
}
+ .cs_toolbox {
margin-left: 40px;
}
}
.cs_menu_toggle,
.cs_munu_dropdown_toggle {
display: none;
}
.cs_nav .cs_nav_list {
.cs_mega_menu {
position: relative;
}
.cs_mega_wrapper {
width: 1296px !important;
display: flex !important;
position: fixed;
top: 100px !important;
left: 50%;
transform: translateX(-50%);
padding: 5px 15px 10px;
border-top: 2px solid var(--accent);
border-radius: 0 0 5px 5px;
&.cs_with_thumb {
display: grid !important;
grid-gap: 10px;
grid-template-columns: repeat(6, 1fr);
padding: 20px 20px 14px 20px;
img {
border: 1px solid var(--border);
border-radius: 2px 20px 2px 2px;
transition: all 0.3s ease;
width: 100%;
margin-bottom: 8px;
}
a {
padding: 0;
display: block;
text-align: center;
font-size: 14px;
line-height: 1.6em;
font-weight: 500;
&:hover {
img {
border-color: #d5d4d4;
}
}
}
}
a {
padding: 7px 10px;
}
> li {
flex: 1;
padding: 10px 0;
ul {
position: initial;
border: none;
padding: 0;
width: 100%;
box-shadow: none;
background-color: transparent;
a {
transition: all 0.4s ease;
}
}
}
}
.cs_mega_menu {
&:hover {
.cs_mega_wrapper {
li ul {
opacity: 1;
visibility: visible;
}
}
}
}
}
.cs_site_header.cs_style_1.cs_size_md {
.cs_nav .cs_nav_list .cs_mega_wrapper {
top: 85px !important;
}
}
.cs_nav .cs_nav_list > li ul:not(.cs_mega_wrapper) .menu-item-has-children > a {
position: relative;
}
.cs_site_header.cs_style_1.cs_color_1 {
.cs_nav_list > li > a {
color: #fff;
}
}
}
@media screen and (max-width: 1600px) {
.cs_main_header {
.container-fluid {
padding-right: 25px;
padding-left: 25px;
}
}
}
@media screen and (max-width: 1400px) {
.cs_nav .cs_nav_list .cs_mega_wrapper {
width: 1116px !important;
}
.cs_site-branding {
max-width: 190px;
}
.cs_site_header_full_width .container {
max-width: 100%;
}
}
@media screen and (max-width: 1199px) {
.cs_main_header {
.container-fluid {
padding-right: 8px;
padding-left: 8px;
}
}
.cs_nav .cs_nav_list .cs_mega_wrapper {
width: 100% !important;
}
.cs_site_header_full_width .container {
padding: 0 15px;
}
.cs_munu_dropdown_toggle {
position: absolute;
height: 40px;
width: 100%;
top: 0;
left: 0px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 23px 18px;
cursor: pointer;
z-index: 3;
span {
display: block;
position: relative;
height: 10px;
width: 10px;
&:before,
&:after {
content: "";
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
height: 2px;
width: 10px;
background-color: currentColor;
transition: all 0.3s ease;
}
&:before {
transform: translate(-50%, -50%) rotate(90deg);
}
}
&.active {
span {
&:before {
transform: translate(-50%, -50%) rotate(0deg);
}
}
}
}
.menu-item-has-children {
.menu-item-has-children {
.cs_munu_dropdown_toggle {
padding: 20px 18px;
}
}
}
.cs_site_branding {
position: relative;
z-index: 101;
}
.cs_nav {
.cs_nav_list_wrap {
position: fixed;
top: 0;
width: 100vw;
height: 100vh;
left: -100vw;
background-color: #fff;
color: var(--primary);
padding-top: 80px;
line-height: 1.6em;
transition: all 0.4s ease;
&.cs_active {
left: 0vw;
}
}
.cs_nav_list {
padding: 10px 0;
overflow: auto;
height: 100%;
ul {
padding-left: 15px;
display: none;
}
a {
display: block;
padding: 12px 15px;
line-height: 16px;
}
> li {
> a {
font-size: 18px;
line-height: 22px;
}
}
}
.menu-item-has-children {
position: relative;
}
}
.cs_nav .cs_nav_list .cs_munu_dropdown_toggle.active + ul {
display: block;
}
.cs_animo_links > li > a {
.cs_animo_text {
text-shadow: 0 32px 0 currentColor;
}
&:hover span {
transform: translateY(-32px);
}
}
/*Mobile Menu Button*/
.cs_menu_toggle {
display: inline-block;
width: 26px;
height: 24px;
cursor: pointer;
position: absolute;
top: 27px;
right: 30px;
span,
span:before,
span:after {
width: 100%;
height: 2px;
background-color: currentColor;
display: block;
}
span {
margin: 0 auto;
position: relative;
top: 11px;
transition-duration: 0s;
transition-delay: 0.2s;
&:before {
content: "";
position: absolute;
margin-top: -8px;
transition-property: margin, transform;
transition-duration: 0.2s;
transition-delay: 0.2s, 0s;
}
&:after {
content: "";
position: absolute;
margin-top: 8px;
transition-property: margin, transform;
transition-duration: 0.2s;
transition-delay: 0.2s, 0s;
}
}
}
.cs_site_header.cs_style_1.cs_color_1 {
.cs_nav_list_wrap {
background-color: var(--primary);
color: #fff;
}
.cs_menu_toggle {
color: #fff;
}
}
.cs_site_header.cs_style_1 .cs_menu_toggle {
top: 50%;
right: 0px;
margin-top: -12px;
}
.cs_toggle_active {
span {
background-color: rgba(0, 0, 0, 0);
transition-delay: 0.2s;
&:before {
margin-top: 0;
transform: rotate(45deg);
transition-delay: 0s, 0.2s;
}
&:after {
margin-top: 0;
transform: rotate(-45deg);
transition-delay: 0s, 0.2s;
}
}
}
.cs_nav .cs_nav_list a {
position: relative;
}
.cs_site_header.cs_style_1 .cs_main_header_in {
height: 80px;
}
.cs_site_header .current-menu-item > a:before {
display: none;
}
.cs_site_header.cs_style_1 .cs_main_header_center {
.cs_site_branding {
position: absolute;
left: 0px;
top: 50%;
transform: translateY(-50%);
}
}
.cs_site_header.cs_style_1 {
top: 0;
}
.cs_has_main_nav {
display: none;
}
.cs_site_header.cs_style_2 {
.cs_main_header_right {
padding-right: 0;
}
.cs_main_header_center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
}
.cs_nav .cs_nav_list img {
display: none;
}
}
@media screen and (max-width: 991px) {
.cs_site_header .container {
max-width: 100%;
}
.cs_site_header.cs_style_1 {
.cs_action_box > *:not(:last-child) {
margin-right: 25px;
}
}
}
@media screen and (max-width: 767px) {
.cs_site_header.cs_style_2 {
.cs_main_header_center {
right: 0px;
left: initial;
transform: translate(0%, -50%);
}
.cs_btn.cs_style_1 {
display: none;
}
}
.cs_site_header {
.cs_btn.cs_style_1 {
display: none;
}
}
}
@media screen and (max-width: 575px) {
.cs_site-branding {
max-width: 150px;
}
}
.cs_site_header.cs_style_2.cs_color_1.cs_gescout_sticky {
.cs_btn.cs_style_1 {
background-color: var(--white);
color: var(--primary);
&:hover {
background-color: var(--accent);
color: var(--white);
}
}
}
/* Start Hamburger Menu */
.cs_hamburger_active {
overflow: hidden;
}
.cs_hamburger_overlay {
position: fixed;
left: 0;
top: 0;
height: 100vh;
width: 100vw;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.5);
opacity: 0;
visibility: hidden;
cursor: zoom-out;
transition: all 0.3s ease;
&.active {
opacity: 1;
visibility: visible;
}
}
.cs_close_hamburger {
border: none;
outline: none;
background-color: transparent;
position: fixed;
padding: 0;
top: 40px;
transition: all 0.4s ease;
opacity: 0;
visibility: hidden;
transform: scale(0);
&:hover {
opacity: 0.65;
}
}
.cs_hamburger_header {
position: fixed;
top: 0;
max-width: 500px;
width: 100%;
height: 100vh;
background-color: var(--primary);
z-index: 1001;
padding: 0px 60px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: all 0.4s ease;
opacity: 0;
visibility: hidden;
@media (max-width: 575px) {
padding: 0px 40px;
max-width: 340px;
}
&.active {
opacity: 1;
visibility: visible;
.cs_close_hamburger {
opacity: 1;
visibility: visible;
transform: scale(1);
}
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.menu-item-has-children {
ul {
display: none;
}
}
.cs_nav_list {
ul {
padding-left: 15px;
}
li {
position: relative;
&:hover {
> .cs_munu_dropdown_toggle {
opacity: 1;
visibility: visible;
}
}
}
> li {
&:not(:last-child) {
margin-bottom: 30px;
}
> a {
font-size: 30px;
display: block;
line-height: 1.2em;
font-weight: 400;
text-transform: uppercase;
}
ul {
font-size: 18px;
line-height: 1.6em;
font-family: var(--secondary-font);
padding-top: 5px;
.cs_munu_dropdown_toggle {
padding: 5px;
top: 12px;
left: -20px;
@media (max-width: 1199px) {
top: 0;
}
}
ul {
font-size: 16px;
}
a {
display: block;
padding: 4px 0;
}
}
}
}
.cs_munu_dropdown_toggle {
display: block;
padding: 7px;
position: absolute;
top: 10px;
left: -25px;
transition: all 0.3s ease;
opacity: 0;
visibility: hidden;
z-index: 3;
@media (min-width: 1200px) {
span {
position: absolute;
height: 36px;
width: 370px;
left: 25px;
top: -10px;
cursor: pointer;
@media (max-width: 575px) {
width: 250px;
}
}
}
@media (max-width: 1199px) {
top: 0px;
display: flex;
justify-content: flex-start;
height: 36px;
opacity: 1;
visibility: visible;
&::before,
&::after {
display: none;
}
}
&::before,
&::after {
content: "";
height: 2px;
width: 100%;
background-color: var(--white);
position: absolute;
top: 50%;
left: 0;
margin-top: -1px;
transition: all 0.3s ease;
}
&::before {
transform: rotate(90deg);
}
&.active {
&::before {
transform: rotate(0deg);
}
+ ul {
display: block;
}
}
}
&.cs_start_left {
left: -500px;
border-right: 10px solid var(--accent);
.cs_close_hamburger {
left: 405px;
@media (max-width: 575px) {
left: 274px;
}
}
&.active {
left: 0;
}
}
&.cs_start_right {
right: -500px;
border-left: 10px solid var(--accent);
.cs_close_hamburger {
right: 60px;
@media (max-width: 575px) {
right: 40px;
}
}
&.active {
right: 0;
}
}
}
.cs_hamburger_brand {
padding: 40px 0;
}
.cs_hamburger_menu {
overflow: auto;
padding-left: 30px;
margin-left: -30px;
.cs_mega_wrapper.cs_with_thumb {
img {
display: none;
}
}
}
.cs_hamburger_footer {
color: var(--white);
padding: 45px 0 55px;
border-top: 1px solid var(--secondary);
margin-top: 40px;
h3 {
font-size: 24px;
font-weight: 400;
color: var(--white);
margin-bottom: 8px;
}
}
.cs_hamburger_footer {
padding: 25px 0;
}
/* End Hamburger Menu */
.cs_site_header.cs_style_1.cs_primary_color.cs_sticky_header.cs_white_bg + .cs_side_header + .cs_page_heading.cs_style_1,
.cs_site_header.cs_style_1.cs_primary_color.cs_sticky_header.cs_white_bg + .cs_page_heading.cs_style_1 {
margin-top: 100px;
@media (max-width: 1199px) {
margin-top: 80px;
}
}
.cs_main_header_right .cs_toolbox .cart-counter {
position: relative;
display: flex;
}
.cs_main_header_right .cs_toolbox .cart-counter span {
position: absolute;
top: -4px;
left: 12px;
background-color: var(--accent);
color: #ffffff;
border-radius: 50%;
min-width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
padding: 0 3px;
}
.cart-counter > svg {
height: 20px;
width: 20px;
}
.cs_header_user_dropdown {
position: absolute;
top: 100%;
right: 0;
background-color: #fff;
border-radius: 0 0 7px 7px;
transition: all 0.3s ease;
width: 250px;
margin-top: 11px;
border-top: 2px solid var(--accent);
box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
overflow: hidden;
@media (max-width: 350px) {
width: calc(100vw - 24px);
position: fixed;
top: 60px;
left: 12px;
}
}
// .cs_header_user_btn {
// height: 36px;
// width: 36px;
// border-radius: 50%;
// cursor: pointer;
// img {
// height: 100%;
// width: 100%;
// object-fit: cover;
// border-radius: inherit;
// }
// }
.cs_main_header_left {
.cs_header_user_dropdown {
right: initial;
left: 0;
}
.cs_hamburger_btn {
margin-right: -14px;
}
}
.cs_header_user_info {
text-align: center;
padding: 20px 10px 15px 10px;
border-bottom: 1px solid var(--border);
img {
height: 60px;
width: 60px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 10px;
}
h4 {
font-size: 21px;
margin-bottom: 2px;
font-weight: 400;
}
p {
font-size: 14px;
line-height: 1.5em;
margin: 0;
}
}
.cs_header_user_list {
li {
&:not(:last-child) {
border-bottom: 1px solid var(--border);
}
}
a {
display: block;
padding: 8px 20px;
&:hover {
color: var(--accent);
background-color: var(--gray);
}
}
}
Directory Contents
Dirs: 0 × Files: 9