Spaces:
Sleeping
Sleeping
Upload 21 files
Browse files- frontend/assets/style.css +28 -2
- frontend/index.html +1 -1
frontend/assets/style.css
CHANGED
|
@@ -814,11 +814,22 @@ select {
|
|
| 814 |
|
| 815 |
/* ===== 移动端优化 ===== */
|
| 816 |
@media (max-width: 640px) {
|
| 817 |
-
/*
|
| 818 |
.desktop-only {
|
| 819 |
display: none !important;
|
| 820 |
}
|
| 821 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 822 |
/* 手机端背景图片 */
|
| 823 |
body {
|
| 824 |
background-image: url('/image2/punk.png');
|
|
@@ -1078,10 +1089,25 @@ select {
|
|
| 1078 |
padding-left: 8px;
|
| 1079 |
}
|
| 1080 |
|
| 1081 |
-
/*
|
| 1082 |
.saved-path {
|
| 1083 |
display: none;
|
| 1084 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1085 |
|
| 1086 |
/* Toast 优化 - 顶部不占位 */
|
| 1087 |
.toast {
|
|
|
|
| 814 |
|
| 815 |
/* ===== 移动端优化 ===== */
|
| 816 |
@media (max-width: 640px) {
|
| 817 |
+
/* 手机端隐藏仅桌面端的元素 */
|
| 818 |
.desktop-only {
|
| 819 |
display: none !important;
|
| 820 |
}
|
| 821 |
|
| 822 |
+
/* 目录操作按钮在移动端也显示 */
|
| 823 |
+
.dir-actions {
|
| 824 |
+
display: flex !important;
|
| 825 |
+
flex-direction: column;
|
| 826 |
+
gap: 8px;
|
| 827 |
+
}
|
| 828 |
+
|
| 829 |
+
.dir-actions button {
|
| 830 |
+
width: 100%;
|
| 831 |
+
}
|
| 832 |
+
|
| 833 |
/* 手机端背景图片 */
|
| 834 |
body {
|
| 835 |
background-image: url('/image2/punk.png');
|
|
|
|
| 1089 |
padding-left: 8px;
|
| 1090 |
}
|
| 1091 |
|
| 1092 |
+
/* 隐藏保存路径(文本框) */
|
| 1093 |
.saved-path {
|
| 1094 |
display: none;
|
| 1095 |
}
|
| 1096 |
+
|
| 1097 |
+
/* 图片操作按钮区域 - 移动端样式 */
|
| 1098 |
+
.image-actions {
|
| 1099 |
+
display: flex;
|
| 1100 |
+
justify-content: center;
|
| 1101 |
+
padding: 12px 0;
|
| 1102 |
+
}
|
| 1103 |
+
|
| 1104 |
+
.save-btn {
|
| 1105 |
+
width: 100%;
|
| 1106 |
+
max-width: 300px;
|
| 1107 |
+
padding: 14px 20px;
|
| 1108 |
+
font-size: 16px;
|
| 1109 |
+
justify-content: center;
|
| 1110 |
+
}
|
| 1111 |
|
| 1112 |
/* Toast 优化 - 顶部不占位 */
|
| 1113 |
.toast {
|
frontend/index.html
CHANGED
|
@@ -125,7 +125,7 @@
|
|
| 125 |
</div>
|
| 126 |
</label>
|
| 127 |
</div>
|
| 128 |
-
<div class="actions
|
| 129 |
<button id="btn-select-output-dir">选择保存目录</button>
|
| 130 |
<button id="btn-open-output-dir">打开保存目录</button>
|
| 131 |
</div>
|
|
|
|
| 125 |
</div>
|
| 126 |
</label>
|
| 127 |
</div>
|
| 128 |
+
<div class="actions dir-actions">
|
| 129 |
<button id="btn-select-output-dir">选择保存目录</button>
|
| 130 |
<button id="btn-open-output-dir">打开保存目录</button>
|
| 131 |
</div>
|