Fixed MAJOR bugs, currently at a semi-stable state
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Variables */
|
||||
/* ===== CSS VARIABLES ===== */
|
||||
:root {
|
||||
--bg-primary: #f5f7fa;
|
||||
--bg-secondary: #ffffff;
|
||||
@ -11,6 +11,12 @@
|
||||
--priority-2: #ffa726;
|
||||
--priority-3: #42a5f5;
|
||||
--priority-4: #66bb6a;
|
||||
--priority-5: #9e9e9e;
|
||||
|
||||
/* Status Colors */
|
||||
--status-open: #28a745;
|
||||
--status-in-progress: #ffc107;
|
||||
--status-closed: #dc3545;
|
||||
|
||||
/* Spacing */
|
||||
--spacing-xs: 0.5rem;
|
||||
@ -31,13 +37,9 @@
|
||||
--border-color: #4a5568;
|
||||
--shadow: 0 2px 4px rgba(0,0,0,0.3);
|
||||
--hover-bg: #374151;
|
||||
--priority-1: #7f1d1d;
|
||||
--priority-2: #854d0e;
|
||||
--priority-3: #075985;
|
||||
--priority-4: #166534;
|
||||
}
|
||||
|
||||
/* Base Elements */
|
||||
/* ===== BASE ELEMENTS ===== */
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
margin: 0;
|
||||
@ -47,14 +49,47 @@ body {
|
||||
transition: var(--transition-default);
|
||||
}
|
||||
|
||||
/* Reusable Components */
|
||||
.card-base {
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow);
|
||||
padding: var(--spacing-md);
|
||||
body.menu-open {
|
||||
padding-left: 260px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ===== LAYOUT COMPONENTS ===== */
|
||||
.dashboard-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: var(--spacing-md);
|
||||
margin-left: 3.75rem;
|
||||
}
|
||||
|
||||
.table-controls {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.ticket-count {
|
||||
font-weight: 500;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.table-actions {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ===== BUTTON STYLES ===== */
|
||||
.btn-base {
|
||||
padding: var(--spacing-sm) var(--spacing-md);
|
||||
border-radius: 6px;
|
||||
@ -68,81 +103,140 @@ body {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Layout Components */
|
||||
.dashboard-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: var(--spacing-md);
|
||||
margin-left: 3.75rem;
|
||||
.create-ticket {
|
||||
background: #3b82f6;
|
||||
color: white;
|
||||
padding: 0.625rem 1.25rem;
|
||||
border-radius: 0.375rem;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
transition: background-color 0.3s ease;
|
||||
margin-right: 3.75rem;
|
||||
}
|
||||
|
||||
.ticket-container {
|
||||
max-width: 800px;
|
||||
margin: var(--spacing-lg) auto;
|
||||
border-left: 6px solid;
|
||||
transition: var(--transition-default);
|
||||
.create-ticket:hover {
|
||||
background: #2563eb;
|
||||
}
|
||||
|
||||
.flex-row {
|
||||
display: flex;
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.flex-between {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Table Styles */
|
||||
.table-base {
|
||||
/* ===== TABLE STYLES ===== */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.table-cell {
|
||||
padding: var(--spacing-md);
|
||||
th, td {
|
||||
padding: 16px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Priority Styles */
|
||||
.priority-indicator {
|
||||
th {
|
||||
background-color: var(--bg-secondary);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.05em;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
tr:hover {
|
||||
background-color: var(--hover-bg);
|
||||
}
|
||||
|
||||
tbody tr td:first-child {
|
||||
border-left: 6px solid;
|
||||
}
|
||||
|
||||
/* Priority row colors */
|
||||
tbody tr.priority-1 td:first-child { border-left-color: var(--priority-1); }
|
||||
tbody tr.priority-2 td:first-child { border-left-color: var(--priority-2); }
|
||||
tbody tr.priority-3 td:first-child { border-left-color: var(--priority-3); }
|
||||
tbody tr.priority-4 td:first-child { border-left-color: var(--priority-4); }
|
||||
tbody tr.priority-5 td:first-child { border-left-color: var(--priority-5); }
|
||||
|
||||
/* Priority number styling */
|
||||
td:nth-child(2) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td:nth-child(2) span {
|
||||
font-weight: bold;
|
||||
font-family: 'Courier New', monospace;
|
||||
padding: var(--spacing-xs) var(--spacing-sm);
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
background: var(--hover-bg);
|
||||
}
|
||||
|
||||
.priority-1 { color: var(--priority-1); }
|
||||
.priority-2 { color: var(--priority-2); }
|
||||
.priority-3 { color: var(--priority-3); }
|
||||
.priority-4 { color: var(--priority-4); }
|
||||
|
||||
/* Status Styles */
|
||||
.status-base {
|
||||
font-weight: bold;
|
||||
padding: var(--spacing-xs) var(--spacing-sm);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.priority-1 td:nth-child(2) { color: var(--priority-1); }
|
||||
.priority-2 td:nth-child(2) { color: var(--priority-2); }
|
||||
.priority-3 td:nth-child(2) { color: var(--priority-3); }
|
||||
.priority-4 td:nth-child(2) { color: var(--priority-4); }
|
||||
.priority-5 td:nth-child(2) { color: var(--priority-5); }
|
||||
|
||||
/* ===== STATUS STYLES ===== */
|
||||
.status-Open {
|
||||
color: #10b981;
|
||||
background: rgba(16, 185, 129, 0.1);
|
||||
background-color: var(--status-open) !important;
|
||||
color: white !important;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status-In-Progress {
|
||||
background-color: var(--status-in-progress) !important;
|
||||
color: #212529 !important;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status-Closed {
|
||||
color: #ef4444;
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
background-color: var(--status-closed) !important;
|
||||
color: white !important;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ===== SEARCH AND FILTER STYLES ===== */
|
||||
.search-box {
|
||||
padding: 0.5rem 0.75rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0.375rem;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
margin-left: 1.25rem;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.search-box:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
|
||||
/* Status Filter Dropdown */
|
||||
.status-filter-container {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.status-dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
@ -194,118 +288,149 @@ body {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*UNCHECKED BELOW*/
|
||||
|
||||
body.menu-open {
|
||||
padding-left: 260px;
|
||||
/* ===== HAMBURGER MENU STYLES ===== */
|
||||
.hamburger-menu {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.create-ticket {
|
||||
background: #3b82f6;
|
||||
color: white;
|
||||
padding: 0.625rem 1.25rem;
|
||||
border-radius: 0.375rem;
|
||||
border: none;
|
||||
.hamburger-icon {
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
transition: background-color 0.3s ease;
|
||||
margin-right: 3.75rem;
|
||||
}
|
||||
|
||||
.create-ticket:hover {
|
||||
background: #2563eb;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
font-size: 24px;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 12px;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 16px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
color: var(--text-primary);
|
||||
.hamburger-content {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -250px;
|
||||
width: 200px;
|
||||
height: 100%;
|
||||
background: var(--bg-secondary);
|
||||
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
|
||||
transition: left 0.3s ease;
|
||||
padding: 40px 20px 20px;
|
||||
overflow-y: auto;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: var(--bg-secondary);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.05em;
|
||||
.hamburger-content.open {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
tr:hover {
|
||||
background-color: var(--hover-bg);
|
||||
.close-hamburger {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
background: var(--bg-secondary);
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
tbody tr td:first-child {
|
||||
border-left: 6px solid;
|
||||
/* Hamburger menu inline editing styles */
|
||||
.ticket-info-editable {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
tbody tr.priority-1 td:first-child { border-left-color: var(--priority-1); }
|
||||
tbody tr.priority-2 td:first-child { border-left-color: var(--priority-2); }
|
||||
tbody tr.priority-3 td:first-child { border-left-color: var(--priority-3); }
|
||||
tbody tr.priority-4 td:first-child { border-left-color: var(--priority-4); }
|
||||
|
||||
/* Priority number styling */
|
||||
td:nth-child(2) {
|
||||
text-align: center;
|
||||
.editable-field, .info-field {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
td:nth-child(2) span {
|
||||
font-weight: bold;
|
||||
font-family: 'Courier New', monospace;
|
||||
.editable-field label, .info-field label {
|
||||
flex: 0 0 auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.editable-value {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
min-height: 20px;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
background: var(--hover-bg);
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.priority-1 td:nth-child(2) { color: var(--priority-1); }
|
||||
.priority-2 td:nth-child(2) { color: var(--priority-2); }
|
||||
.priority-3 td:nth-child(2) { color: var(--priority-3); }
|
||||
.priority-4 td:nth-child(2) { color: var(--priority-4); }
|
||||
|
||||
.search-box {
|
||||
padding: 0.5rem 0.75rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0.375rem;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
margin-left: 1.25rem;
|
||||
width: 40%;
|
||||
.editable-value:hover {
|
||||
background-color: var(--hover-bg) !important;
|
||||
}
|
||||
|
||||
.status-filter {
|
||||
padding: 0.5rem 0.75rem;
|
||||
.edit-dropdown {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0.375rem;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
||||
z-index: 1000;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.field-select {
|
||||
width: 100%;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 4px;
|
||||
margin-bottom: 8px;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.edit-actions {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.save-btn, .cancel-btn {
|
||||
padding: 4px 8px;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
min-width: 120px;
|
||||
margin-right: 1rem;
|
||||
font-size: 12px;
|
||||
min-width: 24px;
|
||||
}
|
||||
|
||||
.search-box:focus,
|
||||
.status-filter:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
||||
.save-btn {
|
||||
background: #28a745;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.save-btn:hover {
|
||||
background: #218838;
|
||||
}
|
||||
|
||||
.cancel-btn {
|
||||
background: #dc3545;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cancel-btn:hover {
|
||||
background: #c82333;
|
||||
}
|
||||
|
||||
.info-field span {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* ===== UTILITY STYLES ===== */
|
||||
.theme-toggle {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
@ -325,27 +450,22 @@ td:nth-child(2) span {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.table-controls {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--shadow);
|
||||
.ticket-link {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-weight: bold;
|
||||
color: var(--text-primary) !important;
|
||||
text-decoration: none;
|
||||
background: var(--hover-bg);
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket-count {
|
||||
font-weight: 500;
|
||||
color: var(--text-secondary);
|
||||
.ticket-link:hover {
|
||||
background: var(--border-color);
|
||||
}
|
||||
|
||||
.table-actions {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
/* ===== PAGINATION STYLES ===== */
|
||||
.pagination {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
@ -372,18 +492,31 @@ td:nth-child(2) span {
|
||||
border-color: #3b82f6;
|
||||
}
|
||||
|
||||
.settings-icon {
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s;
|
||||
/* ===== SORTING STYLES ===== */
|
||||
th::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.settings-icon:hover {
|
||||
background: var(--hover-bg);
|
||||
th.sort-asc::after {
|
||||
border-bottom: 7px solid var(--text-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Settings Modal Styles */
|
||||
th.sort-desc::after {
|
||||
border-top: 7px solid var(--text-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ===== SETTINGS MODAL STYLES ===== */
|
||||
.settings-modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@ -471,186 +604,4 @@ td:nth-child(2) span {
|
||||
.cancel-settings {
|
||||
background: var(--hover-bg);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Sorting indicator styles */
|
||||
th {
|
||||
position: relative; /* Ensure proper positioning of arrows */
|
||||
cursor: pointer; /* Show it's clickable */
|
||||
}
|
||||
|
||||
th::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
opacity: 0.5; /* Make arrows less prominent when not active */
|
||||
}
|
||||
|
||||
th.sort-asc::after {
|
||||
border-bottom: 7px solid var(--text-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
th.sort-desc::after {
|
||||
border-top: 7px solid var(--text-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
/* Column toggle styles */
|
||||
.column-toggles {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.column-toggles label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.hamburger-menu {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.hamburger-icon {
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
background: var(--bg-secondary);
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.hamburger-content {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -250px;
|
||||
width: 200px;
|
||||
height: 100%;
|
||||
background: var(--bg-secondary);
|
||||
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
|
||||
transition: left 0.3s ease, margin-left 0.3s ease;
|
||||
padding: 40px 20px 20px;
|
||||
overflow-y: auto;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.hamburger-content.open {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.close-hamburger {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
background: var(--bg-secondary);
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.filter-section label {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.filter-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.filter-actions button {
|
||||
flex: 1;
|
||||
padding: 10px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#apply-filters {
|
||||
background: #3b82f6;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#clear-filters {
|
||||
background: var(--hover-bg);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.ticket-link {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-weight: bold;
|
||||
color: var(--text-primary) !important;
|
||||
text-decoration: none;
|
||||
background: var(--hover-bg);
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket-link:hover {
|
||||
background: var(--border-color);
|
||||
}
|
||||
|
||||
/* Hamburger Menu Styles */
|
||||
|
||||
.menu-group {
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.menu-group label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.menu-group select {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.menu-actions {
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu-actions .btn.primary {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.menu-controls {
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.menu-controls .btn {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
@ -1,3 +1,42 @@
|
||||
/* ===== TICKET PAGE SPECIFIC STYLES ===== */
|
||||
|
||||
/* Status colors for ticket page */
|
||||
.status-Open,
|
||||
[id="statusDisplay"].status-Open {
|
||||
background-color: var(--status-open) !important;
|
||||
color: white !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.status-In-Progress,
|
||||
[id="statusDisplay"].status-In-Progress {
|
||||
background-color: var(--status-in-progress) !important;
|
||||
color: #212529 !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.status-Closed,
|
||||
[id="statusDisplay"].status-Closed {
|
||||
background-color: var(--status-closed) !important;
|
||||
color: white !important;
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
/* Base Layout Components */
|
||||
.ticket-container {
|
||||
width: 90%;
|
||||
@ -14,9 +53,13 @@
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.full-width {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
/* Priority border colors */
|
||||
[data-priority="1"] { border-color: var(--priority-1); }
|
||||
[data-priority="2"] { border-color: var(--priority-2); }
|
||||
[data-priority="3"] { border-color: var(--priority-3); }
|
||||
[data-priority="4"] { border-color: var(--priority-4); }
|
||||
[data-priority="5"] { border-color: var(--priority-5); }
|
||||
|
||||
/* Header Components */
|
||||
.ticket-header {
|
||||
display: flex;
|
||||
@ -51,11 +94,17 @@
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
display: block;
|
||||
.status-priority-group {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.priority-indicator {
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Title Input Styles */
|
||||
@ -74,7 +123,9 @@ h1 {
|
||||
line-height: 1.4;
|
||||
min-height: fit-content;
|
||||
height: auto;
|
||||
}.title-input:not(:disabled) {
|
||||
}
|
||||
|
||||
.title-input:not(:disabled) {
|
||||
border-color: var(--border-color);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
@ -102,13 +153,8 @@ h1 {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#statusDisplay {
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
letter-spacing: 0.5px;
|
||||
.full-width {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.editable {
|
||||
@ -128,17 +174,17 @@ input.editable {
|
||||
textarea.editable {
|
||||
width: calc(100% - 20px);
|
||||
min-height: 800px !important;
|
||||
height: auto !important; /* Allow it to grow with content */
|
||||
height: auto !important;
|
||||
box-sizing: border-box;
|
||||
white-space: pre; /* Preserve formatting */
|
||||
font-family: monospace; /* Better for ASCII art */
|
||||
line-height: 1.2; /* Tighter line spacing for ASCII art */
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
#description-tab {
|
||||
min-height: 850px !important; /* Slightly larger than the textarea */
|
||||
min-height: 850px !important;
|
||||
height: auto !important;
|
||||
padding-bottom: 20px; /* Add some padding at the bottom */
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.editable:disabled {
|
||||
@ -174,89 +220,6 @@ textarea.editable {
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
/* Status and Priority Styles */
|
||||
.status-priority-row {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.detail-half {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.status-priority-group {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.priority-indicator {
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Priority Select Styles */
|
||||
select[data-field="priority"] {
|
||||
border-left: 4px solid;
|
||||
}
|
||||
|
||||
select[data-field="priority"] option {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
select[data-field="priority"] option[value="1"] {
|
||||
background-color: var(--priority-1);
|
||||
}
|
||||
select[data-field="priority"] option[value="2"] {
|
||||
background-color: var(--priority-2);
|
||||
}
|
||||
select[data-field="priority"] option[value="3"] {
|
||||
background-color: var(--priority-3);
|
||||
}
|
||||
select[data-field="priority"] option[value="4"] {
|
||||
background-color: var(--priority-4);
|
||||
}
|
||||
|
||||
select[data-field="priority"][value="1"] {
|
||||
border-left-color: var(--priority-1);
|
||||
}
|
||||
select[data-field="priority"][value="2"] {
|
||||
border-left-color: var(--priority-2);
|
||||
}
|
||||
select[data-field="priority"][value="3"] {
|
||||
border-left-color: var(--priority-3);
|
||||
}
|
||||
select[data-field="priority"][value="4"] {
|
||||
border-left-color: var(--priority-4);
|
||||
}
|
||||
|
||||
select[data-field="priority"] option[value="1"]:hover {
|
||||
background-color: #ffc9c9;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
select[data-field="priority"] option[value="2"]:hover {
|
||||
background-color: #ffe0b2;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
select[data-field="priority"] option[value="3"]:hover {
|
||||
background-color: #bbdefb;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
select[data-field="priority"] option[value="4"]:hover {
|
||||
background-color: #c8e6c9;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
[data-priority="1"] { border-color: var(--priority-1); }
|
||||
[data-priority="2"] { border-color: var(--priority-2); }
|
||||
[data-priority="3"] { border-color: var(--priority-3); }
|
||||
[data-priority="4"] { border-color: var(--priority-4); }
|
||||
|
||||
/* Comments Section */
|
||||
.comments-section {
|
||||
margin-top: 40px;
|
||||
@ -306,7 +269,23 @@ select[data-field="priority"] option[value="4"]:hover {
|
||||
|
||||
.comment-text {
|
||||
color: var(--text-primary);
|
||||
line-height: 1.4;
|
||||
line-height: 1.6;
|
||||
word-wrap: break-word;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.comment-text p {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.comment-text p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.comment-text p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.comment-controls {
|
||||
|
||||
Reference in New Issue
Block a user