This commit is contained in:
Laux Dev
2026-03-25 10:17:10 +08:00
parent 395de5ef88
commit 18524971f8
5 changed files with 42 additions and 42 deletions

View File

@@ -65,7 +65,6 @@
color: #fff; color: #fff;
color: color(display-p3 1 1 1); color: color(display-p3 1 1 1);
font-size: 0.94rem; font-size: 0.94rem;
font-style: normal;
font-weight: 500; font-weight: 500;
line-height: 18px; line-height: 18px;
} }
@@ -73,9 +72,6 @@
color: #85869b; color: #85869b;
color: color(display-p3 0.5216 0.5255 0.6); color: color(display-p3 0.5216 0.5255 0.6);
font-size: 0.63rem; font-size: 0.63rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.05px; letter-spacing: 0.05px;
align-self: stretch; align-self: stretch;
} }
@@ -91,11 +87,7 @@
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
gap: 16px; gap: 16px;
font-family: Inter;
font-size: 1rem; font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: normal;
border-left: 2px solid #959aff00; border-left: 2px solid #959aff00;
align-self: stretch; align-self: stretch;
} }
@@ -112,11 +104,7 @@
border-left: 2px solid #959aff; border-left: 2px solid #959aff;
background: rgba(149, 154, 255, 0.05); background: rgba(149, 154, 255, 0.05);
color: #959aff; color: #959aff;
font-family: Inter;
font-size: 1rem; font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: normal;
} }
.active:hover path { .active:hover path {
stroke: #969af9; stroke: #969af9;
@@ -153,11 +141,8 @@
} }
.navFooterContainer > div > div > p { .navFooterContainer > div > div > p {
color: #d2d3e1; color: #d2d3e1;
font-family: Inter;
font-size: 1rem; font-size: 1rem;
font-style: normal;
font-weight: 500; font-weight: 500;
line-height: normal;
} }
.collapsed { .collapsed {
width: 80px; width: 80px;

View File

@@ -98,6 +98,9 @@
letter-spacing: 0.16px; letter-spacing: 0.16px;
outline: none; outline: none;
} }
.textarea::placeholder {
color: #85869b;
}
.textarea:focus { .textarea:focus {
border-radius: 6px; border-radius: 6px;
border: 1px solid #959aff; border: 1px solid #959aff;

View File

@@ -129,6 +129,9 @@
letter-spacing: 0.16px; letter-spacing: 0.16px;
outline: none; outline: none;
} }
.textarea::placeholder {
color: #85869b;
}
.textarea:focus { .textarea:focus {
border-radius: 6px; border-radius: 6px;
border: 1px solid #959aff; border: 1px solid #959aff;

View File

@@ -111,10 +111,11 @@ const AddProject = () => {
"services-drop-down", "services-drop-down",
]} ]}
/> />
{isMobile ? (
<div className={styles.cardContainer}> <div className={styles.cardContainer}>
<MobileSearchBar /> <MobileSearchBar />
{sampleData.map((data, key) => ( {isMobile &&
sampleData.map((data, key) => (
<Card <Card
data={data} data={data}
key={key} key={key}
@@ -122,7 +123,7 @@ const AddProject = () => {
/> />
))} ))}
</div> </div>
) : (
<div className={styles.tableContainer}> <div className={styles.tableContainer}>
<table className={styles.table}> <table className={styles.table}>
<thead> <thead>
@@ -138,7 +139,8 @@ const AddProject = () => {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{sampleData.map((services, index) => { {!isMobile &&
sampleData.map((services, index) => {
return ( return (
<tr <tr
key={index} key={index}
@@ -383,7 +385,6 @@ const AddProject = () => {
</tbody> </tbody>
</table> </table>
</div> </div>
)}
</div> </div>
</div> </div>
</div> </div>

View File

@@ -188,7 +188,7 @@
opacity: 1; opacity: 1;
} }
.cardContainer { .cardContainer {
display: flex; display: none;
padding: 0 16px; padding: 0 16px;
padding-bottom: 50px; padding-bottom: 50px;
height: calc(100vh - 170px); height: calc(100vh - 170px);
@@ -198,3 +198,11 @@
align-self: stretch; align-self: stretch;
overflow: auto; overflow: auto;
} }
@media (max-width: 768px) {
.cardContainer {
display: flex;
}
.tableContainer {
display: none;
}
}