Quiz_dashboard/src/Styles/Layout/NavBar.scss
2024-09-16 09:36:37 +03:00

128 lines
2.2 KiB
SCSS

.NavBar {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: var(--navBarHeight);
// gap: 30px;
z-index: 4;
// margin-top: 3vh;
// margin-bottom: 3vh;
padding-inline: var(--layoutPadding);
background: var(--primary);
.navbar_link {
display: flex;
flex-direction: column !important;
align-items: center;
gap: 10px;
color: var(--white);
font-size: 1vw;
}
.header_profile {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
color: var(--white);
// transform: translateY(-15px);
> span {
display: flex;
flex-direction: column;
align-items: flex-end;
}
img {
width: 40px;
height: 40px;
cursor: pointer;
}
h6 {
font-size: 0.8vw;
font-weight: 300;
}
p {
font-size: 0.7vw;
font-weight: 300;
}
}
article {
display: flex;
gap: 1vw;
.header_icons {
display: flex;
gap: 1vw;
> div {
svg {
font-size: 26px;
color: #fff;
}
@include Flex;
width: 40px;
height: 40px;
border: 2px solid var(--borderColor);
border-radius: 10px;
cursor: pointer;
img {
width: 1.5vw;
}
}
}
}
.header_search {
.SearchField {
background-color: #e1ecf8;
border-radius: 10px;
.search__input {
background-color: #e1ecf8;
}
.search__input:focus {
outline: none;
}
.search__input::-webkit-input-placeholder {
font-weight: 100;
color: #ccc;
}
.search__input:focus + .search__button {
background-color: #e1ecf8;
}
.search__button {
border: none;
background-color: #e1ecf8;
margin-top: 0.1em;
}
}
}
}
.header_search {
display: flex;
gap: 20px;
.NavBarSelect {
.ant-select-selector {
background-color: #deeaf5;
height: 3vw;
}
}
}
.NotificationsIcon {
position: relative;
&::after {
position: absolute;
top: 20%;
left: 20%;
content: "";
background: #e93553;
width: 7px;
height: 7px;
border-radius: 50%;
box-shadow: 0px 0px 10px white;
}
}