AndroidCode / code /10163 /10163_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rendered UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #0f0f0f;
color: #fff;
border-radius: 42px;
box-shadow: 0 30px 80px rgba(0,0,0,0.55);
font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}
/* Header */
.header {
position: absolute;
top: 48px;
left: 0;
right: 0;
height: 120px;
}
.header .title {
position: absolute;
left: 120px;
top: 28px;
font-size: 48px;
font-weight: 600;
color: #e6e6e6;
letter-spacing: 0.2px;
}
.icon-btn {
position: absolute;
left: 24px;
top: 18px;
width: 80px;
height: 80px;
background: transparent;
border: none;
padding: 0;
cursor: default;
}
.icon-btn svg { width: 64px; height: 64px; }
.icon-btn svg path { stroke: #bdbdbd; stroke-width: 8; stroke-linecap: round; }
.next {
position: absolute;
right: 24px;
top: 32px;
font-size: 44px;
color: #4FA3FF;
font-weight: 500;
}
/* Section header */
.subheader {
position: absolute;
top: 168px;
left: 24px;
right: 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.subheader .label {
font-size: 36px;
color: #b7b7b7;
}
.subheader .count {
font-size: 32px;
color: #b7b7b7;
}
/* List */
.list {
position: absolute;
top: 228px;
left: 0;
right: 0;
bottom: 900px;
overflow: hidden;
}
.item {
display: flex;
align-items: flex-start;
margin: 18px 24px;
padding: 0;
height: 220px;
}
.thumb {
width: 360px;
height: 200px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 26px;
position: relative;
}
.thumb .badge {
position: absolute;
top: 10px;
left: 10px;
background: #D32F2F;
color: #fff;
font-size: 24px;
padding: 6px 10px;
border-radius: 8px;
}
.info {
flex: 1;
margin-left: 24px;
padding-top: 6px;
}
.info .t1 {
font-size: 34px;
line-height: 42px;
color: #f1f1f1;
max-width: 580px;
}
.info .meta {
margin-top: 8px;
font-size: 28px;
color: #9f9f9f;
}
.checkbox,
.checkbox.checked {
width: 60px;
height: 60px;
border-radius: 10px;
margin-left: 12px;
margin-top: 8px;
}
.checkbox {
border: 3px solid #bdbdbd;
box-sizing: border-box;
}
.checkbox.checked {
background: #1976D2;
border: 3px solid #1976D2;
display: flex;
align-items: center;
justify-content: center;
}
.checkbox.checked svg {
width: 36px; height: 36px;
}
.checkbox.checked svg path {
fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
}
/* Dialog */
.dialog {
position: absolute;
left: 90px;
top: 760px;
width: 900px;
background: #2a2a2a;
border-radius: 18px;
box-shadow: 0 14px 36px rgba(0,0,0,0.65);
padding: 36px 36px 28px;
}
.dialog .dlg-title {
font-size: 48px;
font-weight: 600;
margin-bottom: 28px;
color: #ffffff;
}
.dialog .input {
font-size: 40px;
color: #ffffff;
padding: 8px 0 12px;
border-bottom: 3px solid #4FA3FF;
}
.dialog .privacy {
margin-top: 26px;
}
.pill {
display: inline-flex;
align-items: center;
background: #444;
color: #ddd;
border-radius: 12px;
padding: 10px 16px;
border: 1px solid #575757;
font-size: 28px;
}
.pill svg {
width: 26px; height: 26px; margin-right: 10px;
}
.pill svg path {
stroke: #ddd; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.dialog .actions {
margin-top: 34px;
display: flex;
justify-content: flex-end;
align-items: center;
}
.dialog .btn {
font-size: 40px;
margin-left: 36px;
color: #8fb8ff;
cursor: default;
}
.dialog .btn.cancel { color: #bdbdbd; }
.dialog .btn.create { color: #4FA3FF; font-weight: 600; }
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 880px;
background: #1b1b1b;
border-top: 1px solid #2a2a2a;
}
.suggestion-bar {
height: 90px;
display: flex;
align-items: center;
padding: 0 24px;
color: #e0e0e0;
font-size: 36px;
}
.suggestion-bar .label { flex: 1; }
.suggestion-bar .mic {
width: 64px; height: 64px; border-radius: 32px;
background: #333; display: flex; align-items: center; justify-content: center;
}
.suggestion-bar .mic svg { width: 32px; height: 32px; fill: none; stroke: #cfcfcf; stroke-width: 3; }
.keys { padding: 16px 24px; }
.key-row { display: flex; justify-content: space-between; margin-bottom: 22px; }
.key {
flex: 1;
height: 120px;
margin: 0 8px;
border-radius: 26px;
background: #2a2a2a;
color: #ffffff;
font-size: 44px;
display: flex; align-items: center; justify-content: center;
box-shadow: inset 0 -4px 0 rgba(255,255,255,0.05);
}
.key.small { flex: 0 0 96px; }
.key.wide { flex: 2.8; }
.key.enter {
flex: 0 0 120px;
background: #bfe6ff; color: #0b3b73; font-weight: 700;
}
.mode { background: #8ea1af; color: #0d2b40; font-weight: 700; }
.emoji { background: #3b3b3b; }
.comma, .period { background: #2a2a2a; }
.backspace svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; }
.shift svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; }
/* Home pill */
.home-pill {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 260px;
height: 10px;
background: rgba(255,255,255,0.55);
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top header -->
<div class="header">
<button class="icon-btn" aria-label="Close">
<svg viewBox="0 0 24 24">
<path d="M4 4 L20 20"></path>
<path d="M20 4 L4 20"></path>
</svg>
</button>
<div class="title">Add videos</div>
<div class="next">Next</div>
</div>
<!-- Recently watched row -->
<div class="subheader">
<div class="label">Recently Watched</div>
<div class="count">1 video selected</div>
</div>
<!-- Video list -->
<div class="list">
<div class="item">
<div class="thumb">
<div class="badge">LIVE</div>
[IMG: Fashion outfits thumbnail]
</div>
<div class="info">
<div class="t1">Autumn outfits inspo. Milan's fashion life...</div>
<div class="meta">527K views · 6 years ago</div>
</div>
<div class="checkbox checked" aria-checked="true">
<svg viewBox="0 0 24 24">
<path d="M4 12 L10 18 L20 6"></path>
</svg>
</div>
</div>
<div class="item">
<div class="thumb">[IMG: Cultural event thumbnail]</div>
<div class="info">
<div class="t1">Classical performance clip</div>
<div class="meta">9.7M views · 4 years ago</div>
</div>
<div class="checkbox" aria-checked="false"></div>
</div>
<div class="item">
<div class="thumb">[IMG: Beauty & makeup tutorial thumbnail]</div>
<div class="info">
<div class="t1">Arabic makeup tutorial and fashion showcase</div>
<div class="meta">2.9M views · 3 years ago</div>
</div>
<div class="checkbox" aria-checked="false"></div>
</div>
</div>
<!-- New playlist dialog -->
<div class="dialog" role="dialog" aria-label="New playlist">
<div class="dlg-title">New playlist</div>
<div class="input">Luciano Pavarotti</div>
<div class="privacy">
<span class="pill">
<svg viewBox="0 0 24 24">
<path d="M6 10 H18 V20 H6 Z"></path>
<path d="M8 10 V6 A4 4 0 0 1 16 6 V10"></path>
</svg>
Private
</span>
</div>
<div class="actions">
<div class="btn cancel">Cancel</div>
<div class="btn create">Create</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="suggestion-bar">
<div class="label">Pavarotti</div>
<div class="mic" aria-label="Voice input">
<svg viewBox="0 0 24 24">
<path d="M12 4 A4 4 0 0 1 16 8 V12 A4 4 0 0 1 8 12 V8 A4 4 0 0 1 12 4 Z"></path>
<path d="M5 12 C5 16 9 18 12 18 C15 18 19 16 19 12"></path>
<path d="M12 18 V22"></path>
</svg>
</div>
</div>
<div class="keys">
<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 class="key">p</div>
</div>
<div class="key-row">
<div class="key">a</div><div class="key">s</div><div class="key">d</div><div class="key">f</div><div class="key">g</div>
<div class="key">h</div><div class="key">j</div><div class="key">k</div><div class="key">l</div>
</div>
<div class="key-row">
<div class="key small shift" aria-label="Shift">
<svg viewBox="0 0 24 24"><path d="M12 4 L4 12 H9 V20 H15 V12 H20 Z"></path></svg>
</div>
<div class="key">z</div><div class="key">x</div><div class="key">c</div><div class="key">v</div><div class="key">b</div>
<div class="key">n</div><div class="key">m</div>
<div class="key small backspace" aria-label="Backspace">
<svg viewBox="0 0 24 24"><path d="M4 12 L10 6 H20 V18 H10 Z M12 9 L16 13 M16 9 L12 13"></path></svg>
</div>
</div>
<div class="key-row">
<div class="key small mode">?123</div>
<div class="key small comma">,</div>
<div class="key small emoji">😊</div>
<div class="key wide">space</div>
<div class="key small period">.</div>
<div class="key enter"></div>
</div>
</div>
</div>
<div class="home-pill"></div>
</div>
</body>
</html>