Files
Frontend-Internal-Developer…/frontend/src/app/components/navbar/navleft/styles.module.css
Laux Dev a220230d0b add
2026-03-17 17:02:41 +08:00

308 lines
5.3 KiB
CSS

/* Organization Header and Dropdown*/
.organizationContainer {
display: flex;
align-items: center;
}
.orgContainer {
display: flex;
padding: 6px;
align-items: center;
gap: 16px;
border-radius: 4px;
align-self: stretch;
}
.orgLogo {
width: 38px;
height: 38px;
aspect-ratio: 1/1;
border-radius: 100px;
background:
url(/images/logo.png) lightgray 50% / cover no-repeat,
#232537;
background:
url(/images/logo.png) lightgray 50% / cover no-repeat,
color(display-p3 0.1392 0.1443 0.2106);
}
.orgName {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
.orgNameText {
color: #eeeffd;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.dropdownContainer {
/* width: 201px;
height: 28px; */
cursor: pointer;
position: relative;
}
.dropdownBtn {
display: inline-flex;
align-items: center;
gap: 16px;
}
.projectName {
color: #85869b;
font-family: Inter;
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.arrowIcon {
display: inline-flex;
padding: 8px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 100px;
border: 1px solid #b8badc00;
transition: transform 0.3s ease;
}
.arrowRotate {
transform: rotate(180deg);
}
.arrowIcon:hover {
border: 1px solid #b8badc;
background: linear-gradient(
180deg,
rgba(149, 154, 255, 0.25) 0%,
rgba(88, 91, 151, 0.25) 100%
);
}
.dropdown {
display: inline-flex;
padding: 16px;
flex-direction: column;
align-items: flex-start;
gap: 12px;
border-radius: 6px;
background: #2d3143;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);
position: absolute;
z-index: 4;
top: 100%;
margin-top: 8px;
left: 0;
animation-name: dropDownAnimation;
animation-duration: 200ms;
}
@keyframes dropDownAnimation {
0% {
opacity: 0;
transform: translateY(-10%);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.orgSearchContainer {
display: flex;
width: 100%;
min-width: 318px;
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
.createBtnContainer {
display: flex;
justify-content: space-between;
align-items: center;
align-self: stretch;
}
.createBtnContainer > p {
color: #a3a7c6;
color: color(display-p3 0.6425 0.6544 0.7649);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.createBtn {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
}
.createBtn > p {
color: #8187ff;
color: color(display-p3 0.5098 0.5294 1);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.createBtn:hover > p {
color: #9ba0ff;
color: color(display-p3 0.6127 0.6282 1);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-decoration-line: underline;
text-decoration-style: dotted;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}
.createBtn:hover > svg path {
stroke: #9ba0ff;
stroke-width: 1.5px;
stroke: color(display-p3 0.6127 0.6282 1);
}
.srchInputContainer {
display: flex;
align-items: center;
gap: 10px;
align-self: stretch;
}
.srchInputGroup {
display: flex;
padding: 8px 12px;
align-items: center;
gap: 9px;
flex: 1 0 0;
border-radius: 4px;
background: #282c3c;
}
.placeholderTxt {
flex: 1;
background: transparent;
border: none;
outline: none;
font-family: Inter;
font-size: 16px;
}
.placeholderTxt::placeholder {
color: #85869b;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.08px;
}
.optionsContainer {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.orgList:hover {
border-radius: 4px;
background: #3c4159;
color: #acb0ff;
}
.orgList {
display: flex;
padding: 6px;
align-items: center;
gap: 10px;
align-self: stretch;
border-radius: 4px;
}
.orgList:hover .iconTxt p {
color: #acb0ff;
}
.iconTxt {
display: flex;
align-items: center;
gap: 12px;
}
.iconTxt > svg {
opacity: 0;
}
.active > svg {
opacity: 1;
}
.iconTxt > p {
color: #d2d3e1;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
/* Mobile */
@media (max-width: 768px) {
.dropdown {
display: flex;
background: linear-gradient(0deg, #2d3143 0%, #191a24 100%);
border-radius: 0;
position: fixed;
top: 90px;
left: 0;
width: 100%;
margin-top: 0;
box-shadow: none;
}
.orgSearchContainer {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
align-self: stretch;
}
.createBtnContainer {
padding: 8px 0;
}
.createBtnContainer > p {
font-size: 16px;
}
.createBtn {
gap: 8px;
}
.createBtn > p {
font-size: 16px;
}
.srchInputGroup {
display: flex;
width: 358px;
height: 38px;
padding: 10px 12px;
border-radius: 6px;
}
.optionsContainer {
align-self: stretch;
}
.iconTxt > p {
font-size: 16px;
font-weight: 400;
}
.orgNameText {
color: #85869b;
}
.orgNameActive {
color: #eeeffd;
}
.projectNameActive {
color: #959aff;
}
}