Skip to content

Commit 8e42b49

Browse files
committed
refactor: relocate info button to brand banner and update styles
1 parent 8b88efc commit 8e42b49

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

css/styles.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ body {
128128
opacity: 1;
129129
}
130130

131-
/* Info Button - Upper Right Corner */
131+
/* Info Button - In Brand Banner */
132+
.brand-banner {
133+
position: relative;
134+
}
135+
132136
.info-button-top {
133-
position: absolute;
134-
top: var(--space-lg);
135-
right: var(--space-lg);
136-
z-index: 1001;
137137
width: 44px;
138138
height: 44px;
139139
border-radius: 50%;
@@ -150,6 +150,7 @@ body {
150150
box-shadow: var(--glass-shadow);
151151
backdrop-filter: blur(16px);
152152
-webkit-backdrop-filter: blur(16px);
153+
margin-left: auto;
153154
}
154155

155156
.info-button-top:hover {

index.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@
9090
class="logo huji-logo"
9191
/>
9292
</div>
93+
<button
94+
class="info-button-top"
95+
id="aboutButton"
96+
title="About & Analysis Methods"
97+
>
98+
<span>i</span>
99+
</button>
93100
</div>
94101

95102
<!-- Unified Control Menu (left sidebar) -->
@@ -193,15 +200,6 @@ <h2>Shelter Analysis</h2>
193200
</div>
194201
</div>
195202

196-
<!-- Info Button (upper right corner) -->
197-
<button
198-
class="info-button-top"
199-
id="aboutButton"
200-
title="About & Analysis Methods"
201-
>
202-
<span>i</span>
203-
</button>
204-
205203
<!-- Combined Legend and Scale Bar (positioned on right side) -->
206204
<div class="map-legend-panel" id="mapLegendPanel">
207205
<!-- Data Layers Legend Section -->

0 commit comments

Comments
 (0)