445 lines
7.0 KiB
CSS
445 lines
7.0 KiB
CSS
:root {
|
|
--bg: #f4f7fb;
|
|
--panel: #ffffff;
|
|
--border: #d7deea;
|
|
--text: #192232;
|
|
--muted: #5c687c;
|
|
--error: #b11d1d;
|
|
--accent: #1b5ec9;
|
|
--active-border: #1b5ec9;
|
|
--active-bg: #ffffff;
|
|
--bottom-reserve: 0px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", Tahoma, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#app-shell {
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
}
|
|
|
|
#title-zone {
|
|
padding: 6px 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--panel);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 16px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.workspace {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.pane.active-pane {
|
|
border-color: var(--active-border);
|
|
box-shadow: 0 0 0 1px var(--active-border) inset;
|
|
background: var(--panel);
|
|
}
|
|
|
|
.pane-header {
|
|
flex: 0 0 auto;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pane-content {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
align-items: center;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.compact-toolbar {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.pane-topbar {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.pane-title {
|
|
min-width: 42px;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.checkbox {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
input, button {
|
|
font: inherit;
|
|
padding: 4px 6px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
button {
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pathline {
|
|
color: var(--muted);
|
|
margin-bottom: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.compact-line {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.breadcrumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-bottom: 3px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.breadcrumbs button {
|
|
padding: 1px 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.list-label {
|
|
font-size: 11px;
|
|
margin: 0;
|
|
padding: 2px 0;
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.list-grid-header {
|
|
display: grid;
|
|
grid-template-columns: 14px minmax(0, 1fr) 88px 138px;
|
|
gap: 6px;
|
|
padding: 2px 0 4px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 2px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.col-size,
|
|
.col-modified {
|
|
text-align: right;
|
|
}
|
|
|
|
.list li {
|
|
border-top: 1px solid var(--border);
|
|
padding: 5px 0 4px 0;
|
|
display: grid;
|
|
grid-template-columns: 14px minmax(0, 1fr) 88px 138px;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.list li.selectable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.list li.is-selected {
|
|
background: #e9f0fd;
|
|
}
|
|
|
|
.list li.is-current-row {
|
|
box-shadow: inset 0 0 0 1px #9cb7e8;
|
|
}
|
|
|
|
.list li.is-current-row:not(.is-selected) {
|
|
background: #f4f8ff;
|
|
}
|
|
|
|
.list li.is-current-row.is-selected {
|
|
background: #e3edff;
|
|
}
|
|
|
|
.select-marker {
|
|
appearance: none;
|
|
width: 10px;
|
|
min-width: 10px;
|
|
height: 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
display: inline-block;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.list li.is-selected .select-marker {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.select-marker:checked {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.entry-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.entry-name.entry-dir {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dir-link {
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
color: var(--accent);
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.entry-size,
|
|
.entry-modified {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.error {
|
|
color: var(--error);
|
|
min-height: 12px;
|
|
margin-bottom: 2px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#status {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
#footer-bar {
|
|
border-top: 1px solid var(--border);
|
|
background: var(--panel);
|
|
padding: 4px 10px 3px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
}
|
|
|
|
#function-bar-meta {
|
|
margin-bottom: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
#function-bar {
|
|
margin-bottom: 0;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
width: 100%;
|
|
max-width: 760px;
|
|
}
|
|
|
|
#function-bar button {
|
|
min-width: 72px;
|
|
padding: 3px 8px;
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.shortcut-hint {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.popup-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(20, 32, 50, 0.25);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.popup-overlay.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.popup-card {
|
|
width: min(420px, calc(100vw - 24px));
|
|
background: #fff;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
|
|
}
|
|
|
|
.popup-meta {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin: 4px 0 8px 0;
|
|
}
|
|
|
|
.popup-label {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
#wildcard-pattern-input {
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
#rename-move-input {
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.popup-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.viewer-card {
|
|
position: relative;
|
|
width: min(960px, calc(100vw - 32px));
|
|
max-height: calc(100vh - 32px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.viewer-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
min-width: 32px;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.viewer-content {
|
|
margin: 6px 0 0 0;
|
|
padding: 10px;
|
|
min-height: 240px;
|
|
max-height: calc(100vh - 180px);
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
color: var(--text);
|
|
font: 12px/1.45 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
user-select: text;
|
|
}
|
|
|
|
.editor-content {
|
|
margin: 6px 0 8px 0;
|
|
padding: 10px;
|
|
min-height: 280px;
|
|
max-height: calc(100vh - 220px);
|
|
width: 100%;
|
|
resize: vertical;
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
color: var(--text);
|
|
font: 12px/1.45 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
white-space: pre;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.workspace {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
}
|
|
|
|
.list-grid-header,
|
|
.list li {
|
|
grid-template-columns: 14px minmax(0, 1fr) 70px 112px;
|
|
gap: 4px;
|
|
}
|
|
}
|