mri-viewer / frontend /src /components /PatientBrowser /PatientBrowser.module.css
GitHub Actions
Deploy from 92a466c5
37a7681
Raw
History Blame Contribute Delete
2.16 kB
.browser {
display: flex;
flex-direction: column;
height: 100%;
gap: 6px;
}
.controls {
display: flex;
flex-direction: column;
gap: 4px;
padding: 8px;
border-bottom: 1px solid #333;
}
.datasetSelect, .search, .cdrSelect {
background: #1e1e1e;
color: #ddd;
border: 1px solid #444;
border-radius: 4px;
padding: 5px 8px;
font-size: 12px;
width: 100%;
}
.count {
font-size: 11px;
color: #666;
padding: 0 8px;
}
.loading {
padding: 16px;
text-align: center;
color: #666;
font-size: 13px;
}
.list {
list-style: none;
margin: 0;
padding: 0 4px;
overflow-y: auto;
flex: 1;
}
.item {
display: flex;
flex-direction: column;
padding: 7px 8px;
border-radius: 4px;
cursor: pointer;
border-bottom: 1px solid #222;
transition: background 0.1s;
}
.item:hover {
background: #252525;
}
.selected {
background: #1a3a5c !important;
border-color: #2d6aa0;
}
.itemId {
font-size: 12px;
color: #ccc;
font-family: monospace;
}
.itemMeta {
display: flex;
gap: 6px;
margin-top: 2px;
font-size: 11px;
color: #888;
flex-wrap: wrap;
}
.cdrBadge {
border-radius: 3px;
padding: 0 4px;
font-weight: 600;
color: #fff;
}
.cdr0 { background: #2a6e2a; }
.cdr0_5 { background: #7a6e1a; }
.cdr1 { background: #7a3e1a; }
.cdr2 { background: #6e1a1a; }
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 8px;
font-size: 12px;
color: #888;
border-top: 1px solid #333;
}
.pagination button {
background: #2a2a2a;
color: #ccc;
border: 1px solid #444;
border-radius: 4px;
padding: 2px 10px;
cursor: pointer;
font-size: 14px;
}
.pagination button:disabled {
opacity: 0.3;
cursor: default;
}
/* ── Mobile touch targets ───────────────────────────────────── */
@media (max-width: 768px) {
.item {
padding: 12px 10px;
}
.itemId {
font-size: 13px;
}
.datasetSelect, .search, .cdrSelect {
padding: 8px 10px;
font-size: 13px;
}
.pagination button {
padding: 8px 16px;
font-size: 16px;
}
}