Add open_access field to Question model and update question detail template

This commit is contained in:
Ross
2025-10-20 20:56:37 +01:00
parent ac9faeccbd
commit bdb7aff5d1
7 changed files with 71 additions and 41 deletions
+35 -36
View File
@@ -163,45 +163,44 @@
}
/* Dark mode overrides */
.floating-filter {
background: #0f1720; /* near-black */
color: #e6eef6;
border-top-color: rgba(255,255,255,0.06);
}
.bottom-filter-minibar .btn {
background: rgba(255,255,255,0.02);
color: #e6eef6;
border-color: rgba(255,255,255,0.06);
}
.filter-card {
background: #0b1220;
border-color: rgba(255,255,255,0.04);
color: #e6eef6;
}
.floating-filter {
background: #0f1720; /* near-black */
color: #e6eef6;
border-top-color: rgba(255,255,255,0.06);
}
.bottom-filter-minibar .btn {
background: rgba(255,255,255,0.02);
color: #e6eef6;
border-color: rgba(255,255,255,0.06);
}
.filter-card {
background: #0b1220;
border-color: rgba(255,255,255,0.04);
color: #e6eef6;
}
/* target common form-control/form-select/select/textarea so native selects and bootstrap styles
are overridden for dark theme inside filter cards */
.filter-card .form-control,
.filter-card .form-select,
.filter-card input,
.filter-card select,
.filter-card textarea {
background: #07101a !important;
color: #f1f5f9 !important;
border-color: rgba(255,255,255,0.06) !important;
}
.filter-card .form-control,
.filter-card .form-select,
.filter-card input,
.filter-card select,
.filter-card textarea {
background: #07101a !important;
color: #f1f5f9 !important;
border-color: rgba(255,255,255,0.06) !important;
}
/* options in native multi-selects */
.filter-card select option,
.filter-card .form-select option {
background: #07101a !important;
color: #f1f5f9 !important;
}
.filter-card select option,
.filter-card .form-select option {
background: #07101a !important;
color: #f1f5f9 !important;
}
/* placeholder color */
.filter-card .form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.filter-help { color: #9fb0c7; }
.badge.bg-primary.filter-count-badge { background: #0d6efd; color: #fff; }
.btn-outline-secondary { color: #e6eef6; border-color: rgba(255,255,255,0.06); }
.btn-light { background: #111827; color: #e6eef6; border-color: rgba(255,255,255,0.04); }
.filter-card label { color: #e6eef6; }
.filter-card .form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.filter-help { color: #9fb0c7; }
.badge.bg-primary.filter-count-badge { background: #0d6efd; color: #fff; }
.btn-outline-secondary { color: #e6eef6; border-color: rgba(255,255,255,0.06); }
.btn-light { background: #111827; color: #e6eef6; border-color: rgba(255,255,255,0.04); }
.filter-card label { color: #e6eef6; }
</style>
{% endblock %}