365 lines
7.0 KiB
CSS
365 lines
7.0 KiB
CSS
.insp-panel {
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
margin-top: 0.75rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.insp-toggle {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
padding: 10px 14px;
|
|
background: none;
|
|
border: none;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
}
|
|
|
|
.insp-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.insp-toggle-icon {
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
font-size: 1.1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.insp-toggle-title {
|
|
font-weight: 700;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.insp-toggle-summary {
|
|
display: flex;
|
|
gap: 4px;
|
|
flex-wrap: wrap;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.insp-toggle-summary.muted {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.insp-chevron {
|
|
transition: transform 0.15s;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.insp-chevron.open {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.insp-body {
|
|
padding: 0 14px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
border-top: 0.5px solid rgba(255, 255, 255, 0.08);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.insp-panel.compact .insp-toggle {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.insp-panel.compact .insp-body {
|
|
padding: 8px 10px 10px;
|
|
}
|
|
|
|
.insp-status,
|
|
.insp-empty {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0;
|
|
}
|
|
|
|
.insp-error {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 0.5px solid rgba(239, 68, 68, 0.4);
|
|
color: #fca5a5;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.insp-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.insp-actions .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.muted {
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.insp-chip {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.12);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.insp-chip.rating-ok { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
|
|
.insp-chip.rating-warn { background: rgba(250, 204, 21, 0.15); border-color: rgba(250, 204, 21, 0.4); color: #fde047; }
|
|
.insp-chip.rating-crit { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
|
|
|
|
.insp-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.insp-item {
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.insp-item.latest {
|
|
border-color: rgba(96, 165, 250, 0.4);
|
|
}
|
|
|
|
.insp-item-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.insp-date {
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.insp-badge {
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
padding: 1px 6px;
|
|
border-radius: 999px;
|
|
background: rgba(96, 165, 250, 0.2);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.insp-item-actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-link {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
color: #60a5fa;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-link.danger {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.btn-link:hover:not(:disabled) {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.btn-link:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.insp-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.insp-details {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.insp-link {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.85rem;
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.insp-recommendation {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
background: rgba(96, 165, 250, 0.1);
|
|
border: 0.5px solid rgba(96, 165, 250, 0.25);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
/* Edit form */
|
|
.insp-edit {
|
|
border: 0.5px solid rgba(96, 165, 250, 0.35);
|
|
border-radius: 10px;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
background: rgba(96, 165, 250, 0.05);
|
|
}
|
|
|
|
.insp-edit h4 {
|
|
margin: 0;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.insp-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
margin: 0;
|
|
}
|
|
|
|
.form-group label,
|
|
.tread-cell label {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.form-control {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 0.5px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
color: #ffffff;
|
|
padding: 6px 10px;
|
|
font-family: 'Rajdhani', sans-serif;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
border-color: #60a5fa;
|
|
}
|
|
|
|
.tread-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tread-cell {
|
|
border-radius: 10px;
|
|
padding: 8px 10px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.tread-cell.rating-ok { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.08); }
|
|
.tread-cell.rating-warn { border-color: rgba(250, 204, 21, 0.5); background: rgba(250, 204, 21, 0.08); }
|
|
.tread-cell.rating-crit { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.08); }
|
|
|
|
.tread-cell label {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.tread-input {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tread-input .form-control {
|
|
max-width: 100px;
|
|
font-family: 'Orbitron', monospace;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tread-input span {
|
|
font-family: 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.insp-edit-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.insp-edit-footer .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.spinner {
|
|
display: inline-block;
|
|
width: 14px;
|
|
height: 14px;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-top-color: #ffffff;
|
|
border-radius: 50%;
|
|
animation: insp-spin 0.7s linear infinite;
|
|
}
|
|
|
|
@keyframes insp-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@media (max-width: 599px) {
|
|
.insp-meta {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.insp-toggle-summary {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
}
|