Add SVN management console
This commit is contained in:
+182
-1
@@ -893,6 +893,178 @@ main,
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.svn-shell {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.svn-console {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.svn-sidebar,
|
||||
.svn-form-panel,
|
||||
.svn-workbench {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.section-title-row.compact {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.svn-repo-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.svn-repo-item {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 86px;
|
||||
gap: 5px;
|
||||
padding: 12px;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
background: #fbfcff;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.svn-repo-item:hover,
|
||||
.svn-repo-item:focus-visible,
|
||||
.svn-repo-item.is-active {
|
||||
background: #edf5ff;
|
||||
border-color: rgba(32, 73, 238, 0.28);
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.repo-name {
|
||||
color: #17171a;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.repo-url,
|
||||
.repo-meta {
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-action-row,
|
||||
.svn-output-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.svn-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.svn-tab {
|
||||
min-height: 34px;
|
||||
padding: 0 14px;
|
||||
color: #394150;
|
||||
background: #f5f7fb;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.svn-tab:hover,
|
||||
.svn-tab:focus-visible,
|
||||
.svn-tab.is-active {
|
||||
color: var(--blue);
|
||||
background: rgba(32, 73, 238, 0.08);
|
||||
border-color: rgba(32, 73, 238, 0.18);
|
||||
}
|
||||
|
||||
.svn-tab-panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.svn-tab-panel.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.svn-command-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.svn-command-grid button {
|
||||
min-height: 38px;
|
||||
color: #1f2a44;
|
||||
background: #f8fbff;
|
||||
border: 1px solid rgba(32, 73, 238, 0.14);
|
||||
border-radius: 6px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.svn-command-grid button:hover,
|
||||
.svn-command-grid button:focus-visible {
|
||||
color: #fff;
|
||||
background: var(--blue);
|
||||
}
|
||||
|
||||
.svn-action-form {
|
||||
padding: 16px;
|
||||
background: var(--panel-soft);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.svn-output-toolbar {
|
||||
justify-content: space-between;
|
||||
margin-top: 18px;
|
||||
padding: 12px 0;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.svn-output-toolbar strong {
|
||||
display: block;
|
||||
color: #111827;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.svn-output-toolbar span {
|
||||
display: block;
|
||||
max-width: min(760px, 70vw);
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-family: Consolas, "SFMono-Regular", ui-monospace, monospace;
|
||||
font-size: 12px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.svn-output {
|
||||
min-height: 320px;
|
||||
max-height: 540px;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
padding: 16px;
|
||||
color: #d7e2ff;
|
||||
background: #111827;
|
||||
border-radius: 8px;
|
||||
font-family: Consolas, "SFMono-Regular", ui-monospace, monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.status-message {
|
||||
min-height: 21px;
|
||||
margin-top: 12px;
|
||||
@@ -938,10 +1110,15 @@ main,
|
||||
.software-grid,
|
||||
.topic-grid,
|
||||
.admin-layout,
|
||||
.login-panel {
|
||||
.login-panel,
|
||||
.svn-console {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.svn-command-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.download-hero::before,
|
||||
.download-hero::after {
|
||||
opacity: 0.28;
|
||||
@@ -1009,4 +1186,8 @@ main,
|
||||
gap: 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.svn-command-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user