feat(back-end and front-end): back-office
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
.admin-dashboard {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.dashboard-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.dashboard-header h1 {
|
||||
margin: 0;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.dashboard-header p {
|
||||
margin: 0.35rem 0 0;
|
||||
color: #4b5a70;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
background: #0f3f6f;
|
||||
color: #fff;
|
||||
padding: 0.55rem 0.8rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button.ghost {
|
||||
background: #eef2f8;
|
||||
color: #163a5f;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.table-wrap {
|
||||
overflow: auto;
|
||||
border: 1px solid #d8e0ec;
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead {
|
||||
background: #f3f6fa;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 0.75rem;
|
||||
border-bottom: 1px solid #e5ebf4;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
td.actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
min-width: 210px;
|
||||
}
|
||||
|
||||
tr.selected {
|
||||
background: #f4f9ff;
|
||||
}
|
||||
|
||||
.details {
|
||||
margin-top: 1rem;
|
||||
background: #fff;
|
||||
border: 1px solid #d8e0ec;
|
||||
border-radius: 12px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.details h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.items {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
|
||||
}
|
||||
|
||||
.item {
|
||||
border: 1px solid #e5ebf4;
|
||||
border-radius: 10px;
|
||||
padding: 0.65rem;
|
||||
}
|
||||
|
||||
.item p {
|
||||
margin: 0.2rem 0;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: #b4232c;
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.dashboard-header {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user