style: polish study practice modes
This commit is contained in:
1 parent
06766c3079
commit
a6ac042e83
1 file changed
+159
-2
+159
-2
@@ -449,7 +449,7 @@ textarea:focus {
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-rows: minmax(520px, 1fr) auto auto;
|
||||
grid-template-rows: minmax(500px, 1fr) auto auto auto;
|
||||
}
|
||||
|
||||
.video-frame {
|
||||
@@ -540,6 +540,137 @@ video {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.practice-panel {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding: 13px 16px 14px;
|
||||
border-top: 1px solid var(--line);
|
||||
background: #fbfdfd;
|
||||
}
|
||||
|
||||
.practice-mode-bar {
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.practice-mode-bar .tab {
|
||||
min-height: 32px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
padding: 0 13px;
|
||||
color: #344054;
|
||||
background: #eef4f6;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.practice-mode-bar .tab:hover {
|
||||
border-color: #b9dcd5;
|
||||
background: var(--brand-soft);
|
||||
}
|
||||
|
||||
.practice-mode-bar .tab.active {
|
||||
color: #fff;
|
||||
border-color: var(--accent);
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.practice-body {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.practice-prompt {
|
||||
min-height: 70px;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 5px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #dde7ef;
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.practice-label {
|
||||
color: var(--brand);
|
||||
font-size: 12px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.practice-primary,
|
||||
.practice-secondary,
|
||||
.practice-feedback {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.practice-primary {
|
||||
color: #172033;
|
||||
font-size: 16px;
|
||||
line-height: 1.45;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.practice-secondary {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.practice-answer-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 9px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.practice-answer-row textarea {
|
||||
min-height: 58px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.practice-answer-row button {
|
||||
min-width: 76px;
|
||||
min-height: 42px;
|
||||
align-self: start;
|
||||
color: #ffffff;
|
||||
border-color: var(--brand);
|
||||
background: var(--brand);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.practice-answer-row button:hover {
|
||||
border-color: #0d625c;
|
||||
background: #0d625c;
|
||||
}
|
||||
|
||||
.practice-answer-row button:disabled {
|
||||
color: #98a2b3;
|
||||
border-color: #d8e2ec;
|
||||
background: #e8eef5;
|
||||
}
|
||||
|
||||
.practice-feedback {
|
||||
min-height: 20px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.practice-feedback.is-correct {
|
||||
color: #047857;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.practice-feedback.is-incorrect,
|
||||
.practice-feedback.is-empty,
|
||||
.practice-feedback.is-missing-reference {
|
||||
color: var(--danger);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.practice-feedback.is-muted {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.sentence-controls button {
|
||||
min-width: 76px;
|
||||
color: #0f2742;
|
||||
@@ -694,6 +825,20 @@ video {
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.transcript-title {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.transcript-title strong {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.transcript-title span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
gap: 2px;
|
||||
}
|
||||
@@ -1715,13 +1860,25 @@ video {
|
||||
}
|
||||
|
||||
.video-panel {
|
||||
grid-template-rows: minmax(360px, 1fr) auto auto;
|
||||
grid-template-rows: minmax(340px, 1fr) auto auto auto;
|
||||
}
|
||||
|
||||
.video-frame {
|
||||
min-height: 360px;
|
||||
}
|
||||
|
||||
.practice-panel {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.practice-answer-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.practice-answer-row button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tool-row {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user