Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
11056_9.html271 linesDownload Raw Back to 11056
1<html>2<head>3<meta charset="UTF-8">4<title>Plant Edit UI</title>5<style>6  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }7  #render-target {8    width: 1080px;9    height: 2400px;10    position: relative;11    overflow: hidden;12    background: #0f2a32; /* deep teal/navy */13    color: #eaf6f6;14  }15 16  /* status bar */17  .status-bar {18    position: absolute;19    top: 0;20    left: 0;21    width: 1080px;22    height: 120px;23    display: flex;24    align-items: center;25    padding: 0 48px;26    box-sizing: border-box;27  }28  .status-time {29    font-weight: 600;30    font-size: 36px;31    letter-spacing: 0.5px;32    opacity: 0.95;33  }34  .status-icons {35    margin-left: auto;36    display: flex;37    align-items: center;38    gap: 22px;39  }40  .dot {41    width: 26px; height: 26px; border-radius: 50%; background: #d9efe8; opacity: 0.85;42  }43  .square {44    width: 26px; height: 26px; background: #d9efe8; opacity: 0.85;45  }46  .leaf {47    width: 28px; height: 28px; border-radius: 50%; background: #89caa6;48  }49  .wifi {50    width: 34px; height: 24px; border: 3px solid #d9efe8; border-left-color: transparent; border-right-color: transparent; border-top-left-radius: 20px; border-top-right-radius: 20px;51  }52  .battery {53    width: 42px; height: 22px; border: 3px solid #d9efe8; position: relative;54  }55  .battery::after {56    content: ""; position: absolute; right: -8px; top: 6px; width: 6px; height: 10px; background: #d9efe8;57  }58 59  /* header actions */60  .top-actions {61    position: absolute;62    top: 120px;63    left: 0;64    width: 1080px;65    padding: 0 48px;66    box-sizing: border-box;67    display: flex;68    align-items: center;69    justify-content: space-between;70  }71  .back-btn {72    width: 120px; height: 120px;73    border-radius: 60px;74    background: rgba(255,255,255,0.08);75    display: flex; align-items: center; justify-content: center;76  }77  .back-btn svg { width: 44px; height: 44px; fill: none; stroke: #d9efe8; stroke-width: 10; }78  .update-btn {79    padding: 26px 44px;80    font-size: 40px; font-weight: 700;81    color: #10343b;82    border-radius: 60px;83    background: linear-gradient(90deg, #8ee18d, #6bd0d4);84    box-shadow: 0 10px 20px rgba(0,0,0,0.25) inset;85  }86 87  /* content */88  .content {89    position: absolute;90    top: 280px;91    left: 0;92    width: 100%;93    padding: 0 56px 56px;94    box-sizing: border-box;95  }96  .image-card {97    width: 570px; height: 570px;98    margin: 0 auto;99    background: #ffffff;100    border-radius: 56px;101    display: flex; align-items: center; justify-content: center;102    box-shadow: 0 18px 36px rgba(0,0,0,0.25);103    position: relative;104  }105  .image-card .placeholder {106    width: 480px; height: 480px;107    background: #E0E0E0;108    border: 1px solid #BDBDBD;109    display: flex; align-items: center; justify-content: center;110    color: #757575; font-size: 34px; text-align: center;111    border-radius: 12px;112  }113  .close-chip {114    position: absolute;115    right: -14px; top: -14px;116    width: 100px; height: 100px; border-radius: 50%;117    background: #d9dde2;118    display: flex; align-items: center; justify-content: center;119    color: #3c4b52; font-weight: 800; font-size: 48px;120    box-shadow: 0 8px 20px rgba(0,0,0,0.3);121  }122  .plus-circle {123    width: 120px; height: 120px; border-radius: 60px;124    background: linear-gradient(180deg, #8cd88e, #66c39c);125    display: flex; align-items: center; justify-content: center;126    color: #10343b; font-size: 72px; font-weight: 700;127    margin: 36px auto 20px;128    box-shadow: 0 10px 20px rgba(0,0,0,0.25);129  }130  .subnote {131    text-align: center;132    font-size: 36px;133    color: #b7d7d7;134    margin-bottom: 40px;135  }136 137  /* form sections */138  .section {139    margin-top: 44px;140  }141  .label {142    font-size: 40px;143    color: #cfe5e5;144    margin-bottom: 18px;145  }146  .input {147    width: 100%;148    background: #0e2230;149    border: 1px solid rgba(255,255,255,0.12);150    color: #e9fbfb;151    border-radius: 36px;152    padding: 34px 36px;153    font-size: 44px;154    box-sizing: border-box;155  }156 157  .inline-row {158    display: flex;159    align-items: center;160    justify-content: space-between;161  }162  .date-pill {163    padding: 24px 32px;164    background: #2e5567;165    color: #d8f1f1;166    border-radius: 22px;167    font-size: 40px;168    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);169  }170 171  .select {172    width: 100%;173    background: #0e2230;174    border: 1px solid rgba(255,255,255,0.12);175    color: #e9fbfb;176    border-radius: 36px;177    padding: 34px 36px;178    font-size: 44px;179    box-sizing: border-box;180    display: flex; align-items: center; justify-content: space-between;181  }182  .chev svg { width: 40px; height: 40px; fill: none; stroke: #cfe5e5; stroke-width: 10; }183 184  /* bottom spacer to emulate safe area */185  .bottom-spacer {186    height: 80px;187    width: 100%;188  }189</style>190</head>191<body>192<div id="render-target">193 194  <!-- Faux status bar -->195  <div class="status-bar">196    <div class="status-time">1:39</div>197    <div class="status-icons">198      <div class="dot"></div>199      <div class="square"></div>200      <div class="leaf"></div>201      <div class="dot"></div>202      <div class="wifi"></div>203      <div class="battery"></div>204    </div>205  </div>206 207  <!-- Header actions -->208  <div class="top-actions">209    <div class="back-btn">210      <svg viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7"/></svg>211    </div>212    <div class="update-btn">Update</div>213  </div>214 215  <div class="content">216    <!-- Image card -->217    <div class="image-card">218      <div class="placeholder">[IMG: Rosemary Plant in Black Pot]</div>219      <div class="close-chip">×</div>220    </div>221 222    <div class="plus-circle">+</div>223    <div class="subnote">You can upload a pic later!</div>224 225    <!-- Plant nickname -->226    <div class="section">227      <div class="label">Plant nickname</div>228      <div class="input">Ceecee</div>229    </div>230 231    <!-- Scientific name -->232    <div class="section">233      <div class="label">Scientific name</div>234      <div class="input">Salvia rosmarinus</div>235    </div>236 237    <!-- Last watered with date pill -->238    <div class="section">239      <div class="inline-row">240        <div class="label" style="margin: 0;">Last watered:</div>241        <div class="date-pill">24 Nov 2023</div>242      </div>243    </div>244 245    <!-- Watering schedule -->246    <div class="section">247      <div class="label">Watering schedule</div>248      <div class="select">249        <div>Every 7 days</div>250        <div class="chev">251          <svg viewBox="0 0 24 24"><path d="M8 5l8 7-8 7"/></svg>252        </div>253      </div>254    </div>255 256    <!-- Pot size -->257    <div class="section">258      <div class="label">Pot size</div>259      <div class="select">260        <div>Small (3–6 in)</div>261        <div class="chev">262          <svg viewBox="0 0 24 24"><path d="M8 5l8 7-8 7"/></svg>263        </div>264      </div>265    </div>266 267    <div class="bottom-spacer"></div>268  </div>269</div>270</body>271</html>
GD-ML/AndroidCode · Team Ai