File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 48
48
{@render children ()}
49
49
</div >
50
50
{#if liveData }
51
- <p class =" updated-container" >
51
+ <p class ={ ` updated-container ${ liveData . updated ? ' loaded ' : ' loading ' } ` } >
52
52
{#if liveData .updated }
53
53
Data <span class =" updated-detailed" > cached & processed </span ><span
54
54
class =" updated-concise" > updated </span
149
149
align-items : center ;
150
150
justify-content : center ;
151
151
padding : 5px ;
152
- color : var (--green-foreground );
153
- background : var (--green-background );
154
- border-top : 1px solid var (--green-border );
155
152
font-family : ' IBM Plex Mono' ;
156
153
font-weight : 500 ;
157
154
font-size : 13.5px ;
158
155
margin-top : 5px ;
159
156
}
160
157
158
+ .loaded {
159
+ color : var (--green-foreground );
160
+ background : var (--green-background );
161
+ border-top : 1px solid var (--green-border );
162
+ }
163
+
164
+ .loading {
165
+ color : var (--yellow-foreground );
166
+ background : var (--yellow-background );
167
+ border-top : 1px solid var (--yellow-border );
168
+ }
169
+
161
170
.lcp-link {
162
171
color : inherit ;
163
172
font-size : inherit ;
You can’t perform that action at this time.
0 commit comments