@jr-public/jr-upload-ui 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jr-public/jr-upload-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "JR upload modal components for Vue2 and Vue3",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -1,9 +1,9 @@
1
- // 与上传服务实际返回的 SDK 标识一致;升级时同时更换 URL,避开历史静态资源缓存。
1
+ // 仅作为脚本 URL 的缓存标识,不要求服务返回相同的 SDK 发布版本。
2
2
  export const TRANSFER_SDK_VERSION = '20261020-session-clock'
3
3
 
4
4
  const scriptLoads = new Map()
5
5
 
6
- /** 多个上传弹窗共用加载状态,脚本返回成功后仍须核对实际版本及能力。 */
6
+ /** 多个上传弹窗共用加载状态,脚本返回成功后仍须核对必要能力。 */
7
7
  function loadScript(src, ready, invalidMessage, moduleScript = false) {
8
8
  if (ready()) return Promise.resolve()
9
9
  if (scriptLoads.has(src)) return scriptLoads.get(src)
@@ -34,17 +34,17 @@ function loadScript(src, ready, invalidMessage, moduleScript = false) {
34
34
  return pending
35
35
  }
36
36
 
37
- /** 仅接受支持短时授权的当前 SDK,禁止把旧脚本当作已就绪依赖。 */
37
+ /** 按短时授权能力判断 SDK 是否可用,不限制发布版本。 */
38
38
  export async function loadUploadDependencies(baseUrl) {
39
39
  const base = String(baseUrl || '').replace(/\/+$/, '')
40
40
  if (!base) throw new Error('上传服务地址不能为空')
41
41
  await loadScript(`${base}/js/aliyun-oss-sdk-6.18.0.min.js`,
42
42
  () => Boolean(window.OSS), 'OSS 上传依赖加载失败')
43
43
  await loadScript(`${base}/js/jr-transfer-sdk.js?v=${TRANSFER_SDK_VERSION}`,
44
- () => Boolean(window.JrTransferSDK
45
- && window.JrTransferSDK.SDK_VERSION === TRANSFER_SDK_VERSION
44
+ () => Boolean(typeof window.JrTransferSDK === 'function'
45
+ && window.JrTransferSDK.prototype
46
46
  && typeof window.JrTransferSDK.prototype.exchangeBrowserTicket === 'function'),
47
- '上传 SDK 版本不匹配,请更新上传服务', true)
47
+ '上传 SDK 缺少浏览器授权能力,请更新上传服务', true)
48
48
  await loadScript(`${base}/js/jszip.min.js`,
49
49
  () => Boolean(window.JSZip), '文件压缩依赖加载失败')
50
50
  }
@@ -47,7 +47,7 @@
47
47
  <img :src="config.baseUrl + '/images/file-icon.png'" alt="文件夹">
48
48
  </div>
49
49
  <div class="file-icon" v-show="isDragActive">
50
- <img :src="config.baseUrl + '/images/fileicon.svg'" alt="文件">
50
+ <img :src="config.baseUrl + '/images/upload-fileicon.svg'" alt="文件">
51
51
  </div>
52
52
  <div class="drag-indicator" v-show="isDragActive">
53
53
  <div class="drag-arrow"></div>
@@ -70,7 +70,7 @@
70
70
  ref="fileInput"
71
71
  type="file"
72
72
  :multiple="fileRestrictions.multiple"
73
- :accept="acceptedTypes"
73
+ :accept="acceptedTypes || null"
74
74
  @change="handleFileSelect"
75
75
  style="display: none;"
76
76
  :disabled="isUploadDisabled"
@@ -144,7 +144,7 @@
144
144
  <div class="file-card">
145
145
  <div class="file-row">
146
146
  <div class="file-type">
147
- <img :src="config.baseUrl + '/images/fileicon.svg'" alt="文件">
147
+ <img :src="config.baseUrl + '/images/upload-fileicon.svg'" alt="文件">
148
148
  </div>
149
149
  <div class="file-details">
150
150
  <div
@@ -440,7 +440,9 @@ export default {
440
440
  },
441
441
 
442
442
  acceptedTypes() {
443
- return this.fileRestrictions.allowedExtensions.join(',')
443
+ return this.accept && this.accept.trim()
444
+ ? this.fileRestrictions.allowedExtensions.join(',')
445
+ : ''
444
446
  },
445
447
 
446
448
  allowedExtensionsText() {
@@ -538,8 +540,11 @@ export default {
538
540
  const normalizedExt = normalizeFileExtension(fileExt)
539
541
  if (!normalizedExt) return false
540
542
 
541
- return Array.isArray(allowedExtensions)
542
- && allowedExtensions.some(ext => normalizeFileExtension(ext) === normalizedExt)
543
+ if (!Array.isArray(allowedExtensions)) return false
544
+
545
+ const normalizedAllowedExtensions = allowedExtensions.map(normalizeFileExtension)
546
+ return normalizedAllowedExtensions.includes(normalizedExt)
547
+ || (normalizedAllowedExtensions.includes('gef') && normalizedExt.includes('gef'))
543
548
  },
544
549
 
545
550
  /** 未指定 accept 时,从已鉴权的上传服务读取允许类型。 */
@@ -1660,7 +1665,7 @@ export default {
1660
1665
  getElectronFileFilters() {
1661
1666
  const filters = []
1662
1667
 
1663
- if (this.fileRestrictions.allowedExtensions.length) {
1668
+ if (this.accept && this.accept.trim() && this.fileRestrictions.allowedExtensions.length) {
1664
1669
  const extensions = this.fileRestrictions.allowedExtensions.map(ext => ext.replace('.', ''))
1665
1670
  filters.push({
1666
1671
  name: '支持的文件',
@@ -2549,8 +2554,8 @@ export default {
2549
2554
  .modal-header {
2550
2555
  flex-shrink: 0;
2551
2556
  height: 50px !important;
2552
- background: linear-gradient(135deg, #0c5ee3 0%, rgba(59, 130, 246, 0.9) 100%) !important;
2553
- border-bottom: 1px solid rgba(12, 94, 227, 0.25) !important;
2557
+ background: linear-gradient(135deg, #338899 0%, rgba(87, 167, 178, 0.9) 100%) !important;
2558
+ border-bottom: 1px solid rgba(51, 136, 153, 0.25) !important;
2554
2559
  display: flex;
2555
2560
  align-items: center;
2556
2561
  justify-content: space-between;
@@ -2700,8 +2705,8 @@ export default {
2700
2705
  width: 200%;
2701
2706
  height: 200%;
2702
2707
  background:
2703
- radial-gradient(circle at 30% 70%, rgba(12, 94, 227, 0.06) 0%, transparent 40%),
2704
- radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 35%);
2708
+ radial-gradient(circle at 30% 70%, rgba(51, 136, 153, 0.06) 0%, transparent 40%),
2709
+ radial-gradient(circle at 70% 30%, rgba(87, 167, 178, 0.04) 0%, transparent 35%);
2705
2710
  animation: gentleGlow 20s ease-in-out infinite;
2706
2711
  pointer-events: none;
2707
2712
  z-index: 0;
@@ -2727,10 +2732,10 @@ export default {
2727
2732
  width: 200px;
2728
2733
  height: 200px;
2729
2734
  background: linear-gradient(135deg,
2730
- rgba(12, 94, 227, 0.8) 0%,
2731
- rgba(37, 99, 235, 0.7) 30%,
2732
- rgba(96, 165, 250, 0.6) 60%,
2733
- rgba(147, 197, 253, 0.5) 100%);
2735
+ rgba(51, 136, 153, 0.8) 0%,
2736
+ rgba(59, 137, 152, 0.7) 30%,
2737
+ rgba(125, 186, 195, 0.6) 60%,
2738
+ rgba(174, 216, 222, 0.5) 100%);
2734
2739
  border-radius: 50%;
2735
2740
  filter: blur(40px);
2736
2741
  pointer-events: none;
@@ -2768,14 +2773,14 @@ export default {
2768
2773
  height: 100px;
2769
2774
  margin: 0 auto 24px;
2770
2775
  background: linear-gradient(135deg,
2771
- rgba(147, 197, 253, 0.8) 0%,
2772
- rgba(191, 219, 254, 0.5) 100%);
2776
+ rgba(174, 216, 222, 0.8) 0%,
2777
+ rgba(209, 234, 238, 0.5) 100%);
2773
2778
  border-radius: 50%;
2774
2779
  display: flex;
2775
2780
  align-items: center;
2776
2781
  justify-content: center;
2777
2782
  font-size: 48px;
2778
- color: #0c5ee3;
2783
+ color: #338899;
2779
2784
  transition: all 0.3s ease;
2780
2785
  position: relative;
2781
2786
  overflow: visible;
@@ -2818,7 +2823,7 @@ export default {
2818
2823
  position: relative;
2819
2824
  width: 3px;
2820
2825
  height: 25px;
2821
- background: linear-gradient(180deg, #0c5ee3, #3b82f6);
2826
+ background: linear-gradient(180deg, #338899, #57a7b2);
2822
2827
  border-radius: 2px;
2823
2828
  animation: arrowFlow 2.4s ease-in-out infinite;
2824
2829
  }
@@ -2833,7 +2838,7 @@ export default {
2833
2838
  height: 0;
2834
2839
  border-left: 6px solid transparent;
2835
2840
  border-right: 6px solid transparent;
2836
- border-top: 10px solid #3b82f6;
2841
+ border-top: 10px solid #57a7b2;
2837
2842
  opacity: 0.7;
2838
2843
  }
2839
2844
 
@@ -2887,7 +2892,7 @@ export default {
2887
2892
  }
2888
2893
 
2889
2894
  .upload-panel.active .upload-visual {
2890
- background: linear-gradient(135deg, rgba(12, 94, 227, 0.2), rgba(59, 130, 246, 0.2));
2895
+ background: linear-gradient(135deg, rgba(51, 136, 153, 0.2), rgba(87, 167, 178, 0.2));
2891
2896
  transform: scale(1.05);
2892
2897
  }
2893
2898
 
@@ -2901,7 +2906,7 @@ export default {
2901
2906
  }
2902
2907
 
2903
2908
  .upload-panel:hover .upload-visual {
2904
- background: linear-gradient(135deg, rgba(12, 94, 227, 0.15), rgba(59, 130, 246, 0.15));
2909
+ background: linear-gradient(135deg, rgba(51, 136, 153, 0.15), rgba(87, 167, 178, 0.15));
2905
2910
  transform: scale(1.02);
2906
2911
  }
2907
2912
 
@@ -2928,25 +2933,26 @@ export default {
2928
2933
  }
2929
2934
 
2930
2935
  .upload-button {
2931
- background: linear-gradient(90deg, #0c5ee3, #3b82f6);
2936
+ background: linear-gradient(90deg, #338899, #57a7b2);
2932
2937
  color: white;
2933
2938
  border: none;
2934
2939
  padding: 10px 24px;
2935
2940
  border-radius: 6px;
2936
2941
  font-size: 14px;
2937
2942
  font-weight: 500;
2943
+ white-space: nowrap;
2938
2944
  cursor: pointer;
2939
2945
  transition: all 0.3s ease;
2940
- box-shadow: 0 6px 20px rgba(12, 94, 227, 0.3);
2946
+ box-shadow: 0 6px 20px rgba(51, 136, 153, 0.3);
2941
2947
  margin-bottom: 24px;
2942
2948
  position: relative;
2943
2949
  z-index: 2;
2944
2950
  }
2945
2951
 
2946
2952
  .upload-button:hover {
2947
- background: linear-gradient(90deg, #084bb8, #0b56d0);
2953
+ background: linear-gradient(90deg, #286d7b, #2e8090);
2948
2954
  transform: translateY(-2px);
2949
- box-shadow: 0 8px 25px rgba(12, 94, 227, 0.4);
2955
+ box-shadow: 0 8px 25px rgba(51, 136, 153, 0.4);
2950
2956
  }
2951
2957
 
2952
2958
  .upload-button:disabled {
@@ -2972,7 +2978,7 @@ export default {
2972
2978
  .restrictions-title {
2973
2979
  font-size: 13px;
2974
2980
  font-weight: 600;
2975
- color: #1e293b;
2981
+ color: #29555c;
2976
2982
  margin-bottom: 10px;
2977
2983
  display: flex;
2978
2984
  align-items: center;
@@ -2984,7 +2990,7 @@ export default {
2984
2990
  width: 16px !important;
2985
2991
  height: 16px !important;
2986
2992
  border-radius: 50% !important;
2987
- background: #0c5ee3 !important;
2993
+ background: #338899 !important;
2988
2994
  background-image: none !important;
2989
2995
  color: #fff !important;
2990
2996
  display: inline-flex !important;
@@ -3000,7 +3006,7 @@ export default {
3000
3006
  }
3001
3007
 
3002
3008
  .restrictions-title.validating {
3003
- color: #0c5ee3;
3009
+ color: #338899;
3004
3010
  animation: validatingPulse 1.5s ease-in-out infinite;
3005
3011
  }
3006
3012
 
@@ -3026,7 +3032,7 @@ export default {
3026
3032
  padding: 0;
3027
3033
  margin: 0;
3028
3034
  font-size: 12px;
3029
- color: #64748b;
3035
+ color: #6b858c;
3030
3036
  line-height: 1.5;
3031
3037
  text-align: left;
3032
3038
  }
@@ -3049,7 +3055,7 @@ export default {
3049
3055
  }
3050
3056
 
3051
3057
  .format-tag {
3052
- color: #0c5ee3;
3058
+ color: #338899;
3053
3059
  font-size: 12px;
3054
3060
  font-weight: 500;
3055
3061
  text-transform: uppercase;
@@ -3057,7 +3063,7 @@ export default {
3057
3063
  }
3058
3064
 
3059
3065
  .size-highlight {
3060
- color: #0c5ee3;
3066
+ color: #338899;
3061
3067
  font-weight: 600;
3062
3068
  }
3063
3069
 
@@ -3090,10 +3096,10 @@ export default {
3090
3096
  width: 200px;
3091
3097
  height: 200px;
3092
3098
  background: linear-gradient(135deg,
3093
- rgba(12, 94, 227, 0.8) 0%,
3094
- rgba(37, 99, 235, 0.7) 30%,
3095
- rgba(96, 165, 250, 0.6) 60%,
3096
- rgba(147, 197, 253, 0.5) 100%);
3099
+ rgba(51, 136, 153, 0.8) 0%,
3100
+ rgba(59, 137, 152, 0.7) 30%,
3101
+ rgba(125, 186, 195, 0.6) 60%,
3102
+ rgba(174, 216, 222, 0.5) 100%);
3097
3103
  border-radius: 50%;
3098
3104
  filter: blur(40px);
3099
3105
  pointer-events: none;
@@ -3133,12 +3139,12 @@ export default {
3133
3139
  font-size: 52px;
3134
3140
  margin-bottom: 20px;
3135
3141
  opacity: 0.5;
3136
- color: #94a3b8;
3142
+ color: #8ca3a8;
3137
3143
  }
3138
3144
 
3139
3145
  .empty-state-text {
3140
3146
  font-size: 15px;
3141
- color: #64748b;
3147
+ color: #6b858c;
3142
3148
  font-weight: 500;
3143
3149
  letter-spacing: 0.3px;
3144
3150
  line-height: 1.4;
@@ -3147,8 +3153,8 @@ export default {
3147
3153
  .panel-title {
3148
3154
  font-size: 16px;
3149
3155
  font-weight: 600;
3150
- color: #1e293b;
3151
- text-shadow: 0 0 20px rgba(12, 94, 227, 0.1);
3156
+ color: #29555c;
3157
+ text-shadow: 0 0 20px rgba(51, 136, 153, 0.1);
3152
3158
  margin-bottom: 12px;
3153
3159
  }
3154
3160
 
@@ -3171,7 +3177,7 @@ export default {
3171
3177
  }
3172
3178
 
3173
3179
  .file-card:hover {
3174
- border-color: #0c5ee3;
3180
+ border-color: #338899;
3175
3181
  }
3176
3182
 
3177
3183
  .file-row {
@@ -3184,13 +3190,13 @@ export default {
3184
3190
  .file-type {
3185
3191
  width: 36px;
3186
3192
  height: 36px;
3187
- background: #f1f5f8;
3193
+ background: #eff6f7;
3188
3194
  border-radius: 6px;
3189
3195
  display: flex;
3190
3196
  align-items: center;
3191
3197
  justify-content: center;
3192
3198
  font-size: 16px;
3193
- color: #64748b;
3199
+ color: #6b858c;
3194
3200
  flex-shrink: 0;
3195
3201
  }
3196
3202
 
@@ -3208,7 +3214,7 @@ export default {
3208
3214
  .file-title {
3209
3215
  font-size: 14px;
3210
3216
  font-weight: 500;
3211
- color: #1e293b;
3217
+ color: #29555c;
3212
3218
  margin-bottom: 3px;
3213
3219
  white-space: nowrap;
3214
3220
  overflow: hidden;
@@ -3218,12 +3224,12 @@ export default {
3218
3224
  }
3219
3225
 
3220
3226
  .file-title:hover {
3221
- color: #0c5ee3;
3227
+ color: #338899;
3222
3228
  }
3223
3229
 
3224
3230
  .file-meta {
3225
3231
  font-size: 11px;
3226
- color: #64748b;
3232
+ color: #6b858c;
3227
3233
  margin-bottom: 0;
3228
3234
  white-space: nowrap;
3229
3235
  overflow: hidden;
@@ -3247,8 +3253,8 @@ export default {
3247
3253
 
3248
3254
  .file-action {
3249
3255
  background: rgba(255, 255, 255, 0.6);
3250
- border: 1px solid rgba(226, 232, 240, 0.8);
3251
- color: #94a3b8;
3256
+ border: 1px solid rgba(226, 238, 239, 0.8);
3257
+ color: #8ca3a8;
3252
3258
  padding: 2px 8px;
3253
3259
  border-radius: 4px;
3254
3260
  cursor: pointer;
@@ -3264,14 +3270,14 @@ export default {
3264
3270
  }
3265
3271
 
3266
3272
  .preview-btn {
3267
- color: #3b82f6;
3268
- border-color: rgba(59, 130, 246, 0.3);
3273
+ color: #57a7b2;
3274
+ border-color: rgba(87, 167, 178, 0.3);
3269
3275
  }
3270
3276
 
3271
3277
  .preview-btn:hover {
3272
- background: rgba(59, 130, 246, 0.1);
3273
- border-color: rgba(59, 130, 246, 0.5);
3274
- color: #2563eb;
3278
+ background: rgba(87, 167, 178, 0.1);
3279
+ border-color: rgba(87, 167, 178, 0.5);
3280
+ color: #3b8998;
3275
3281
  }
3276
3282
 
3277
3283
  .remove-btn {
@@ -3287,13 +3293,13 @@ export default {
3287
3293
 
3288
3294
  .file-size {
3289
3295
  font-size: 11px;
3290
- color: #64748b;
3296
+ color: #6b858c;
3291
3297
  flex-shrink: 0;
3292
3298
  font-weight: 500;
3293
3299
  padding: 3px 6px;
3294
3300
  background: rgba(255, 255, 255, 0.6);
3295
3301
  border-radius: 4px;
3296
- border: 1px solid rgba(226, 232, 240, 0.3);
3302
+ border: 1px solid rgba(226, 238, 239, 0.3);
3297
3303
  text-align: right;
3298
3304
  white-space: nowrap;
3299
3305
  }
@@ -3305,7 +3311,7 @@ export default {
3305
3311
  .progress-track {
3306
3312
  width: 100%;
3307
3313
  height: 5px;
3308
- background: #e3eaf0;
3314
+ background: #e1edef;
3309
3315
  border-radius: 3px;
3310
3316
  overflow: hidden;
3311
3317
  margin-bottom: 6px;
@@ -3313,7 +3319,7 @@ export default {
3313
3319
 
3314
3320
  .progress-bar {
3315
3321
  height: 100%;
3316
- background: linear-gradient(90deg, #0c5ee3, #60a5fa);
3322
+ background: linear-gradient(90deg, #338899, #7dbac3);
3317
3323
  border-radius: 3px;
3318
3324
  transition: width 0.6s ease;
3319
3325
  }
@@ -3323,7 +3329,7 @@ export default {
3323
3329
  justify-content: space-between;
3324
3330
  align-items: center;
3325
3331
  font-size: 11px;
3326
- color: #64748b;
3332
+ color: #6b858c;
3327
3333
  gap: 8px;
3328
3334
  }
3329
3335
 
@@ -3335,17 +3341,17 @@ export default {
3335
3341
  }
3336
3342
 
3337
3343
  .progress-status {
3338
- color: #64748b;
3344
+ color: #6b858c;
3339
3345
  }
3340
3346
 
3341
3347
  .progress-percent {
3342
3348
  font-weight: 500;
3343
- color: #1e293b;
3349
+ color: #29555c;
3344
3350
  }
3345
3351
 
3346
3352
  .progress-time {
3347
3353
  flex-shrink: 0;
3348
- color: #94a3b8;
3354
+ color: #8ca3a8;
3349
3355
  font-size: 10px;
3350
3356
  }
3351
3357
 
@@ -3368,15 +3374,15 @@ export default {
3368
3374
  }
3369
3375
 
3370
3376
  .error-info {
3371
- background: rgba(59, 130, 246, 0.1);
3372
- border: 1px solid rgba(59, 130, 246, 0.2);
3377
+ background: rgba(87, 167, 178, 0.1);
3378
+ border: 1px solid rgba(87, 167, 178, 0.2);
3373
3379
  cursor: pointer;
3374
3380
  transition: all 0.3s ease;
3375
3381
  }
3376
3382
 
3377
3383
  .error-info:hover {
3378
- background: rgba(59, 130, 246, 0.15);
3379
- border-color: rgba(59, 130, 246, 0.3);
3384
+ background: rgba(87, 167, 178, 0.15);
3385
+ border-color: rgba(87, 167, 178, 0.3);
3380
3386
  }
3381
3387
 
3382
3388
  .error-text {
@@ -3390,7 +3396,7 @@ export default {
3390
3396
  .retry-button {
3391
3397
  background: none;
3392
3398
  border: none;
3393
- color: #3b82f6;
3399
+ color: #57a7b2;
3394
3400
  cursor: pointer;
3395
3401
  font-size: 12px;
3396
3402
  font-weight: 500;
@@ -3402,7 +3408,7 @@ export default {
3402
3408
  }
3403
3409
 
3404
3410
  .retry-button:hover {
3405
- color: #2563eb;
3411
+ color: #3b8998;
3406
3412
  }
3407
3413
 
3408
3414
  .status-icon {
@@ -3429,21 +3435,21 @@ export default {
3429
3435
  .file-local-path {
3430
3436
  margin-top: 4px;
3431
3437
  font-size: 11px;
3432
- color: #64748b;
3438
+ color: #6b858c;
3433
3439
  display: flex;
3434
3440
  align-items: center;
3435
3441
  gap: 4px;
3436
3442
  }
3437
3443
 
3438
3444
  .file-local-path .path-label {
3439
- color: #64748b;
3445
+ color: #6b858c;
3440
3446
  font-size: 11px;
3441
3447
  font-weight: normal;
3442
3448
  white-space: nowrap;
3443
3449
  }
3444
3450
 
3445
3451
  .file-local-path .path-value {
3446
- color: #1e293b;
3452
+ color: #29555c;
3447
3453
  font-family: 'Courier New', monospace;
3448
3454
  font-size: 11px;
3449
3455
  max-width: 200px;
@@ -3455,22 +3461,22 @@ export default {
3455
3461
  }
3456
3462
 
3457
3463
  .file-local-path .path-value:hover {
3458
- color: #0c5ee3;
3464
+ color: #338899;
3459
3465
  }
3460
3466
 
3461
3467
  /* Electron环境指示器样式 */
3462
3468
  .electron-indicator {
3463
3469
  font-size: 12px;
3464
- color: #3b82f6;
3470
+ color: #57a7b2;
3465
3471
  margin-top: 8px;
3466
3472
  opacity: 0.8;
3467
3473
  display: flex;
3468
3474
  align-items: center;
3469
3475
  gap: 4px;
3470
- background: rgba(59, 130, 246, 0.1);
3476
+ background: rgba(87, 167, 178, 0.1);
3471
3477
  padding: 4px 8px;
3472
3478
  border-radius: 4px;
3473
- border: 1px solid rgba(59, 130, 246, 0.2);
3479
+ border: 1px solid rgba(87, 167, 178, 0.2);
3474
3480
  }
3475
3481
 
3476
3482
  .upload-action-area {
@@ -3482,14 +3488,14 @@ export default {
3482
3488
  z-index: 1;
3483
3489
  flex-shrink: 0;
3484
3490
  /* 确保上传按钮固定在底部,不跟随文件列表滚动 */
3485
- border-top: 1px solid rgba(226, 232, 240, 0.3);
3491
+ border-top: 1px solid rgba(226, 238, 239, 0.3);
3486
3492
  padding-top: 20px;
3487
3493
  margin-top: 0;
3488
3494
  padding-bottom: 0;
3489
3495
  }
3490
3496
 
3491
3497
  .start-upload-button {
3492
- background: linear-gradient(90deg, #0c5ee3, #3b82f6);
3498
+ background: linear-gradient(90deg, #338899, #57a7b2);
3493
3499
  color: white;
3494
3500
  border: none;
3495
3501
  padding: 12px 24px;
@@ -3497,15 +3503,15 @@ export default {
3497
3503
  font-size: 14px;
3498
3504
  cursor: pointer;
3499
3505
  transition: all 0.3s ease;
3500
- box-shadow: 0 6px 20px rgba(12, 94, 227, 0.3);
3506
+ box-shadow: 0 6px 20px rgba(51, 136, 153, 0.3);
3501
3507
  position: relative;
3502
3508
  overflow: hidden;
3503
3509
  }
3504
3510
 
3505
3511
  .start-upload-button:hover {
3506
- background: linear-gradient(90deg, #084bb8, #0b56d0);
3512
+ background: linear-gradient(90deg, #286d7b, #2e8090);
3507
3513
  transform: translateY(-2px);
3508
- box-shadow: 0 8px 25px rgba(12, 94, 227, 0.4);
3514
+ box-shadow: 0 8px 25px rgba(51, 136, 153, 0.4);
3509
3515
  }
3510
3516
 
3511
3517
  .start-upload-button:disabled {
@@ -3648,10 +3654,14 @@ export default {
3648
3654
  .upload-button {
3649
3655
  width: 100%;
3650
3656
  padding: 10px 12px;
3651
- overflow-wrap: anywhere;
3652
3657
  margin: 0;
3653
3658
  }
3654
3659
 
3660
+ .upload-button:disabled,
3661
+ .upload-button:disabled ~ .upload-restrictions {
3662
+ grid-column: 1 / -1;
3663
+ }
3664
+
3655
3665
  .upload-restrictions {
3656
3666
  min-width: 0;
3657
3667
  margin: 0;
@@ -47,7 +47,7 @@
47
47
  <img :src="config.baseUrl + '/images/file-icon.png'" alt="文件夹">
48
48
  </div>
49
49
  <div class="file-icon" v-show="isDragActive">
50
- <img :src="config.baseUrl + '/images/fileicon.svg'" alt="文件">
50
+ <img :src="config.baseUrl + '/images/upload-fileicon.svg'" alt="文件">
51
51
  </div>
52
52
  <div class="drag-indicator" v-show="isDragActive">
53
53
  <div class="drag-arrow"></div>
@@ -70,7 +70,7 @@
70
70
  ref="fileInput"
71
71
  type="file"
72
72
  :multiple="fileRestrictions.multiple"
73
- :accept="acceptedTypes"
73
+ :accept="acceptedTypes || null"
74
74
  @change="handleFileSelect"
75
75
  style="display: none;"
76
76
  :disabled="isUploadDisabled"
@@ -144,7 +144,7 @@
144
144
  <div class="file-card">
145
145
  <div class="file-row">
146
146
  <div class="file-type">
147
- <img :src="config.baseUrl + '/images/fileicon.svg'" alt="文件">
147
+ <img :src="config.baseUrl + '/images/upload-fileicon.svg'" alt="文件">
148
148
  </div>
149
149
  <div class="file-details">
150
150
  <div
@@ -462,7 +462,9 @@ export default {
462
462
  })
463
463
 
464
464
  const acceptedTypes = computed(() => {
465
- return fileRestrictions.value.allowedExtensions.join(',')
465
+ return props.accept && props.accept.trim()
466
+ ? fileRestrictions.value.allowedExtensions.join(',')
467
+ : ''
466
468
  })
467
469
 
468
470
  const allowedExtensionsText = computed(() =>
@@ -560,8 +562,11 @@ export default {
560
562
  const normalizedExt = normalizeFileExtension(fileExt)
561
563
  if (!normalizedExt) return false
562
564
 
563
- return Array.isArray(allowedExtensions)
564
- && allowedExtensions.some(ext => normalizeFileExtension(ext) === normalizedExt)
565
+ if (!Array.isArray(allowedExtensions)) return false
566
+
567
+ const normalizedAllowedExtensions = allowedExtensions.map(normalizeFileExtension)
568
+ return normalizedAllowedExtensions.includes(normalizedExt)
569
+ || (normalizedAllowedExtensions.includes('gef') && normalizedExt.includes('gef'))
565
570
  }
566
571
 
567
572
  /** 未指定 accept 时,从已鉴权的上传服务读取允许类型。 */
@@ -1684,7 +1689,7 @@ export default {
1684
1689
  const getElectronFileFilters = () => {
1685
1690
  const filters = []
1686
1691
 
1687
- if (fileRestrictions.value.allowedExtensions.length) {
1692
+ if (props.accept && props.accept.trim() && fileRestrictions.value.allowedExtensions.length) {
1688
1693
  const extensions = fileRestrictions.value.allowedExtensions.map(ext => ext.replace('.', ''))
1689
1694
  filters.push({
1690
1695
  name: '支持的文件',
@@ -2662,8 +2667,8 @@ export default {
2662
2667
  .modal-header {
2663
2668
  flex-shrink: 0;
2664
2669
  height: 50px !important;
2665
- background: linear-gradient(135deg, #0c5ee3 0%, rgba(59, 130, 246, 0.9) 100%) !important;
2666
- border-bottom: 1px solid rgba(12, 94, 227, 0.25) !important;
2670
+ background: linear-gradient(135deg, #338899 0%, rgba(87, 167, 178, 0.9) 100%) !important;
2671
+ border-bottom: 1px solid rgba(51, 136, 153, 0.25) !important;
2667
2672
  display: flex;
2668
2673
  align-items: center;
2669
2674
  justify-content: space-between;
@@ -2813,8 +2818,8 @@ export default {
2813
2818
  width: 200%;
2814
2819
  height: 200%;
2815
2820
  background:
2816
- radial-gradient(circle at 30% 70%, rgba(12, 94, 227, 0.06) 0%, transparent 40%),
2817
- radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 35%);
2821
+ radial-gradient(circle at 30% 70%, rgba(51, 136, 153, 0.06) 0%, transparent 40%),
2822
+ radial-gradient(circle at 70% 30%, rgba(87, 167, 178, 0.04) 0%, transparent 35%);
2818
2823
  animation: gentleGlow 20s ease-in-out infinite;
2819
2824
  pointer-events: none;
2820
2825
  z-index: 0;
@@ -2840,10 +2845,10 @@ export default {
2840
2845
  width: 200px;
2841
2846
  height: 200px;
2842
2847
  background: linear-gradient(135deg,
2843
- rgba(12, 94, 227, 0.8) 0%,
2844
- rgba(37, 99, 235, 0.7) 30%,
2845
- rgba(96, 165, 250, 0.6) 60%,
2846
- rgba(147, 197, 253, 0.5) 100%);
2848
+ rgba(51, 136, 153, 0.8) 0%,
2849
+ rgba(59, 137, 152, 0.7) 30%,
2850
+ rgba(125, 186, 195, 0.6) 60%,
2851
+ rgba(174, 216, 222, 0.5) 100%);
2847
2852
  border-radius: 50%;
2848
2853
  filter: blur(40px);
2849
2854
  pointer-events: none;
@@ -2881,14 +2886,14 @@ export default {
2881
2886
  height: 100px;
2882
2887
  margin: 0 auto 24px;
2883
2888
  background: linear-gradient(135deg,
2884
- rgba(147, 197, 253, 0.8) 0%,
2885
- rgba(191, 219, 254, 0.5) 100%);
2889
+ rgba(174, 216, 222, 0.8) 0%,
2890
+ rgba(209, 234, 238, 0.5) 100%);
2886
2891
  border-radius: 50%;
2887
2892
  display: flex;
2888
2893
  align-items: center;
2889
2894
  justify-content: center;
2890
2895
  font-size: 48px;
2891
- color: #0c5ee3;
2896
+ color: #338899;
2892
2897
  transition: all 0.3s ease;
2893
2898
  position: relative;
2894
2899
  overflow: visible;
@@ -2931,7 +2936,7 @@ export default {
2931
2936
  position: relative;
2932
2937
  width: 3px;
2933
2938
  height: 25px;
2934
- background: linear-gradient(180deg, #0c5ee3, #3b82f6);
2939
+ background: linear-gradient(180deg, #338899, #57a7b2);
2935
2940
  border-radius: 2px;
2936
2941
  animation: arrowFlow 2.4s ease-in-out infinite;
2937
2942
  }
@@ -2946,7 +2951,7 @@ export default {
2946
2951
  height: 0;
2947
2952
  border-left: 6px solid transparent;
2948
2953
  border-right: 6px solid transparent;
2949
- border-top: 10px solid #3b82f6;
2954
+ border-top: 10px solid #57a7b2;
2950
2955
  opacity: 0.7;
2951
2956
  }
2952
2957
 
@@ -3000,7 +3005,7 @@ export default {
3000
3005
  }
3001
3006
 
3002
3007
  .upload-panel.active .upload-visual {
3003
- background: linear-gradient(135deg, rgba(12, 94, 227, 0.2), rgba(59, 130, 246, 0.2));
3008
+ background: linear-gradient(135deg, rgba(51, 136, 153, 0.2), rgba(87, 167, 178, 0.2));
3004
3009
  transform: scale(1.05);
3005
3010
  }
3006
3011
 
@@ -3014,7 +3019,7 @@ export default {
3014
3019
  }
3015
3020
 
3016
3021
  .upload-panel:hover .upload-visual {
3017
- background: linear-gradient(135deg, rgba(12, 94, 227, 0.15), rgba(59, 130, 246, 0.15));
3022
+ background: linear-gradient(135deg, rgba(51, 136, 153, 0.15), rgba(87, 167, 178, 0.15));
3018
3023
  transform: scale(1.02);
3019
3024
  }
3020
3025
 
@@ -3041,25 +3046,26 @@ export default {
3041
3046
  }
3042
3047
 
3043
3048
  .upload-button {
3044
- background: linear-gradient(90deg, #0c5ee3, #3b82f6);
3049
+ background: linear-gradient(90deg, #338899, #57a7b2);
3045
3050
  color: white;
3046
3051
  border: none;
3047
3052
  padding: 10px 24px;
3048
3053
  border-radius: 6px;
3049
3054
  font-size: 14px;
3050
3055
  font-weight: 500;
3056
+ white-space: nowrap;
3051
3057
  cursor: pointer;
3052
3058
  transition: all 0.3s ease;
3053
- box-shadow: 0 6px 20px rgba(12, 94, 227, 0.3);
3059
+ box-shadow: 0 6px 20px rgba(51, 136, 153, 0.3);
3054
3060
  margin-bottom: 24px;
3055
3061
  position: relative;
3056
3062
  z-index: 2;
3057
3063
  }
3058
3064
 
3059
3065
  .upload-button:hover {
3060
- background: linear-gradient(90deg, #084bb8, #0b56d0);
3066
+ background: linear-gradient(90deg, #286d7b, #2e8090);
3061
3067
  transform: translateY(-2px);
3062
- box-shadow: 0 8px 25px rgba(12, 94, 227, 0.4);
3068
+ box-shadow: 0 8px 25px rgba(51, 136, 153, 0.4);
3063
3069
  }
3064
3070
 
3065
3071
  .upload-button:disabled {
@@ -3085,7 +3091,7 @@ export default {
3085
3091
  .restrictions-title {
3086
3092
  font-size: 13px;
3087
3093
  font-weight: 600;
3088
- color: #1e293b;
3094
+ color: #29555c;
3089
3095
  margin-bottom: 10px;
3090
3096
  display: flex;
3091
3097
  align-items: center;
@@ -3097,7 +3103,7 @@ export default {
3097
3103
  width: 16px !important;
3098
3104
  height: 16px !important;
3099
3105
  border-radius: 50% !important;
3100
- background: #0c5ee3 !important;
3106
+ background: #338899 !important;
3101
3107
  background-image: none !important;
3102
3108
  color: #fff !important;
3103
3109
  display: inline-flex !important;
@@ -3113,7 +3119,7 @@ export default {
3113
3119
  }
3114
3120
 
3115
3121
  .restrictions-title.validating {
3116
- color: #0c5ee3;
3122
+ color: #338899;
3117
3123
  animation: validatingPulse 1.5s ease-in-out infinite;
3118
3124
  }
3119
3125
 
@@ -3139,7 +3145,7 @@ export default {
3139
3145
  padding: 0;
3140
3146
  margin: 0;
3141
3147
  font-size: 12px;
3142
- color: #64748b;
3148
+ color: #6b858c;
3143
3149
  line-height: 1.5;
3144
3150
  text-align: left;
3145
3151
  }
@@ -3162,7 +3168,7 @@ export default {
3162
3168
  }
3163
3169
 
3164
3170
  .format-tag {
3165
- color: #0c5ee3;
3171
+ color: #338899;
3166
3172
  font-size: 12px;
3167
3173
  font-weight: 500;
3168
3174
  text-transform: uppercase;
@@ -3170,7 +3176,7 @@ export default {
3170
3176
  }
3171
3177
 
3172
3178
  .size-highlight {
3173
- color: #0c5ee3;
3179
+ color: #338899;
3174
3180
  font-weight: 600;
3175
3181
  }
3176
3182
 
@@ -3203,10 +3209,10 @@ export default {
3203
3209
  width: 200px;
3204
3210
  height: 200px;
3205
3211
  background: linear-gradient(135deg,
3206
- rgba(12, 94, 227, 0.8) 0%,
3207
- rgba(37, 99, 235, 0.7) 30%,
3208
- rgba(96, 165, 250, 0.6) 60%,
3209
- rgba(147, 197, 253, 0.5) 100%);
3212
+ rgba(51, 136, 153, 0.8) 0%,
3213
+ rgba(59, 137, 152, 0.7) 30%,
3214
+ rgba(125, 186, 195, 0.6) 60%,
3215
+ rgba(174, 216, 222, 0.5) 100%);
3210
3216
  border-radius: 50%;
3211
3217
  filter: blur(40px);
3212
3218
  pointer-events: none;
@@ -3246,12 +3252,12 @@ export default {
3246
3252
  font-size: 52px;
3247
3253
  margin-bottom: 20px;
3248
3254
  opacity: 0.5;
3249
- color: #94a3b8;
3255
+ color: #8ca3a8;
3250
3256
  }
3251
3257
 
3252
3258
  .empty-state-text {
3253
3259
  font-size: 15px;
3254
- color: #64748b;
3260
+ color: #6b858c;
3255
3261
  font-weight: 500;
3256
3262
  letter-spacing: 0.3px;
3257
3263
  line-height: 1.4;
@@ -3260,8 +3266,8 @@ export default {
3260
3266
  .panel-title {
3261
3267
  font-size: 16px;
3262
3268
  font-weight: 600;
3263
- color: #1e293b;
3264
- text-shadow: 0 0 20px rgba(12, 94, 227, 0.1);
3269
+ color: #29555c;
3270
+ text-shadow: 0 0 20px rgba(51, 136, 153, 0.1);
3265
3271
  margin-bottom: 12px;
3266
3272
  }
3267
3273
 
@@ -3284,7 +3290,7 @@ export default {
3284
3290
  }
3285
3291
 
3286
3292
  .file-card:hover {
3287
- border-color: #0c5ee3;
3293
+ border-color: #338899;
3288
3294
  }
3289
3295
 
3290
3296
  .file-row {
@@ -3297,13 +3303,13 @@ export default {
3297
3303
  .file-type {
3298
3304
  width: 36px;
3299
3305
  height: 36px;
3300
- background: #f1f5f8;
3306
+ background: #eff6f7;
3301
3307
  border-radius: 6px;
3302
3308
  display: flex;
3303
3309
  align-items: center;
3304
3310
  justify-content: center;
3305
3311
  font-size: 16px;
3306
- color: #64748b;
3312
+ color: #6b858c;
3307
3313
  flex-shrink: 0;
3308
3314
  }
3309
3315
 
@@ -3321,7 +3327,7 @@ export default {
3321
3327
  .file-title {
3322
3328
  font-size: 14px;
3323
3329
  font-weight: 500;
3324
- color: #1e293b;
3330
+ color: #29555c;
3325
3331
  margin-bottom: 3px;
3326
3332
  white-space: nowrap;
3327
3333
  overflow: hidden;
@@ -3331,12 +3337,12 @@ export default {
3331
3337
  }
3332
3338
 
3333
3339
  .file-title:hover {
3334
- color: #0c5ee3;
3340
+ color: #338899;
3335
3341
  }
3336
3342
 
3337
3343
  .file-meta {
3338
3344
  font-size: 11px;
3339
- color: #64748b;
3345
+ color: #6b858c;
3340
3346
  margin-bottom: 0;
3341
3347
  white-space: nowrap;
3342
3348
  overflow: hidden;
@@ -3360,8 +3366,8 @@ export default {
3360
3366
 
3361
3367
  .file-action {
3362
3368
  background: rgba(255, 255, 255, 0.6);
3363
- border: 1px solid rgba(226, 232, 240, 0.8);
3364
- color: #94a3b8;
3369
+ border: 1px solid rgba(226, 238, 239, 0.8);
3370
+ color: #8ca3a8;
3365
3371
  padding: 2px 8px;
3366
3372
  border-radius: 4px;
3367
3373
  cursor: pointer;
@@ -3377,14 +3383,14 @@ export default {
3377
3383
  }
3378
3384
 
3379
3385
  .preview-btn {
3380
- color: #3b82f6;
3381
- border-color: rgba(59, 130, 246, 0.3);
3386
+ color: #57a7b2;
3387
+ border-color: rgba(87, 167, 178, 0.3);
3382
3388
  }
3383
3389
 
3384
3390
  .preview-btn:hover {
3385
- background: rgba(59, 130, 246, 0.1);
3386
- border-color: rgba(59, 130, 246, 0.5);
3387
- color: #2563eb;
3391
+ background: rgba(87, 167, 178, 0.1);
3392
+ border-color: rgba(87, 167, 178, 0.5);
3393
+ color: #3b8998;
3388
3394
  }
3389
3395
 
3390
3396
  .remove-btn {
@@ -3400,13 +3406,13 @@ export default {
3400
3406
 
3401
3407
  .file-size {
3402
3408
  font-size: 11px;
3403
- color: #64748b;
3409
+ color: #6b858c;
3404
3410
  flex-shrink: 0;
3405
3411
  font-weight: 500;
3406
3412
  padding: 3px 6px;
3407
3413
  background: rgba(255, 255, 255, 0.6);
3408
3414
  border-radius: 4px;
3409
- border: 1px solid rgba(226, 232, 240, 0.3);
3415
+ border: 1px solid rgba(226, 238, 239, 0.3);
3410
3416
  text-align: right;
3411
3417
  white-space: nowrap;
3412
3418
  }
@@ -3418,7 +3424,7 @@ export default {
3418
3424
  .progress-track {
3419
3425
  width: 100%;
3420
3426
  height: 5px;
3421
- background: #e3eaf0;
3427
+ background: #e1edef;
3422
3428
  border-radius: 3px;
3423
3429
  overflow: hidden;
3424
3430
  margin-bottom: 6px;
@@ -3426,7 +3432,7 @@ export default {
3426
3432
 
3427
3433
  .progress-bar {
3428
3434
  height: 100%;
3429
- background: linear-gradient(90deg, #0c5ee3, #60a5fa);
3435
+ background: linear-gradient(90deg, #338899, #7dbac3);
3430
3436
  border-radius: 3px;
3431
3437
  transition: width 0.6s ease;
3432
3438
  }
@@ -3436,7 +3442,7 @@ export default {
3436
3442
  justify-content: space-between;
3437
3443
  align-items: center;
3438
3444
  font-size: 11px;
3439
- color: #64748b;
3445
+ color: #6b858c;
3440
3446
  gap: 8px;
3441
3447
  }
3442
3448
 
@@ -3448,17 +3454,17 @@ export default {
3448
3454
  }
3449
3455
 
3450
3456
  .progress-status {
3451
- color: #64748b;
3457
+ color: #6b858c;
3452
3458
  }
3453
3459
 
3454
3460
  .progress-percent {
3455
3461
  font-weight: 500;
3456
- color: #1e293b;
3462
+ color: #29555c;
3457
3463
  }
3458
3464
 
3459
3465
  .progress-time {
3460
3466
  flex-shrink: 0;
3461
- color: #94a3b8;
3467
+ color: #8ca3a8;
3462
3468
  font-size: 10px;
3463
3469
  }
3464
3470
 
@@ -3481,15 +3487,15 @@ export default {
3481
3487
  }
3482
3488
 
3483
3489
  .error-info {
3484
- background: rgba(59, 130, 246, 0.1);
3485
- border: 1px solid rgba(59, 130, 246, 0.2);
3490
+ background: rgba(87, 167, 178, 0.1);
3491
+ border: 1px solid rgba(87, 167, 178, 0.2);
3486
3492
  cursor: pointer;
3487
3493
  transition: all 0.3s ease;
3488
3494
  }
3489
3495
 
3490
3496
  .error-info:hover {
3491
- background: rgba(59, 130, 246, 0.15);
3492
- border-color: rgba(59, 130, 246, 0.3);
3497
+ background: rgba(87, 167, 178, 0.15);
3498
+ border-color: rgba(87, 167, 178, 0.3);
3493
3499
  }
3494
3500
 
3495
3501
  .error-text {
@@ -3503,7 +3509,7 @@ export default {
3503
3509
  .retry-button {
3504
3510
  background: none;
3505
3511
  border: none;
3506
- color: #3b82f6;
3512
+ color: #57a7b2;
3507
3513
  cursor: pointer;
3508
3514
  font-size: 12px;
3509
3515
  font-weight: 500;
@@ -3515,7 +3521,7 @@ export default {
3515
3521
  }
3516
3522
 
3517
3523
  .retry-button:hover {
3518
- color: #2563eb;
3524
+ color: #3b8998;
3519
3525
  }
3520
3526
 
3521
3527
  .status-icon {
@@ -3542,21 +3548,21 @@ export default {
3542
3548
  .file-local-path {
3543
3549
  margin-top: 4px;
3544
3550
  font-size: 11px;
3545
- color: #64748b;
3551
+ color: #6b858c;
3546
3552
  display: flex;
3547
3553
  align-items: center;
3548
3554
  gap: 4px;
3549
3555
  }
3550
3556
 
3551
3557
  .file-local-path .path-label {
3552
- color: #64748b;
3558
+ color: #6b858c;
3553
3559
  font-size: 11px;
3554
3560
  font-weight: normal;
3555
3561
  white-space: nowrap;
3556
3562
  }
3557
3563
 
3558
3564
  .file-local-path .path-value {
3559
- color: #1e293b;
3565
+ color: #29555c;
3560
3566
  font-family: 'Courier New', monospace;
3561
3567
  font-size: 11px;
3562
3568
  max-width: 200px;
@@ -3568,22 +3574,22 @@ export default {
3568
3574
  }
3569
3575
 
3570
3576
  .file-local-path .path-value:hover {
3571
- color: #0c5ee3;
3577
+ color: #338899;
3572
3578
  }
3573
3579
 
3574
3580
  /* Electron环境指示器样式 */
3575
3581
  .electron-indicator {
3576
3582
  font-size: 12px;
3577
- color: #3b82f6;
3583
+ color: #57a7b2;
3578
3584
  margin-top: 8px;
3579
3585
  opacity: 0.8;
3580
3586
  display: flex;
3581
3587
  align-items: center;
3582
3588
  gap: 4px;
3583
- background: rgba(59, 130, 246, 0.1);
3589
+ background: rgba(87, 167, 178, 0.1);
3584
3590
  padding: 4px 8px;
3585
3591
  border-radius: 4px;
3586
- border: 1px solid rgba(59, 130, 246, 0.2);
3592
+ border: 1px solid rgba(87, 167, 178, 0.2);
3587
3593
  }
3588
3594
 
3589
3595
  .upload-action-area {
@@ -3595,14 +3601,14 @@ export default {
3595
3601
  z-index: 1;
3596
3602
  flex-shrink: 0;
3597
3603
  /* 确保上传按钮固定在底部,不跟随文件列表滚动 */
3598
- border-top: 1px solid rgba(226, 232, 240, 0.3);
3604
+ border-top: 1px solid rgba(226, 238, 239, 0.3);
3599
3605
  padding-top: 20px;
3600
3606
  margin-top: 0;
3601
3607
  padding-bottom: 0;
3602
3608
  }
3603
3609
 
3604
3610
  .start-upload-button {
3605
- background: linear-gradient(90deg, #0c5ee3, #3b82f6);
3611
+ background: linear-gradient(90deg, #338899, #57a7b2);
3606
3612
  color: white;
3607
3613
  border: none;
3608
3614
  padding: 12px 24px;
@@ -3610,15 +3616,15 @@ export default {
3610
3616
  font-size: 14px;
3611
3617
  cursor: pointer;
3612
3618
  transition: all 0.3s ease;
3613
- box-shadow: 0 6px 20px rgba(12, 94, 227, 0.3);
3619
+ box-shadow: 0 6px 20px rgba(51, 136, 153, 0.3);
3614
3620
  position: relative;
3615
3621
  overflow: hidden;
3616
3622
  }
3617
3623
 
3618
3624
  .start-upload-button:hover {
3619
- background: linear-gradient(90deg, #084bb8, #0b56d0);
3625
+ background: linear-gradient(90deg, #286d7b, #2e8090);
3620
3626
  transform: translateY(-2px);
3621
- box-shadow: 0 8px 25px rgba(12, 94, 227, 0.4);
3627
+ box-shadow: 0 8px 25px rgba(51, 136, 153, 0.4);
3622
3628
  }
3623
3629
 
3624
3630
  .start-upload-button:disabled {
@@ -3761,10 +3767,14 @@ export default {
3761
3767
  .upload-button {
3762
3768
  width: 100%;
3763
3769
  padding: 10px 12px;
3764
- overflow-wrap: anywhere;
3765
3770
  margin: 0;
3766
3771
  }
3767
3772
 
3773
+ .upload-button:disabled,
3774
+ .upload-button:disabled ~ .upload-restrictions {
3775
+ grid-column: 1 / -1;
3776
+ }
3777
+
3768
3778
  .upload-restrictions {
3769
3779
  min-width: 0;
3770
3780
  margin: 0;