+
-
-
- {% for series in case.get_ordered_series %}
- -
-
- Series {{ forloop.counter }}:
- {{ series.get_block|default:series }}
-
-
-
-
-
-
-
- {% endfor %}
-
+
+
+
+
+ Open series page
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Open series page
-
-
-
-
-
+
-
\ No newline at end of file
+ .series-panel-summary::-webkit-details-marker { display: none; }
+ .series-panel-title {
+ font-size: 0.95rem;
+ font-weight: 700;
+ }
+ .series-panel-badge {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 5.5rem;
+ padding: .35rem .75rem;
+ border-radius: 999px;
+ background: rgba(13,110,253,0.12);
+ color: #9ec5fe;
+ font-size: .8rem;
+ font-weight: 600;
+ }
+ .series-panel-body {
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+ padding: 0.5rem 0;
+ }
+ .series-toolbar {
+ display: flex;
+ flex-wrap: wrap;
+ gap: .75rem;
+ }
+ .series-toolbar-btn {
+ min-width: 160px;
+ }
+ .series-card-grid {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ align-items: flex-start;
+ }
+ .series-block {
+ flex: 0 1 auto;
+ min-width: 260px;
+ max-width: 320px;
+ }
+ .series-card-shell {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
+ padding: 0.7rem;
+ border: 1px solid rgba(255,255,255,0.1);
+ border-radius: 0.6rem;
+ background: rgba(15,23,42,0.3);
+ height: 100%;
+ }
+ .series-card-main {
+ display: flex;
+ align-items: flex-start;
+ gap: 0.5rem;
+ width: 100%;
+ border: 0;
+ background: transparent;
+ padding: 0;
+ text-align: left;
+ color: inherit;
+ cursor: pointer;
+ flex-shrink: 0;
+ }
+ .series-card-main:hover .series-card-description,
+ .series-card-main:focus-visible .series-card-description {
+ color: #fff;
+ }
+ .series-card-main:focus-visible {
+ outline: 2px solid rgba(13,110,253,0.6);
+ outline-offset: 2px;
+ }
+ .series-card-thumb-wrap {
+ flex-shrink: 0;
+ width: 64px;
+ min-width: 64px;
+ height: 64px;
+ line-height: 0;
+ }
+ .series-card-thumb {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 0.4rem;
+ border: 1px solid rgba(255,255,255,0.1);
+ display: block;
+ background: rgba(255,255,255,0.04);
+ }
+ .series-card-thumb-generated,
+ .series-card-thumb-generated span {
+ width: 100%;
+ height: 100%;
+ display: block;
+ border-radius: 0.4rem;
+ overflow: hidden;
+ border: 1px solid rgba(255,255,255,0.1);
+ background: rgba(255,255,255,0.04);
+ }
+ .series-card-thumb-generated img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+ }
+ .series-card-thumb-placeholder {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #6c757d;
+ font-size: 1rem;
+ background: rgba(255,255,255,0.04);
+ border: 1px solid rgba(255,255,255,0.1);
+ border-radius: 0.4rem;
+ }
+ .series-card-content {
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 0.15rem;
+ }
+ .series-card-heading {
+ font-size: 0.85rem;
+ font-weight: 600;
+ line-height: 1.15;
+ }
+ .series-card-series-number {
+ font-weight: 700;
+ }
+ .series-card-image-count {
+ font-size: 0.75rem;
+ color: #adb5bd;
+ }
+ .series-card-description {
+ font-size: 0.8rem;
+ line-height: 1.2;
+ color: #d4d8dd;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ }
+ .series-card-controls {
+ display: flex;
+ gap: 0.4rem;
+ margin-top: auto;
+ }
+ .series-card-controls .btn {
+ flex: 1;
+ min-width: 0;
+ padding: 0.3rem 0.4rem;
+ font-size: 0.75rem;
+ }
+ .series-block.highlight-series .series-card-shell,
+ .series-block:hover .series-card-shell {
+ border-color: rgba(13,110,253,0.5);
+ background: rgba(13,110,253,0.08);
+ }
+ .series-actions[open] {
+ border: 2px solid #0d6efd;
+ border-radius: .85rem;
+ padding: .85rem;
+ }
+ .series-actions {
+ flex: 1 1 auto;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ gap: .5rem;
+ border: 1px solid rgba(0,0,0,0.06);
+ border-radius: .85rem;
+ padding: .5rem;
+ background: rgba(255,255,255,0.02);
+ }
+ .series-actions-summary { list-style: none; }
+ .series-actions-summary::-webkit-details-marker { display:none; }
+ .series-actions-body {
+ display: flex;
+ flex-direction: column;
+ gap: .5rem;
+ }
+ .series-selection-toolbar {
+ border-top: 1px solid rgba(0,0,0,0.08);
+ border-bottom: 1px solid rgba(0,0,0,0.08);
+ padding: .5rem 0;
+ }
+ .series-actions-grid .btn,
+ .series-actions-body > a.btn,
+ .series-move-panel .btn {
+ width: 100%;
+ }
+ .series-move-panel {
+ background: rgba(255,255,255,0.03);
+ }
+ .series-move-panel .case-details {
+ margin-bottom: .5rem;
+ }
+ .series-actions .btn {
+ vertical-align: middle;
+ text-align: left;
+ }
+ #series-delete-indicator {
+ display: none;
+ }
+ #series-delete-indicator.htmx-request {
+ display: inline-flex;
+ align-items: center;
+ }
+ .case-detail-section {
+ border: 1px solid rgba(255,255,255,0.08);
+ background: rgba(255,255,255,0.02);
+ }
+ .case-detail-section .card-header {
+ background: rgba(255,255,255,0.03);
+ border-bottom: 1px solid rgba(255,255,255,0.08);
+ }
+ .case-detail-section .card-body {
+ overflow-x: auto;
+ }
+ .case-detail-section .list-group-item {
+ background: transparent;
+ border-color: rgba(255,255,255,0.08);
+ }
+ .case-detail-section table {
+ width: 100%;
+ }
+ @media (max-width: 991.98px) {
+ .series-toolbar {
+ flex-direction: column;
+ }
+ .series-toolbar-btn {
+ width: 100%;
+ }
+ .case-detail-section .card-header {
+ padding: .65rem .85rem;
+ }
+ .case-detail-section .card-body {
+ padding: .75rem .85rem;
+ }
+ }
+ @media (max-width: 575.98px) {
+ .series-block {
+ min-width: 100%;
+ max-width: 100%;
+ }
+ .series-card-thumb-wrap {
+ width: 56px;
+ height: 56px;
+ }
+ }
+ @media (prefers-color-scheme: dark) {
+ .series-actions { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.04); }
+ }
+ .link-buttons {
+ float: right;
+ }
+ .normal-block {
+ float: right;
+ }
+
\ No newline at end of file