central view
This commit is contained in:
@@ -5,7 +5,11 @@
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; }
|
||||
html, body, #root { height: 100%; }
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
button, input, select {
|
||||
font: inherit;
|
||||
border-radius: 12px;
|
||||
@@ -27,9 +31,10 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
.layout {
|
||||
display: grid;
|
||||
grid-template-columns: 360px 1fr;
|
||||
min-height: 100vh;
|
||||
height: 100vh;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.card {
|
||||
background: white;
|
||||
@@ -37,7 +42,16 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
box-shadow: 0 10px 30px rgba(20,33,61,0.08);
|
||||
padding: 1rem;
|
||||
}
|
||||
.sidebar, .main { display: flex; flex-direction: column; gap: 1rem; }
|
||||
.sidebar, .main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.sidebar {
|
||||
overflow-y: auto;
|
||||
}
|
||||
.stack { display: flex; flex-direction: column; gap: 0.75rem; }
|
||||
.small-gap { gap: 0.5rem; }
|
||||
.hero { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
||||
@@ -59,7 +73,8 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.instruction-stage {
|
||||
min-height: 180px;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -71,9 +86,11 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
}
|
||||
.instruction-stage p {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.35rem;
|
||||
line-height: 1.5;
|
||||
white-space: pre-wrap;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.stage-label {
|
||||
color: #2563eb;
|
||||
@@ -82,18 +99,19 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.messages {
|
||||
flex: 1;
|
||||
min-height: 220px;
|
||||
flex: 0 0 150px;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
background: #f8fafc;
|
||||
border-radius: 20px;
|
||||
padding: 1rem;
|
||||
}
|
||||
.message {
|
||||
max-width: 80%;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.9rem 1rem;
|
||||
border-radius: 18px;
|
||||
max-width: 92%;
|
||||
margin-bottom: 0.45rem;
|
||||
padding: 0.55rem 0.75rem;
|
||||
border-radius: 12px;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
.message.user {
|
||||
margin-left: auto;
|
||||
@@ -102,13 +120,20 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
.message.assistant {
|
||||
background: #eaf7e7;
|
||||
}
|
||||
.message p { margin: 0.35rem 0 0; white-space: pre-wrap; }
|
||||
.message p {
|
||||
margin: 0.25rem 0 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.composer {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto;
|
||||
gap: 0.75rem;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.assessment {
|
||||
flex: 0 0 auto;
|
||||
background: #fff7ed;
|
||||
padding: 1rem;
|
||||
border-radius: 18px;
|
||||
|
||||
Reference in New Issue
Block a user