Files
LisherSong--ps5-web-file-ma…/assets/main.css
T
2026-06-17 23:57:33 +08:00

595 lines
8.1 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;
}
.loading-dots {
display: flex;
}
.loading-dots span {
width: 14px;
height: 14px;
margin: 0 6px;
border-radius: 50%;
background: #8fa1b3;
animation: loading-pulse 1s ease-in-out infinite;
}
.loading-dots span:nth-child(2) {
animation-delay: .12s;
}
.loading-dots span:nth-child(3) {
animation-delay: .24s;
}
@keyframes loading-pulse {
0%,
80%,
100% {
opacity: .35;
transform: scale(.75);
}
40% {
opacity: 1;
transform: scale(1);
}
}
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 {
display: flex;
align-items: center;
padding: 12px 30px;
background: #1b2026;
border-bottom: 1px solid #2d343d;
}
.path {
color: #aab4be;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 22px;
line-height: 1.35;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 1 auto;
min-width: 0;
}
.space-info {
display: flex;
justify-content: flex-end;
flex: 0 1 auto;
max-width: 58vw;
color: #c9d3dc;
font-size: 18px;
line-height: 1.35;
white-space: nowrap;
overflow: hidden;
}
.space-item {
margin-left: 14px;
overflow: hidden;
text-overflow: ellipsis;
}
.space-prefix {
color: #8f9aa5;
flex: 0 0 auto;
}
.space-item.current {
color: #f2f5f7;
font-weight: 700;
}
.icon-button {
min-height: 24px;
min-width: 24px;
width: 24px;
height: 24px;
padding: 0;
flex: 0 0 24px;
margin-left: 16px;
}
.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%);
}
.toolbar,
.tool-left,
.tool-right {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.toolbar {
justify-content: space-between;
padding: 14px 30px;
background: #15191e;
border-bottom: 1px solid #2d343d;
}
.tool-left {
min-width: 0;
flex: 1 1 auto;
}
.tool-left > *,
.tool-right > * {
margin: 0 12px 0 0;
}
.tool-right > * {
margin-right: 0;
margin-left: 12px;
}
.tool-right {
justify-content: flex-end;
flex: 0 0 auto;
}
button,
.button {
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,
.button:hover {
background: #303945;
}
button:disabled,
.button.disabled {
opacity: .45;
cursor: default;
pointer-events: none;
}
.danger {
border-color: #8f4545;
background: #402326;
}
.paste-action {
max-width: 480px;
}
.paste-action > * {
margin-right: 8px;
}
.paste-name {
display: inline-block;
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.content {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
}
table {
width: 100%;
border-collapse: collapse;
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;
}
th {
position: sticky;
top: 0;
z-index: 1;
background: #171c22;
color: #aeb8c2;
font-weight: 600;
}
.select-col {
width: 74px;
padding: 0;
}
.name-col {
min-width: 360px;
}
td.name-col {
padding: 0;
}
.type-col {
width: 130px;
text-align: center;
}
.size-col {
width: 145px;
text-align: right;
}
.time-col {
width: 225px;
text-align: center;
}
.mode-col {
width: 100px;
text-align: center;
}
.select-cell {
padding: 0;
text-align: center;
}
tr {
height: 78px;
}
thead tr {
cursor: default;
}
tr.hovered,
tr.focused {
background: #171d24;
}
tr.selected {
background: #1d2d35;
}
.select-hit {
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: inline-flex;
align-items: center;
justify-content: center;
}
.icon img {
width: 32px;
height: 32px;
display: block;
}
.row-action {
width: 100%;
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;
padding: 10px 25px;
}
.status {
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;
}
.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;
}
.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;
text-overflow: ellipsis;
white-space: nowrap;
}
.task-name {
display: flex;
min-width: 0;
}
.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-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) {
.topbar {
align-items: stretch;
flex-direction: column;
}
th:nth-child(4),
td:nth-child(4),
th:nth-child(5),
td:nth-child(5),
th:nth-child(6),
td:nth-child(6) {
display: none;
}
}