Loading files
46296531dThis file is pinned to the selected release. Download the original to open it in your design tool.
/* ==========================================================================
Data Downloads Page Styles — Standalone
Separate page (not kiosk) — laptop browser for data retrieval
Touch-friendly for tractor cab / glove operation
========================================================================== */
/* Page container */
.downloads-page {
max-width: 960px;
margin: 0 auto;
padding: 24px 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: var(--owl-text-dark, #2c3e50);
background: var(--owl-background, #f5f7fa);
min-height: 100vh;
}
/* Header */
.downloads-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
}
.downloads-header h1 {
font-size: 22px;
font-weight: 600;
color: var(--owl-text-dark, #2c3e50);
margin: 0;
}
.downloads-back-link {
display: inline-flex;
align-items: center;
padding: 10px 20px;
font-size: 15px;
color: var(--owl-accent, #3498db);
text-decoration: none;
border: 1px solid var(--owl-border, #dce1e8);
border-radius: 6px;
background: white;
transition: background 0.15s;
min-height: 48px;
}
.downloads-back-link:hover {
background: var(--owl-background, #f5f7fa);
}
/* Card panels */
.downloads-card {
background: white;
border-radius: 8px;
border: 1px solid var(--owl-border, #dce1e8);
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
margin-bottom: 20px;
overflow: hidden;
}
.downloads-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 20px;
border-bottom: 1px solid var(--owl-border, #dce1e8);
background: var(--owl-background, #f5f7fa);
}
.downloads-card-header h2 {
font-size: 15px;
font-weight: 600;
margin: 0;
color: var(--owl-text-dark, #2c3e50);
}
.downloads-card-body {
padding: 20px;
}
/* Header actions (summary + refresh) */
.header-actions {
display: flex;
align-items: center;
gap: 12px;
}
.sessions-summary {
font-size: 13px;
color: var(--owl-text-light, #7f8c8d);
}
/* Empty state */
.list-empty {
padding: 32px 20px;
text-align: center;
color: var(--owl-text-light, #7f8c8d);
font-size: 14px;
}
/* Session rows — larger touch targets */
.session-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 20px;
border-bottom: 1px solid var(--owl-border, #dce1e8);
}
.session-item:last-child {
border-bottom: none;
}
.session-info {
flex: 1;
min-width: 0;
}
.session-date {
font-size: 15px;
font-weight: 600;
color: var(--owl-text-dark, #2c3e50);
margin-bottom: 4px;
}
.session-meta {
font-size: 13px;
color: var(--owl-text-light, #7f8c8d);
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.session-actions {
display: flex;
gap: 10px;
flex-shrink: 0;
margin-left: 16px;
}
/* Buttons — glove-friendly sizing */
.btn-dl {
padding: 10px 18px;
font-size: 14px;
font-weight: 500;
border: 1px solid var(--owl-border, #dce1e8);
border-radius: 6px;
cursor: pointer;
background: white;
color: var(--owl-text-dark, #2c3e50);
transition: background 0.15s;
white-space: nowrap;
min-height: 48px;
text-decoration: none;
display: inline-flex;
align-items: center;
}
.btn-dl:hover {
background: var(--owl-background, #f5f7fa);
}
.btn-dl:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-dl.primary {
background: var(--owl-primary, #022775);
color: white;
border-color: var(--owl-primary, #022775);
}
.btn-dl.primary:hover {
background: var(--owl-primary-light, #034694);
}
.btn-dl.success {
background: var(--owl-success, #2ecc71);
color: white;
border-color: var(--owl-success, #2ecc71);
}
.btn-dl.success:hover {
background: #27ae60;
}
.btn-dl.danger {
color: var(--owl-danger, #e74c3c);
border-color: var(--owl-danger, #e74c3c);
}
.btn-dl.danger:hover {
background: #fdf0ef;
}
.btn-dl.refresh {
font-size: 13px;
padding: 6px 14px;
min-height: 36px;
}
/* Storage bar — taller and more prominent */
.storage-bar {
display: flex;
align-items: center;
gap: 12px;
}
.storage-bar-track {
flex: 1;
height: 12px;
background: #e9ecef;
border-radius: 6px;
overflow: hidden;
}
.storage-bar-fill {
height: 100%;
background: var(--owl-accent, #3498db);
border-radius: 6px;
transition: width 0.3s;
}
.storage-bar-fill.warning {
background: #f39c12;
}
.storage-bar-fill.critical {
background: var(--owl-danger, #e74c3c);
}
.storage-text {
font-size: 13px;
color: var(--owl-text-light, #7f8c8d);
white-space: nowrap;
}
/* Storage warning text */
.storage-warning {
margin-top: 8px;
font-size: 13px;
font-weight: 500;
min-height: 20px;
}
.storage-warning.warning {
color: #f39c12;
}
.storage-warning.critical {
color: var(--owl-danger, #e74c3c);
}
/* Session block (clickable row + collapsible preview) */
.session-block {
border-bottom: 1px solid var(--owl-border, #dce1e8);
}
.session-block:last-child {
border-bottom: none;
}
.session-block .session-item {
border-bottom: none;
cursor: pointer;
}
.session-block .session-item:hover {
background: var(--owl-background, #f5f7fa);
}
.preview-hint {
color: var(--owl-accent, #3498db);
font-style: italic;
}
/* Thumbnail grid */
.session-preview {
padding: 0 16px 16px;
}
.thumb-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 8px;
}
.thumb-link {
display: block;
text-decoration: none;
border: 1px solid var(--owl-border, #dce1e8);
border-radius: 6px;
overflow: hidden;
background: #f9fafb;
transition: border-color 0.15s;
}
.thumb-link:hover {
border-color: var(--owl-accent, #3498db);
}
.thumb-img {
width: 100%;
aspect-ratio: 4/3;
object-fit: cover;
display: block;
}
.thumb-name {
display: block;
padding: 4px 6px;
font-size: 10px;
color: var(--owl-text-light, #7f8c8d);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}