cltsangwork commited on
Commit
c193818
·
verified ·
1 Parent(s): fdf8aad

Added matching side-by-side styling

Browse files
Files changed (1) hide show
  1. style.css +49 -1
style.css CHANGED
@@ -170,9 +170,17 @@ h1 {
170
  .or-row::before, .or-row::after { content: ''; height: 1px; flex: 1; background: #eceff4; }
171
  .file-input { width: 100%; margin-top: 16px; padding: 11px; border: 1px dashed #bac3d2; border-radius: 14px; background: #fafbfc; }
172
  .divider { height: 1px; margin: 22px 0; background: #eceff4; }
 
 
 
 
 
 
 
 
173
  .model-select, textarea {
174
  width: 100%;
175
- margin-top: 10px;
176
  padding: 11px 12px;
177
  border: 1px solid #cfd7e3;
178
  border-radius: 12px;
@@ -225,6 +233,45 @@ textarea { resize: vertical; line-height: 1.45; }
225
  #preview-placeholder { margin: 0; padding: 32px; color: #9aa4b2; text-align: center; }
226
  .preview-wrap:not(.empty) #preview-placeholder { display: none; }
227
  .summary { margin: 16px 0; padding: 13px 15px; border-radius: 13px; background: #f7f8fa; color: #344054; font-weight: 650; line-height: 1.5; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  .run-meta {
229
  display: grid;
230
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -276,6 +323,7 @@ footer { padding: 14px 2px 0; color: #7a8595; font-size: .84rem; }
276
  .card { border-radius: 17px; }
277
  .controls, .result, .explain, .history { padding: 18px; }
278
  .result-head { align-items: center; }
 
279
  .run-meta { grid-template-columns: 1fr; }
280
  .history-head { display: block; }
281
  .secondary-button { margin-top: 12px; }
 
170
  .or-row::before, .or-row::after { content: ''; height: 1px; flex: 1; background: #eceff4; }
171
  .file-input { width: 100%; margin-top: 16px; padding: 11px; border: 1px dashed #bac3d2; border-radius: 14px; background: #fafbfc; }
172
  .divider { height: 1px; margin: 22px 0; background: #eceff4; }
173
+ .model-pair {
174
+ display: grid;
175
+ grid-template-columns: repeat(2, minmax(0, 1fr));
176
+ gap: 12px;
177
+ margin-top: 10px;
178
+ }
179
+ .model-field { min-width: 0; }
180
+ .model-sub-label { display: block; margin-bottom: 6px; }
181
  .model-select, textarea {
182
  width: 100%;
183
+ margin-top: 0;
184
  padding: 11px 12px;
185
  border: 1px solid #cfd7e3;
186
  border-radius: 12px;
 
233
  #preview-placeholder { margin: 0; padding: 32px; color: #9aa4b2; text-align: center; }
234
  .preview-wrap:not(.empty) #preview-placeholder { display: none; }
235
  .summary { margin: 16px 0; padding: 13px 15px; border-radius: 13px; background: #f7f8fa; color: #344054; font-weight: 650; line-height: 1.5; }
236
+ .comparison-grid {
237
+ display: grid;
238
+ grid-template-columns: repeat(2, minmax(0, 1fr));
239
+ gap: 14px;
240
+ margin-top: 18px;
241
+ }
242
+ .comparison-panel {
243
+ padding: 16px;
244
+ border: 1px solid #e8ebf0;
245
+ border-radius: 16px;
246
+ background: #fafbfc;
247
+ }
248
+ .comparison-header {
249
+ display: flex;
250
+ align-items: center;
251
+ justify-content: space-between;
252
+ gap: 8px;
253
+ margin-bottom: 12px;
254
+ }
255
+ .comparison-header h3 { margin: 0; font-size: 1rem; letter-spacing: -.01em; }
256
+ .panel-pill {
257
+ display: inline-flex;
258
+ align-items: center;
259
+ justify-content: center;
260
+ width: 26px;
261
+ height: 26px;
262
+ border-radius: 50%;
263
+ background: #111827;
264
+ color: #fff;
265
+ font-size: .72rem;
266
+ font-weight: 800;
267
+ }
268
+ .comparison-summary {
269
+ margin-bottom: 12px;
270
+ color: #344054;
271
+ font-weight: 650;
272
+ line-height: 1.55;
273
+ }
274
+ .table-wrap.compact { border-radius: 12px; }
275
  .run-meta {
276
  display: grid;
277
  grid-template-columns: repeat(3, minmax(0, 1fr));
 
323
  .card { border-radius: 17px; }
324
  .controls, .result, .explain, .history { padding: 18px; }
325
  .result-head { align-items: center; }
326
+ .comparison-grid { grid-template-columns: 1fr; }
327
  .run-meta { grid-template-columns: 1fr; }
328
  .history-head { display: block; }
329
  .secondary-button { margin-top: 12px; }