Initial open-source release

Claude-Session: https://claude.ai/code/session_01B65qLEKnkeYTGdbwhLpjCu
Цей коміт міститься в:
l0ng-ai committed 2026-10-22 18:55:10 +08:00
коміт 9a2025b76e
2034 files changed
+243381

No files matched your search

+209
Переглянути файл
@@ -0,0 +1,209 @@
.root {
flex: 1;
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
background: var(--bg-app);
}
.toolbar {
flex: none;
height: var(--h-header);
display: flex;
align-items: center;
gap: 2px;
padding: 0 6px;
border-bottom: 1px solid var(--border);
}
.sep {
width: 1px;
height: 14px;
margin: 0 4px;
background: var(--border-strong);
}
.count {
margin-left: auto;
padding: 0 6px;
color: var(--fg-subtle);
font-size: var(--fs-small);
white-space: nowrap;
}
.labels {
flex: none;
display: flex;
height: var(--h-row);
border-bottom: 1px solid var(--border);
color: var(--fg-secondary);
font-size: var(--fs-small);
}
.label {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
padding: 0 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--font-mono);
}
.label + .label {
border-left: 1px solid var(--border);
}
.badge {
padding: 0 5px;
border-radius: var(--radius-small);
background: var(--accent-soft);
color: var(--accent);
font-family: var(--font-ui);
font-size: var(--fs-tiny);
line-height: 15px;
}
.message {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
color: var(--fg-subtle);
}
.host {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.host[hidden] {
display: none;
}
.host > :global(.cm-editor) {
flex: 1;
min-height: 0;
}
.host :global(.cm-mergeView) {
flex: 1;
min-height: 0;
overflow-y: auto;
}
.host :global(.cm-mergeViewEditors) {
min-height: 100%;
}
.host :global(.cm-mergeViewEditor) {
min-width: 0;
}
.host :global(.cm-merge-revert) {
width: 22px;
background: var(--bg-elev);
border-left: 1px solid var(--border);
border-right: 1px solid var(--border);
}
.host :global(.cm-merge-revert button) {
width: 20px;
margin-left: 1px;
color: var(--fg-subtle);
font-size: var(--fs-small);
border-radius: var(--radius-small);
}
.host :global(.cm-merge-revert button:hover) {
color: var(--fg-strong);
background: var(--bg-hover);
}
.select {
height: var(--h-control-small);
font-size: var(--fs-small);
}
.host :global(.cm-diffArrows) {
display: flex;
flex-direction: column;
gap: 1px;
}
.host :global(.cm-merge-revert button.cm-diffArrow) {
display: flex;
align-items: center;
justify-content: center;
height: 16px;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.host :global(.cm-diffHoverLine) {
position: relative;
}
.host :global(.cm-diffHoverRevert) {
position: absolute;
right: 8px;
top: 0;
display: inline-flex;
align-items: center;
gap: 3px;
height: 16px;
padding: 0 6px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-small);
background: var(--bg-elev);
color: var(--fg-secondary);
font-family: var(--font-ui);
font-size: var(--fs-tiny);
cursor: pointer;
}
.host :global(.cm-diffHoverRevert:hover) {
color: var(--fg-strong);
background: var(--bg-hover);
}
.noHighlight :global(.cm-changedLine),
.noHighlight :global(.cm-insertedLine),
.noHighlight :global(.cm-changedText) {
background: none !important;
}
.unsynced :global(.cm-mergeView) {
overflow: hidden;
}
.unsynced :global(.cm-mergeViewEditors) {
height: 100%;
min-height: 0;
}
.unsynced :global(.cm-mergeViewEditor) {
height: 100%;
overflow: hidden;
}
.unsynced :global(.cm-mergeViewEditor > .cm-editor) {
height: 100%;
}
/* Review comments under diff lines (pull requests). */
.notes {
display: flex;
flex-direction: column;
gap: 6px;
margin: 4px 8px 6px 8px;
padding: 6px 10px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-control);
background: var(--bg-elev);
font-family: var(--font-ui);
font-size: var(--fs-ui);
color: var(--fg);
white-space: normal;
}
.note + .note {
padding-top: 6px;
border-top: 1px solid var(--border);
}
.noteHead {
display: flex;
gap: 8px;
font-size: var(--fs-small);
color: var(--fg-subtle);
}
.noteAuthor {
color: var(--fg-strong);
font-weight: 600;
}
.noteBody {
margin-top: 2px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}