File size: 6,321 Bytes
98687c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<html>
<head>
<meta charset="UTF-8">
<title>Fitbit Profile - Weight Modal</title>
<style>
  body { margin:0; padding:0; background:transparent; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
  #render-target {
    width:1080px; height:2400px; position:relative; overflow:hidden;
    background:#f5f7f6; /* app background */
    border-radius:0;
  }

  /* Status bar */
  .status-bar {
    position:absolute; top:0; left:0; width:100%; height:110px;
    display:flex; align-items:center; justify-content:space-between;
    padding:0 40px; color:#0a302a; font-weight:600; font-size:42px;
  }
  .status-icons{ display:flex; align-items:center; gap:28px; color:#0a302a; }
  .icon-dot { width:10px; height:10px; background:#0a302a; border-radius:50%; display:inline-block; }
  .wifi {
    width:44px; height:30px; position:relative; display:inline-block;
  }
  .wifi:before, .wifi:after {
    content:""; position:absolute; left:0; right:0; border:3px solid #0a302a; border-radius:20px;
  }
  .wifi:before { top:2px; height:10px; opacity:0.9; }
  .wifi:after { top:14px; height:6px; opacity:0.7; }
  .battery {
    width:58px; height:28px; border:3px solid #0a302a; border-radius:6px; position:relative; display:inline-block;
  }
  .battery:after {
    content:""; position:absolute; right:-10px; top:8px; width:8px; height:12px; background:#0a302a; border-radius:2px;
  }
  .battery .level { position:absolute; left:3px; top:3px; height:20px; width:36px; background:#0a302a; border-radius:3px; }

  /* Page content behind modal */
  .page {
    position:absolute; top:140px; left:60px; right:60px; bottom:0;
    color:#163d35;
  }
  .avatar {
    width:110px; height:110px; border:8px solid #1f5a4d; border-radius:55px; margin-bottom:30px;
  }
  .title {
    font-size:72px; font-weight:700; margin:10px 0 20px;
  }
  .subtitle {
    font-size:36px; color:#4f6e66; line-height:1.4; max-width:880px;
  }
  .form-row { margin-top:40px; display:flex; gap:34px; flex-wrap:wrap; }
  .input-box {
    width:430px; height:110px; border:3px solid #1f5a4d; border-radius:22px;
    display:flex; align-items:center; padding:0 28px; font-size:40px; color:#1f5a4d; background:#eef6f4;
  }
  .long-box { width:600px; }
  .bottom-actions {
    position:absolute; bottom:160px; left:60px; right:60px; display:flex; align-items:center; justify-content:space-between;
  }
  .exit { font-size:44px; color:#1f5a4d; }
  .primary-btn {
    background:#103c33; color:#d9efe8; font-size:44px; padding:28px 44px; border-radius:60px;
    box-shadow:0 6px 14px rgba(0,0,0,0.18);
  }

  /* Dim overlay */
  .overlay {
    position:absolute; left:0; top:0; width:100%; height:100%;
    background:rgba(0,0,0,0.35);
  }

  /* Modal */
  .modal {
    position:absolute; left:50%; top:390px; transform:translateX(-50%);
    width:860px; background:#ffffff; border-radius:56px;
    box-shadow:0 30px 80px rgba(0,0,0,0.25);
    padding:60px 60px 40px;
    color:#163d35;
  }
  .modal h2 { margin:0; font-size:64px; font-weight:700; }
  .modal .desc { font-size:36px; color:#587871; margin-top:24px; line-height:1.35; }
  .segmented {
    margin-top:46px; border-radius:40px; border:3px solid #c6d5d1; overflow:hidden; display:flex;
  }
  .segmented .item {
    flex:1; padding:34px 20px; text-align:center; font-size:40px; font-weight:600; color:#3c5e55; background:#e9eeed;
    border-right:3px solid #c6d5d1;
  }
  .segmented .item:last-child { border-right:none; }
  .segmented .active {
    background:#d7ebe4; color:#163d35;
    display:flex; align-items:center; justify-content:center; gap:16px;
  }
  .check {
    width:36px; height:36px; display:inline-block;
  }
  .check svg { width:100%; height:100%; }
  .picker {
    margin:50px auto 20px; width:420px; text-align:center;
  }
  .picker .prev, .picker .next {
    font-size:46px; color:#a8b7b2; margin:22px 0;
  }
  .picker .current {
    font-size:62px; font-weight:700; color:#163d35; position:relative; padding-bottom:28px;
  }
  .picker .current:after {
    content:""; display:block; height:8px; width:280px; background:#163d35; margin:22px auto 0; border-radius:6px;
  }
  .divider { height:4px; background:#e9eeed; margin:40px 0 10px; }
  .modal-actions {
    display:flex; justify-content:space-between; align-items:center; padding:20px 10px 0;
  }
  .btn-text { font-size:44px; color:#1f5a4d; }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div>10:07</div>
    <div class="status-icons">
      <span></span>
      <span>Calm</span>
      <span class="icon-dot"></span>
      <div class="wifi"></div>
      <div class="battery"><div class="level"></div></div>
    </div>
  </div>

  <!-- Page content behind modal -->
  <div class="page">
    <div class="avatar"></div>
    <div class="title">Add Fitbit profile info</div>
    <div class="subtitle">
      Your profile info helps personalize some metrics and recommendations. You can
      choose what is shared in your profile and settings. Privacy controls apply.
    </div>

    <div class="form-row">
      <div class="input-box">Height — 168 cm</div>
      <div class="input-box long-box">Sex — Prefer not to say ▼</div>
    </div>

    <div class="bottom-actions">
      <div class="exit">Exit</div>
      <div class="primary-btn">Save &amp; continue</div>
    </div>
  </div>

  <!-- Dim background -->
  <div class="overlay"></div>

  <!-- Weight Modal -->
  <div class="modal">
    <h2>Weight</h2>
    <div class="desc">Fitbit uses weight to estimate calories and calculate needs</div>

    <div class="segmented">
      <div class="item active">
        <span class="check">
          <svg viewBox="0 0 24 24">
            <path d="M20 6L9 17l-5-5" fill="none" stroke="#163d35" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
          </svg>
        </span>
        KG
      </div>
      <div class="item">STONE</div>
      <div class="item">LBS</div>
    </div>

    <div class="picker">
      <div class="prev">67 kg</div>
      <div class="current">68 kg</div>
      <div class="next">69 kg</div>
    </div>

    <div class="divider"></div>

    <div class="modal-actions">
      <div class="btn-text">Cancel</div>
      <div class="btn-text">OK</div>
    </div>
  </div>

</div>
</body>
</html>