Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 153 additions & 0 deletions client/src/containers/Admin/Users/AllUsers.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
.users-wrapper {
padding: 20px;
}

/* Header */
.header-row {
display: flex;
justify-content: space-between;
align-items: center;
}

/* Filters */
.filters {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin: 20px 0;
}

.filters input,
.filters select {
padding: 8px;
border-radius: 6px;
border: 1px solid #ccc;
}

/* Scrollable Table */
.table-scroll {
width: 100%;
overflow-x: auto;
}

.users-table {
width: 100%;
border-collapse: collapse;
}

.users-table th,
.users-table td {
padding: 10px;
border: 1px solid #ddd;
}

.wrap {
word-wrap: break-word;
max-width: 250px;
}

/* Badges */
.badge {
padding: 5px 8px;
border-radius: 6px;
font-weight: bold;
text-transform: capitalize;
}

.badge.active {
background: #4caf50;
color: white;
}

.badge.archived {
background: #b71c1c;
color: white;
}

.badge.yes {
background: #007bff;
color: white;
}

.badge.no {
background: #616161;
color: white;
}

/* Archive Button */
.archive-btn {
background: #d32f2f;
color: white;
border: none;
padding: 6px 10px;
border-radius: 6px;
cursor: pointer;
}

.archive-btn:hover {
opacity: 0.85;
}

/* Edit Button */
.edit-btn {
background: #007bff;
color: white;
padding: 6px 10px;
border-radius: 6px;
text-decoration: none;
}

.edit-btn:hover {
opacity: 0.85;
}

/* Email clickable link */
.email-link {
color: #007bff;
text-decoration: none;
}

.email-link:hover {
text-decoration: underline;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
margin-top: 20px;
gap: 15px;
}

.pagination button {
padding: 8px 12px;
border: none;
background: #007bff;
color: white;
border-radius: 6px;
cursor: pointer;
}

.pagination button:disabled {
opacity: 0.5;
}

/* Home Link */
.home-link {
display: block;
text-align: center;
margin-top: 25px;
color: #007bff;
text-decoration: none;
}

/* MOBILE */
@media (max-width: 600px) {
.filters {
flex-direction: column;
}

.wrap {
max-width: 140px;
}
}
Loading
Loading