Update Shell

This commit is contained in:
Bruce
2025-11-27 10:20:29 +08:00
parent a3b3b097b2
commit bd4e0b41a3
8 changed files with 81 additions and 47 deletions

View File

@@ -201,7 +201,7 @@ progress.win-ring:indeterminate::-ms-fill {
width: 90px;
height: 90px;
position: relative;
background-color: #464646;
/*background-color: #464646;*/
float: right;
display: flex;
flex-direction: row;
@@ -218,6 +218,11 @@ progress.win-ring:indeterminate::-ms-fill {
min-height: 90px;
max-width: 90px;
max-height: 90px;
transition: all 0.5s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.storelogo {
transition: all 0.5s cubic-bezier(0.1, 0.9, 0.2, 1);
}
.storelogo .filter img {
@@ -232,7 +237,7 @@ progress.win-ring:indeterminate::-ms-fill {
left: 0;
right: 0;
bottom: 0;
background-color: rgba(254, 0.1);
/*background-color: rgba(254,254,254, 0.1);*/
display: flex;
flex-direction: row;
-ms-flex-direction: row;
@@ -270,9 +275,6 @@ progress.win-ring:indeterminate::-ms-fill {
transition: width 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), height 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), top 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), left 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), right 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), bottom 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), margin 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), padding 0.5s cubic-bezier(0.1, 0.9, 0.2, 1);
list-style-position: outside;
color: rgb(113, 113, 113);
/*test*/
/*border: 1px solid black;
padding: 5px;*/
}
.page .content p,

View File

@@ -28,7 +28,7 @@
<body>
<div id="page-container" class="pagecontainer full">
<div class="page preinstall">
<div class="page splash">
<!-- Splash Screen -->
<img class="splash" src="images/splash.default.png" alt="Splash Screen" width="620" height="300">
<div class="content splash">
@@ -67,6 +67,21 @@
<img src="images/splash.default.png" alt="App Store Logo">
</div>
</div>
<script>
(function() {
"use strict";
var storelogo = document.querySelector(".page .content .storelogo");
var slimg = storelogo.querySelector("img");
var monitor = Windows.UI.Event.Monitor;
monitor.observe(slimg, monitor.EventType.attribute, function() {
if (slimg.hasAttribute("src") && slimg.src && slimg.src.length > 1 && slimg.naturalHeight > 0) {
storelogo.style.display = '';
} else {
storelogo.style.display = 'none';
}
});
})();
</script>
<h1 class="win-type-x-large pkgtitle title single" data-res-byname="IDS_PREINSTALL_TITLE"></h1>
<script>
(function() {
@@ -274,7 +289,7 @@
}
setFlyoutDisplayInfo(pi);
var hres = Bridge.Package.installResult(this.value);
if (hres) {
if (hres && hres.failed) {
reason.textContent = hres.message;
} else {
reason.textContent = Bridge.Resources.byname("IDS_FAILED_MSUCCESS");

View File

@@ -21,7 +21,7 @@
roundToNearestInt(calcColorComponent(basecolor.red)),
roundToNearestInt(calcColorComponent(basecolor.green)),
roundToNearestInt(calcColorComponent(basecolor.blue)),
0.25
63.75 // 0.25
);
return "linear-gradient(to right, rgba(0,0,0,0), " + rightcolor.RGBA.stringify() + ")";
}