|
8 | 8 | <!-- Account Security -->
|
9 | 9 | <h3 class="text-lightPrimaryText dark:text-darkPrimaryText pb-4 text-base font-semibold">Account Security</h3>
|
10 | 10 | <!-- ID -->
|
11 |
| - <div class="mb-4 flex w-full flex-row items-center"> |
12 |
| - <label for="id" class="w-48 font-semibold text-gray5 dark:text-gray3 text-sm">Identifier</label> |
| 11 | + <div class="mb-4 flex w-full flex-col sm:flex-row items-start sm:items-center"> |
| 12 | + <label for="id" class="w-48 font-semibold text-gray5 dark:text-gray3 text-sm mb-2 sm:mb-0">Identifier</label> |
13 | 13 | <input
|
14 | 14 | id="id"
|
15 | 15 | type="text"
|
16 | 16 | :placeholder="$store.state.session.id"
|
17 |
| - class="cursor-not-allowed bg-gray1 dark:bg-gray7 text-gray5 dark:text-gray3 placeholder-gray5 dark:placeholder-gray3 flex-grow rounded-lg px-2 py-1" |
| 17 | + class="cursor-not-allowed bg-gray1 dark:bg-gray7 text-gray5 dark:text-gray2 placeholder-gray5 dark:placeholder-gray2 flex-grow w-full sm:w-min rounded-lg px-2 py-1" |
18 | 18 | disabled
|
19 | 19 | />
|
20 | 20 | </div>
|
21 | 21 | <!-- Export Private Key -->
|
22 |
| - <div class="mb-8 flex w-full flex-row items-start"> |
23 |
| - <h6 class="w-48 flex-shrink-0 font-semibold text-gray5 dark:text-gray3 text-sm">Blogchain private key</h6> |
| 22 | + <div class="mb-8 flex w-full flex-col sm:flex-row items-start"> |
| 23 | + <h6 class="w-48 flex-shrink-0 font-semibold text-gray5 dark:text-gray3 text-sm mb-2 sm:mb-0"> |
| 24 | + Blogchain private key |
| 25 | + </h6> |
24 | 26 | <div class="bg-gray1 dark:bg-gray7 rounded-lg pt-4 pb-5 px-6 w-full">
|
25 | 27 | <!-- Optional encryption -->
|
26 | 28 | <div class="flex flex-row justify-between mb-6">
|
27 |
| - <label for="encryptButton" class="text-gray7 dark:text-gray3 w-4/5"> |
| 29 | + <label for="encryptButton" class="text-gray7 dark:text-gray2 w-4/5"> |
28 | 30 | Export my private key with a password:
|
29 | 31 | </label>
|
30 |
| - <BasicSwitch |
31 |
| - :enabled="encrypted" |
32 |
| - :class="[encrypted ? 'bg-primary' : 'bg-gray2 dark:bg-gray7']" |
33 |
| - @toggle="toggleEncrypted" |
34 |
| - /> |
| 32 | + <BasicSwitch :enabled="encrypted" :onBG="true" @toggle="toggleEncrypted" /> |
35 | 33 | </div>
|
36 | 34 | <div class="flex flex-col sm:flex-row items-center justify-between">
|
37 |
| - <div class="flex flex-row items-center"> |
| 35 | + <div class="flex flex-row items-center mb-6 sm:mb-0"> |
38 | 36 | <FileDownloadIcon class="text-primary" />
|
39 | 37 | <div>
|
40 | 38 | <h6 class="text-gray pl-4 text-lg font-semibold dark:text-darkPrimaryText">Blogchain Private Key</h6>
|
|
57 | 55 | >
|
58 | 56 | <div class="flex flex-row justify-between items-center">
|
59 | 57 | <!-- title, close button -->
|
60 |
| - <h2 class="text-xl font-semibold">Encrypt your private key</h2> |
| 58 | + <h2 class="text-xl font-semibold text-lightPrimaryText dark:text-darkPrimaryText"> |
| 59 | + Encrypt your private key |
| 60 | + </h2> |
61 | 61 | <button
|
62 | 62 | class="bg-gray1 dark:bg-gray5 focus:outline-none rounded-full p-1"
|
63 | 63 | @click="showEncryptedInput = false"
|
|
75 | 75 | ref="encryptedPassword"
|
76 | 76 | v-model="encryptedPassword"
|
77 | 77 | :type="seePassword ? `text` : `password`"
|
78 |
| - class="w-full focus:outline-none bg-transparent pr-6" |
| 78 | + class="w-full focus:outline-none bg-transparent pr-6 text-lightPrimaryText dark:text-darkPrimaryText" |
79 | 79 | placeholder="Enter password"
|
80 | 80 | />
|
81 |
| - <button class="absolute" style="right: 1rem; top: 1.1rem" @click="seePassword = !seePassword"> |
| 81 | + <button |
| 82 | + class="absolute text-gray5 dark:text-gray3" |
| 83 | + style="right: 1rem; top: 1.1rem" |
| 84 | + @click="seePassword = !seePassword" |
| 85 | + > |
82 | 86 | <EyeIcon />
|
83 | 87 | </button>
|
84 | 88 | </div>
|
|
0 commit comments