mirror of
https://github.com/LisherSong/ps5-web-file-manager.git
synced 2026-10-06 09:00:26 +02:00
Homebrew HTTP file manager payload for jailbroken PS5 consoles (x86_64-sie-ps5,
title id FMGR88888). Browse, edit, upload, download and extract ZIPs through
any browser on the LAN; single self-contained ELF, no external services.
Highlights (v1.7):
- ZIP large-file profile (large=1): 2 TiB total / 1 TiB per entry / 1000:1
ratio. Frontend prompts for confirmation whenever archive > 60 GiB on disk.
- Default ZIP profile stays safe: 512 GiB / 64 GiB / 200:1.
- 69 host-side C tests (tests/run-tests.sh) covering traversal, ZIP64,
encryption rejection, conflict policies and the large-file profile.
- Three-phase extraction engine (scan -> extract -> publish -> cleanup) with
atomic staging + rename, located in src/zip_extract.{c,h}.
Project layout:
src/ C payload sources
assets/ HTML / CSS / JS / icons / param.json
tests/ POSIX/host test suite + fixtures
third_party/ vendored zlib + minizip-ng (zlib license)
docs/screenshots/ README screenshot images
LICENSE GPLv3+
Build:
make # cross-compile with PS5_PAYLOAD_SDK
make linux # Linux host binary for UI dev
1514 lines
22 KiB
CSS
1514 lines
22 KiB
CSS
:root {
|
|
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #111316;
|
|
color: #edf0f2;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.init-loading {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 20000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #111316;
|
|
color: #aab4be;
|
|
font-size: 18px;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: #111316;
|
|
font-size: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shell {
|
|
min-height: 100vh;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
height: auto;
|
|
min-height: 54px;
|
|
display: flex;
|
|
align-items: start;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
padding: 0 18px;
|
|
background: #1b2026;
|
|
border-bottom: 1px solid #2d343d;
|
|
overflow: visible;
|
|
}
|
|
|
|
.top-left,
|
|
.top-right {
|
|
height: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-left {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.top-right {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
margin-left: auto;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
padding: 12px 40px 12px 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.path {
|
|
color: #aab4be;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 22px;
|
|
line-height: 24px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-align: left;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.space-info {
|
|
height: auto;
|
|
min-height: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
flex: 1 1 auto;
|
|
max-width: none;
|
|
color: #c9d3dc;
|
|
font-size: 18px;
|
|
line-height: 30px;
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
text-align: right;
|
|
}
|
|
|
|
.space-info .space-item {
|
|
flex: 0 0 auto;
|
|
display: inline-flex;
|
|
height: auto;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
margin-left: 14px;
|
|
padding: 0 2px;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
line-height: inherit;
|
|
text-align: right;
|
|
cursor: pointer;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.space-info .space-item:hover:not(:disabled),
|
|
.space-info .space-item:focus:not(:disabled) {
|
|
color: #fff;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
outline: none;
|
|
}
|
|
|
|
.space-info .space-item:focus-visible {
|
|
box-shadow: 0 0 0 2px #87bfff;
|
|
}
|
|
|
|
.space-info .space-item:active {
|
|
background: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.space-info .space-item:disabled {
|
|
opacity: 1;
|
|
color: inherit;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.space-prefix {
|
|
color: #8f9aa5;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.space-info .space-item.current {
|
|
color: #f2f5f7;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.icon-button {
|
|
min-height: 24px;
|
|
min-width: 24px;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
}
|
|
|
|
.power-button {
|
|
position: relative;
|
|
border-color: #8f4545;
|
|
background: #402326;
|
|
}
|
|
|
|
.power-button::before {
|
|
content: "";
|
|
width: 10px;
|
|
height: 10px;
|
|
border: 2px solid #f2f5f7;
|
|
border-top-color: transparent;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.power-button::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 50%;
|
|
width: 2px;
|
|
height: 11px;
|
|
border-radius: 2px;
|
|
background: #f2f5f7;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
#exitBtn {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 18px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.toolbar,
|
|
.tool-left,
|
|
.tool-right {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.toolbar {
|
|
flex: 0 0 auto;
|
|
height: auto;
|
|
min-height: 84px;
|
|
justify-content: space-between;
|
|
padding: 15px 18px 0;
|
|
background: #15191e;
|
|
border-bottom: 1px solid #2d343d;
|
|
overflow: visible;
|
|
}
|
|
|
|
.tool-left {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.toolbar .tool-left,
|
|
.toolbar .tool-right {
|
|
min-height: 54px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tool-left > *,
|
|
.tool-right > * {
|
|
margin: 0 12px 15px 0;
|
|
}
|
|
|
|
.tool-right > * {
|
|
margin-right: 0;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.tool-right {
|
|
justify-content: flex-end;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.split-button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: stretch;
|
|
height: 54px;
|
|
min-height: 54px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.split-button .split-main {
|
|
min-width: 82px;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.split-button .split-arrow {
|
|
min-width: 38px;
|
|
width: 38px;
|
|
padding: 0;
|
|
border-left: 0;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.split-arrow::before {
|
|
content: "";
|
|
display: block;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 6px solid transparent;
|
|
border-right: 6px solid transparent;
|
|
border-top: 7px solid #f2f5f7;
|
|
}
|
|
|
|
.split-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
z-index: 40;
|
|
display: none;
|
|
min-width: 150px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.split-menu button {
|
|
width: 100%;
|
|
min-width: 150px;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.split-button:hover .split-menu,
|
|
.split-button.open .split-menu {
|
|
display: block;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
height: 54px;
|
|
min-height: 54px;
|
|
min-width: 96px;
|
|
padding: 0 20px;
|
|
border: 1px solid #46515f;
|
|
border-radius: 8px;
|
|
background: #252c34;
|
|
color: #f2f5f7;
|
|
font: inherit;
|
|
font-size: 20px;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:focus,
|
|
.button:focus,
|
|
.row-action:focus {
|
|
outline: 3px solid #6fb1ff;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
button:not(.row-action):hover:not(:disabled),
|
|
.button:hover:not(:disabled) {
|
|
background: #303945;
|
|
}
|
|
|
|
button:disabled,
|
|
.button.disabled {
|
|
opacity: .45;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.danger {
|
|
border-color: #8f4545;
|
|
background: #402326;
|
|
}
|
|
|
|
.primary {
|
|
border-color: #4f9f7b;
|
|
background: #285943;
|
|
}
|
|
|
|
button.primary:hover:not(:disabled) {
|
|
background: #347358;
|
|
}
|
|
|
|
.secondary {
|
|
border-color: #59636e;
|
|
background: #20262d;
|
|
}
|
|
|
|
.paste-action {
|
|
max-width: 360px;
|
|
}
|
|
|
|
.paste-action > * {
|
|
flex: 0 0 auto;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.paste-name {
|
|
display: inline-block;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 120px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.install-action {
|
|
min-width: 88px;
|
|
border-color: #8c6425;
|
|
background: #352b1c;
|
|
color: #f8dfae;
|
|
}
|
|
|
|
button.install-action:hover:not(:disabled) {
|
|
background: #433521;
|
|
}
|
|
|
|
.extract-action {
|
|
min-width: 88px;
|
|
border-color: #2a6b66;
|
|
background: #17302e;
|
|
color: #a8e6df;
|
|
}
|
|
|
|
button.extract-action:hover:not(:disabled) {
|
|
background: #1d3f3c;
|
|
}
|
|
|
|
.paste-count {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.content.loading {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.content-loading {
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(4, 6, 8, .72);
|
|
}
|
|
|
|
.content-loading-text {
|
|
color: #aab4be;
|
|
font-size: 18px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
min-width: 1034px;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid #252b33;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background: #171c22;
|
|
color: #aeb8c2;
|
|
font-weight: 600;
|
|
}
|
|
|
|
th.sortable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
th.sortable::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 12px;
|
|
margin-left: 8px;
|
|
color: #aeb8c2;
|
|
text-align: center;
|
|
}
|
|
|
|
th.sorted-asc::after {
|
|
content: "^";
|
|
}
|
|
|
|
th.sorted-desc::after {
|
|
content: "v";
|
|
}
|
|
|
|
.name-head {
|
|
height: 78px;
|
|
min-height: 78px;
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
th.name-col {
|
|
padding: 0;
|
|
}
|
|
|
|
th.name-col.sortable::after {
|
|
content: none;
|
|
}
|
|
|
|
.name-heading {
|
|
min-width: 100px;
|
|
padding-left: 18px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.name-heading::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 12px;
|
|
margin-left: 8px;
|
|
color: #aeb8c2;
|
|
text-align: center;
|
|
}
|
|
|
|
th.name-col.sorted-asc .name-heading::after {
|
|
content: "^";
|
|
}
|
|
|
|
th.name-col.sorted-desc .name-heading::after {
|
|
content: "v";
|
|
}
|
|
|
|
.parent-nav-button {
|
|
width: 78px;
|
|
min-width: 78px;
|
|
height: 78px;
|
|
min-height: 78px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
position: relative;
|
|
}
|
|
|
|
.parent-nav-button img {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: block;
|
|
}
|
|
|
|
.parent-nav-button:hover:not(:disabled) {
|
|
background: #222932;
|
|
}
|
|
|
|
.parent-nav-button:not(:disabled):focus {
|
|
outline-offset: -5px;
|
|
}
|
|
|
|
.parent-nav-button:disabled img {
|
|
opacity: .42;
|
|
}
|
|
|
|
.parent-nav-button:disabled {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.select-col {
|
|
width: 74px;
|
|
padding: 0;
|
|
}
|
|
|
|
.name-col {
|
|
min-width: 600px;
|
|
}
|
|
|
|
td.name-col {
|
|
padding: 0;
|
|
}
|
|
|
|
.type-col {
|
|
width: 130px;
|
|
text-align: center;
|
|
}
|
|
|
|
.size-col {
|
|
width: 145px;
|
|
text-align: right;
|
|
}
|
|
|
|
th.size-col {
|
|
text-align: center;
|
|
}
|
|
|
|
.time-col {
|
|
width: 225px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mode-col {
|
|
width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
td.mode-col {
|
|
padding: 0;
|
|
}
|
|
|
|
.mode-action {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 78px;
|
|
min-height: 78px;
|
|
padding: 0 8px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.select-cell {
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
tr {
|
|
height: 78px;
|
|
}
|
|
|
|
thead tr {
|
|
height: 78px;
|
|
cursor: default;
|
|
}
|
|
|
|
tr.hovered,
|
|
tr.focused {
|
|
background: #171d24;
|
|
}
|
|
|
|
tr.selected {
|
|
background: #1d2d35;
|
|
}
|
|
|
|
tr[data-type="parent"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.select-hit {
|
|
height: 78px;
|
|
min-height: 78px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 34px;
|
|
height: 34px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
flex: 0 0 32px;
|
|
display: block;
|
|
}
|
|
|
|
.special-folder-icon {
|
|
-webkit-filter: hue-rotate(65deg);
|
|
filter: hue-rotate(65deg);
|
|
-webkit-transform: scale(1.1);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.row-action {
|
|
width: 100%;
|
|
height: 78px;
|
|
min-height: 78px;
|
|
padding: 16px 18px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #edf0f2;
|
|
justify-content: flex-start;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.row-action .icon {
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.name-text {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.empty {
|
|
color: #aab4be;
|
|
padding: 20px 90px;
|
|
}
|
|
|
|
.status {
|
|
color: #aab4be;
|
|
flex: 0 0 auto;
|
|
height: 46px;
|
|
min-height: 46px;
|
|
padding: 0 25px;
|
|
line-height: 46px;
|
|
border-top: 1px solid #2d343d;
|
|
background: #15191e;
|
|
font-size: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.version-text {
|
|
flex: 0 0 auto;
|
|
color: #7f8a94;
|
|
}
|
|
|
|
.text-editor-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 9000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px;
|
|
background: rgba(4, 6, 8, .9);
|
|
}
|
|
|
|
.text-editor-panel {
|
|
width: 1200px;
|
|
height: calc(100vh - 96px);
|
|
min-width: 0;
|
|
max-width: calc(100vw - 96px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
border: 1px solid #46515f;
|
|
border-radius: 10px;
|
|
background: #15191e;
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
|
|
}
|
|
|
|
.text-editor-path {
|
|
flex: 0 0 auto;
|
|
margin-bottom: 14px;
|
|
overflow: hidden;
|
|
color: #c9d3dc;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 20px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.text-editor {
|
|
width: 100%;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
padding: 18px;
|
|
border: 1px solid #46515f;
|
|
border-radius: 6px;
|
|
outline: none;
|
|
resize: none;
|
|
background: #0f1215;
|
|
color: #edf0f2;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 20px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.text-editor:focus {
|
|
border-color: #6fb1ff;
|
|
}
|
|
|
|
.text-editor-status {
|
|
min-height: 28px;
|
|
padding-top: 8px;
|
|
color: #aab4be;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.text-editor-actions {
|
|
display: flex;
|
|
}
|
|
|
|
.text-editor-actions button {
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
.text-editor-actions button + button {
|
|
margin-left: 14px;
|
|
}
|
|
|
|
.image-preview-stage {
|
|
width: 100%;
|
|
height: calc(100vh - 250px);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image-preview {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 250px);
|
|
pointer-events: none;
|
|
-webkit-user-drag: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.image-preview-panel > button {
|
|
width: 100%;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.pkg-info-panel {
|
|
width: 1100px;
|
|
height: auto;
|
|
max-height: calc(100vh - 96px);
|
|
}
|
|
|
|
.pkg-info-title {
|
|
margin: 0 0 18px;
|
|
color: #edf0f2;
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pkg-info-content {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.pkg-info-image-stage {
|
|
width: 340px;
|
|
flex: 0 0 340px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.pkg-info-image {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 340px;
|
|
pointer-events: none;
|
|
-webkit-user-drag: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.pkg-info-fields {
|
|
min-width: 0;
|
|
min-height: 80px;
|
|
flex: 1 1 auto;
|
|
margin-bottom: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
border-top: 1px solid #2d343d;
|
|
}
|
|
|
|
.pkg-info-row {
|
|
display: flex;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #2d343d;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.pkg-info-key {
|
|
width: 244px;
|
|
flex: 0 0 244px;
|
|
padding-right: 24px;
|
|
color: #8f9ba6;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.pkg-info-value {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
color: #d9e0e6;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.permission-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 9500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px;
|
|
background: rgba(4, 6, 8, .9);
|
|
}
|
|
|
|
.permission-panel {
|
|
width: 620px;
|
|
max-width: calc(100vw - 96px);
|
|
padding: 28px;
|
|
border: 1px solid #46515f;
|
|
border-radius: 10px;
|
|
background: #15191e;
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
|
|
}
|
|
|
|
.permission-title {
|
|
margin: 0;
|
|
color: #edf0f2;
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.permission-path {
|
|
display: flex;
|
|
margin: 10px 0 22px;
|
|
color: #9ba7b2;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 17px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.permission-path-names {
|
|
min-width: 0;
|
|
flex: 1 1 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.permission-path-count {
|
|
flex: 0 0 auto;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.permission-grid {
|
|
padding: 12px 0;
|
|
border-top: 1px solid #2d343d;
|
|
border-bottom: 1px solid #2d343d;
|
|
}
|
|
|
|
.permission-row {
|
|
display: flex;
|
|
min-height: 50px;
|
|
align-items: center;
|
|
}
|
|
|
|
.permission-row > * {
|
|
width: 96px;
|
|
flex: 0 0 96px;
|
|
text-align: center;
|
|
}
|
|
|
|
.permission-row .permission-scope {
|
|
width: auto;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
color: #c9d3dc;
|
|
text-align: left;
|
|
}
|
|
|
|
.permission-head {
|
|
min-height: 28px;
|
|
color: #7f8a94;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.permission-row label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.permission-row label input {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin: 0 8px 0 0;
|
|
}
|
|
|
|
.permission-octal {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 22px 0;
|
|
color: #c9d3dc;
|
|
}
|
|
|
|
.permission-octal span {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.permission-octal input {
|
|
width: 150px;
|
|
height: 50px;
|
|
padding: 0 14px;
|
|
border: 1px solid #46515f;
|
|
border-radius: 6px;
|
|
outline: none;
|
|
background: #0f1215;
|
|
color: #edf0f2;
|
|
font: 22px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
text-align: center;
|
|
}
|
|
|
|
.permission-octal input:focus {
|
|
border-color: #6fb1ff;
|
|
outline: 3px solid rgba(111, 177, 255, .25);
|
|
}
|
|
|
|
.permission-octal input:invalid {
|
|
border-color: #b86262;
|
|
}
|
|
|
|
.permission-recursive {
|
|
min-height: 46px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: -8px 0 18px;
|
|
color: #c9d3dc;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.permission-recursive input {
|
|
flex: 0 0 auto;
|
|
margin: 0 12px 0 0;
|
|
}
|
|
|
|
.permission-actions {
|
|
display: flex;
|
|
}
|
|
|
|
.permission-actions button {
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
.permission-actions button + button {
|
|
margin-left: 14px;
|
|
}
|
|
|
|
.task-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px;
|
|
background: rgba(4, 6, 8, .82);
|
|
}
|
|
|
|
.task-overlay[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.task-panel {
|
|
width: 980px;
|
|
max-width: calc(100vw - 96px);
|
|
border: 1px solid #46515f;
|
|
border-radius: 10px;
|
|
background: #15191e;
|
|
padding: 30px;
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
|
|
}
|
|
|
|
.tasks {
|
|
display: block;
|
|
}
|
|
|
|
.task {
|
|
display: block;
|
|
}
|
|
|
|
.task > * + * {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.task .danger {
|
|
width: 100%;
|
|
}
|
|
|
|
.task-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
font-size: 24px;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
}
|
|
|
|
.task-head.has-amount {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.task-amount {
|
|
min-width: 160px;
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
}
|
|
|
|
.task-name,
|
|
.task-current {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-current-plain {
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.task-name {
|
|
display: flex;
|
|
min-width: 0;
|
|
text-overflow: ellipsis;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.task-name > * {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.task-name-op,
|
|
.task-name-state {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.task-name-subject {
|
|
min-width: 0;
|
|
max-width: 560px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-elapsed {
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
margin-left: 16px;
|
|
color: #aab4be;
|
|
}
|
|
|
|
.task-meta {
|
|
display: flex;
|
|
color: #c9d3dc;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.task-meta div {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
margin-right: 18px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-meta div:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.task-meta div:nth-child(2) {
|
|
text-align: center;
|
|
}
|
|
|
|
.task-meta div:nth-child(3) {
|
|
text-align: right;
|
|
}
|
|
|
|
.task-current {
|
|
color: #aab4be;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.progress {
|
|
position: relative;
|
|
height: 34px;
|
|
overflow: hidden;
|
|
border-radius: 7px;
|
|
background: #252c34;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
width: 0;
|
|
background: #4f9f7b;
|
|
}
|
|
|
|
.progress-text {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #edf0f2;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.task.failed .progress-bar {
|
|
background: #b75a5a;
|
|
}
|
|
|
|
.task.canceled .progress-bar {
|
|
background: #8a929b;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.pkg-info-panel {
|
|
width: 760px;
|
|
}
|
|
|
|
.pkg-info-content {
|
|
display: block;
|
|
}
|
|
|
|
.pkg-info-image-stage {
|
|
width: auto;
|
|
height: 260px;
|
|
margin: 0 0 18px;
|
|
}
|
|
|
|
.pkg-info-image {
|
|
max-height: 260px;
|
|
}
|
|
|
|
.pkg-info-fields {
|
|
margin-bottom: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 815px) {
|
|
.top-left {
|
|
padding: 0 40px 0 0;
|
|
}
|
|
|
|
.top-right {
|
|
padding: 10px 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.topbar {
|
|
min-height: 42px;
|
|
padding: 0 10px;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.top-left {
|
|
flex: 1 1 auto;
|
|
margin-top: 0;
|
|
padding-right: 34px;
|
|
}
|
|
|
|
.top-right {
|
|
display: none;
|
|
}
|
|
|
|
.path {
|
|
font-size: 16px;
|
|
line-height: 42px;
|
|
}
|
|
|
|
#exitBtn {
|
|
top: 9px;
|
|
right: 10px;
|
|
}
|
|
|
|
.toolbar {
|
|
min-height: 0;
|
|
padding: 8px 8px 0;
|
|
}
|
|
|
|
.toolbar .tool-left,
|
|
.toolbar .tool-right {
|
|
min-height: 0;
|
|
}
|
|
|
|
.tool-left,
|
|
.tool-right {
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.tool-right {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.tool-left > *,
|
|
.tool-right > * {
|
|
margin: 0 8px 8px 0;
|
|
}
|
|
|
|
.tool-right > * {
|
|
margin-left: 0;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
height: 40px;
|
|
min-height: 40px;
|
|
min-width: 76px;
|
|
padding: 0 12px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.split-button {
|
|
height: 40px;
|
|
min-height: 40px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.split-button .split-main {
|
|
min-width: 64px;
|
|
}
|
|
|
|
.split-button .split-arrow {
|
|
min-width: 34px;
|
|
width: 34px;
|
|
}
|
|
|
|
.split-menu {
|
|
min-width: 126px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.split-menu button {
|
|
min-width: 126px;
|
|
}
|
|
|
|
.paste-action {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.paste-name {
|
|
max-width: 120px;
|
|
}
|
|
|
|
table {
|
|
min-width: 960px;
|
|
}
|
|
|
|
.name-col {
|
|
width: 600px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 10px 12px;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
tr,
|
|
thead tr,
|
|
.name-head,
|
|
.parent-nav-button,
|
|
.select-hit,
|
|
.row-action,
|
|
.mode-action {
|
|
height: 56px;
|
|
min-height: 56px;
|
|
}
|
|
|
|
.permission-overlay {
|
|
padding: 18px;
|
|
}
|
|
|
|
.permission-panel {
|
|
max-width: calc(100vw - 36px);
|
|
padding: 18px;
|
|
}
|
|
|
|
.parent-nav-button {
|
|
width: 56px;
|
|
min-width: 56px;
|
|
}
|
|
|
|
.name-heading {
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.row-action {
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.icon {
|
|
width: 26px;
|
|
height: 26px;
|
|
flex-basis: 26px;
|
|
}
|
|
|
|
.status {
|
|
height: 34px;
|
|
min-height: 34px;
|
|
padding: 0 12px;
|
|
line-height: 34px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.task-overlay {
|
|
padding: 18px;
|
|
align-items: center;
|
|
}
|
|
|
|
.task-panel {
|
|
width: 100%;
|
|
max-width: none;
|
|
padding: 18px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.task > * + * {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.task-head {
|
|
display: block;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.task-name {
|
|
display: flex;
|
|
max-width: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-name > * {
|
|
margin: 0 8px 0 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-name-subject {
|
|
flex: 1 1 auto;
|
|
max-width: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
.task-elapsed {
|
|
margin: 8px 0 0;
|
|
text-align: left;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.task-current {
|
|
font-size: 18px;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.task-meta {
|
|
display: block;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.task-meta div,
|
|
.task-meta div:nth-child(2),
|
|
.task-meta div:nth-child(3) {
|
|
display: block;
|
|
margin: 0 0 8px;
|
|
text-align: left;
|
|
white-space: normal;
|
|
}
|
|
|
|
.task-meta div:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.progress {
|
|
height: 32px;
|
|
}
|
|
|
|
.task .danger {
|
|
width: 100%;
|
|
}
|
|
}
|