diff --git a/module/webui/index.html b/module/webui/index.html index 23053d8..479ee04 100644 --- a/module/webui/index.html +++ b/module/webui/index.html @@ -218,11 +218,12 @@
+
- +
-
- +
+
diff --git a/module/webui/locales/A-template.json b/module/webui/locales/A-template.json index 932ebc6..48b8f04 100644 --- a/module/webui/locales/A-template.json +++ b/module/webui/locales/A-template.json @@ -54,9 +54,10 @@ "set_security_patch": "Set Security Patch", "about": "About" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "Paste your verified Boot Hash here", - "boot_hash_save_button": "Save" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "Paste your verified Boot Hash here", + "save_button": "Save" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/en-US.json b/module/webui/locales/en-US.json index 932ebc6..48b8f04 100644 --- a/module/webui/locales/en-US.json +++ b/module/webui/locales/en-US.json @@ -54,9 +54,10 @@ "set_security_patch": "Set Security Patch", "about": "About" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "Paste your verified Boot Hash here", - "boot_hash_save_button": "Save" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "Paste your verified Boot Hash here", + "save_button": "Save" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/es-ES.json b/module/webui/locales/es-ES.json index 4543dd9..5e33755 100644 --- a/module/webui/locales/es-ES.json +++ b/module/webui/locales/es-ES.json @@ -54,9 +54,10 @@ "set_verified_boot_hash": "Configurar Boot Hash Verificado", "about": "Acerca de" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "Pega aquí tu Boot Hash verificado", - "boot_hash_save_button": "Guardar" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "Pega aquí tu Boot Hash verificado", + "save_button": "Guardar" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/ja-JP.json b/module/webui/locales/ja-JP.json index daa5f25..06e06f2 100644 --- a/module/webui/locales/ja-JP.json +++ b/module/webui/locales/ja-JP.json @@ -54,9 +54,10 @@ "set_security_patch": "セキュリティパッチを設定", "about": "このアドオンについて" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "確認付きブートハッシュをここに貼り付け", - "boot_hash_save_button": "保存" + "boot_hash": { + "title": "ブートハッシュ", + "input_placeholder": "確認付きブートハッシュをここに貼り付け", + "save_button": "保存" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/ru-RU.json b/module/webui/locales/ru-RU.json index 9ff273e..ddf15c7 100644 --- a/module/webui/locales/ru-RU.json +++ b/module/webui/locales/ru-RU.json @@ -54,9 +54,10 @@ "set_verified_boot_hash": "Установить Verified Boot Hash", "about": "О программе" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "Вставьте свой проверенный Boot Hash сюда", - "boot_hash_save_button": "Сохранить" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "Вставьте свой проверенный Boot Hash сюда", + "save_button": "Сохранить" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/tl-PH.json b/module/webui/locales/tl-PH.json index ce1b27b..936f318 100644 --- a/module/webui/locales/tl-PH.json +++ b/module/webui/locales/tl-PH.json @@ -54,9 +54,10 @@ "set_security_patch": "I-set ang Security Patch", "about": "Tungkol" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "I-paste ang iyong verified Boot Hash dito", - "boot_hash_save_button": "I-save" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "I-paste ang iyong verified Boot Hash dito", + "save_button": "I-save" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/tr-TR.json b/module/webui/locales/tr-TR.json index 2ff60df..6896a55 100644 --- a/module/webui/locales/tr-TR.json +++ b/module/webui/locales/tr-TR.json @@ -54,9 +54,10 @@ "set_verified_boot_hash": "Doğrulanmış Boot Hash Ayarla", "about": "Hakkında" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "Doğrulanmış Boot Hash'inizi buraya yapıştırın", - "boot_hash_save_button": "Kaydet" + "boot_hash": { + "title": "Boot Hash", + "input_placeholder": "Doğrulanmış Boot Hash'inizi buraya yapıştırın", + "save_button": "Kaydet" }, "about": { "module_name_line1": "Tricky Addon", diff --git a/module/webui/locales/zh-CN.json b/module/webui/locales/zh-CN.json index 4ed7ea1..6acb15f 100644 --- a/module/webui/locales/zh-CN.json +++ b/module/webui/locales/zh-CN.json @@ -54,9 +54,10 @@ "set_verified_boot_hash": "设置哈希值", "about": "关于" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "在此粘贴您的哈希值", - "boot_hash_save_button": "保存" + "boot_hash": { + "title": "哈希值", + "input_placeholder": "在此粘贴您的哈希值", + "save_button": "保存" }, "about": { "module_name_line1": "TS插件", diff --git a/module/webui/locales/zh-TW.json b/module/webui/locales/zh-TW.json index a3945db..ede289e 100644 --- a/module/webui/locales/zh-TW.json +++ b/module/webui/locales/zh-TW.json @@ -54,9 +54,10 @@ "set_verified_boot_hash": "設置哈希值", "about": "關於" }, - "reset_vbmeta": { - "boot_hash_input_placeholder": "在此貼上您的哈希值", - "boot_hash_save_button": "保存" + "boot_hash": { + "title": "哈希值", + "input_placeholder": "在此貼上您的哈希值", + "save_button": "保存" }, "about": { "module_name_line1": "TS 插件", diff --git a/module/webui/styles/boot-hash.css b/module/webui/styles/boot-hash.css index d8bb635..e730132 100644 --- a/module/webui/styles/boot-hash.css +++ b/module/webui/styles/boot-hash.css @@ -15,16 +15,16 @@ .boot-hash-card { position: fixed; - top: 30%; + top: 10%; left: 50%; - transform: translate(-50%, -50%); - width: 80vw; - max-width: 600px; + transform: translateX(-50%); + width: calc(90% - 60px); + max-width: 300px; background-color: #fff; border-radius: 18px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); z-index: 1200; - padding: 20px; + padding: 30px; display: none; flex-direction: column; gap: 15px; @@ -42,6 +42,13 @@ opacity: 1; } +.boot-hash-title { + width: 100%; + font-size: 26px; + text-align: center; + user-select: none; +} + .boot-hash-value { width: 100%; height: 100px; @@ -68,20 +75,21 @@ outline-color: #007bff; } -.button-container { +.boot-hash-button-container { display: flex; - justify-content: flex-start; + justify-content: center; + margin-top: 10px; } .boot-hash-save-button { - padding: 10px 20px; + width: 50%; + padding: 12px; border: none; - border-radius: 38px; + border-radius: 12px; font-size: 18px; font-weight: bold; background-color: #007bff; color: white; - margin-left: auto; position: relative; overflow: hidden; user-select: none; diff --git a/module/webui/styles/global.css b/module/webui/styles/global.css index fafe8be..2939055 100644 --- a/module/webui/styles/global.css +++ b/module/webui/styles/global.css @@ -28,10 +28,10 @@ body { justify-content: center; align-items: center; opacity: 0; - padding: 10px 20px; - font-size: 20px; + padding: 12px 24px; + font-size: 22px; font-weight: bold; - transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); + transition: transform 0.4s ease; border-radius: 50px 50px; overflow: hidden; user-select: none; @@ -74,25 +74,16 @@ body { .footer { display: flex; - justify-content: space-between; - align-items: center; - width: calc(100% - 10px); + justify-content: flex-end; max-width: 1100px; - padding: 25px 0; - position: relative; - margin-left: auto; - margin-right: auto; + margin-bottom: 70px; } .uninstall-container { - padding: 10px 10px; - position: absolute; - right: 0; - top: 50%; - transform: translateY(-50%); + padding: 12px; display: flex; align-items: center; - border-radius: 8px; + border-radius: 12px; background-color: #CE0000; white-space: nowrap; overflow: hidden; diff --git a/module/webui/styles/header.css b/module/webui/styles/header.css index 24ea18f..b30630f 100644 --- a/module/webui/styles/header.css +++ b/module/webui/styles/header.css @@ -8,7 +8,7 @@ width: calc(100% - 10px); max-width: 1100px; background-color: #F5F5F5; - transition: transform 0.2s ease; + transition: transform 0.4s ease; z-index: 1100; margin-left: auto; margin-right: auto; diff --git a/module/webui/styles/security-patch.css b/module/webui/styles/security-patch.css index 2d0e42d..35ace63 100644 --- a/module/webui/styles/security-patch.css +++ b/module/webui/styles/security-patch.css @@ -122,6 +122,7 @@ } .button-container { + display: flex; width: 100%; gap: 10px; margin-top: 10px;