AndroidCode / code /1001 /1001_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>New Folder Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: Roboto, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #ECECEC;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 96px;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
font-size: 38px;
box-sizing: border-box;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
font-size: 34px;
}
.icon {
display: inline-flex;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
}
/* App bar */
.app-bar {
position: absolute;
top: 96px;
left: 0;
width: 100%;
height: 108px;
display: flex;
align-items: center;
gap: 12px;
padding: 0 24px;
box-sizing: border-box;
}
.back-btn {
width: 96px;
height: 96px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #E0E0E0;
}
.title {
font-size: 56px;
font-weight: 500;
color: #EDEDED;
}
/* Form field */
.form-wrap {
position: absolute;
top: 300px;
left: 60px;
width: 960px;
}
.label-floating {
font-size: 30px;
color: #9DB4FF;
margin: 0 8px 10px 16px;
}
.field {
width: 100%;
height: 118px;
border: 3px solid #8FA6FF;
border-radius: 16px;
box-sizing: border-box;
padding: 26px 28px;
font-size: 46px;
color: #FFFFFF;
background: #171717;
}
/* Buttons */
.actions {
position: absolute;
top: 540px;
left: 60px;
width: 960px;
display: flex;
gap: 28px;
}
.btn {
height: 120px;
padding: 0 40px;
border-radius: 18px;
font-size: 44px;
display: inline-flex;
align-items: center;
gap: 18px;
cursor: default;
user-select: none;
}
.btn.outlined {
color: #B9C8FF;
border: 3px solid #89A0FF;
background: transparent;
}
.btn.filled {
color: #0B1226;
background: #8FA6FF;
border: 3px solid #8FA6FF;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 920px;
background: #1B1B1B;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-sizing: border-box;
padding: 16px 18px 24px;
}
.suggestions {
height: 100px;
display: flex;
align-items: center;
gap: 22px;
color: #EDEDED;
font-size: 40px;
padding: 0 8px;
}
.s-pill {
padding: 14px 24px;
background: #2A2A2A;
border-radius: 18px;
border: 1px solid #3A3A3A;
}
.s-sep {
width: 2px;
height: 44px;
background: #3C3C3C;
}
.rows {
margin-top: 10px;
display: grid;
grid-template-rows: repeat(4, 1fr);
height: calc(100% - 120px);
gap: 14px;
}
.row {
display: flex;
gap: 12px;
height: 100%;
}
.key {
flex: 1;
background: #2A2A2A;
border: 1px solid #3A3A3A;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: #EDEDED;
font-size: 46px;
}
.key.small {
flex: 0.9;
}
.key.wide {
flex: 5;
}
.key.onehalf {
flex: 1.5;
}
.key.special {
background: #31343A;
}
.key.accent {
background: #C7D4FF;
color: #0E1220;
}
/* Bottom gesture bar */
.gesture {
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 340px;
height: 10px;
background: #E0E0E0;
opacity: 0.6;
border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>6:13</div>
<div class="status-right">
<span class="icon">
<svg viewBox="0 0 24 24" width="34" height="34" fill="#FFFFFF">
<path d="M12 3L1 14h3v7h6v-5h4v5h6v-7h3L12 3z"/>
</svg>
</span>
<span class="icon">
<svg viewBox="0 0 24 24" width="34" height="34" fill="#FFFFFF">
<path d="M2 8.5C6.5 3.8 17.5 3.8 22 8.5l-2 2C16.6 7 7.4 7 4 10.5l-2-2zM6 12.5c3-2.9 9-2.9 12 0l-2 2c-2-2-6-2-8 0l-2-2zM10 16.5c1.2-1.2 2.8-1.2 4 0l-2 2-2-2z"/>
</svg>
</span>
<span style="width:10px;height:10px;background:#D9D9D9;border-radius:50%;display:inline-block;"></span>
<span style="display:flex;align-items:center;gap:6px;">
<svg viewBox="0 0 24 24" width="40" height="40" fill="#FFFFFF">
<path d="M16 4H8c-1.1 0-2 .9-2 2v12h12V6c0-1.1-.9-2-2-2zm1 14H7V6h10v12zm-5 1.5c.8 0 1.5-.7 1.5-1.5h-3c0 .8.7 1.5 1.5 1.5z"/>
</svg>
<span>100%</span>
</span>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="52" height="52" fill="#EDEDED">
<path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
</svg>
</div>
<div class="title">New folder</div>
</div>
<!-- Form -->
<div class="form-wrap">
<div class="label-floating">Folder name</div>
<div class="field">Plants</div>
</div>
<!-- Actions -->
<div class="actions">
<div class="btn outlined">
<svg viewBox="0 0 24 24" width="48" height="48" fill="#B9C8FF">
<path d="M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"/>
</svg>
Cancel
</div>
<div class="btn filled">
<svg viewBox="0 0 24 24" width="48" height="48" fill="#0B1226">
<path d="M19 11H13V5h-2v6H5v2h6v6h2v-6h6z"/>
</svg>
Create
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="suggestions">
<div class="key special" style="width:86px;height:66px;flex:none;">
<svg viewBox="0 0 24 24" width="36" height="36" fill="#EDEDED">
<path d="M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z"/>
</svg>
</div>
<div class="s-pill">Plants</div>
<div class="s-sep"></div>
<div class="s-pill">Plant's</div>
<div class="s-sep"></div>
<div class="s-pill">Planets</div>
<div style="flex:1;"></div>
<div class="key special" style="width:86px;height:66px;flex:none;">
<svg viewBox="0 0 24 24" width="34" height="34" fill="#EDEDED">
<path d="M12 3a4 4 0 0 0-4 4v3a4 4 0 0 0 5 3.9V21h2v-7.1a4 4 0 0 0 3-3.9V7a4 4 0 0 0-6-4z"/>
</svg>
</div>
</div>
<div class="rows">
<div class="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="row" style="padding:0 40px;">
<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="row">
<div class="key onehalf special">
<svg viewBox="0 0 24 24" width="42" height="42" fill="#EDEDED">
<path d="M7 14l5-5 5 5H7z"/>
</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 onehalf special">
<svg viewBox="0 0 24 24" width="40" height="40" fill="#EDEDED">
<path d="M22 7H12v2h10V7zm-2 4H8v2h12v-2zm-2 4H4v2h14v-2z"/>
</svg>
</div>
</div>
<div class="row">
<div class="key small special">?123</div>
<div class="key small">,</div>
<div class="key small special">
<svg viewBox="0 0 24 24" width="38" height="38" fill="#EDEDED">
<path d="M12 2a5 5 0 0 0-5 5c0 3.9 5 9 5 9s5-5.1 5-9a5 5 0 0 0-5-5zm0 6.8a1.8 1.8 0 1 1 0-3.6 1.8 1.8 0 0 1 0 3.6z"/>
</svg>
</div>
<div class="key wide"> </div>
<div class="key small">.</div>
<div class="key small accent">
<svg viewBox="0 0 24 24" width="44" height="44" fill="#0E1220">
<path d="M4 11h11.2l-4.6-4.6L12 5l7 7-7 7-1.4-1.4 4.6-4.6H4z"/>
</svg>
</div>
</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>