Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10701_1.html164 linesDownload Raw Back to 10701
1<!DOCTYPE html>2<html>3<head>4<meta charset="utf-8">5<meta name="viewport" content="width=1080, initial-scale=1">6<title>Flight Results UI</title>7<style>8  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }9  #render-target {10    width: 1080px; height: 2400px; position: relative; overflow: hidden;11    background: #F2F3F5;12  }13 14  /* Top app bar */15  .status-bar {16    height: 110px; background: #0d4b84; color: #fff; display: flex; align-items: center; padding: 0 40px; font-size: 36px;17  }18  .status-bar .icons { margin-left: auto; display: flex; align-items: center; gap: 26px; opacity: 0.95; }19  .status-dot { width: 12px; height: 12px; background: #fff; border-radius: 50%; display: inline-block; }20 21  .app-bar {22    height: 200px; background: #0f64b9; color: #fff; position: relative; padding: 0 40px;23  }24  .app-bar .row { height: 120px; display: flex; align-items: center; }25  .back-btn { width: 70px; height: 70px; display: inline-flex; align-items: center; justify-content: center; }26  .back-btn svg { width: 50px; height: 50px; fill: none; stroke: #fff; stroke-width: 8; }27  .title { font-size: 64px; font-weight: 700; margin-left: 20px; }28  .tabs { display: flex; justify-content: space-between; align-items: flex-end; height: 80px; padding-right: 40px; }29  .tab { font-size: 36px; letter-spacing: 1px; color: rgba(255,255,255,0.85); }30  .tab.active { color: #fff; font-weight: 700; position: relative; }31  .tab.active::after { content: ""; position: absolute; left: 0; bottom: -12px; width: 240px; height: 8px; background: #FFC107; border-radius: 4px; }32 33  /* Search summary bar */34  .summary { background: #fff; padding: 28px 40px; border-bottom: 1px solid #E2E2E2; }35  .summary .route { font-size: 44px; font-weight: 700; color: #212121; display: flex; align-items: center; gap: 16px; }36  .summary .sub { margin-top: 10px; color: #6b6b6b; font-size: 34px; display: flex; align-items: center; gap: 20px; }37  .summary .edit-icon { width: 34px; height: 34px; transform: translateY(2px); }38  .summary .people { display: inline-flex; align-items: center; gap: 10px; }39  .summary .people svg { width: 34px; height: 34px; fill: #8a8a8a; }40 41  /* Filters header */42  .filters-head { background: #EFEFEF; padding: 24px 40px; color: #707070; display: flex; align-items: center; }43  .filters-head .right { margin-left: auto; font-weight: 700; opacity: 0.5; }44 45  /* Cards */46  .card { background: #ffffff; border-radius: 30px; margin: 24px 40px; box-shadow: 0 6px 12px rgba(0,0,0,0.06); overflow: hidden; }47  .smart-header { background: #1AA78D; color: #fff; font-weight: 700; font-size: 38px; padding: 26px 30px; }48  .card.inner-border { border: 4px solid #1AA78D; }49  .price-row { padding: 28px 30px 16px 30px; display: flex; align-items: baseline; gap: 24px; }50  .price-row .curr { font-size: 46px; font-weight: 700; color: #111; }51  .price-row .amount { font-size: 78px; font-weight: 800; color: #111; letter-spacing: -1px; }52  .price-row .strike { font-size: 46px; color: #9e9e9e; text-decoration: line-through; margin-left: 10px; }53  .prime-chip { display: flex; align-items: center; gap: 12px; color: #616161; font-size: 34px; margin-top: 8px; padding-left: 30px; }54  .diamond { width: 18px; height: 18px; background: #FFC107; transform: rotate(45deg); display: inline-block; border-radius: 2px; }55  .dashed { border: none; border-top: 2px dashed #D8D8D8; margin: 18px 0; }56 57  /* Segment rows */58  .segment { display: grid; grid-template-columns: 160px 1fr 260px; gap: 20px; padding: 16px 30px; align-items: center; }59  .avatar {60    width: 120px; height: 120px; background: #E0E0E0; border: 1px solid #BDBDBD;61    display: flex; justify-content: center; align-items: center; color: #757575; font-size: 28px; border-radius: 60px;62  }63  .airline { color: #3e3e3e; font-size: 36px; font-weight: 700; margin-bottom: 8px; }64  .left-times { font-size: 70px; font-weight: 800; color: #111; line-height: 1; }65  .left-sub { color: #777; font-size: 34px; }66  .timeline { position: relative; height: 84px; }67  .duration { position: absolute; top: -4px; left: 0; font-size: 32px; color: #777; }68  .line { position: absolute; top: 34px; left: 0; right: 0; height: 6px; background: #bdbdbd; border-radius: 3px; }69  .plane-icon { position: absolute; top: 24px; right: -2px; }70  .plane-icon svg { width: 46px; height: 46px; fill: #777; }71  .direct { position: absolute; bottom: -2px; left: 0; font-size: 34px; color: #1AA78D; font-weight: 700; }72  .right-times { text-align: right; }73  .right-times .time { font-size: 70px; font-weight: 800; color: #111; line-height: 1; }74  .right-times .code { color: #777; font-size: 34px; }75 76  .eco-tag { background: #d9f4ee; color: #1AA78D; margin: 14px 30px 26px 30px; border-radius: 26px; padding: 18px 22px; display: inline-flex; align-items: center; gap: 16px; font-size: 34px; font-weight: 700; }77  .eco-tag svg { width: 40px; height: 40px; fill: #1AA78D; }78 79  /* Second card specifics */80  .badge { position: absolute; right: 24px; top: 18px; background: #e64a45; color: #fff; padding: 22px 26px; border-radius: 20px; font-size: 34px; font-weight: 800; box-shadow: 0 8px 12px rgba(230,74,69,0.4); }81  .second-card { position: relative; }82 83  /* Floating Filters button */84  .filters-fab {85    position: absolute; left: 340px; top: 1520px;86    background: #0f64b9; color: #fff; padding: 28px 44px; border-radius: 60px; font-size: 40px; font-weight: 800;87    display: inline-flex; align-items: center; gap: 20px; box-shadow: 0 12px 24px rgba(15,100,185,0.4);88  }89  .filters-fab svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 8; }90 91  /* Bottom navigation pill */92  .nav-pill {93    position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px;94    width: 240px; height: 18px; background: #ffffff; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,0.12);95  }96</style>97</head>98<body>99<div id="render-target">100 101  <!-- Status bar -->102  <div class="status-bar">103    <div>1:50</div>104    <div class="icons">105      <div>83°</div>106      <div>✉️</div>107      <div class="status-dot"></div>108      <div>📶</div>109      <div>🔋</div>110    </div>111  </div>112 113  <!-- App bar -->114  <div class="app-bar">115    <div class="row">116      <div class="back-btn">117        <svg viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7"/></svg>118      </div>119      <div class="title">Results</div>120    </div>121    <div class="tabs">122      <div class="tab active">PRIME PRICE</div>123      <div class="tab">FULL PRICE</div>124    </div>125  </div>126 127  <!-- Search summary -->128  <div class="summary">129    <div class="route">130      <span>Paris ↔ Rome</span>131      <svg class="edit-icon" viewBox="0 0 24 24"><path d="M4 16l0 4 4 0 10-10-4-4-10 10z" fill="#6b6b6b"/></svg>132    </div>133    <div class="sub">134      <span>Fri 20 Oct - Sun 22 Oct</span>135      <span class="people">136        <svg viewBox="0 0 24 24"><path d="M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm-8 8c0-4 8-4 8-4s8 0 8 4v2H4v-2z"/></svg>137        <span>3</span>138      </span>139    </div>140  </div>141 142  <!-- Filters header -->143  <div class="filters-head">144    <div>670 results</div>145    <div class="right">REMOVE FILTERS</div>146  </div>147 148  <!-- Smart choice card -->149  <div class="card inner-border">150    <div class="smart-header">The smart choice!</div>151 152    <div class="price-row">153      <div class="curr">$</div>154      <div class="amount">296.65</div>155      <div class="strike">$ 336.65</div>156    </div>157    <div class="prime-chip"><span class="diamond"></span> <span>Prime price</span></div>158 159    <hr class="dashed">160 161    <!-- Segment 1 -->162    <div class="segment">163      <div class="avatar">[IMG: Wizz Air Logo]</div>164      <div
GD-ML/AndroidCode · Team Ai