Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
11362_0.html352 linesDownload Raw Back to 11362
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<meta name="viewport" content="width=1080, initial-scale=1.0">6<title>The Clock - Stopwatch</title>7<style>8  body { margin: 0; padding: 0; background: transparent; }9  #render-target {10    width: 1080px;11    height: 2400px;12    position: relative;13    overflow: hidden;14    background: #0d0d0f;15    font-family: Arial, Helvetica, sans-serif;16    color: #fff;17  }18 19  /* Header with diagonal bands */20  .header {21    position: relative;22    height: 420px;23    padding: 24px 36px 0;24    background:25      linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 35%, rgba(0,0,0,0.15) 100%),26      repeating-linear-gradient(150deg, rgba(255,255,255,0.06) 0 8px, rgba(0,0,0,0.1) 8px 32px);27  }28 29  .status-bar {30    display: flex;31    align-items: center;32    justify-content: space-between;33    font-size: 30px;34    opacity: 0.95;35    padding: 6px 0;36  }37  .status-right {38    display: flex;39    align-items: center;40    gap: 18px;41  }42  .title-row {43    display: flex;44    align-items: center;45    margin-top: 28px;46    gap: 26px;47  }48  .app-title {49    font-size: 64px;50    font-weight: 700;51    letter-spacing: 0.5px;52  }53  .title-actions {54    margin-left: auto;55    display: flex;56    gap: 26px;57  }58 59  /* Tabs */60  .tabs {61    margin-top: 48px;62    display: flex;63    justify-content: space-between;64    padding: 0 20px 0 8px;65  }66  .tab {67    width: 25%;68    text-align: center;69    color: #D9D9D9;70    font-size: 32px;71  }72  .tab .icon {73    margin: 0 auto 8px;74    width: 60px;75    height: 60px;76  }77  .tab.active {78    color: #ffffff;79    position: relative;80    font-weight: 600;81  }82  .tab.active::after {83    content: "";84    position: absolute;85    left: 10%;86    right: 10%;87    bottom: -14px;88    height: 6px;89    background: #e0435b;90    border-radius: 4px;91  }92 93  /* Main curved area */94  .main {95    position: absolute;96    left: 0;97    right: 0;98    top: 360px;99    height: 1700px;100    background: #111111;101    border-top-left-radius: 1000px 180px;102    border-top-right-radius: 1000px 180px;103    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);104  }105 106  .timer {107    margin-top: 120px;108    text-align: center;109    font-weight: 700;110    font-size: 136px;111    letter-spacing: 6px;112    color: #efefef;113  }114  .divider {115    width: 92%;116    height: 2px;117    background: rgba(255,255,255,0.15);118    margin: 26px auto 0;119  }120 121  .start-btn {122    margin: 56px auto 0;123    width: 560px;124    height: 120px;125    border: 3px solid #e7e7e7;126    border-radius: 32px;127    display: flex;128    align-items: center;129    justify-content: center;130    color: #e0435b;131    font-size: 48px;132    letter-spacing: 2px;133    text-transform: uppercase;134  }135 136  /* Floating Action Button */137  .fab {138    position: absolute;139    bottom: 360px;140    left: 50%;141    transform: translateX(-50%);142    width: 124px;143    height: 124px;144    background: #e0435b;145    border-radius: 50%;146    box-shadow: 0 8px 20px rgba(0,0,0,0.5);147    display: flex;148    align-items: center;149    justify-content: center;150  }151 152  /* Ad banner placeholder */153  .ad-wrap {154    position: absolute;155    left: 0;156    right: 0;157    bottom: 120px;158    padding: 10px 20px;159  }160  .ad-top-accent {161    height: 8px;162    background: #e0435b;163    border-top: 1px solid rgba(255,255,255,0.1);164    border-bottom-left-radius: 6px;165    border-bottom-right-radius: 6px;166  }167  .ad-banner {168    margin-top: 6px;169    height: 150px;170    background: #E0E0E0;171    border: 1px solid #BDBDBD;172    display: flex;173    align-items: center;174    padding: 18px;175    border-radius: 12px;176    gap: 20px;177    color: #555;178  }179  .ad-img {180    width: 120px;181    height: 120px;182    background: #D2D2D2;183    border: 1px solid #BDBDBD;184    display: flex;185    align-items: center;186    justify-content: center;187    color: #777;188    border-radius: 20px;189    font-size: 22px;190  }191  .ad-text {192    flex: 1;193    color: #222;194    font-size: 36px;195  }196  .ad-btn {197    padding: 18px 28px;198    background: #2ea56a;199    color: #fff;200    border-radius: 10px;201    font-weight: 700;202    font-size: 32px;203  }204 205  /* Gesture bar */206  .gesture {207    position: absolute;208    bottom: 38px;209    left: 50%;210    transform: translateX(-50%);211    width: 320px;212    height: 12px;213    background: #d9d9d9;214    border-radius: 12px;215    opacity: 0.9;216  }217 218  /* Simple icon helpers */219  .icon svg { width: 100%; height: 100%; display: block; }220  .small-icon { width: 36px; height: 36px; opacity: 0.95; }221  .hamburger { width: 56px; height: 56px; }222  .action-ic { width: 48px; height: 48px; }223</style>224</head>225<body>226<div id="render-target">227 228  <div class="header">229 230    <div class="status-bar">231      <div>8:02</div>232      <div class="status-right">233        <!-- WiFi -->234        <svg class="small-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">235          <path d="M2 8c5-4 15-4 20 0"/>236          <path d="M6 12c3-3 9-3 12 0"/>237          <path d="M10 16c1-1 3-1 4 0"/>238          <circle cx="12" cy="19" r="1.5" fill="#fff"></circle>239        </svg>240        <!-- Battery -->241        <svg class="small-icon" viewBox="0 0 26 26" fill="none" stroke="#fff" stroke-width="2">242          <rect x="2" y="6" width="18" height="12" rx="2"></rect>243          <rect x="21" y="10" width="3" height="4" rx="1" fill="#fff"></rect>244          <rect x="4" y="8" width="12" height="8" fill="#fff"></rect>245        </svg>246        <!-- Settings (simple gear) -->247        <svg class="small-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">248          <circle cx="12" cy="12" r="3"></circle>249          <path d="M3 12h3M18 12h3M12 3v3M12 18v3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2"></path>250        </svg>251      </div>252    </div>253 254    <div class="title-row">255      <!-- Hamburger -->256      <div class="hamburger">257        <svg viewBox="0 0 24 24" fill="#fff">258          <rect x="3" y="6" width="18" height="2" rx="1"></rect>259          <rect x="3" y="11" width="18" height="2" rx="1"></rect>260          <rect x="3" y="16" width="18" height="2" rx="1"></rect>261        </svg>262      </div>263      <div class="app-title">The Clock</div>264      <div class="title-actions">265        <!-- Moon icon -->266        <div class="action-ic">267          <svg viewBox="0 0 24 24" fill="#fff">268            <path d="M12.5 2a9.5 9.5 0 1 0 9.2 12.1A8 8 0 1 1 12.5 2z"></path>269          </svg>270        </div>271        <!-- Gear -->272        <div class="action-ic">273          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">274            <circle cx="12" cy="12" r="3"></circle>275            <path d="M3 12h3M18 12h3M12 3v3M12 18v3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2"></path>276          </svg>277        </div>278      </div>279    </div>280 281    <div class="tabs">282      <div class="tab">283        <div class="icon">284          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">285            <circle cx="12" cy="13" r="6"></circle>286            <path d="M7 4l-2 2M17 4l2 2M12 10v4M12 14l3 2"></path>287          </svg>288        </div>289        <div>Alarms</div>290      </div>291      <div class="tab">292        <div class="icon">293          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">294            <circle cx="12" cy="12" r="8"></circle>295            <path d="M12 7v6l3 2"></path>296          </svg>297        </div>298        <div>Clock</div>299      </div>300      <div class="tab">301        <div class="icon">302          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">303            <rect x="5" y="6" width="14" height="12" rx="2"></rect>304            <path d="M9 3v4M15 3v4"></path>305          </svg>306        </div>307        <div>Timer</div>308      </div>309      <div class="tab active">310        <div class="icon">311          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">312            <circle cx="12" cy="13" r="7"></circle>313            <path d="M10 2h4M12 13l3-2"></path>314          </svg>315        </div>316        <div>Stopwatch</div>317      </div>318    </div>319  </div>320 321  <div class="main">322    <div class="timer">00 : 00 : 00 : 00</div>323    <div class="divider"></div>324    <div class="start-btn">START</div>325  </div>326 327  <!-- Floating Action Button -->328  <div class="fab" title="Share">329    <svg viewBox="0 0 24 24" width="70" height="70" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round">330      <circle cx="6" cy="12" r="2"></circle>331      <circle cx="16.5" cy="7" r="2"></circle>332      <circle cx="16.5" cy="17" r="2"></circle>333      <path d="M8 12l6-4M8 12l6 4"></path>334    </svg>335  </div>336 337  <!-- Ad banner -->338  <div class="ad-wrap">339    <div class="ad-top-accent"></div>340    <div class="ad-banner">341      <div class="ad-img">[IMG]</div>342      <div class="ad-text">[IMG: Play Store Ad Banner]</div>343      <div class="ad-btn">GET</div>344    </div>345  </div>346 347  <!-- Gesture bar -->348  <div class="gesture"></div>349 350</div>351</body>352</html>
GD-ML/AndroidCode · Team Ai