first commit
This commit is contained in:
208
public/assets/scss/sections/_header.scss
Normal file
208
public/assets/scss/sections/_header.scss
Normal file
@@ -0,0 +1,208 @@
|
||||
|
||||
/* Main Menu Area Start */
|
||||
.side-menu-wrapper{
|
||||
.menu-toogle-icon{
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
text-align: center;
|
||||
margin-right: 0px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
top: 20px;
|
||||
background: $base-color;
|
||||
z-index: 8;
|
||||
display: none;
|
||||
box-shadow: $box-shadow;
|
||||
/* Button CSS Area End */
|
||||
#nav-icon3{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0px 10px;
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
-webkit-transition: .5s ease-in-out;
|
||||
-moz-transition: .5s ease-in-out;
|
||||
-o-transition: .5s ease-in-out;
|
||||
transition: .5s ease-in-out;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#nav-icon3 span {
|
||||
display: block;
|
||||
height: 2px;
|
||||
width: 45%;
|
||||
left: 13px;
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
border-radius: 9px;
|
||||
opacity: 1;
|
||||
-webkit-transform: rotate(0deg);
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
-webkit-transition: .25s ease-in-out;
|
||||
-moz-transition: .25s ease-in-out;
|
||||
-o-transition: .25s ease-in-out;
|
||||
transition: .25s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
/* Icon 3 */
|
||||
|
||||
#nav-icon3 span:nth-child(1) {
|
||||
top: 17px;
|
||||
}
|
||||
|
||||
#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
|
||||
top: 22px;
|
||||
}
|
||||
|
||||
#nav-icon3 span:nth-child(4) {
|
||||
top: 27px;
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(1) {
|
||||
top: 27px;
|
||||
width: 0%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(2) {
|
||||
-webkit-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-o-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(3) {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-o-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(4) {
|
||||
top: 27px;
|
||||
width: 0%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.side-menu{
|
||||
width: 250px;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 99;
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.1);
|
||||
.heading-area{
|
||||
text-align: center;
|
||||
padding-top: 30px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
padding-bottom: 22px;
|
||||
margin-bottom: 30px;
|
||||
// background: $base-color;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
&::after{
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 300%;
|
||||
transform: rotate(58deg);
|
||||
top: -135%;
|
||||
left: -80%;
|
||||
background: #7280ff;
|
||||
z-index: -1;
|
||||
}
|
||||
&::before{
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 300%;
|
||||
transform: rotate(-58deg);
|
||||
top: -135%;
|
||||
right: -80%;
|
||||
background: #7280ff;
|
||||
z-index: -1;
|
||||
}
|
||||
img{
|
||||
width: 130px;
|
||||
height: 130px;
|
||||
border-radius: 50%;
|
||||
border: 5px solid $base-color;
|
||||
box-shadow: 0px 2px 15px 0px rgba(0,0,0,.075);
|
||||
}
|
||||
.name{
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: $heading-color;
|
||||
margin-top: 13px;
|
||||
font-family: $heading-font;
|
||||
}
|
||||
}
|
||||
|
||||
#mainmenu-area{
|
||||
li{
|
||||
padding: 0px 15px;
|
||||
margin-bottom: 15px;
|
||||
a{
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
padding: 0px 20px 0px 50px;
|
||||
display: block;
|
||||
transition: $transition;
|
||||
i{
|
||||
font-size: 18px;
|
||||
margin-right: 10px;
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: $base-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.current,
|
||||
&:hover
|
||||
{
|
||||
a{
|
||||
color: $base-color;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.copyright-text{
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
padding: 0px 20px;
|
||||
p{
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
color: $body-color;
|
||||
|
||||
}
|
||||
a{
|
||||
font-weight: 600;
|
||||
color: $body-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Main Menu Area End */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user