eunzzang's picture
Fix learning route build and restore word learning layout
11ab88a verified
Raw
History Blame Contribute Delete
1.38 kB
.predict-layout.has-result {
grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr);
}
.button-link svg,
button svg,
.upload-area span svg {
flex: 0 0 auto;
margin-right: 7px;
}
.upload-area span {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 2px;
}
.home-hero.is-hidden {
opacity: 0;
transform: translateY(12px);
pointer-events: none;
}
.webcam-test-shell {
max-width: 920px;
margin: 0 auto;
}
.webcam-test-toolbar {
align-items: center;
justify-content: flex-start;
}
.webcam-test-toolbar select {
min-width: min(260px, 100%);
height: 44px;
border: 2px solid rgba(108, 67, 40, .38);
border-radius: 8px;
padding: 0 12px;
background: #ffffff;
color: var(--text);
font-weight: 700;
}
.webcam-test-video {
width: 100%;
aspect-ratio: 16 / 9;
margin-top: 16px;
object-fit: cover;
border: 3px solid var(--line);
border-radius: 8px;
background: #111827;
box-shadow: 4px 5px 0 rgba(108, 67, 40, .9);
}
.webcam-test-status {
min-height: 96px;
margin-top: 14px;
padding: 14px;
white-space: pre-wrap;
background: var(--panel);
border: 3px solid var(--line);
border-radius: 8px;
color: var(--text);
}
@media (max-width: 820px) {
.predict-layout.has-result {
grid-template-columns: 1fr;
}
}