Skip to content

Commit cfa9583

Browse files
committed
enh: restructure guide section for improved user navigation and clarity, adding step-by-step instructions with enhanced styling
1 parent 2eeee0e commit cfa9583

2 files changed

Lines changed: 111 additions & 8 deletions

File tree

css/styles.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,4 +1598,76 @@ input:checked + .toggle-slider:hover {
15981598
/* Specific styling for about button to take remaining space */
15991599
.bottom-button.about-button {
16001600
flex: 1;
1601+
}
1602+
1603+
/* Guide Steps Styling */
1604+
.guide-section {
1605+
background: rgba(59, 130, 246, 0.05);
1606+
border: 1px solid rgba(59, 130, 246, 0.15);
1607+
border-radius: var(--radius-lg);
1608+
padding: var(--space-xl);
1609+
margin-bottom: var(--space-xl);
1610+
}
1611+
1612+
.guide-section h3 {
1613+
color: var(--accent-blue) !important;
1614+
margin-bottom: var(--space-xl);
1615+
font-size: 18px;
1616+
font-weight: 700;
1617+
text-align: center;
1618+
}
1619+
1620+
.guide-step {
1621+
display: flex;
1622+
align-items: flex-start;
1623+
gap: var(--space-lg);
1624+
margin-bottom: var(--space-xl);
1625+
padding: var(--space-lg);
1626+
background: rgba(255, 255, 255, 0.03);
1627+
border-radius: var(--radius-md);
1628+
border-left: 3px solid var(--accent-blue);
1629+
transition: all 0.2s ease;
1630+
}
1631+
1632+
.guide-step:hover {
1633+
background: rgba(255, 255, 255, 0.06);
1634+
transform: translateX(2px);
1635+
}
1636+
1637+
.guide-step:last-child {
1638+
margin-bottom: 0;
1639+
}
1640+
1641+
.step-number {
1642+
background: var(--accent-blue);
1643+
color: white;
1644+
width: 28px;
1645+
height: 28px;
1646+
border-radius: 50%;
1647+
display: flex;
1648+
align-items: center;
1649+
justify-content: center;
1650+
font-weight: 700;
1651+
font-size: 14px;
1652+
flex-shrink: 0;
1653+
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
1654+
}
1655+
1656+
.step-content {
1657+
flex: 1;
1658+
}
1659+
1660+
.step-title {
1661+
font-weight: 600;
1662+
font-size: 14px;
1663+
color: var(--text-accent);
1664+
margin-bottom: var(--space-xs);
1665+
display: block;
1666+
}
1667+
1668+
.step-description {
1669+
font-size: 13px;
1670+
color: var(--text-secondary);
1671+
line-height: 1.5;
1672+
margin: 0;
16011673
}

index.html

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,17 +297,48 @@ <h2>How to Use This Tool</h2>
297297
<button class="modal-close" id="closeMethodsModal">&times;</button>
298298
</div>
299299
<div class="modal-body">
300-
<div class="about-section">
300+
<div class="about-section guide-section">
301301
<h3>Getting Started</h3>
302-
<p><strong>1. Set Accessibility Distance:</strong> Use accessibility range buttons (100m-300m) to set how far residents can reasonably travel to reach a bomb shelter during an emergency.</p>
303302

304-
<p><strong>2. View Current Coverage:</strong> See which areas are currently served by turning on the Accessibility Grid.</p>
303+
<div class="guide-step">
304+
<div class="step-number">1</div>
305+
<div class="step-content">
306+
<span class="step-title">Set Accessibility Distance</span>
307+
<p class="step-description">Use accessibility range buttons (100m-300m) to set how far residents can travel to reach a bomb shelter during an emergency.</p>
308+
</div>
309+
</div>
305310

306-
<p><strong>3. Add New Shelters:</strong> Use slider to add strategically placed new shelters that maximize coverage for underserved areas.</p>
307-
308-
<p><strong>4. Click Coverage:</strong> Click on the coverage window to see a dynamic narrative reviewing coverage for existing and added shelters. </p>
309-
310-
<p><strong>5. Explore Data:</strong> Click "Data Layers" to show new information like community requests for shelters and change the display layers </p>
311+
<div class="guide-step">
312+
<div class="step-number">2</div>
313+
<div class="step-content">
314+
<span class="step-title">View Current Coverage</span>
315+
<p class="step-description">See current coverage by turning on Accessibility Grid.</p>
316+
</div>
317+
</div>
318+
319+
<div class="guide-step">
320+
<div class="step-number">3</div>
321+
<div class="step-content">
322+
<span class="step-title">Add New Shelters</span>
323+
<p class="step-description">Use slider to add strategically placed new shelters.</p>
324+
</div>
325+
</div>
326+
327+
<div class="guide-step">
328+
<div class="step-number">4</div>
329+
<div class="step-content">
330+
<span class="step-title">Click Coverage</span>
331+
<p class="step-description">Click on coverage window to review accessiblity statistics.</p>
332+
</div>
333+
</div>
334+
335+
<div class="guide-step">
336+
<div class="step-number">5</div>
337+
<div class="step-content">
338+
<span class="step-title">Explore Data</span>
339+
<p class="step-description">Click "Data Layers" to show new information like community requests for shelters and change display layers.</p>
340+
</div>
341+
</div>
311342
</div>
312343

313344
<div class="about-section">

0 commit comments

Comments
 (0)