feat(chat): simplify teacher pane and color follow-up cards
This commit is contained in:
1 parent
80c9c0d683
commit
862477f9d4
8 files changed
+51
-38
No files matched your search
@@ -49,23 +49,27 @@
|
||||
.classroom-consultation-resizer { position: absolute; inset: 0 auto 0 -4px; width: 8px; z-index: 2; cursor: col-resize; }
|
||||
.classroom-consultation-resizer:hover, .classroom-consultation-resizer:focus-visible { background: #7994b533; }
|
||||
.consultation-pane { background: #fffdf8; color: #30465f; }
|
||||
.classroom-workspace .consultation-header { height: 78px; padding: 12px 15px; gap: 10px; border-bottom: 1px solid #eddbb2; background: #fff4d9; }
|
||||
.classroom-workspace .consultation-avatar { width: 44px; height: 44px; flex-shrink: 0; border: 2px solid white; border-radius: 11px; box-shadow: 0 3px 0 #e3cea2; }
|
||||
.consultation-help-prompt, .consultation-guided-help { color: #536747; }
|
||||
.consultation-help-prompt { background: #f1f5ea; border: 1px solid #dfe7d5; }
|
||||
.consultation-help-prompt:hover:not(:disabled) { background: #e6eedc; border-color: #bacba8; }
|
||||
.consultation-pane button:focus-visible { outline: 2px solid #71845f; outline-offset: 3px; }
|
||||
.consultation-suggestion { border-color: #e0e6d6; color: #718163; }
|
||||
.consultation-suggestion:hover { border-color: #bac9aa; background: #f4f7ee; }
|
||||
.consultation-follow-ups { display: flex; flex-direction: column; gap: 10px; }
|
||||
.consultation-follow-up { --card-background: #eef5ff; --card-hover: #e2edfc; --card-border: #d3e3f7; display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--card-border); border-radius: 16px; background: var(--card-background); color: #344963; font-size: 16px; line-height: 1.8; text-align: left; overflow-wrap: anywhere; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
|
||||
.consultation-follow-up:nth-child(3n + 2) { --card-background: #fff4dc; --card-hover: #ffedc5; --card-border: #eeddb5; }
|
||||
.consultation-follow-up:nth-child(3n + 3) { --card-background: #f3edfc; --card-hover: #eae0f8; --card-border: #e2d7f2; }
|
||||
.consultation-follow-up:hover:not(:disabled) { background: var(--card-hover); }
|
||||
.consultation-follow-up:disabled { cursor: not-allowed; opacity: 0.5; }
|
||||
.consultation-pane .consultation-follow-up:focus-visible { outline-color: #6683a5; }
|
||||
.consultation-user { background: #eaf0e1; }
|
||||
.consultation-composer { border-color: #dce3d3; }
|
||||
.consultation-send { background: #536947; }
|
||||
.consult-icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; color: #8c9781; }
|
||||
.consult-icon:hover { background: #eaf0e1; color: #45563b; }
|
||||
@media (max-width: 1100px) { .classroom-tabs { padding-left: 18px; padding-right: 18px; } }
|
||||
@media (max-width: 900px) { .classroom-consultation-dock { position: absolute; inset: 0 0 0 auto; z-index: 45; max-width: 100%; box-shadow: -12px 0 36px #24311b0d; } .classroom-consultation-resizer { display: none; } }
|
||||
@media (max-width: 600px) { .classroom-consultation-dock { width: 100%!important; } .classroom-workspace [data-testid="coding-message-composer"] { width: calc(100% - 24px); } }
|
||||
@media (prefers-reduced-motion: reduce) { .classroom-workspace *, .consultation-pane * { scroll-behavior: auto!important; } }
|
||||
@media (prefers-reduced-motion: reduce) { .consultation-follow-up { transition: none; } }
|
||||
|
||||
/* The teacher speaks from the title bar without taking the student's focus. */
|
||||
.classroom-composer-view[hidden] { display: none; }
|
||||
|
||||
Reference in new issue
Block a user