Use the bottom edge of the comment box as progress bar
The progress until the next comment no longer takes a row of its own; it runs along the bottom edge of the box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0660affb56
commit
12b10121ec
2 files changed
+5
-4
No files matched your search
@@ -225,7 +225,7 @@ tests/ PHPUnit; PlenarioTestTrait erzeugt Testdaten, Fixtures
|
|||||||
`Comments.delay()` = 2,5 s + 15 Zeichen/s, 5–30 s, geteilt durch das Tempo der Umfrage `polls.comment_speed` (Prozent aus
|
`Comments.delay()` = 2,5 s + 15 Zeichen/s, 5–30 s, geteilt durch das Tempo der Umfrage `polls.comment_speed` (Prozent aus
|
||||||
`Poll::COMMENT_SPEEDS`, im State `poll.commentSpeed` als Faktor, Dashboard → „Einstellungen“); Vor/Zurück/Fortsetzen geben dem Kommentar wieder die volle Zeit; „Kommentar X von N“,
|
`Poll::COMMENT_SPEEDS`, im State `poll.commentSpeed` als Faktor, Dashboard → „Einstellungen“); Vor/Zurück/Fortsetzen geben dem Kommentar wieder die volle Zeit; „Kommentar X von N“,
|
||||||
vor/zurück/Pause, Laufbalken bis zum Wechsel (`Comments.progress()`, setzt nach dem Neu-Rendern per negativem
|
vor/zurück/Pause, Laufbalken bis zum Wechsel (`Comments.progress()`, setzt nach dem Neu-Rendern per negativem
|
||||||
`animation-delay` fort, bei Pause unsichtbar), Zustand übersteht das Neu-Rendern beim Polling; die Box ist so hoch wie der längste Kommentar – alle liegen unsichtbar in derselben Grid-Zelle –, damit die zentrierte Bühne beim Wechsel nicht springt; höchstens `--comment-max` ≈ 5 Zeilen, längere Kommentare setzt `Comments.fit()` kleiner statt sie abzuschneiden; die Bewertung steht über dem Text, damit sie an fester Stelle bleibt). Bei internem Feedback erscheinen sie erst,
|
`animation-delay` fort, bei Pause unsichtbar), Zustand übersteht das Neu-Rendern beim Polling; die Box ist so hoch wie der längste Kommentar – alle liegen unsichtbar in derselben Grid-Zelle –, damit die zentrierte Bühne beim Wechsel nicht springt; höchstens `--comment-max` ≈ 5 Zeilen, längere Kommentare setzt `Comments.fit()` kleiner statt sie abzuschneiden; die Bewertung steht über dem Text, damit sie an fester Stelle bleibt; der Fortschrittsbalken ist die Unterkante der Box). Bei internem Feedback erscheinen sie erst,
|
||||||
wenn der Presenter die Ergebnisse einblendet.
|
wenn der Presenter die Ergebnisse einblendet.
|
||||||
- **Sterne-Bewertung** (Skala mit Setting `style = stars`, `Slide::isStarRating()`, Standard `numbers`): immer 1 bis `scale_max`
|
- **Sterne-Bewertung** (Skala mit Setting `style = stars`, `Slide::isStarRating()`, Standard `numbers`): immer 1 bis `scale_max`
|
||||||
Sterne (`SlidesTable::sanitizeSettings()` erzwingt `scale_min = 1`), gespeichert wie jede Skala als `numeric_value`.
|
Sterne (`SlidesTable::sanitizeSettings()` erzwingt `scale_min = 1`), gespeichert wie jede Skala als `numeric_value`.
|
||||||
|
|||||||
@@ -580,7 +580,7 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
|
|||||||
.own-comment__edit { margin-top: 12px; }
|
.own-comment__edit { margin-top: 12px; }
|
||||||
.own-comment__edit summary { cursor: pointer; color: var(--muted); width: max-content; max-width: 100%; }
|
.own-comment__edit summary { cursor: pointer; color: var(--muted); width: max-content; max-width: 100%; }
|
||||||
.own-comment__edit summary:hover { color: var(--text); }
|
.own-comment__edit summary:hover { color: var(--text); }
|
||||||
.comments { margin-top: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; }
|
.comments { position: relative; overflow: hidden; margin-top: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; }
|
||||||
.comments__counter { margin: 0 0 6px; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
|
.comments__counter { margin: 0 0 6px; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||||
.comments__text { margin: 0; font-size: var(--comment-size); font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
|
.comments__text { margin: 0; font-size: var(--comment-size); font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
|
||||||
.comments__text::before { content: '„'; }
|
.comments__text::before { content: '„'; }
|
||||||
@@ -593,8 +593,9 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
|
|||||||
/* at most about 5 lines; longer comments are set smaller by Comments.fit() instead of being cut off */
|
/* at most about 5 lines; longer comments are set smaller by Comments.fit() instead of being cut off */
|
||||||
.comments { --comment-size: 1.25em; --comment-max: 9.5em; }
|
.comments { --comment-size: 1.25em; --comment-max: 9.5em; }
|
||||||
.comments__sizer, .comments__current { max-height: var(--comment-max); overflow: hidden; }
|
.comments__sizer, .comments__current { max-height: var(--comment-max); overflow: hidden; }
|
||||||
.comments__progress { height: 4px; margin-top: 14px; border-radius: 2px; background: var(--border); overflow: hidden; }
|
/* progress until the next comment: the bottom edge of the box, takes no room of its own */
|
||||||
.comments__progress[hidden] { display: block; visibility: hidden; } /* keeps the layout steady while paused */
|
.comments__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--border); }
|
||||||
|
.comments__progress[hidden] { display: block; visibility: hidden; } /* paused: the edge stays plain */
|
||||||
.comments__progress-fill { height: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
|
.comments__progress-fill { height: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
|
||||||
@keyframes comment-progress {
|
@keyframes comment-progress {
|
||||||
from { transform: scaleX(0); }
|
from { transform: scaleX(0); }
|
||||||
|
|||||||
Reference in new issue
Block a user