/* Dataset browser styles — light theme */ /* Top controls */ #tab-browser #controls { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } #tab-browser label { font-size: 1rem; } #tab-browser select, #tab-browser input { font-size: 1rem; background: #fff; color: #1a1a1a; border-radius: 4px; border: 1px solid #ccc; padding: 8px 12px; } #navButtons { display: flex; gap: 10px; align-items: center; } #tab-browser button { font-size: 1rem; width: 100px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; background: #e8e8e8; color: #333; border: 1px solid #ccc; border-radius: 4px; padding: 8px 12px; cursor: pointer; } #tab-browser button:hover { background: #ddd; } /* Layout (2 columns) */ #layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 15px; } /* Question section */ #questionCard { font-size: 1.2rem; background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #ddd; margin-bottom: 12px; } .id-tag { font-size: 0.8em; color: #888; } .question-label { font-weight: bold; color: #c0392b; font-size: 1.2rem; } .question-text { font-size: 1.2rem; line-height: 1.8; } /* Answer block */ #answerBlock { background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #ddd; } .answer-info { margin-top: 8px; } .answer-info.correct { color: #27ae60; } .answer-info.wrong { color: #c0392b; } details { margin-top: 10px; } /* Right side image container */ #imageContainer { background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #ddd; max-height: calc(100vh - 200px); overflow-y: auto; overflow-x: hidden; } #imageContainer.hidden { display: none; } /* Multi-image layout */ #multiImages { display: flex; flex-direction: column; gap: 18px; } .multi-img-block { background: #f8f9fa; padding: 12px; border-radius: 8px; border: 1px solid #ddd; display: flex; flex-direction: column; align-items: center; } .multi-img-block img { width: 900px; max-width: 100%; height: auto; object-fit: contain; border-radius: 10px; border: 1px solid #ccc; display: block; } .multi-img-caption { margin-top: 6px; font-size: 12px; color: #888; } /* Spinner */ .spinner { margin: 10px auto; width: 38px; height: 38px; border: 4px solid #ddd; border-top-color: #2563b1; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Preformatted JSON */ #tab-browser pre { background: #f0f2f5; padding: 15px; border-radius: 8px; overflow-x: auto; } .full-img-link { margin-top: 4px; font-size: 12px; color: #2563b1; text-decoration: none; } .full-img-link:hover { text-decoration: underline; } /* Responsive */ @media (max-width: 700px) { #layout { grid-template-columns: 1fr; } }