AndroidCode / code /10163 /10163_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Add videos - New playlist</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #fff;
}
/* Top app bar */
.status-pad {
height: 60px;
background: #0f0f0f;
}
.app-bar {
height: 120px;
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
background: #0f0f0f;
}
.app-bar .left {
display: flex;
align-items: center;
gap: 24px;
flex: 1;
}
.app-bar .title {
font-size: 40px;
font-weight: 600;
letter-spacing: 0.2px;
}
.icon-btn {
width: 64px;
height: 64px;
border-radius: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: transparent;
}
.app-bar .right {
font-size: 36px;
color: #5ea0ff;
font-weight: 600;
}
/* Section header */
.section-header {
padding: 24px 32px 12px 32px;
display: flex;
align-items: center;
justify-content: space-between;
color: #bdbdbd;
font-size: 30px;
}
/* List */
.list {
padding: 0 24px 24px 24px;
box-sizing: border-box;
}
.video-item {
display: flex;
align-items: center;
gap: 24px;
padding: 18px 8px;
}
.thumb {
width: 320px;
height: 180px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 28px;
position: relative;
border-radius: 12px;
overflow: hidden;
}
.duration {
position: absolute;
right: 8px;
bottom: 8px;
background: rgba(0,0,0,0.7);
padding: 6px 10px;
border-radius: 8px;
font-size: 26px;
color: #fff;
}
.meta {
flex: 1;
min-width: 0;
}
.title-line {
font-size: 32px;
color: #eaeaea;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.subtle {
margin-top: 8px;
font-size: 26px;
color: #9e9e9e;
}
.live-pill {
display: inline-block;
background: #d32f2f;
color: #fff;
font-size: 24px;
padding: 4px 10px;
border-radius: 8px;
margin-left: 8px;
}
.checkbox {
width: 56px;
height: 56px;
border-radius: 8px;
border: 2px solid #757575;
display: flex;
align-items: center;
justify-content: center;
}
.checkbox.checked {
background: #1976d2;
border-color: #1976d2;
}
/* Floating selected preview (bottom-right) */
.floating-preview {
position: absolute;
right: 48px;
bottom: 920px;
width: 360px;
height: 540px;
background: #0a0a0a;
border-radius: 28px;
box-shadow: 0 24px 60px rgba(0,0,0,0.6);
overflow: hidden;
}
.floating-preview .img {
width: 100%;
height: 100%;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
}
/* Dialog: New playlist */
.dialog-backdrop {
position: absolute;
left: 0; top: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.35);
}
.dialog {
position: absolute;
left: 50%;
top: 780px;
transform: translateX(-50%);
width: 860px;
background: #262626;
border-radius: 16px;
box-shadow: 0 24px 60px rgba(0,0,0,0.7);
padding: 32px 32px 28px 32px;
box-sizing: border-box;
}
.dialog-title {
font-size: 40px;
font-weight: 600;
margin-bottom: 28px;
}
.field {
margin-bottom: 22px;
}
.input {
font-size: 34px;
padding: 8px 0;
border: none;
outline: none;
background: transparent;
color: #eaeaea;
width: 100%;
}
.underline {
height: 3px;
background: #1e88e5;
margin-top: 8px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
border-radius: 999px;
background: #3a3a3a;
color: #d6d6d6;
font-size: 26px;
border: 1px solid #555;
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 28px;
margin-top: 26px;
}
.btn-text {
font-size: 34px;
font-weight: 600;
color: #5ea0ff;
cursor: default;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 72px;
width: 100%;
height: 760px;
background: #1b1b1b;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
box-shadow: 0 -12px 40px rgba(0,0,0,0.6);
padding: 20px 24px;
box-sizing: border-box;
}
.kb-tools {
display: flex;
gap: 28px;
align-items: center;
margin-bottom: 14px;
}
.tool {
display: inline-flex;
align-items: center;
gap: 10px;
color: #bdbdbd;
font-size: 28px;
}
.key-row {
display: flex;
justify-content: center;
gap: 16px;
margin: 22px 0;
padding: 0 16px;
}
.key {
min-width: 84px;
height: 110px;
border-radius: 26px;
background: #2c2c2c;
color: #f5f5f5;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 40px;
box-shadow: inset 0 -6px 0 rgba(255,255,255,0.03);
}
.key.wide { min-width: 140px; }
.key.extra-wide { min-width: 220px; }
.key.enter {
background: #8ec8ff;
color: #0e2a45;
font-weight: 700;
}
.key.light {
background: #3a3a3a;
color: #d6d6d6;
}
/* Home indicator */
.home-indicator {
position: absolute;
left: 50%;
bottom: 16px;
transform: translateX(-50%);
width: 300px;
height: 12px;
background: #e6e6e6;
border-radius: 12px;
opacity: 0.9;
}
/* Simple SVG icons */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<div class="status-pad"></div>
<div class="app-bar">
<div class="left">
<div class="icon-btn" aria-label="Close">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M5 5L19 19M19 5L5 19" stroke="#e0e0e0" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="title">Add videos</div>
</div>
<div class="right">Next</div>
</div>
<div class="section-header">
<div>Recently Watched</div>
<div>1 video selected</div>
</div>
<div class="list">
<!-- Item 1 (selected) -->
<div class="video-item">
<div class="thumb">
[IMG: Video thumbnail]
<div class="duration">3:08</div>
</div>
<div class="meta">
<div class="title-line">🍁 Autumn outfits inspo. Milan’s fashion life in anticipation of M...</div>
<div class="subtle">527K views • 6 years ago</div>
</div>
<div class="checkbox checked">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M6 12l4 4 8-8" stroke="#fff" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Item 2 -->
<div class="video-item">
<div class="thumb">
[IMG: Video thumbnail]
<div class="duration">1:11</div>
</div>
<div class="meta">
<div class="title-line">Arabic makeup / Arabic jewelry set styling</div>
<div class="subtle">2.9K views • 1 year ago</div>
</div>
<div class="checkbox"></div>
</div>
<!-- Item 3 -->
<div class="video-item">
<div class="thumb">
[IMG: Video thumbnail]
<div class="duration">4:31</div>
</div>
<div class="meta">
<div class="title-line">Man gives speech — Highlights</div>
<div class="subtle">9.7M views • 4 years ago</div>
</div>
<div class="checkbox"></div>
</div>
<!-- Item 4 (example with LIVE tag) -->
<div class="video-item">
<div class="thumb">
[IMG: Video thumbnail]
<div class="duration">LIVE</div>
</div>
<div class="meta">
<div class="title-line">Street fashion stream <span class="live-pill">LIVE</span></div>
<div class="subtle">Streaming now</div>
</div>
<div class="checkbox"></div>
</div>
</div>
<!-- Floating selected video preview -->
<div class="floating-preview">
<div class="img">[IMG: Selected video preview]</div>
</div>
<!-- Dialog overlay -->
<div class="dialog-backdrop"></div>
<div class="dialog">
<div class="dialog-title">New playlist</div>
<div class="field">
<div class="input" contenteditable="false">Title</div>
<div class="underline"></div>
</div>
<div class="chip">
<svg width="20" height="20" viewBox="0 0 24 24">
<path d="M7 10V8a5 5 0 0110 0v2h1a1 1 0 011 1v7a1 1 0 01-1 1H6a1 1 0 01-1-1v-7a1 1 0 011-1h1zm2 0h6V8a3 3 0 10-6 0v2z" fill="#d6d6d6"/>
</svg>
Private
</div>
<div class="dialog-actions">
<div class="btn-text" style="color:#a7c6ff;">Cancel</div>
<div class="btn-text">Create</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-tools">
<div class="tool">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z" fill="#bdbdbd"/>
</svg>
</div>
<div class="tool">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M12 3l3 6-6 12 0-9-6-3 9 0z" fill="#bdbdbd"/>
</svg>
GIF
</div>
<div class="tool">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M5 12h14M12 5v14" stroke="#bdbdbd" stroke-width="2"/>
</svg>
Gx
</div>
<div class="tool">
<svg width="28" height="28" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8" fill="#bdbdbd"/>
</svg>
</div>
<div class="tool">
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M4 18h16M6 12h12M8 6h8" stroke="#bdbdbd" stroke-width="2"/>
</svg>
</div>
</div>
<div class="key-row">
<div class="key">Q</div><div class="key">W</div><div class="key">E</div><div class="key">R</div><div class="key">T</div><div class="key">Y</div><div class="key">U</div><div class="key">I</div><div class="key">O</div><div clas