pipicar/resources/assets/sass/components/navbar.scss

105 lines
2.7 KiB
SCSS

.navbar-platform{
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1001;
background-color: $primary-color;
height: 50px;
border-bottom: 1px solid $border-color;
display: flex;
align-items: center;
justify-content: space-between;
.menu-trigger{
cursor: pointer;
border: 1px solid transparent;
color: #fff;
width: 50px;
height: 50px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 20px;
transition: 0.15s all ease;
&:hover{
background-color: rgba(51,71,99,0.2);
}
}
.logo{
width: 150px;
height: auto;
margin-left: 10px;
margin-top: -7px;
}
.item-nav{
color: #fff;
text-decoration: none;
height: 49px;
padding: 0 20px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.15s all ease;
i{
font-size: 18px;
margin-right: 5px;
}
&:hover{
background-color: #0b64bf;
}
}
.item-nav-lang{
.dropdown-trigger{
text-transform: uppercase;
color: #fff;
text-decoration: none;
height: 49px;
padding: 0 20px;
display: flex;
align-items: center;
cursor: pointer;
justify-content: center;
transition: 0.15s all ease;
&.show{
background-color: #0b64bf;
}
i{
font-size: 18px;
margin-right: 5px;
}
&:hover{
background-color: #0b64bf;
}
}
.dropdown-menu{
box-shadow: 0 2px 4px rgb(0 0 0 / 15%), 0 0 2px rgb(0 0 0 / 12%);
border: none;
background-color: $primary-color;
padding: 0;
min-width: 82px;
border-radius: 0 0 6px 6px;
top: -2px!important;
overflow: hidden;
.dropdown-item{
color: #fff;
position: relative;
height: 35px;
padding: 0 10px;
display: inline-flex;
align-items: center;
justify-content: center;
&:hover{
background-color: #0b64bf;
color: #fff;
}
span{
font-weight: 400!important;
position: relative;
left: 12px;
font-size: 14px;
}
}
}
}
}