diff --git a/theme/src/client/components/EncryptForm.vue b/theme/src/client/components/EncryptForm.vue
new file mode 100644
index 00000000..629c7e19
--- /dev/null
+++ b/theme/src/client/components/EncryptForm.vue
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
diff --git a/theme/src/client/components/EncryptGlobal.vue b/theme/src/client/components/EncryptGlobal.vue
index 2b8a26b6..f5342387 100644
--- a/theme/src/client/components/EncryptGlobal.vue
+++ b/theme/src/client/components/EncryptGlobal.vue
@@ -1,10 +1,10 @@
@@ -40,24 +25,7 @@ function compare() {
{{ title }}
-
-
-
-
-
-
-
-
+
@@ -131,62 +99,4 @@ function compare() {
text-align: center;
transition: color var(--t-color);
}
-
-.encrypt {
- margin-top: 20px;
-}
-
-.encrypt-text {
- margin-top: 40px;
- margin-bottom: 30px;
- color: var(--vp-c-text-1);
- text-align: center;
-}
-
-.encrypt-input-wrapper {
- position: relative;
-}
-
-.icon-lock {
- position: absolute;
- top: 10px;
- left: 10px;
- color: var(--vp-c-border);
-}
-
-.encrypt-input {
- width: 100%;
- padding: 8px 12px 8px 32px;
- background-color: var(--vp-c-bg);
- border: 1px solid var(--vp-c-border);
- border-radius: 4px;
- outline: none;
- transition: border-color var(--t-color), background-color var(--t-color);
-}
-
-.encrypt-input:focus {
- border-color: var(--vp-c-brand-1);
-}
-
-.encrypt-input.error {
- border-color: var(--vp-c-danger-3);
-}
-
-.encrypt-button {
- width: 100%;
- padding: 8px 12px;
- margin-top: 20px;
- font-weight: 500;
- color: var(--vp-c-white);
- cursor: pointer;
- background-color: var(--vp-c-brand-1);
- border: none;
- border-radius: 4px;
- outline: none;
- transition: background-color var(--t-color);
-}
-
-.encrypt-button:hover {
- background-color: var(--vp-c-brand-2);
-}
diff --git a/theme/src/client/components/EncryptPage.vue b/theme/src/client/components/EncryptPage.vue
index 5464a54d..83b7069b 100644
--- a/theme/src/client/components/EncryptPage.vue
+++ b/theme/src/client/components/EncryptPage.vue
@@ -1,26 +1,11 @@
@@ -28,24 +13,7 @@ function compare() {
-
-
-
-
-
-
-
-
+
@@ -68,64 +36,4 @@ function compare() {
transition-property: box-shadow, background-color;
}
}
-
-.encrypt {
- margin-top: 20px;
-}
-
-.encrypt-text {
- margin-top: 20px;
- margin-bottom: 30px;
- color: var(--vp-c-text-1);
- text-align: center;
- transition: color var(--t-color);
-}
-
-.encrypt-input-wrapper {
- position: relative;
-}
-
-.icon-lock {
- position: absolute;
- top: 10px;
- left: 10px;
- color: var(--vp-c-border);
- transition: color var(--t-color);
-}
-
-.encrypt-input {
- width: 100%;
- padding: 8px 12px 8px 32px;
- background-color: var(--vp-c-bg-soft);
- border: 1px solid var(--vp-c-border);
- border-radius: 4px;
- outline: none;
- transition: border-color var(--t-color), background-color var(--t-color);
-}
-
-.encrypt-input:focus {
- border-color: var(--vp-c-brand-1);
-}
-
-.encrypt-input.error {
- border-color: var(--vp-c-danger-3);
-}
-
-.encrypt-button {
- width: 100%;
- padding: 8px 12px;
- margin-top: 20px;
- font-weight: 500;
- color: var(--vp-c-white);
- cursor: pointer;
- background-color: var(--vp-c-brand-1);
- border: none;
- border-radius: 4px;
- outline: none;
- transition: background-color var(--t-color);
-}
-
-.encrypt-button:hover {
- background-color: var(--vp-c-brand-2);
-}