191 lines
5.3 KiB
SCSS
191 lines
5.3 KiB
SCSS
.navbar {
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding-bottom: 0;
|
|
padding-top: 0;
|
|
z-index: 1002;
|
|
background-color: white;
|
|
transition: .3s all ease;
|
|
box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
|
|
.nav-container {
|
|
display: flex;
|
|
flex-wrap: inherit;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
.left-cont {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
align-items: center;
|
|
.bi.bi-list {
|
|
margin-right: 2rem;
|
|
font-size: 1.5rem;
|
|
transition: 0.15s all ease;
|
|
&:hover {
|
|
color: $primary-color;
|
|
}
|
|
&:active {
|
|
|
|
}
|
|
}
|
|
.navbar-brand {
|
|
background-color: transparent !important;
|
|
box-shadow: none !important;
|
|
padding: 0;
|
|
|
|
img {
|
|
width: 170px;
|
|
}
|
|
}
|
|
|
|
.item-nav.lang {
|
|
justify-content: center;
|
|
display: flex;
|
|
align-items: center;
|
|
img {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0 8px;
|
|
}
|
|
.dropdown-trigger {
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
height: 49px;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
justify-content: center;
|
|
transition: 0.15s all ease;
|
|
font-size: 1rem;
|
|
|
|
&:hover {
|
|
color: $primary-color;
|
|
}
|
|
|
|
}
|
|
.dropdown-trigger::after {
|
|
display: inline-block;
|
|
margin-left: .255em;
|
|
vertical-align: .255em;
|
|
content: "";
|
|
border-top: .3em solid;
|
|
border-right: .3em solid transparent;
|
|
border-bottom: 0;
|
|
border-left: .3em solid transparent;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
display: none;
|
|
min-width: 10rem;
|
|
padding: .5rem 0;
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
color: #212529;
|
|
text-align: left;
|
|
list-style: none;
|
|
background-color: #fff;
|
|
background-clip: padding-box;
|
|
border: 1px solid rgba(0, 0, 0, .15);
|
|
border-radius: .25rem;
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding: 5px 10px 5px 17px;
|
|
display: flex;
|
|
align-items: center;
|
|
color: $gray-color;
|
|
font-weight: 700;
|
|
transition: 0.15s all ease;
|
|
&:hover {
|
|
background-color: #01b0e836;
|
|
color: $text-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.header-phone {
|
|
font-size: 16px;
|
|
color: #01b0e8;
|
|
display: inline-block;
|
|
font-weight: 700;
|
|
margin-left: 10px;
|
|
text-decoration: none;
|
|
i {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
.center-cont {
|
|
.dropdown {
|
|
border: none;
|
|
.dropdown-toggle::after {
|
|
vertical-align: middle;
|
|
}
|
|
& > a {
|
|
display: inline-block;
|
|
color: $primary-color;
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
.right-cont {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
align-items: center;
|
|
column-gap: 2rem;
|
|
.item-nav.user,
|
|
{
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
color: $text-color;
|
|
}
|
|
.item-nav.logout {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1400px) {
|
|
.navbar .nav-container .left-cont .navbar-brand img {
|
|
width: 140px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 991px) and (max-width: 1200px) {
|
|
.navbar .nav-item {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.header-phone {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.navbar .nav-container .left-cont .navbar-brand img{
|
|
width: 120px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.navbar .nav-container {
|
|
max-width: 960px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1400px) {
|
|
.navbar .nav-container{
|
|
max-width: 1320px;
|
|
}
|
|
}
|