This commit is contained in:
Christoph Brandau
2026-06-27 17:42:58 +02:00
parent ef1974f31f
commit 25700821d1
6 changed files with 976 additions and 143 deletions
+254 -7
View File
@@ -127,6 +127,17 @@ textarea {
gap: 8px;
}
.auto-refresh-toggle.active {
border-color: #2f8f6a;
color: #1b6e4f;
background: #e6f6ee;
}
.auto-refresh-toggle.active:hover:not(:disabled) {
border-color: #25785a;
background: #d8f0e3;
}
.primary-button {
border-color: #256f8f;
color: #ffffff;
@@ -180,11 +191,16 @@ textarea {
.workspace {
display: grid;
grid-template-columns: 340px minmax(0, 1fr);
grid-template-columns: 320px minmax(0, 1fr) 440px;
min-height: 0;
gap: 10px;
}
.history-aside {
display: grid;
min-height: 0;
}
.left-sidebar {
display: grid;
grid-template-rows: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
@@ -286,6 +302,34 @@ textarea {
padding: 8px;
}
.branch-group-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin: 2px 2px 6px;
color: #697681;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.branch-group-label:not(:first-child) {
margin-top: 12px;
}
.branch-group-count {
display: inline-flex;
align-items: center;
min-height: 18px;
padding: 0 7px;
border-radius: 999px;
color: #4f5d66;
background: #edf0f2;
font-size: 11px;
}
.branch-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
@@ -485,7 +529,7 @@ textarea {
.side-stack {
display: grid;
grid-template-rows: auto minmax(210px, 0.75fr) minmax(0, 1fr);
grid-template-rows: auto minmax(0, 1fr);
min-height: 0;
gap: 10px;
}
@@ -717,6 +761,28 @@ textarea {
white-space: nowrap;
}
.commit-files {
display: grid;
gap: 6px;
}
.commit-files-toggle {
justify-content: flex-start;
gap: 5px;
min-height: 26px;
padding: 0 8px;
border-color: transparent;
background: transparent;
color: #4f5d66;
font-size: 12px;
font-weight: 700;
}
.commit-files-toggle:hover:not(:disabled) {
border-color: #c7ced4;
background: #f6f8f9;
}
.commit-file-list {
display: grid;
gap: 5px;
@@ -769,6 +835,75 @@ textarea {
gap: 6px;
}
.graph-list {
padding: 0;
}
.graph-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 0;
margin: 0;
padding: 0;
border: none;
border-radius: 0;
background: none;
}
.graph-row + .graph-row {
margin-top: 0;
}
.graph-gutter {
position: relative;
align-self: stretch;
min-height: 100%;
background: #fdfdfe;
}
.graph-svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
overflow: visible;
}
.graph-dot {
position: absolute;
top: 50%;
width: 11px;
height: 11px;
border-radius: 999px;
background: var(--dot-color, #2f6fb0);
border: 2px solid #ffffff;
box-shadow: 0 0 0 1px var(--dot-color, #2f6fb0);
transform: translate(-50%, -50%);
}
.graph-dot.merge {
width: 13px;
height: 13px;
background: #ffffff;
border-color: var(--dot-color, #2f6fb0);
box-shadow: 0 0 0 1px var(--dot-color, #2f6fb0);
}
.commit-body {
display: grid;
gap: 8px;
min-width: 0;
padding: 11px 12px;
}
.graph-row + .graph-row .commit-body {
border-top: 1px solid #e7ebee;
}
.graph-row:hover .commit-body {
background: #f6f9fb;
}
.compare-panel {
display: grid;
grid-template-rows: auto auto;
@@ -954,6 +1089,46 @@ textarea {
max-height: none;
}
.dialog-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 16px;
border-top: 1px solid #dce1e5;
background: #f4f6f8;
}
.dialog-footer-info {
color: #4f5d66;
font-size: 13px;
font-weight: 700;
}
.dialog-file-row.prepared {
border-color: #b9ddc6;
background: #f0f8f3;
}
.dialog-file-row.prepared.active {
border-color: #4aa777;
background: #e4f4ea;
}
.dialog-file-row svg {
color: #1f7a4d;
}
.prepared-tag {
display: inline-flex;
align-items: center;
gap: 4px;
margin-right: auto;
color: #1f7a4d;
font-size: 12px;
font-weight: 700;
}
.dialog-title {
margin: 2px 0 0;
color: #202326;
@@ -961,8 +1136,8 @@ textarea {
}
.resolve-editor {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
display: flex;
flex-direction: column;
min-height: 0;
padding: 10px;
gap: 8px;
@@ -999,8 +1174,8 @@ textarea {
.resolve-textarea {
width: 100%;
height: 100%;
min-height: 0;
flex: 1 1 auto;
min-height: 120px;
padding: 10px;
border: 1px solid #c4ccd3;
border-radius: 6px;
@@ -1018,6 +1193,7 @@ textarea {
display: grid;
align-content: start;
gap: 8px;
flex: 1 1 auto;
min-height: 0;
padding: 4px;
overflow: auto;
@@ -1148,6 +1324,67 @@ textarea {
color: #3a444c;
}
.resolve-binary {
display: grid;
align-content: start;
gap: 12px;
padding: 4px;
}
.resolve-binary-note {
display: flex;
align-items: center;
gap: 8px;
padding: 10px;
border: 1px solid #e3b778;
border-radius: 6px;
color: #8a4c0e;
background: #fff6e7;
font-size: 13px;
}
.resolve-binary-options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.resolve-binary-card {
display: grid;
gap: 6px;
justify-items: start;
padding: 14px;
border: 1px solid #dce1e5;
border-left-width: 3px;
border-radius: 8px;
text-align: left;
}
.resolve-binary-card.ours {
border-left-color: #4aa777;
background: #f1faf4;
}
.resolve-binary-card.theirs {
border-left-color: #5a8bd0;
background: #f1f5fc;
}
.resolve-binary-card.active {
box-shadow: 0 0 0 2px #2f6fb0 inset;
border-color: #2f6fb0;
}
.resolve-binary-card strong {
color: #202326;
font-size: 18px;
}
.resolve-binary-hint {
color: #6c7882;
font-size: 12px;
}
.resolve-actions {
display: flex;
align-items: center;
@@ -1250,9 +1487,15 @@ textarea {
}
}
@media (max-width: 1320px) {
.workspace {
grid-template-columns: 300px minmax(0, 1fr) 380px;
}
}
@media (max-width: 1120px) {
.workspace {
grid-template-columns: 300px minmax(0, 1fr);
grid-template-columns: 260px minmax(0, 1fr) 330px;
}
.status-grid {
@@ -1309,6 +1552,10 @@ textarea {
justify-content: flex-start;
}
.history-aside {
min-height: 480px;
}
.branches {
min-height: 260px;
}