Move rarely used video actions into a More actions sheet
This commit is contained in:
@@ -422,3 +422,28 @@
|
||||
border: 1px solid var(--line); background: var(--bg-3); color: var(--text);
|
||||
}
|
||||
@media (min-width: 900px) { #listActions button.la-icon { height: 44px; flex-basis: 44px; width: 44px; border-radius: 14px; } }
|
||||
|
||||
/* ---- More actions ---- */
|
||||
#nowPlayingMeta .np-actions .np-more-host { display: none; }
|
||||
#nowPlayingMeta .np-actions .np-more {
|
||||
order: 5; flex: 1 1 100%; min-height: 54px; padding: 8px 16px;
|
||||
display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
|
||||
border-radius: 16px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; text-align: left;
|
||||
}
|
||||
.np-more span { font: 700 14px var(--ui); }
|
||||
.np-more small { font: 400 12px var(--ui); color: var(--text-dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.np-more:hover { border-color: var(--accent); }
|
||||
.more-list { display: grid; gap: 8px; min-width: min(420px, 80vw); }
|
||||
.more-row {
|
||||
display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; text-align: left;
|
||||
border-radius: 14px; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); cursor: pointer;
|
||||
}
|
||||
.more-row:hover { border-color: var(--accent); }
|
||||
.more-row[disabled] { opacity: 0.5; pointer-events: none; }
|
||||
.more-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-1); font-size: 19px; }
|
||||
.more-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
|
||||
.more-txt b { font: 700 14px var(--ui); }
|
||||
.more-txt small { font: 400 12px/1.3 var(--ui); color: var(--text-dim); }
|
||||
.more-go { color: var(--text-dim); font-size: 22px; }
|
||||
.more-row.danger b { color: #ff8a80; }
|
||||
.more-row.danger .more-ico { background: rgba(255, 75, 50, 0.16); }
|
||||
|
||||
Reference in New Issue
Block a user