File tree Expand file tree Collapse file tree 1 file changed +21
-24
lines changed Expand file tree Collapse file tree 1 file changed +21
-24
lines changed Original file line number Diff line number Diff line change 129
129
/* border-style: solid;
130
130
border-width: 1px;
131
131
border-color: #666; */
132
- /* background-color: rgb(247, 247, 247 , 0.2); */
133
- background-color : transparent ;
132
+ background-color : rgba ( 255 , 255 , 255 , 0.9 );
133
+ /* background-color: transparent; */
134
134
color : #333 ;
135
135
font-weight : 400 ;
136
136
font-size : 1.6em ;
137
- line-height : 1.5 em ;
137
+ line-height : 1.2 em ;
138
138
font-weight : 600 ;
139
139
text-align : center ;
140
140
padding : 5px 24px ;
141
141
142
142
pointer-events : none ;
143
143
144
- /* position: relative; */
144
+ position : relative ;
145
145
}
146
146
147
147
.banner-text {
148
148
padding : 1px 5px ;
149
149
margin : 0 ;
150
- /* background: transparent; */
151
- background-color : rgb ( 247 , 247 , 247 , 0.2 );
150
+ background : transparent ;
151
+ /* background-color: rgba(255,255,255 , 0.9); */
152
152
pointer-events : auto ;
153
153
154
- position : relative ;
154
+ /* position: relative; */
155
155
}
156
156
157
157
.hide-banner-button {
158
158
position : absolute ;
159
- top : -6 px ;
160
- left : -20 px ;
159
+ top : 3 px ;
160
+ left : 3 px ;
161
161
width : 20px ;
162
162
height : 20px ;
163
163
color : #333 ;
201
201
202
202
{#if shouldDisplayBanner }
203
203
<div class =" banner-container" >
204
- <div class =" banner" >
205
-
206
- <span class =" banner-text" >
207
- <button
208
- title =" Hide map title"
209
- aria-label =" toggle banner"
210
- class =" hide-banner-button"
211
- on:click ={_ => {
212
- shouldDisplayBanner = false ;
213
- }}>
214
- ✕
215
- </button >
216
- {currentSensorTooltip }
217
- </span >
218
- </div >
204
+ <h2 class =" banner" >
205
+ <button
206
+ title =" Hide map title"
207
+ aria-label =" toggle banner"
208
+ class =" hide-banner-button"
209
+ on:click ={_ => {
210
+ shouldDisplayBanner = false ;
211
+ }}>
212
+ ✕
213
+ </button >
214
+ <span class ="banner-text" >{currentSensorTooltip }</span >
215
+ </h2 >
219
216
</div >
220
217
{/if }
You can’t perform that action at this time.
0 commit comments