feat(前端界面): OFDGo WebUI支持单页输出
build.yaml / build (push) Successful in 33s

This commit is contained in:
2026-07-07 10:45:17 +08:00
parent 2fc360e048
commit db860a22f1
5 changed files with 343 additions and 54 deletions
+51 -5
View File
@@ -32,7 +32,8 @@ body {
}
button,
input {
input,
select {
font: inherit;
}
@@ -45,13 +46,15 @@ button {
}
button:disabled,
input:disabled {
input:disabled,
select:disabled {
cursor: not-allowed;
opacity: 0.48;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
outline: 2px solid var(--focus);
outline-offset: 2px;
@@ -149,10 +152,29 @@ button:not(:disabled):hover {
flex: 1 1 auto;
}
.divider {
.tool-group {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
flex: 0 0 auto;
min-width: 0;
}
.tool-group + .tool-group {
margin-left: 2px;
padding-left: 18px;
}
.tool-group + .tool-group::before {
position: absolute;
top: 50%;
left: 5px;
width: 1px;
height: 22px;
background: var(--line);
content: "";
transform: translateY(-50%);
}
.page-control {
@@ -176,6 +198,16 @@ button:not(:disabled):hover {
background: transparent;
}
.format-select {
height: var(--control-height);
min-width: 64px;
padding: 0 7px;
border: 1px solid var(--line);
border-radius: 0;
background: #ffffff;
color: #1f2428;
}
.zoom-label {
min-width: 42px;
text-align: center;
@@ -842,11 +874,20 @@ body[aria-busy="true"] .viewer-panel {
row-gap: 0;
}
.divider {
.toolbar-space {
display: none;
}
.toolbar-space {
.tool-group {
gap: 6px;
}
.tool-group + .tool-group {
margin-left: 0;
padding-left: 0;
}
.tool-group + .tool-group::before {
display: none;
}
@@ -894,6 +935,11 @@ body[aria-busy="true"] .viewer-panel {
padding-inline: 8px;
}
.format-select {
min-width: 56px;
padding: 0 5px;
}
.footer-links {
justify-content: flex-end;
}