99 display : flex;
1010 flex-direction : column;
1111 height : 100% ;
12- background : white;
13- border-radius : 8px ;
14- box-shadow : 0 4px 20px rgba (0 , 0 , 0 , 0.15 );
12+ background : linear-gradient (135deg , # ffffff 0% , # f8f9fa 100% );
13+ border : 1px solid # e1e5e9 ;
14+ box-shadow : 0 12px 40px rgba (0 , 0 , 0 , 0.15 ), 0 4px 12px rgba (0 , 0 , 0 , 0.1 );
15+ overflow : hidden;
16+ }
17+
18+ .content {
19+ padding : 20px ;
20+ flex : 1 ;
21+ overflow-y : auto;
1522}
1623
1724/* 修改标签字体颜色为黑色 */
6168 color : # 22543d !important ;
6269}
6370
64- .header {
65- padding : 20px 20px 10px 20px ;
66- border-bottom : 1px solid # e0e0e0 ;
67- background : # fafafa ;
68- border-radius : 8px 8px 0 0 ;
69- }
70-
7171.title {
72- margin : 0 ;
72+ margin : 0 0 20 px 0 ;
7373 font-size : 18px ;
7474 font-weight : 600 ;
7575 color : # 333 ;
7676}
7777
78- .body {
79- padding : 20px ;
80- flex : 1 ;
81- overflow-y : auto;
82- }
83-
8478.formGroup {
8579 margin-bottom : 16px ;
8680}
131125
132126.fileInput {
133127 width : 100% ;
134- padding : 8px 0 ;
128+ padding : 8px 12 px ;
135129 font-size : 14px ;
136130 border : 1px solid # ddd ;
137131 border-radius : 4px ;
138- background : white ;
132+ background : # f9f9f9 ;
139133 cursor : pointer;
134+ color : # 666 ;
135+ }
136+
137+ .fileInput : hover : not (: disabled ) {
138+ background : # f0f0f0 ;
139+ border-color : # ccc ;
140140}
141141
142142.fileInput : disabled {
143143 background-color : # f5f5f5 ;
144144 cursor : not-allowed;
145+ color : # 999 ;
145146}
146147
147148.checkboxGroup {
220221 display : flex;
221222 justify-content : flex-end;
222223 gap : 12px ;
223- border-radius : 0 0 8px 8px ;
224224}
225225
226226.cancelButton {
255255 cursor : pointer;
256256 transition : background-color 0.2s , border-color 0.2s ;
257257 min-width : 120px ;
258+ text-align : center;
259+ display : flex;
260+ align-items : center;
261+ justify-content : center;
258262}
259263
260264.fetchButton : hover : not (: disabled ) {
279283 cursor : pointer;
280284 transition : background-color 0.2s , border-color 0.2s ;
281285 min-width : 120px ;
286+ text-align : center;
287+ display : flex;
288+ align-items : center;
289+ justify-content : center;
282290}
283291
284292.commitButton : hover : not (: disabled ) {
292300 cursor : not-allowed;
293301}
294302
303+ .logoutButton {
304+ padding : 8px 16px ;
305+ background : # dc3545 ;
306+ color : white;
307+ border : 1px solid # c82333 ;
308+ border-radius : 4px ;
309+ font-size : 14px ;
310+ font-weight : 500 ;
311+ cursor : pointer;
312+ transition : background-color 0.2s , border-color 0.2s ;
313+ min-width : 80px ;
314+ }
315+
316+ .logoutButton : hover : not (: disabled ) {
317+ background : # c82333 ;
318+ border-color : # bd2130 ;
319+ }
320+
321+ .logoutButton : disabled {
322+ background : # ccc ;
323+ border-color : # bbb ;
324+ cursor : not-allowed;
325+ }
326+
327+ /* 拖拽区域样式 */
328+ .dropZone {
329+ border : 2px dashed # ddd ;
330+ border-radius : 8px ;
331+ padding : 20px ;
332+ text-align : center;
333+ cursor : pointer;
334+ transition : all 0.3s ease;
335+ background : # fafafa ;
336+ min-height : 80px ;
337+ display : flex;
338+ align-items : center;
339+ justify-content : center;
340+ }
341+
342+ .dropZone : hover {
343+ border-color : # 00BAAD ;
344+ background : # f0f8ff ;
345+ }
346+
347+ .dropZoneActive {
348+ border-color : # 00BAAD !important ;
349+ background : # e6f7ff !important ;
350+ transform : scale (1.02 );
351+ }
352+
353+ .dropZoneContent {
354+ display : flex;
355+ flex-direction : column;
356+ align-items : center;
357+ gap : 8px ;
358+ }
359+
360+ .dropIcon {
361+ font-size : 24px ;
362+ opacity : 0.7 ;
363+ }
364+
365+ .dropText {
366+ font-size : 14px ;
367+ font-weight : 500 ;
368+ color : # 333 ;
369+ }
370+
371+ .dropHint {
372+ font-size : 12px ;
373+ color : # 666 ;
374+ font-weight : normal;
375+ }
376+
377+ .fileSelected {
378+ display : flex;
379+ align-items : center;
380+ gap : 12px ;
381+ padding : 8px 12px ;
382+ background : # e8f5e8 ;
383+ border : 1px solid # 4caf50 ;
384+ border-radius : 6px ;
385+ min-width : 200px ;
386+ }
387+
388+ .fileIcon {
389+ font-size : 16px ;
390+ }
391+
392+ .fileName {
393+ flex : 1 ;
394+ font-size : 14px ;
395+ font-weight : 500 ;
396+ color : # 2e7d32 ;
397+ text-align : left;
398+ }
399+
400+ .removeFile {
401+ background : # f44336 ;
402+ color : white;
403+ border : none;
404+ border-radius : 50% ;
405+ width : 20px ;
406+ height : 20px ;
407+ cursor : pointer;
408+ font-size : 12px ;
409+ display : flex;
410+ align-items : center;
411+ justify-content : center;
412+ transition : background-color 0.2s ;
413+ }
414+
415+ .removeFile : hover : not (: disabled ) {
416+ background : # d32f2f ;
417+ }
418+
419+ .removeFile : disabled {
420+ background : # ccc ;
421+ cursor : not-allowed;
422+ }
423+
295424/* 响应式设计 */
296425@media (max-width : 600px ) {
297426 .modalContent {
298427 width : 95vw ;
299428 max-height : 90vh ;
300429 }
301430
302- .header ,
303- .body ,
431+ .content ,
304432 .footer {
305433 padding-left : 16px ;
306434 padding-right : 16px ;
316444 .commitButton {
317445 width : 100% ;
318446 }
319- }
447+ }
0 commit comments