161 lines
7.1 KiB
HTML
161 lines
7.1 KiB
HTML
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body { background: #09090b; color: #f4f4f5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; padding: 32px 24px; }
|
|
.wrap { max-width: 900px; margin: 0 auto; }
|
|
|
|
.tabs { display: flex; gap: 0; border-bottom: 1px solid #27272a; margin-bottom: 40px; }
|
|
.tab { padding: 10px 20px; font-size: 13px; font-weight: 500; color: #71717a; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
|
|
.tab.active { color: #fbbf24; border-bottom-color: #fbbf24; }
|
|
|
|
.page-header { margin-bottom: 40px; }
|
|
.page-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #52525b; margin-bottom: 8px; }
|
|
.page-title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 6px; }
|
|
.page-sub { font-size: 14px; color: #52525b; }
|
|
|
|
/* ── Shared form styles ── */
|
|
.form-label { font-size: 11px; font-weight: 600; color: #71717a; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; display: block; }
|
|
.form-field { margin-bottom: 20px; }
|
|
.form-input, .form-select, .form-textarea {
|
|
width: 100%; padding: 10px 14px; font-size: 13px; font-family: inherit;
|
|
background: #0d0d0f; border: 1px solid #27272a; border-radius: 8px;
|
|
color: #e4e4e7; outline: none;
|
|
}
|
|
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(251,191,36,0.4); }
|
|
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
|
|
.form-select { appearance: none; cursor: pointer; }
|
|
.form-hint { font-size: 11px; color: #3f3f46; margin-top: 6px; }
|
|
.btn-submit {
|
|
display: inline-flex; align-items: center; gap-8px; gap: 8px;
|
|
background: rgba(251,191,36,0.9); color: #000; font-size: 13px; font-weight: 700;
|
|
padding: 10px 24px; border-radius: 8px; border: none; cursor: pointer;
|
|
letter-spacing: 0.02em; font-family: inherit;
|
|
}
|
|
.btn-submit:hover { background: #fbbf24; }
|
|
|
|
/* ── Split view ── */
|
|
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
|
|
|
|
/* ── Page form (tab) ── */
|
|
.feedback-page { max-width: 560px; }
|
|
.feedback-page-header { margin-bottom: 28px; }
|
|
.feedback-page-header h2 { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.015em; margin-bottom: 6px; }
|
|
.feedback-page-header p { font-size: 13px; color: #52525b; line-height: 1.6; }
|
|
|
|
/* ── Modal ── */
|
|
.modal-wrap { position: relative; }
|
|
.modal-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #52525b; margin-bottom: 12px; text-align: center; }
|
|
.modal {
|
|
background: #111113; border: 1px solid #27272a; border-radius: 14px;
|
|
padding: 28px; width: 100%;
|
|
box-shadow: 0 24px 80px rgba(0,0,0,0.6);
|
|
}
|
|
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
|
|
.modal-title { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
|
|
.modal-close { font-size: 18px; color: #3f3f46; cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; line-height: 1; }
|
|
.modal-close:hover { color: #71717a; }
|
|
|
|
/* Nav trigger button (shown for context) */
|
|
.nav-context { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #18181b; }
|
|
.nav-context-label { font-size: 10px; color: #3f3f46; letter-spacing: 0.05em; }
|
|
.btn-feedback-nav {
|
|
padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 600;
|
|
border: 1px solid #27272a; color: #71717a; background: transparent;
|
|
cursor: pointer; font-family: inherit; letter-spacing: 0.02em;
|
|
}
|
|
|
|
.divider { width: 1px; background: #18181b; align-self: stretch; }
|
|
|
|
.char-count { font-size: 11px; color: #3f3f46; text-align: right; margin-top: 6px; }
|
|
</style>
|
|
|
|
<div class="wrap">
|
|
<div class="page-header">
|
|
<p class="page-label">Battl Builders</p>
|
|
<h1 class="page-title">Updates</h1>
|
|
<p class="page-sub">What we've shipped and what's coming next.</p>
|
|
</div>
|
|
|
|
<div class="tabs">
|
|
<div class="tab">What's New</div>
|
|
<div class="tab">What's Next</div>
|
|
<div class="tab active">Give Feedback</div>
|
|
</div>
|
|
|
|
<div class="split">
|
|
|
|
<!-- LEFT: Tab / page form -->
|
|
<div>
|
|
<p class="modal-label" style="text-align:left; margin-bottom: 20px;">Give Feedback tab (full page)</p>
|
|
<div class="feedback-page">
|
|
<div class="feedback-page-header">
|
|
<h2>Tell us what you think.</h2>
|
|
<p>Bug, feature idea, or general thought — we read everything. Rough language welcome.</p>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Category</label>
|
|
<select class="form-select">
|
|
<option>Bug report</option>
|
|
<option>Feature request</option>
|
|
<option>General feedback</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Message</label>
|
|
<textarea class="form-textarea" placeholder="What's on your mind?"></textarea>
|
|
<div class="char-count">0 / 1000</div>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Email <span style="color:#3f3f46; font-weight:400; text-transform:none; letter-spacing:0;">(optional — if you want a reply)</span></label>
|
|
<input class="form-input" type="email" placeholder="you@email.com" />
|
|
<p class="form-hint">We'll only use this to follow up on your feedback.</p>
|
|
</div>
|
|
|
|
<button class="btn-submit">Send Feedback →</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
<!-- RIGHT: Modal (triggered from nav/footer) -->
|
|
<div>
|
|
<div class="nav-context">
|
|
<span class="nav-context-label">Triggered from nav/footer →</span>
|
|
<button class="btn-feedback-nav">Send Feedback</button>
|
|
</div>
|
|
<p class="modal-label">Modal</p>
|
|
<div class="modal">
|
|
<div class="modal-header">
|
|
<span class="modal-title">Send Feedback</span>
|
|
<button class="modal-close">✕</button>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Category</label>
|
|
<select class="form-select">
|
|
<option>Bug report</option>
|
|
<option>Feature request</option>
|
|
<option>General feedback</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Message</label>
|
|
<textarea class="form-textarea" style="min-height:100px;" placeholder="What's on your mind?"></textarea>
|
|
<div class="char-count">0 / 1000</div>
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label class="form-label">Email <span style="color:#3f3f46; font-weight:400; text-transform:none; letter-spacing:0;">(optional)</span></label>
|
|
<input class="form-input" type="email" placeholder="you@email.com" />
|
|
</div>
|
|
|
|
<button class="btn-submit" style="width:100%; justify-content:center;">Send Feedback →</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|