New Lab 2
This commit is contained in:
+721
-29
@@ -8,31 +8,31 @@ h1 {
|
||||
font-size: 2.25rem;
|
||||
line-height: 2.5rem;
|
||||
margin-bottom: 10px;
|
||||
color: #004E78;
|
||||
color: #004e78;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.875rem;
|
||||
line-height: 2.25rem;
|
||||
margin-bottom: 10px;
|
||||
color: #004E78;
|
||||
color: #004e78;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 10px;
|
||||
color: #004E78;
|
||||
color: #004e78;
|
||||
}
|
||||
h4 {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.75rem;
|
||||
margin-bottom: 10px;
|
||||
color: #004E78;
|
||||
color: #004e78;
|
||||
}
|
||||
h5 {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.75rem;
|
||||
margin-bottom: 10px;
|
||||
color: #004E78;
|
||||
color: #004e78;
|
||||
}
|
||||
p {
|
||||
font-size: 1rem;
|
||||
@@ -57,34 +57,34 @@ ol {
|
||||
--card-foreground: 0 0% 3.9%;
|
||||
--popover: 0 0% 100%;
|
||||
--popover-foreground: 0 0% 3.9%;
|
||||
|
||||
|
||||
/* #F89C27 / 34, 94%, 56% // #004E78 / 201 100% 24% */
|
||||
--primary: 34, 94%, 56%;
|
||||
--primary-foreground: 0 0% 98%;
|
||||
--secondary: 201 100% 24%;
|
||||
--secondary-foreground: 0 0% 98%;
|
||||
|
||||
|
||||
--muted: 0 0% 96.1%;
|
||||
--muted-foreground: 0 0% 45.1%;
|
||||
--accent: 0 0% 96.1%;
|
||||
--accent-foreground: 0 0% 9%;
|
||||
--destructive: 0 84.2% 60.2%;
|
||||
--destructive-foreground: 0 0% 98%;
|
||||
|
||||
|
||||
--border: 34, 94%, 56%;
|
||||
--input: 0 0% 89.8%;
|
||||
--ring: 34, 94%, 56%;
|
||||
|
||||
|
||||
/* Keeping original chart colors */
|
||||
--chart-1: 12 76% 61%;
|
||||
--chart-2: 173 58% 39%;
|
||||
--chart-3: 197 37% 24%;
|
||||
--chart-4: 43 74% 66%;
|
||||
--chart-5: 27 87% 67%;
|
||||
|
||||
|
||||
--radius: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.dark {
|
||||
--background: 0 0% 3.9%;
|
||||
--foreground: 0 0% 98%;
|
||||
@@ -105,7 +105,7 @@ ol {
|
||||
--border: 0 0% 14.9%;
|
||||
--input: 0 0% 14.9%;
|
||||
--ring: 0 0% 83.1%;
|
||||
|
||||
|
||||
/* Keeping original chart colors */
|
||||
--chart-1: 220 70% 50%;
|
||||
--chart-2: 160 60% 45%;
|
||||
@@ -353,7 +353,9 @@ ol {
|
||||
line-height: 1;
|
||||
padding: 0.36rem 0.62rem;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(61, 36, 1, 0.18);
|
||||
box-shadow:
|
||||
0 1px 0 rgba(255, 255, 255, 0.35),
|
||||
0 1px 2px rgba(61, 36, 1, 0.18);
|
||||
}
|
||||
|
||||
.lab-content pre.lab-prompt-card .lab-copy-button:hover {
|
||||
@@ -402,7 +404,8 @@ ol {
|
||||
}
|
||||
|
||||
.lab-content ul.lab-settings-list .lab-setting-value {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
@@ -474,7 +477,11 @@ ol {
|
||||
margin: 1.8rem 0;
|
||||
padding: 0.4rem 0 0.5rem 1.15rem;
|
||||
border-left: 4px solid #004e78;
|
||||
background: linear-gradient(90deg, rgba(0, 78, 120, 0.08), rgba(0, 78, 120, 0));
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(0, 78, 120, 0.08),
|
||||
rgba(0, 78, 120, 0)
|
||||
);
|
||||
}
|
||||
|
||||
.lab-content.objective-style-rail .objective-segment > h2 {
|
||||
@@ -552,17 +559,20 @@ ol {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.lab-content.step-style-pills .lab-step-title[data-step-mode="execute"]::before {
|
||||
.lab-content.step-style-pills
|
||||
.lab-step-title[data-step-mode="execute"]::before {
|
||||
color: #8a4d00;
|
||||
background: #fee7c7;
|
||||
}
|
||||
|
||||
.lab-content.step-style-pills .lab-step-title[data-step-mode="explore"]::before {
|
||||
.lab-content.step-style-pills
|
||||
.lab-step-title[data-step-mode="explore"]::before {
|
||||
color: #0f4970;
|
||||
background: #d9ebfb;
|
||||
}
|
||||
|
||||
.lab-content.step-style-pills .lab-step-title[data-step-mode="checkpoint"]::before {
|
||||
.lab-content.step-style-pills
|
||||
.lab-step-title[data-step-mode="checkpoint"]::before {
|
||||
color: #0e5e35;
|
||||
background: #d9f7e4;
|
||||
}
|
||||
@@ -645,11 +655,13 @@ ol {
|
||||
border-left: 2px dashed #c6d5e3;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-workflow .step-segment[data-step-kind="explanation"] {
|
||||
.lab-content.breakout-style-workflow
|
||||
.step-segment[data-step-kind="explanation"] {
|
||||
border-left-color: #6da9d8;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-workflow .step-segment[data-step-kind="instruction"] {
|
||||
.lab-content.breakout-style-workflow
|
||||
.step-segment[data-step-kind="instruction"] {
|
||||
border-left-color: #de9a2e;
|
||||
}
|
||||
|
||||
@@ -669,11 +681,13 @@ ol {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-workflow .step-segment[data-step-kind="instruction"]::before {
|
||||
.lab-content.breakout-style-workflow
|
||||
.step-segment[data-step-kind="instruction"]::before {
|
||||
background: #de9a2e;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-workflow .step-segment[data-step-kind="mixed"]::before {
|
||||
.lab-content.breakout-style-workflow
|
||||
.step-segment[data-step-kind="mixed"]::before {
|
||||
background: #4a95ab;
|
||||
}
|
||||
|
||||
@@ -689,22 +703,26 @@ ol {
|
||||
padding: 0.3rem 0 0.45rem;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-command-pills .step-segment[data-step-kind="instruction"] {
|
||||
.lab-content.breakout-style-command-pills
|
||||
.step-segment[data-step-kind="instruction"] {
|
||||
border-left: 3px solid #f0b45f;
|
||||
padding-left: 0.75rem;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-command-pills .step-segment[data-step-kind="explanation"] {
|
||||
.lab-content.breakout-style-command-pills
|
||||
.step-segment[data-step-kind="explanation"] {
|
||||
border-left: 3px solid #8dc1e7;
|
||||
padding-left: 0.75rem;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-command-pills .step-segment[data-step-kind="mixed"] {
|
||||
.lab-content.breakout-style-command-pills
|
||||
.step-segment[data-step-kind="mixed"] {
|
||||
border-left: 3px solid #6db0bf;
|
||||
padding-left: 0.75rem;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-command-pills .step-segment[data-step-kind]::before {
|
||||
.lab-content.breakout-style-command-pills
|
||||
.step-segment[data-step-kind]::before {
|
||||
color: #4a6477;
|
||||
content: attr(data-step-kind);
|
||||
}
|
||||
@@ -726,15 +744,18 @@ ol {
|
||||
background: #6db0bf;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-instruction-rails .step-segment[data-step-kind="instruction"]::after {
|
||||
.lab-content.breakout-style-instruction-rails
|
||||
.step-segment[data-step-kind="instruction"]::after {
|
||||
background: #f0b45f;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-instruction-rails .step-segment[data-step-kind="explanation"]::after {
|
||||
.lab-content.breakout-style-instruction-rails
|
||||
.step-segment[data-step-kind="explanation"]::after {
|
||||
background: #8dc1e7;
|
||||
}
|
||||
|
||||
.lab-content.breakout-style-instruction-rails .step-segment[data-step-kind]::before {
|
||||
.lab-content.breakout-style-instruction-rails
|
||||
.step-segment[data-step-kind]::before {
|
||||
color: #4a6477;
|
||||
content: attr(data-step-kind);
|
||||
}
|
||||
@@ -815,6 +836,653 @@ ol {
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.lab-content [data-quantization-explorer] {
|
||||
margin: 1.25rem 0 1.5rem;
|
||||
}
|
||||
|
||||
.lab-content [data-quantization-grid-explorer] {
|
||||
margin: 1.25rem 0 1.5rem;
|
||||
}
|
||||
|
||||
.lab-content [data-objective5-chat] {
|
||||
margin: 1.25rem 0 1.5rem;
|
||||
}
|
||||
|
||||
.quantization-explorer {
|
||||
border: 1px solid #d7e4ef;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, #fbfdff, #f4f9fd);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.quantization-explorer h3 {
|
||||
margin: 0.1rem 0 0;
|
||||
color: #0f3d58;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.quantization-explorer code {
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
}
|
||||
|
||||
.quantization-explorer__header {
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__eyebrow {
|
||||
margin: 0;
|
||||
color: #9a5f00;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.quantization-explorer__lede {
|
||||
margin: 0.55rem 0 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.quantization-explorer__controls {
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card,
|
||||
.quantization-explorer__focus-card,
|
||||
.quantization-grid-explorer__slider-card,
|
||||
.quantization-grid-explorer__cell {
|
||||
border: 1px solid #dce6ee;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card,
|
||||
.quantization-grid-explorer__slider-card {
|
||||
--slider-thumb-size: 1.1rem;
|
||||
--slider-thumb-offset: calc(var(--slider-thumb-size) / 2);
|
||||
padding: 0.85rem 0.95rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-label,
|
||||
.quantization-grid-explorer__slider-label {
|
||||
display: block;
|
||||
color: #334155;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card input[type="range"],
|
||||
.quantization-grid-explorer__slider-card input[type="range"] {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
display: block;
|
||||
width: calc(100% - var(--slider-thumb-size));
|
||||
margin-left: var(--slider-thumb-offset);
|
||||
margin-right: var(--slider-thumb-offset);
|
||||
margin-top: 0.75rem;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card
|
||||
input[type="range"]::-webkit-slider-runnable-track,
|
||||
.quantization-grid-explorer__slider-card
|
||||
input[type="range"]::-webkit-slider-runnable-track {
|
||||
height: 0.72rem;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card input[type="range"]::-webkit-slider-thumb,
|
||||
.quantization-grid-explorer__slider-card
|
||||
input[type="range"]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: var(--slider-thumb-size);
|
||||
height: var(--slider-thumb-size);
|
||||
margin-top: calc((0.72rem - var(--slider-thumb-size)) / 2);
|
||||
border: 1px solid #c8d6e3;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #ffffff, #eef3f8);
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card input[type="range"]::-moz-range-track,
|
||||
.quantization-grid-explorer__slider-card input[type="range"]::-moz-range-track {
|
||||
height: 0.72rem;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
|
||||
}
|
||||
|
||||
.quantization-explorer__slider-card input[type="range"]::-moz-range-thumb,
|
||||
.quantization-grid-explorer__slider-card input[type="range"]::-moz-range-thumb {
|
||||
width: var(--slider-thumb-size);
|
||||
height: var(--slider-thumb-size);
|
||||
border: 1px solid #c8d6e3;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #ffffff, #eef3f8);
|
||||
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row,
|
||||
.quantization-grid-explorer__tick-row {
|
||||
position: relative;
|
||||
height: 1.35rem;
|
||||
margin-top: 0.3rem;
|
||||
width: calc(100% - var(--slider-thumb-size));
|
||||
margin-left: var(--slider-thumb-offset);
|
||||
margin-right: var(--slider-thumb-offset);
|
||||
color: #64748b;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span,
|
||||
.quantization-grid-explorer__tick-row span {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span:nth-child(1),
|
||||
.quantization-grid-explorer__tick-row span:nth-child(1) {
|
||||
left: 0%;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span:nth-child(2),
|
||||
.quantization-grid-explorer__tick-row span:nth-child(2) {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span:nth-child(3),
|
||||
.quantization-grid-explorer__tick-row span:nth-child(3) {
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span:nth-child(4),
|
||||
.quantization-grid-explorer__tick-row span:nth-child(4) {
|
||||
left: 75%;
|
||||
}
|
||||
|
||||
.quantization-explorer__tick-row span:nth-child(5),
|
||||
.quantization-grid-explorer__tick-row span:nth-child(5) {
|
||||
left: 100%;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
.quantization-explorer__focus-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__focus-grid--four {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.quantization-explorer__focus-card {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__focus-label {
|
||||
display: block;
|
||||
margin-bottom: 0.45rem;
|
||||
color: #64748b;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.quantization-explorer__focus-value {
|
||||
color: #0f3d58;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quantization-explorer__helper {
|
||||
margin: 0.95rem 0 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.quantization-explorer__formula {
|
||||
margin-top: 0.85rem;
|
||||
padding: 0.8rem 0.9rem;
|
||||
border: 1px solid #dce6ee;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.quantization-explorer__formula-label {
|
||||
display: block;
|
||||
margin-bottom: 0.35rem;
|
||||
color: #64748b;
|
||||
font-size: 0.76rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.quantization-explorer__formula code {
|
||||
color: #0f3d58;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer {
|
||||
border: 1px solid #d7e4ef;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, #fbfdff, #f4f9fd);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer h3 {
|
||||
margin: 0.1rem 0 0;
|
||||
color: #0f3d58;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer code {
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__header {
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__eyebrow {
|
||||
margin: 0;
|
||||
color: #9a5f00;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__lede {
|
||||
margin: 0.55rem 0 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__helper {
|
||||
margin: 0.95rem 0 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__cell {
|
||||
padding: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__cell-label {
|
||||
display: block;
|
||||
margin-bottom: 0.35rem;
|
||||
color: #64748b;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__cell-value {
|
||||
display: block;
|
||||
color: #0f3d58;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__cell-caption {
|
||||
display: block;
|
||||
margin-top: 0.35rem;
|
||||
color: #64748b;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.objective5-chat {
|
||||
border: 1px solid #d7e4ef;
|
||||
border-radius: 18px;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 30%),
|
||||
linear-gradient(180deg, #fbfdff, #f3f8fc);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.objective5-chat h3 {
|
||||
margin: 0.12rem 0 0;
|
||||
color: #0f3d58;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.objective5-chat code,
|
||||
.objective5-chat pre,
|
||||
.objective5-chat input,
|
||||
.objective5-chat textarea,
|
||||
.objective5-chat select {
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
}
|
||||
|
||||
.objective5-chat__header {
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
.objective5-chat__eyebrow {
|
||||
margin: 0;
|
||||
color: #9a5f00;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.objective5-chat__lede {
|
||||
margin: 0.55rem 0 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.objective5-chat__settings {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.85rem;
|
||||
}
|
||||
|
||||
.objective5-chat__field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.42rem;
|
||||
padding: 0.9rem;
|
||||
border: 1px solid #dce6ee;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
}
|
||||
|
||||
.objective5-chat__field span {
|
||||
color: #334155;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.objective5-chat__field input,
|
||||
.objective5-chat__field select,
|
||||
.objective5-chat__composer textarea {
|
||||
width: 100%;
|
||||
border: 1px solid #cbd9e5;
|
||||
border-radius: 12px;
|
||||
background: #f8fbfe;
|
||||
color: #0f172a;
|
||||
font-size: 0.95rem;
|
||||
padding: 0.7rem 0.8rem;
|
||||
}
|
||||
|
||||
.objective5-chat__field input:focus,
|
||||
.objective5-chat__field select:focus,
|
||||
.objective5-chat__composer textarea:focus {
|
||||
outline: 2px solid rgba(37, 99, 235, 0.18);
|
||||
outline-offset: 2px;
|
||||
border-color: #8bb4db;
|
||||
}
|
||||
|
||||
.objective5-chat__model-row {
|
||||
display: flex;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.objective5-chat__model-row select {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.objective5-chat__refresh-button {
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid #cbd9e5;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(180deg, #ffffff, #eff5fb);
|
||||
color: #18466a;
|
||||
cursor: pointer;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 700;
|
||||
padding: 0.7rem 0.9rem;
|
||||
}
|
||||
|
||||
.objective5-chat__refresh-button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.objective5-chat__settings-note {
|
||||
margin: 0.85rem 0 0;
|
||||
color: #526173;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.objective5-chat__prompt-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6rem;
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
|
||||
.objective5-chat__prompt-chip {
|
||||
border: 1px solid #d4dfea;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #ffffff, #f3f8fd);
|
||||
color: #18466a;
|
||||
cursor: pointer;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
padding: 0.52rem 0.82rem;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
border-color 160ms ease,
|
||||
box-shadow 160ms ease;
|
||||
}
|
||||
|
||||
.objective5-chat__prompt-chip:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: #b8cadc;
|
||||
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
|
||||
}
|
||||
|
||||
.objective5-chat__transcript {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.85rem;
|
||||
min-height: 16rem;
|
||||
margin-top: 1rem;
|
||||
padding: 0.3rem;
|
||||
}
|
||||
|
||||
.objective5-chat__empty,
|
||||
.objective5-chat__message {
|
||||
border: 1px solid #dce6ee;
|
||||
border-radius: 16px;
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
padding: 0.9rem 0.95rem;
|
||||
}
|
||||
|
||||
.objective5-chat__empty strong {
|
||||
display: block;
|
||||
color: #0f3d58;
|
||||
}
|
||||
|
||||
.objective5-chat__empty p {
|
||||
margin: 0.45rem 0 0;
|
||||
color: #516273;
|
||||
}
|
||||
|
||||
.objective5-chat__message--user {
|
||||
background: linear-gradient(180deg, #fff9ee, #fffdf8);
|
||||
border-color: #f0dfbb;
|
||||
}
|
||||
|
||||
.objective5-chat__message-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.7rem;
|
||||
color: #516273;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.objective5-chat__message-meta code {
|
||||
font-size: 0.76rem;
|
||||
color: #0f4f76;
|
||||
}
|
||||
|
||||
.objective5-chat__message-body {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
color: #0f172a;
|
||||
font-size: 0.93rem;
|
||||
}
|
||||
|
||||
.objective5-chat__message-body code {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.objective5-chat__svg-block {
|
||||
display: grid;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.objective5-chat__svg-preview {
|
||||
width: 100%;
|
||||
max-width: 26rem;
|
||||
border: 1px solid #d7e4ef;
|
||||
border-radius: 14px;
|
||||
background:
|
||||
linear-gradient(45deg, #f8fbff 25%, #eef4fa 25%, #eef4fa 50%, #f8fbff 50%, #f8fbff 75%, #eef4fa 75%, #eef4fa);
|
||||
background-size: 18px 18px;
|
||||
padding: 0.7rem;
|
||||
}
|
||||
|
||||
.objective5-chat__svg-source summary {
|
||||
cursor: pointer;
|
||||
color: #18466a;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.objective5-chat__svg-source pre {
|
||||
overflow-x: auto;
|
||||
margin: 0.6rem 0 0;
|
||||
padding: 0.75rem;
|
||||
border-radius: 12px;
|
||||
background: #0f172a;
|
||||
color: #dbeafe;
|
||||
font-size: 0.8rem;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.objective5-chat__metrics {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.objective5-chat__metric-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 2rem;
|
||||
padding: 0.36rem 0.7rem;
|
||||
border: 1px solid #d7e4ef;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #f8fbfe, #eef5fb);
|
||||
color: #18466a;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.objective5-chat__message-warning,
|
||||
.objective5-chat__error {
|
||||
margin: 0.75rem 0 0;
|
||||
color: #8a3b12;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.objective5-chat__error--inline {
|
||||
margin-top: 0.55rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-label {
|
||||
color: #334155;
|
||||
font-size: 0.86rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.objective5-chat__composer textarea {
|
||||
min-height: 8.5rem;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.18rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-state span {
|
||||
color: #64748b;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.03em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-state strong {
|
||||
color: #0f3d58;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer button {
|
||||
border: 1px solid #c3d4e4;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, #0f4f76, #123c58);
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
padding: 0.72rem 1.05rem;
|
||||
}
|
||||
|
||||
.objective5-chat__composer button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.72;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.lab-content.objective-style-cards .objective-segment {
|
||||
padding: 0.9rem 1rem 1rem;
|
||||
@@ -857,4 +1525,28 @@ ol {
|
||||
.lab-content ul.concept-pill-list > li {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.quantization-explorer__controls,
|
||||
.quantization-explorer__focus-grid,
|
||||
.quantization-explorer__focus-grid--four {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quantization-grid-explorer__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.objective5-chat__settings {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.objective5-chat__model-row {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.objective5-chat__composer-actions,
|
||||
.objective5-chat__message-meta {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user