Files
Frontend-Internal-Developer…/frontend/src/app/components/header/styles.module.css
2026-02-24 21:04:35 +08:00

304 lines
5.8 KiB
CSS

.mainContainer {
display: flex;
height: 84px;
padding: 12px 24px;
justify-content: space-between;
align-items: center;
align-self: stretch;
border-bottom: 1px solid #2c2d3d;
border-bottom: 1px solid color(display-p3 0.1725 0.1765 0.2353);
}
.organizationContainer {
display: flex;
align-items: center;
}
.orgContainer {
display: flex;
padding: 6px;
align-items: center;
gap: 16px;
border-radius: 4px;
}
.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;
}
.orgName > p {
color: #eeeffd;
color: color(display-p3 0.9333 0.9373 0.9882);
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;
}
.dropdownBtn > p {
color: #85869b;
color: color(display-p3 0.5216 0.5255 0.6);
font-family: Inter;
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.dropdownBtn > div {
display: inline-flex;
padding: 8px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 100px;
border: 1px solid #b8badc00;
}
.dropdownBtn > div:hover {
border: 1px solid #b8badc;
background: linear-gradient(
180deg,
rgba(149, 154, 255, 0.25) 0%,
rgba(88, 91, 151, 0.25) 100%
);
}
/* Dropdown */
.dropdown {
display: inline-flex;
padding: 16px;
flex-direction: column;
align-items: flex-start;
gap: 12px;
border-radius: 6px;
background: #2d3143;
background: color(display-p3 0.1804 0.1922 0.2588);
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 15px 0 color(display-p3 0 0 0 / 0.25);
position: absolute;
top: 100%;
margin-top: 8px;
left: 0;
}
.orgSearchContainer {
display: flex;
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;
background: color(display-p3 0.1593 0.1702 0.2316);
}
.placeholderTxt {
flex: 1;
background: transparent;
border: none;
outline: none;
font-family: Inter;
font-size: 16px;
}
.placeholderTxt::placeholder {
color: #85869b;
color: color(display-p3 0.5216 0.5255 0.6);
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.08px;
}
.optionsContainer {
display: flex;
width: 318px;
flex-direction: column;
align-items: flex-start;
}
.orgList:hover {
border-radius: 4px;
background: #3c4159;
background: color(display-p3 0.2398 0.2548 0.3399);
}
.orgList {
display: flex;
padding: 6px;
align-items: center;
gap: 10px;
align-self: stretch;
border-radius: 4px;
}
.iconTxt {
display: flex;
align-items: center;
gap: 12px;
}
.iconTxt > svg {
opacity: 0;
}
.active > svg {
opacity: 1;
}
.iconTxt > p {
color: #d2d3e1;
color: color(display-p3 0.8235 0.8275 0.8784);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
/* Profile */
.profileContainer {
display: flex;
height: 44px;
flex-direction: column;
align-items: flex-end;
}
.profileBadge {
display: flex;
padding: 6px 0 6px 8px;
justify-content: flex-end;
align-items: center;
gap: 10px;
}
.nameRole {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 6px;
}
.userName {
align-self: stretch;
color: #d2d3e1;
color: color(display-p3 0.8235 0.8275 0.8784);
text-align: right;
leading-trim: both;
text-edge: cap;
font-family: Inter;
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: 30px; /* 200% */
letter-spacing: -0.15px;
}
.userRole {
align-self: stretch;
color: #85869b;
color: color(display-p3 0.5216 0.5255 0.6);
text-align: right;
leading-trim: both;
text-edge: cap;
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 30px; /* 230.769% */
letter-spacing: -0.26px;
}
.userImgContainer {
display: flex;
align-items: center;
gap: 5px;
}
.userPic {
width: 32px;
height: 32px;
aspect-ratio: 1/1;
border-radius: 32px;
background: url(/PROFILE.svg) lightgray 50% / cover no-repeat;
}