api code global jain
This commit is contained in:
160
public/css/frontend/header.css
vendored
Normal file
160
public/css/frontend/header.css
vendored
Normal file
@@ -0,0 +1,160 @@
|
||||
.site-header {
|
||||
border-bottom: 10px solid #475eab;
|
||||
padding: 27px 0 19px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.site-header .header-logo {
|
||||
position: relative;
|
||||
top: -8px;
|
||||
}
|
||||
|
||||
.site-header .header-right>button,
|
||||
.site-header .header-right>a {
|
||||
width: 140px;
|
||||
padding: 5px 10px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.site-header .hamburg-menu {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-header .hamburg-menu .hamburg-menu-item {
|
||||
width: 28px;
|
||||
height: 3px;
|
||||
margin-bottom: 5px;
|
||||
transition: all 0.5s;
|
||||
position: relative;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
.site-header .profile-image {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 1399px) {
|
||||
.site-header .container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.site-header .header-right>button {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.site-header .header-logo {
|
||||
margin-right: 35px !important;
|
||||
}
|
||||
|
||||
.site-header .header-nav .nav-item {
|
||||
margin-right: 15px !important;
|
||||
}
|
||||
|
||||
.site-header .header-right>button,
|
||||
.site-header .header-right>a {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
|
||||
.header-nav .nav-item:hover a,
|
||||
.header-nav .nav-item.active a {
|
||||
color: #475eab;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.site-header {
|
||||
padding: 15px 0 10px;
|
||||
border-bottom-width: 5px;
|
||||
}
|
||||
|
||||
.site-header .header-logo {
|
||||
width: 120px;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
.site-header .header-left {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.site-header .header-nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(to top,
|
||||
rgba(72, 94, 171, 0.95),
|
||||
rgba(0, 182, 240, 0.95));
|
||||
padding: 100px 0;
|
||||
align-items: center !important;
|
||||
flex-direction: column;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.5s;
|
||||
overflow: auto;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.menu-open .site-header .header-nav {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.menu-open .site-header .hamburg-menu .hamburg-menu-item {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.menu-open .site-header .hamburg-menu .hamburg-menu-item:first-child {
|
||||
transform: rotate(45deg);
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.menu-open .site-header .hamburg-menu .hamburg-menu-item:nth-child(2) {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.menu-open .site-header .hamburg-menu .hamburg-menu-item:last-child {
|
||||
transform: rotate(-45deg);
|
||||
top: -7px;
|
||||
}
|
||||
|
||||
.site-header .header-nav .nav-item:not(:last-child) {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.site-header .header-nav .nav-item a,
|
||||
.site-header .header-nav .nav-item button {
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.site-header .header-nav .nav-item button,
|
||||
.site-header .header-nav .nav-item .action-btn {
|
||||
width: 150px;
|
||||
margin: 0 !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.site-header .header-nav {
|
||||
padding: 50px 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user