done roles layout

This commit is contained in:
2026-02-25 15:20:26 +08:00
parent dd0f0f377d
commit 8c5d3ef6c9
4 changed files with 222 additions and 2 deletions

View File

@@ -0,0 +1,91 @@
.tableContainer {
width: 100%;
}
/* Table */
.table {
width: 100%;
border-collapse: collapse;
}
/* Targets whole header */
.tableHeader {
background: #1c1d2b;
border-bottom: 1px solid #212235;
}
/* Targets individual header */
.tableHeader th {
align-items: center;
gap: 24px;
padding: 12px 24px;
text-align: left;
color: #85869b;
color: color(display-p3 0.5216 0.5255 0.6);
font-family: Inter;
font-size: 13px;
font-style: normal;
flex: 1 0 0;
font-weight: 500;
line-height: normal;
}
/* Targets individual body */
.tableBody td {
padding: 12px 24px;
color: #eeeffd;
color: color(display-p3 0.9333 0.9373 0.9882);
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.tableBody tr {
border-bottom: 1px solid rgba(129, 135, 255, 0);
}
.tableBody tr:hover {
border-bottom: 1px solid rgba(129, 135, 255, 0.25);
border-bottom: 1px solid color(display-p3 0.5098 0.5294 1 / 0.25);
background: rgba(129, 135, 255, 0.05);
background: color(display-p3 0.5098 0.5294 1 / 0.05);
}
.tableActions {
display: flex;
width: 100px;
justify-content: center;
align-items: center;
gap: 12px;
align-self: stretch;
}
.viewBtn,
.deleteBtn {
display: flex;
padding: 6px;
flex-direction: column;
justify-content: center;
align-items: center;
aspect-ratio: 1/1;
border-radius: 100px;
color: #969af9;
border: none;
border: 1px solid transparent;
background: transparent;
outline: none;
cursor: pointer;
}
.viewBtn:hover,
.deleteBtn:hover {
border-radius: 100px;
color: #fff;
color: color(display-p3 1 1 1);
border: 1px solid #959aff;
border: 1px solid color(display-p3 0.5892 0.6031 0.9766);
background: linear-gradient(180deg, #696b95 0%, #20202d 100%);
background: linear-gradient(
180deg,
color(display-p3 0.4118 0.4196 0.5725) 0%,
color(display-p3 0.1241 0.1265 0.1725) 100%
);
}