Skip to content

Commit 86e861e

Browse files
committed
enh: reorder tab navigation in HTML for improved user experience; update CSS styles for better visual integration and remove unnecessary effects
1 parent 42d4d53 commit 86e861e

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

css/styles.css

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,22 +2233,25 @@ input:checked + .toggle-slider:hover {
22332233
align-items: flex-start;
22342234
gap: var(--space-xl);
22352235
margin-bottom: var(--space-2xl);
2236-
padding: var(--space-xl);
2237-
background: var(--glass-bg);
2238-
backdrop-filter: blur(8px) saturate(120%);
2239-
-webkit-backdrop-filter: blur(8px) saturate(120%);
2240-
border-radius: var(--radius-lg);
2241-
border-left: 4px solid var(--accent-blue);
2242-
transition: all 0.2s ease;
2236+
padding: var(--space-lg) 0;
2237+
background: transparent;
2238+
backdrop-filter: none;
2239+
-webkit-backdrop-filter: none;
2240+
border-radius: 0;
2241+
border-left: 3px solid var(--accent-blue);
2242+
transition: none;
2243+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
2244+
padding-left: var(--space-lg);
22432245
}
22442246

22452247
.guide-step:hover {
2246-
background: var(--hover-bg);
2247-
transform: translateX(2px);
2248+
background: transparent;
2249+
transform: none;
22482250
}
22492251

22502252
.guide-step:last-child {
22512253
margin-bottom: 0;
2254+
border-bottom: none;
22522255
}
22532256

22542257
.step-number {
@@ -2264,7 +2267,7 @@ input:checked + .toggle-slider:hover {
22642267
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
22652268
font-size: 16px;
22662269
flex-shrink: 0;
2267-
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
2270+
box-shadow: none;
22682271
}
22692272

22702273
.step-content {

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,12 @@ <h1>The Right to Shelter</h1>
281281
<div class="modal-body modal-body-tabs">
282282
<!-- Tab Navigation -->
283283
<div class="modal-tabs">
284-
<button class="tab-button active" data-tab="info">Research & Analysis</button>
285-
<button class="tab-button" data-tab="guide">How to Use</button>
284+
<button class="tab-button active" data-tab="guide">How to Use</button>
285+
<button class="tab-button" data-tab="info">Research & Analysis</button>
286286
</div>
287287

288288
<!-- Info Container -->
289-
<div class="tab-content info-container active" id="info-tab">
289+
<div class="tab-content info-container" id="info-tab">
290290
<div class="info-intro">
291291
<p>This analysis evaluates bomb shelter accessibility for Bedouin communities in the Eastern Negev, identifying underserved areas and proposing optimal new shelter locations using spatial data analysis and machine learning methods.</p>
292292

@@ -383,7 +383,7 @@ <h4>Collaborating Organizations</h4>
383383
</div>
384384

385385
<!-- Guide Container -->
386-
<div class="tab-content guide-container" id="guide-tab">
386+
<div class="tab-content guide-container active" id="guide-tab">
387387
<div class="guide-intro">
388388
<h2>Guide</h2>
389389
</div>

0 commit comments

Comments
 (0)