Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
11043_2.html323 linesDownload Raw Back to 11043
1<html lang="en">2<head>3<meta charset="UTF-8">4<title>Share Sheet UI</title>5<meta name="viewport" content="width=1080, initial-scale=1.0">6<style>7  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }8  #render-target {9    position: relative;10    width: 1080px;11    height: 2400px;12    overflow: hidden;13    background: #f6f6f6;14  }15 16  /* Status bar */17  .status-bar {18    position: absolute;19    top: 0;20    left: 0;21    width: 1080px;22    height: 120px;23    background: #000;24    color: #fff;25    display: flex;26    align-items: center;27    padding: 0 40px;28    box-sizing: border-box;29    font-weight: 600;30    letter-spacing: 1px;31  }32  .status-left { display: flex; align-items: center; gap: 18px; }33  .status-time { font-size: 36px; margin-right: 24px; }34  .dot { width: 16px; height: 16px; background: #fff; border-radius: 50%; opacity: 0.9; }35  .status-right { margin-left: auto; display: flex; gap: 26px; align-items: center; }36 37  /* Underlying content (Google Maps place) */38  .page {39    position: absolute;40    top: 120px;41    left: 0;42    right: 0;43    bottom: 0;44    padding: 40px;45    box-sizing: border-box;46  }47  .page-title {48    text-align: center;49    font-size: 64px;50    font-weight: 700;51    color: #3b3b3b;52    margin-top: 10px;53    margin-bottom: 30px;54  }55  .share-as {56    display: flex;57    align-items: center;58    gap: 24px;59    color: #1e1e1e;60    background: #ffffff;61    border-radius: 24px;62    box-shadow: 0 6px 24px rgba(0,0,0,0.08);63    padding: 24px;64    width: 1000px;65    margin: 0 auto 30px;66  }67  .avatar {68    width: 88px; height: 88px; border-radius: 50%;69    background: #E0E0E0; border: 1px solid #BDBDBD;70    display: flex; align-items: center; justify-content: center; color: #757575; font-weight: 700;71  }72  .share-as .info { line-height: 1.4; }73  .share-as .info .name { font-weight: 700; font-size: 42px; }74  .share-as .info .mail { font-size: 32px; color: #555; }75 76  .photos-row {77    display: grid;78    grid-template-columns: 1fr 1fr;79    gap: 28px;80    width: 1000px;81    margin: 0 auto;82  }83  .img-ph {84    height: 340px;85    background: #E0E0E0;86    border: 1px solid #BDBDBD;87    display: flex; align-items: center; justify-content: center; color: #757575; font-size: 30px;88    border-radius: 18px;89  }90 91  .place-block {92    width: 1000px; margin: 32px auto; background: #fff; border-radius: 28px;93    box-shadow: 0 6px 24px rgba(0,0,0,0.06);94    padding: 32px;95  }96  .place-title { font-size: 56px; font-weight: 700; margin-bottom: 12px; color: #222; }97  .place-desc { font-size: 36px; color: #444; margin-bottom: 18px; }98  .edit-link { color: #1a73e8; font-size: 34px; }99  .actions {100    display: flex; gap: 26px; margin-top: 26px;101  }102  .btn {103    display: inline-flex; align-items: center; gap: 18px;104    padding: 28px 36px; border-radius: 46px; font-size: 38px; font-weight: 600;105    background: #f0f3ff; color: #0b5be1;106  }107  .btn.secondary { background: #eef6ff; color: #0b5be1; }108  .icon {109    width: 44px; height: 44px;110  }111  .icon svg { width: 100%; height: 100%; }112 113  /* Dim overlay behind share sheet */114  .dim {115    position: absolute;116    inset: 0;117    background: rgba(0,0,0,0.55);118  }119 120  /* Bottom share sheet */121  .sheet {122    position: absolute;123    left: 0;124    right: 0;125    bottom: 0;126    height: 1150px;127    background: #1e1e1e;128    border-top-left-radius: 28px;129    border-top-right-radius: 28px;130    color: #fff;131    box-shadow: 0 -20px 40px rgba(0,0,0,0.45);132    padding: 56px 50px 40px;133    box-sizing: border-box;134  }135  .handle {136    position: absolute;137    top: 24px; left: 50%;138    width: 120px; height: 12px; background: #4a4a4a; border-radius: 8px;139    transform: translateX(-50%);140  }141  .link {142    font-size: 40px; color: #e9e9e9; margin-top: 30px; margin-bottom: 36px;143    word-break: break-all;144  }145  .pill-row { display: flex; gap: 26px; margin-bottom: 60px; }146  .pill {147    display: inline-flex; align-items: center; gap: 18px;148    padding: 22px 28px; border-radius: 22px; border: 2px solid #3a3a3a; color: #fff; font-size: 36px;149    background: #2a2a2a;150  }151  .pill .icon { width: 40px; height: 40px; }152 153  .targets-row {154    display: flex; gap: 80px; padding: 0 20px; margin-bottom: 60px;155  }156  .target {157    width: 220px; text-align: center;158  }159  .circle {160    width: 160px; height: 160px; border-radius: 50%;161    background: #3b83f6;162    display: flex; align-items: center; justify-content: center;163    color: #fff; font-weight: 800; font-size: 54px; position: relative;164  }165  .circle.group {166    background: #4f8af6;167  }168  .badge {169    position: absolute; right: -6px; bottom: -6px;170    width: 48px; height: 48px; border-radius: 50%;171    background: #fff; color: #3b83f6; display: flex; align-items: center; justify-content: center;172    font-weight: 800;173  }174  .target .label { margin-top: 18px; font-size: 34px; color: #dcdcdc; line-height: 1.2; }175 176  .apps-row {177    display: flex; gap: 80px; padding: 0 20px;178  }179  .app {180    width: 220px; text-align: center;181  }182  .app .circle {183    width: 160px; height: 160px; background: #2a2a2a; border: 2px solid #444;184  }185  .app .label { margin-top: 20px; font-size: 34px; color: #dcdcdc; }186  .sub { color: #a0a0a0; font-size: 28px; }187  /* Simple color icons inside app circles */188  .gmail svg .red { fill: #EA4335; } .gmail svg .blue { fill: #4285F4; } .gmail svg .green { fill: #34A853; } .gmail svg .yellow { fill: #FBBC05; }189  .msg-icon { background: #2b6bed; border: none; }190  .bt-icon { background: #ffffff; color: #2b6bed; }191  .fb-icon { background: #1877F2; }192</style>193</head>194<body>195<div id="render-target">196 197  <div class="status-bar">198    <div class="status-left">199      <div class="status-time">8:40</div>200      <div class="dot"></div>201      <div class="dot"></div>202      <div class="dot"></div>203      <div class="dot"></div>204      <div class="dot" style="opacity:0.6;"></div>205    </div>206    <div class="status-right">207      <!-- wifi icon -->208      <svg width="44" height="44" viewBox="0 0 24 24" fill="#fff"><path d="M12 20c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12.5l1.4 1.4C8.2 12.7 10 12 12 12s3.8.7 5.6 1.9L19 12.5C16.8 11.1 14.5 10 12 10s-4.8 1.1-7 2.5zM2 9l1.4 1.4C5.8 8.6 8.8 7.5 12 7.5s6.2 1.1 8.6 2.9L22 9c-3-2.3-6.5-3.5-10-3.5S5 6.7 2 9z"/></svg>209      <!-- battery icon -->210      <svg width="44" height="44" viewBox="0 0 24 24" fill="#fff"><path d="M16 7H4c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm3 3h1v4h-1V10z"/></svg>211    </div>212  </div>213 214  <div class="page">215    <div class="page-title">Share</div>216 217    <div class="share-as">218      <div class="avatar">[A]</div>219      <div class="info">220        <div class="name">Sharing as Amelia miller</div>221        <div class="mail">amelia.miller2709@gmail.com</div>222      </div>223    </div>224 225    <div class="photos-row">226      <div class="img-ph">[IMG: Train station at sunset]</div>227      <div class="img-ph">[IMG: Old building facade]</div>228    </div>229 230    <div class="place-block">231      <div class="place-title">Funes</div>232      <div class="place-desc">my favorite destination place</div>233      <div class="edit-link">Edit note</div>234 235      <div class="actions">236        <div class="btn">237          <span class="icon">238            <svg viewBox="0 0 24 24" fill="#0b5be1"><path d="M12 2l4 4-4 4V7H4V5h8V2zM4 13h16v6H4v-6z"/></svg>239          </span>240          Directions241        </div>242        <div class="btn secondary">243          <span class="icon">244            <svg viewBox="0 0 24 24" fill="#0b5be1"><path d="M18 16.08c-1.76 0-3.29-.77-4.31-1.97L8.91 15.9A5.996 5.996 0 006 12c0-1.11.3-2.14.82-3.03L9.69 10c-.05.33-.09.66-.09 1 0 3.31 2.69 6 6 6 .68 0 1.34-.11 1.95-.31l-1.55-1.55zM20 4l-2 2 2 2-2 2-2-2-2 2-2-2 2-2-2-2 2-2 2 2 2-2 2 2z"/></svg>245          </span>246          Share247        </div>248      </div>249    </div>250  </div>251 252  <div class="dim"></div>253 254  <div class="sheet">255    <div class="handle"></div>256    <div class="link">https://maps.app.goo.gl/JggPFVAzkVPxcawk7</div>257 258    <div class="pill-row">259      <div class="pill">260        <span class="icon">261          <svg viewBox="0 0 24 24" fill="#fff"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2z"/></svg>262        </span>263        Copy264      </div>265      <div class="pill">266        <span class="icon">267          <svg viewBox="0 0 24 24" fill="#fff"><path d="M12 20c3.31 0 6-2.69 6-6 0-2.22-1.21-4.15-3-5.19V5h-6v3.81C7.21 9.85 6 11.78 6 14c0 3.31 2.69 6 6 6zm-2-15h4v2h-4V5z"/></svg>268        </span>269        Nearby270      </div>271    </div>272 273    <div class="targets-row">274      <div class="target">275        <div class="circle group">276          <svg viewBox="0 0 24 24" width="80" height="80" fill="#fff"><path d="M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zM8 11c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm8 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zM8 13c-2.67 0-8 1.34-8 4v2h8v-2c0-.69.22-1.33.59-1.89C8.97 13.78 8.5 13 8 13z"/></svg>277          <div class="badge">S</div>278        </div>279        <div class="label">Andrew Reed,<br>Eliza</div>280      </div>281 282      <div class="target">283        <div class="circle">El<div class="badge">S</div></div>284        <div class="label">Eliza</div>285      </div>286    </div>287 288    <div class="apps-row">289      <div class="app">290        <div class="circle gmail">291          <svg viewBox="0 0 24 24" width="120" height="120">292            <path class="red" d="M3 6v12h4V9L12 13l5-4v9h4V6l-9 6L3 6z"/>293          </svg>294        </div>295        <div class="label">Gmail</div>296      </div>297 298      <div class="app">299        <div class="circle msg-icon">300          <svg viewBox="0 0 24 24" width="110" height="110" fill="#fff"><path d="M4 3h16a2 2 0 012 2v12a2 2 0 01-2 2H8l-4 4V5a2 2 0 012-2z"/></svg>301        </div>302        <div class="label">Messages</div>303      </div>304 305      <div class="app">306        <div class="circle">307          <svg viewBox="0 0 24 24" width="110" height="110" fill="#4f8af6"><path d="M12 3l3 7h-2l3 11-6-9h2L9 3h3z"/></svg>308        </div>309        <div class="label">Bluetooth</div>310      </div>311 312      <div class="app">313        <div class="circle fb-icon">314          <svg viewBox="0 0 24 24" width="110" height="110" fill="#fff"><path d="M13 22v-8h3l1-4h-4V7c0-1.1.9-2 2-2h2V1h-3a5 5 0 00-5 5v4H6v4h3v8h4z"/></svg>315        </div>316        <div class="label">Facebook<br><span class="sub">News Feed</span></div>317      </div>318    </div>319  </div>320 321</div>322</body>323</html>