Add cacherefreshhider to the Blueprint css stylesheet

This commit is contained in:
purple 2023-08-11 22:17:29 +02:00
parent 3607708096
commit 1579c98add
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ updateCacheReminder() {
# Overwrite previous adminCacheReminderHider with the default one. # Overwrite previous adminCacheReminderHider with the default one.
oldClassName=$(cat .blueprint/data/internal/db/randomclassname); oldClassName=$(cat .blueprint/data/internal/db/randomclassname);
newClassName=$RANDOM; newClassName=$RANDOM;
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/adminCacheReminderHider.css; sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/blueprint.style.css;
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" resources/views/layouts/admin.blade.php; sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" resources/views/layouts/admin.blade.php;
echo "$newClassName" > .blueprint/data/internal/db/randomclassname; echo "$newClassName" > .blueprint/data/internal/db/randomclassname;
} }

View file

@ -1,3 +0,0 @@
#cacheOverlay-1 {
display:none;
}

View file

@ -1,5 +1,4 @@
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"); @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url("/assets/extensions/blueprint/adminCacheReminderHider.css");
@keyframes notification { @keyframes notification {
0% {right:-300px;top:62px;opacity:0;background-color: #2a3743;} 0% {right:-300px;top:62px;opacity:0;background-color: #2a3743;}
@ -8,6 +7,10 @@
100% {right:-300px;top:62px;opacity:0;background-color: #2a3743;} 100% {right:-300px;top:62px;opacity:0;background-color: #2a3743;}
} }
#cacheOverlay-1 {
display:none;
}
.notification { .notification {
opacity:0; opacity:0;
position:fixed; position:fixed;