|
1 | 1 | <template> |
2 | 2 | <!-- Popup Overlay --> |
3 | 3 | <div class="fixed inset-0 z-40 flex items-center justify-center bg-black/50" @click.self="closePopup"> |
4 | | - <div class="image-compare-container max-w-4xl max-h-[90vh] overflow-y-auto rounded-lg"> |
| 4 | + <div class="image-compare-container border-white dark:border-black max-w-4xl max-h-[90vh] overflow-y-auto rounded-lg bg-white dark:bg-gray-800"> |
5 | 5 | <!-- Close Button --> |
6 | 6 | <div class="flex justify-end mb-4"> |
7 | 7 | <button type="button" |
|
14 | 14 | </button> |
15 | 15 | </div> |
16 | 16 | <div class="flex gap-4 items-start justify-between"> |
17 | | - <h3 class="text-sm font-medium text-gray-700 mb-2">{{ $t('Old Image') }}</h3> |
18 | | - <h3 class="text-sm font-medium text-gray-700 mb-2">{{ $t('New Image') }}</h3> |
| 17 | + <h3 class="text-sm font-medium text-gray-700 dark:text-white mb-2">{{ $t('Old Image') }}</h3> |
| 18 | + <h3 class="text-sm font-medium text-gray-700 dark:text-white mb-2">{{ $t('New Image') }}</h3> |
19 | 19 | </div> |
20 | 20 | <div class="flex gap-4 items-center"> |
21 | 21 | <!-- Old Image --> |
|
36 | 36 |
|
37 | 37 | <!-- Comparison Arrow --> |
38 | 38 | <div class="flex items-center justify-center"> |
39 | | - <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center"> |
40 | | - <svg class="w-4 h-4 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 39 | + <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center dark:bg-gray-500"> |
| 40 | + <svg class="w-4 h-4 text-blue-600 dark:text-black" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
41 | 41 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> |
42 | 42 | </svg> |
43 | 43 | </div> |
@@ -181,9 +181,9 @@ body.medium-zoom--opened aside { |
181 | 181 | <style scoped> |
182 | 182 | .image-compare-container { |
183 | 183 | padding: 1rem; |
184 | | - background-color: white; |
| 184 | + /* background-color: white; */ |
185 | 185 | box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); |
186 | | - border: 1px solid #e5e7eb; |
| 186 | + /* border: 1px solid #e5e7eb; */ |
187 | 187 | } |
188 | 188 |
|
189 | 189 | .fade-enter-active, .fade-leave-active { |
|
0 commit comments