mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Load status: a layer waiting for a key ends on KEY REQUIRED, not LOAD FAILED
This commit is contained in:
1 parent
a33bc379cb
commit
4fbbae651f
5 files changed
+57
-22
No files matched your search
@@ -23,6 +23,7 @@ const STATUS_LABEL_KEYS = Object.freeze({
|
||||
'LOAD COMPLETE': msg('LOAD COMPLETE'),
|
||||
'LOAD CANCELLED': msg('LOAD CANCELLED'),
|
||||
'LOAD FAILED': msg('LOAD FAILED'),
|
||||
'KEY REQUIRED': msg('KEY REQUIRED'),
|
||||
'LIVE DATA OFF': msg('LIVE DATA OFF'),
|
||||
'MAPPED SITES LOADED': msg('MAPPED SITES LOADED'),
|
||||
'RETRYING MAPPED SITES': msg('RETRYING MAPPED SITES'),
|
||||
|
||||
@@ -131,6 +131,7 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status:is(
|
||||
[data-state='complete'],
|
||||
[data-state='cancelled'],
|
||||
[data-state='key'],
|
||||
[data-state='error']
|
||||
) {
|
||||
justify-content: center;
|
||||
@@ -139,6 +140,7 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status:is(
|
||||
[data-state='complete'],
|
||||
[data-state='cancelled'],
|
||||
[data-state='key'],
|
||||
[data-state='error']
|
||||
)
|
||||
#global-loading-detail {
|
||||
@@ -155,11 +157,13 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status[data-state='cancelled'] {
|
||||
color: #ffd488;
|
||||
}
|
||||
#global-loading-status[data-state='retry'] {
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key']) {
|
||||
border-color: rgba(255, 212, 136, 0.55);
|
||||
}
|
||||
#global-loading-status[data-state='retry'] #global-loading-label,
|
||||
#global-loading-status[data-state='retry'] #global-loading-detail {
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key'])
|
||||
#global-loading-label,
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key'])
|
||||
#global-loading-detail {
|
||||
color: #ffd488;
|
||||
}
|
||||
#global-loading-status[data-state='cancelled'] #global-loading-label,
|
||||
|
||||
Reference in new issue
Block a user