Files
2026-07-01 16:44:17 +03:00

257 lines
4.8 KiB
CSS

.bugs {
padding-top: 1rem;
min-height: 60vh;
}
.bugs a {
text-decoration: none !important;
color: var(--text-main) !important;
transition: var(--transition-smooth);
}
.bugs a:hover {
color: var(--primary) !important;
}
/* =============================================
Bugs Table (replaces Bootstrap .table)
============================================= */
.bugs-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
color: var(--text-main);
background: transparent;
}
.bugs-table thead {
background: var(--bg-tertiary);
}
.bugs-table thead th {
padding: 0.75rem 1rem;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--text-main);
border-bottom: 1px solid var(--glass-border);
white-space: nowrap;
}
.bugs-table tbody tr {
transition: background 0.2s ease;
}
.bugs-table tbody tr:hover {
background: rgba(59,130,246,0.05);
}
.bugs-table tbody tr + tr td {
border-top: 1px solid var(--glass-border);
}
.bugs-table tbody td {
padding: 0.75rem 1rem;
font-size: 0.88rem;
vertical-align: middle;
color: var(--text-main);
border-bottom: 1px solid var(--glass-border);
}
.bugs-table tbody tr:last-child td {
border-bottom: none;
}
/* =============================================
Detail Page
============================================= */
.bugs-detail-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--glass-border);
}
.bugs-detail-header h5 {
color: var(--text-main);
margin: 0;
}
.bugs-detail-meta {
font-size: 0.82rem;
color: var(--text-muted);
}
.bugs-detail-body {
padding: 1.25rem;
color: var(--text-main);
line-height: 1.65;
font-size: 0.92rem;
}
.bugs-detail-actions {
display: flex;
gap: 0.5rem;
justify-content: flex-end;
padding: 0.75rem 1.25rem;
border-top: 1px solid var(--glass-border);
}
.bugs-reply-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1.25rem;
background: var(--bg-elevated);
border-bottom: 1px solid var(--glass-border);
border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.bugs-reply-header h5 {
color: var(--text-main);
margin: 0;
font-size: 1rem;
}
.bugs-reply-num {
color: var(--text-muted);
}
.bugs-sep {
color: var(--text-muted);
}
/* Action buttons */
.bugs-action-btn {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 4px 12px;
font-size: 0.8rem;
font-weight: 500;
border-radius: 8px;
border: 1px solid;
cursor: pointer;
transition: background 0.2s ease;
text-decoration: none;
}
.bugs-action-btn.close-btn {
background: rgba(239,68,68,0.15);
border-color: #ef4444;
color: #ef4444;
}
.bugs-action-btn.close-btn:hover {
background: rgba(239,68,68,0.25);
}
.bugs-action-btn.resolve-btn {
background: rgba(16,185,129,0.15);
border-color: var(--secondary);
color: var(--secondary);
}
.bugs-action-btn.resolve-btn:hover {
background: rgba(16,185,129,0.25);
}
.bugs-action-btn.delete-btn {
background: rgba(239,68,68,0.15);
border-color: #ef4444;
color: #ef4444;
}
.bugs-action-btn.delete-btn:hover {
background: rgba(239,68,68,0.25);
}
/* =============================================
Form Inputs
============================================= */
.bugs-label {
display: block;
font-size: 0.85rem;
font-weight: 500;
color: var(--text-muted);
margin-bottom: 0.35rem;
}
.bugs-input {
width: 100%;
padding: 0.55rem 0.75rem;
background: transparent;
border: 1px solid var(--glass-border);
border-radius: 8px;
color: var(--text-main);
font-size: 0.9rem;
outline: none;
transition: border-color 0.2s ease;
}
.bugs-input:focus {
border-color: var(--primary);
}
.bugs-input::placeholder {
color: var(--text-muted);
}
.bugs-input option {
background: var(--bg-secondary);
color: var(--text-main);
}
textarea.bugs-input {
resize: vertical;
}
.bugs-textarea {
width: 100%;
padding: 0.55rem 0.75rem;
background: transparent;
border: 1px solid var(--glass-border);
border-radius: 8px;
color: var(--text-main);
font-size: 0.9rem;
outline: none;
transition: border-color 0.2s ease;
resize: vertical;
}
.bugs-textarea:focus {
border-color: var(--primary);
}
/* Search header */
.bugs-search-header {
padding: 0.75rem 1.25rem;
background: var(--bg-elevated);
border-bottom: 1px solid var(--glass-border);
}
.bugs-search-header h5 {
color: var(--text-main);
margin: 0;
}
/* =============================================
Misc
============================================= */
.bugs .new_bugs {
color: #fff !important;
}
@media (max-width: 600px) {
.bugs-detail-header {
flex-direction: column;
align-items: flex-start;
}
.bugs-detail-actions {
flex-wrap: wrap;
}
}