diff --git a/shared/html/libs/msgbox/msgbox.css b/shared/html/libs/msgbox/msgbox.css index bec36e8..427662f 100644 --- a/shared/html/libs/msgbox/msgbox.css +++ b/shared/html/libs/msgbox/msgbox.css @@ -12,6 +12,13 @@ flex-wrap: nowrap; align-content: center; justify-content: center; + display: -ms-flexbox; + -ms-flex-direction: column; + -ms-flex-wrap: nowrap; + -ms-flex-line-pack: center; + /* align-content: center */ + -ms-flex-pack: center; + /* justify-content: center */ transition: all 0.15s linear; opacity: 0; z-index: 100; @@ -29,6 +36,9 @@ display: flex; flex-direction: column; flex-wrap: nowrap; + display: -ms-flexbox; + -ms-flex-direction: column; + -ms-flex-wrap: nowrap; min-height: 0 !important; box-sizing: border-box; } @@ -67,6 +77,15 @@ align-content: center; justify-content: flex-end; align-items: center; + display: -ms-flexbox; + -ms-flex-direction: row; + -ms-flex-wrap: nowrap; + -ms-flex-line-pack: center; + /* align-content: center(几乎无效,保留即可) */ + -ms-flex-pack: end; + /* justify-content: flex-end */ + -ms-flex-align: center; + /* align-items: center */ margin-top: 10px; /*gap: 20px;*/ } diff --git a/shared/html/settings/appinstaller/theme.html b/shared/html/settings/appinstaller/theme.html index cc787fc..717c05c 100644 --- a/shared/html/settings/appinstaller/theme.html +++ b/shared/html/settings/appinstaller/theme.html @@ -281,22 +281,22 @@

-
+ :
@@ -481,6 +481,17 @@ var customThemePath = path.combine(path.root, "html\\theme\\{colormode}\\custom\\custom.css").replace("{colormode}", customcolorstr); var iframe = document.getElementById("theme-custom-preview"); iframe.setAttribute("src", "../../preview.html?id=custom&color=" + customcolor); + var customColorModeDisplay = document.getElementById("custom-color-mode-display"); + if (customColorModeDisplay) { + switch (customcolor) { + case Theme.ColorType.dark: + customColorModeDisplay.textContent = getPublicRes(155); + break; + case Theme.ColorType.light: + customColorModeDisplay.textContent = getPublicRes(156); + break; + } + } } OnLoad.add(function() { setTimeout(refreshCustomPreview, 100);