Connect server SVN repositories
This commit is contained in:
+247
-6
@@ -915,6 +915,46 @@ main,
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.svn-github-shell {
|
||||
width: min(1280px, calc(100% - 32px));
|
||||
}
|
||||
|
||||
.svn-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
|
||||
gap: 24px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.svn-hero-copy h1 {
|
||||
margin-bottom: 10px;
|
||||
color: #0f172a;
|
||||
font-size: clamp(34px, 4vw, 48px);
|
||||
line-height: 1.08;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.svn-hero-controls {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.svn-toolbar-actions,
|
||||
.svn-header-actions,
|
||||
.svn-quick-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.svn-github-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.svn-console {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
|
||||
@@ -923,14 +963,44 @@ main,
|
||||
|
||||
.svn-sidebar,
|
||||
.svn-form-panel,
|
||||
.svn-workbench {
|
||||
.svn-workbench,
|
||||
.svn-repository-view {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.svn-sidebar {
|
||||
position: sticky;
|
||||
top: 106px;
|
||||
display: grid;
|
||||
max-height: calc(100svh - 128px);
|
||||
overflow: auto;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svn-sidebar-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.section-title-row.compact {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.svn-search input {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
padding: 0 12px;
|
||||
color: var(--text);
|
||||
background: #f6f8fb;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.svn-search input:focus {
|
||||
border-color: rgba(32, 73, 238, 0.28);
|
||||
box-shadow: 0 0 0 3px rgba(32, 73, 238, 0.08);
|
||||
}
|
||||
|
||||
.svn-repo-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
@@ -939,9 +1009,9 @@ main,
|
||||
.svn-repo-item {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 86px;
|
||||
min-height: 92px;
|
||||
gap: 5px;
|
||||
padding: 12px;
|
||||
padding: 14px;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
background: #fbfcff;
|
||||
@@ -972,6 +1042,152 @@ main,
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-server-box,
|
||||
.svn-config-details {
|
||||
padding-top: 14px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.svn-server-box h3 {
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.svn-server-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.svn-server-repo {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
padding: 10px 12px;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
background: #fff;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.svn-server-repo:hover,
|
||||
.svn-server-repo:focus-visible {
|
||||
border-color: rgba(32, 73, 238, 0.24);
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.svn-server-repo.is-linked {
|
||||
background: #f7fbff;
|
||||
}
|
||||
|
||||
.svn-server-repo strong,
|
||||
.svn-server-repo small,
|
||||
.svn-server-repo em {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.svn-server-repo strong {
|
||||
overflow: hidden;
|
||||
color: #172033;
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-server-repo small {
|
||||
overflow: hidden;
|
||||
margin-top: 3px;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-server-repo em {
|
||||
color: var(--blue);
|
||||
font-size: 11px;
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-config-details summary {
|
||||
display: flex;
|
||||
min-height: 38px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #111827;
|
||||
cursor: pointer;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.svn-config-details form {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.svn-config-details .field-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.svn-repo-header {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
padding-bottom: 18px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.svn-repo-header h1 {
|
||||
margin: 0 0 8px;
|
||||
color: #0f172a;
|
||||
font-size: clamp(28px, 4vw, 42px);
|
||||
line-height: 1.12;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
margin: 18px 0;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid > div {
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
background: #f8fafc;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid span,
|
||||
.svn-repo-meta-grid strong {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid span {
|
||||
margin-bottom: 5px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid strong {
|
||||
overflow: hidden;
|
||||
color: #182235;
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-quick-actions {
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.svn-action-row,
|
||||
.svn-output-toolbar {
|
||||
display: flex;
|
||||
@@ -1016,7 +1232,7 @@ main,
|
||||
|
||||
.svn-command-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
@@ -1128,10 +1344,21 @@ main,
|
||||
.topic-grid,
|
||||
.admin-layout,
|
||||
.login-panel,
|
||||
.svn-console {
|
||||
.svn-console,
|
||||
.svn-hero,
|
||||
.svn-github-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.svn-sidebar {
|
||||
position: static;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.svn-repo-meta-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.svn-command-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
@@ -1193,10 +1420,24 @@ main,
|
||||
}
|
||||
|
||||
.field-grid,
|
||||
.token-row {
|
||||
.token-row,
|
||||
.svn-repo-header,
|
||||
.svn-repo-meta-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.svn-toolbar-actions,
|
||||
.svn-header-actions,
|
||||
.svn-quick-actions {
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
||||
.svn-toolbar-actions button,
|
||||
.svn-header-actions button,
|
||||
.svn-quick-actions button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.soft-footer {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user