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
169 changes: 91 additions & 78 deletions client/src/containers/Admin/Tickets/TicketsCreated.css
Original file line number Diff line number Diff line change
@@ -1,83 +1,78 @@
/* .tickets-header {
text-align: center;
margin-bottom: 20px;
}

.ticket-section {
margin-bottom: 40px;
}

h1 {
color: #333;
/* Wrapper */
.tickets-wrapper {
padding: 20px;
transition: 0.3s ease;
}

table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
/* Dark mode */
.tickets-wrapper.dark {
background: #1e1e1e;
color: white;
}

th,
td {
padding: 10px;
text-align: left;
border: 1px solid #ccc;
.tickets-wrapper.dark table {
color: white;
}

th {
background-color: #f4f4f4;
.tickets-wrapper.dark th {
background: #333;
}

td {
background-color: #fff;
.tickets-wrapper.dark td {
background: #222;
}

td a {
color: #007bff;
text-decoration: none;
/* Header */
.header-row {
display: flex;
justify-content: space-between;
align-items: center;
}

td a:hover {
text-decoration: underline;
/* Dark mode button */
.dark-toggle {
padding: 8px 12px;
border-radius: 6px;
border: none;
cursor: pointer;
}

.link-home {
display: block;
margin-top: 20px;
text-align: center;
color: #007bff;
} */

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

.tickets-title {
text-align: center;
margin-bottom: 20px;
color: #333;
.filters input,
.filters select {
padding: 8px;
border-radius: 6px;
border: 1px solid #ccc;
}

/* Search Bar */
.search-container {
text-align: center;
margin-bottom: 20px;
/* Export Button */
.export-btn {
background: #007bff;
color: white;
border: none;
padding: 8px 14px;
border-radius: 6px;
cursor: pointer;
}

.search-container input {
width: 90%;
max-width: 400px;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid #ccc;
.export-btn:hover {
opacity: 0.85;
}

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

/* Table */
.tickets-table {
width: 100%;
border-collapse: collapse;
Expand All @@ -89,29 +84,57 @@ td a:hover {
border: 1px solid #ddd;
}

.tickets-table th {
background-color: #f8f8f8;
text-align: left;
.wrap {
word-wrap: break-word;
max-width: 250px;
}

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

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

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

.badge.in-progress {
background: #ff9800;
color: white;
}

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

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

.archive-btn:hover {
background: #b71c1c;
opacity: 0.85;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
gap: 15px;
}
Expand All @@ -127,34 +150,24 @@ td a:hover {

.pagination button:disabled {
opacity: 0.5;
cursor: default;
}

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

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

/* Mobile Responsive */
/* MOBILE */
@media (max-width: 600px) {
.tickets-table th,
.tickets-table td {
padding: 6px;
}

.search-container input {
width: 95%;
.filters {
flex-direction: column;
}

.pagination span {
font-size: 14px;
.wrap {
max-width: 140px;
}
}
Loading
Loading