Skip to content

Commit b271066

Browse files
jasonczcclaude
andcommitted
style(web): restore border on Share + bump header to claude-clone scale
- main-header: 38px → 56px height, 16px → 20px padding, bottom border - breadcrumb: 11.5/14px → 15px, gap 6 → 8px - btn-share: reinstate 1px #E6E6E6 border and 6px radius - icon-action-btn: proper 6px radius hover plate Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 542f9b8 commit b271066

1 file changed

Lines changed: 26 additions & 21 deletions

File tree

web/src/cursor-theme.css

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -375,52 +375,54 @@ body {
375375
}
376376

377377
.main-header {
378-
height: 38px; /* Micro header */
378+
height: 56px;
379379
display: flex;
380380
align-items: center;
381381
justify-content: space-between;
382-
padding: 0 16px;
382+
padding: 0 20px;
383383
}
384384

385385
.breadcrumb {
386386
display: flex;
387387
align-items: center;
388-
gap: 4px;
388+
gap: 8px;
389389
color: var(--cursor-text-secondary);
390-
font-size: 11.5px; /* Downsized font */
391-
font-weight: 500;
390+
font-size: 15px;
391+
font-weight: 400;
392392
}
393393

394394
.header-actions {
395395
display: flex;
396396
align-items: center;
397-
gap: 4px;
397+
gap: 10px;
398398
}
399399

400400
.btn-share {
401401
background: transparent;
402-
border: none;
403-
padding: 3px 8px;
404-
border-radius: 4px;
405-
font-size: 12.5px;
406-
font-weight: 500;
407-
color: var(--cursor-text-secondary);
402+
border: 1px solid #E6E6E6;
403+
padding: 5px 12px;
404+
border-radius: 6px;
405+
font-size: 14px;
406+
font-weight: 400;
407+
color: var(--cursor-text-primary);
408408
cursor: pointer;
409409
}
410-
.btn-share:hover { background-color: var(--cc-accent-hover); color: var(--cursor-text-primary); }
410+
.btn-share:hover { background-color: #F3F3F3; }
411411

412412
.icon-action-btn {
413413
display: flex;
414414
align-items: center;
415-
gap: 2px;
415+
gap: 4px;
416416
background: transparent;
417417
border: none;
418-
padding: 2px;
419-
color: #888888;
418+
padding: 4px 6px;
419+
border-radius: 6px;
420+
color: #6B6B6B;
420421
cursor: pointer;
421422
}
422423
.icon-action-btn:hover {
423424
color: var(--cursor-text-primary);
425+
background-color: #F3F3F3;
424426
}
425427

426428
/* Chat Window */
@@ -1061,11 +1063,14 @@ body {
10611063
.cursor-theme .main-content { background: var(--cursor-bg-app); border: none; border-radius: 0; box-shadow: none; }
10621064

10631065
/* Main header density */
1064-
.cursor-theme .main-header { height: 38px; padding: 0 16px; }
1065-
.cursor-theme .breadcrumb { font-size: 14px; gap: 6px; color: var(--cursor-text-primary); font-weight: 500; }
1066-
.cursor-theme .breadcrumb > *:not(:last-child) { color: var(--cursor-text-secondary); font-weight: 400; }
1067-
.cursor-theme .btn-share { padding: 3px 8px; font-size: 13px; border-radius: 6px; border: none !important; background: transparent; color: var(--cursor-text-secondary); font-weight: 500; }
1068-
.cursor-theme .btn-share:hover { background-color: #F3F3F3; color: var(--cursor-text-primary); }
1066+
.cursor-theme .main-header { height: 56px !important; padding: 0 20px !important; border-bottom: 1px solid #F0F0F0 !important; }
1067+
.cursor-theme .breadcrumb { font-size: 15px !important; gap: 8px !important; color: var(--cursor-text-secondary) !important; font-weight: 400 !important; }
1068+
.cursor-theme .breadcrumb > span[style*="fontWeight"] { color: var(--cursor-text-primary) !important; font-weight: 500 !important; }
1069+
.cursor-theme .btn-share { padding: 5px 12px !important; font-size: 14px !important; border-radius: 6px !important; border: 1px solid #E6E6E6 !important; background: transparent !important; color: var(--cursor-text-primary) !important; font-weight: 400 !important; }
1070+
.cursor-theme .btn-share:hover { background-color: #F3F3F3 !important; }
1071+
.cursor-theme .header-actions { gap: 10px !important; }
1072+
.cursor-theme .icon-action-btn { padding: 4px 6px !important; border-radius: 6px !important; color: #6B6B6B !important; }
1073+
.cursor-theme .icon-action-btn:hover { background-color: #F3F3F3 !important; color: var(--cursor-text-primary) !important; }
10691074

10701075
/* ============================================================
10711076
COMPOSER — force claude-clone's short thin input shape.

0 commit comments

Comments
 (0)