File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 <header class =" header" id =" header" >
5252 <ResultHeading dates ={dateValues } />
5353 <SearchBox geoData ={$geoData } probablePlaces ={(p ) => (places = p ?.map ((e ) => e .index ))} />
54+ <div class =" copyright-notice" >
55+ <a class =" copyright-notice__text" href =" https://github.com/minhealthnz/nz-covid-data" >
56+ Locations of Interest from New Zealand Government
57+ </a >
58+
59+ </div >
5460 <div class =" update-block" >
5561 {#if typeof $lastUpdate !== ' undefined' }
5662 <p class ="update-block__text" >Last Updated {$lastUpdate .toLocaleString ()}</p >
6066 <p class ="update-block__text" >Number of locations of interest: {$loiCount }</p >
6167 {/if }
6268 </div >
69+
6370 </header >
6471 {#if $geoData != null }
6572 <LeafletMap geoData ={$geoData } dateRange ={dateValues } filteredPlaces ={places } />
6673 {/if }
74+
6775 <footer >
6876 <DateSlider bind:dateRange ={dateValues } />
77+
6978 </footer >
7079</main >
7180
103112
104113 .update-block {
105114 position : absolute ;
106- top : calc (100% + 1 em );
115+ top : calc (100% + 3 em );
107116 right : 1em ;
108117 display : flex ;
109118 flex-flow : column ;
110119 background : #333 ;
111120 border-radius : 0.5em ;
112121 }
113122
123+
114124 .update-block__text {
115125 font-size : 0.75em ;
116126 display : block ;
117127 color : white ;
118128 padding : 0.5em ;
119129 margin : 0 ;
120130 }
131+
132+ .copyright-notice {
133+ position : absolute ;
134+ top : calc (100% + 1em );
135+ // bottom: calc(100% + 2em);
136+ z-index : 4 ;
137+ right : 1em ;
138+ display : flex ;
139+ flex-flow : column ;
140+ background : #333 ;
141+ border-radius : 0.5em ;
142+ }
143+ .copyright-notice__text {
144+ font-size : 0.75em ;
145+ display : block ;
146+ color : white ;
147+ padding : 0.5em ;
148+ margin : 0 ;
149+
150+ }
121151 </style >
You can’t perform that action at this time.
0 commit comments