File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed
packages/theme/src/upload-list Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 211211 > &-delete
212212 > .@{svg-prefix-cls} .@{svg-prefix-cls} -size.icon-delete {
213213 fill : var (--ti-upload-list-svg-close-icon-color );
214+
215+ & :hover {
216+ fill : var (--ti-upload-list-svg-close-hover-icon-color );
217+ }
214218 }
215219
216220 .@{svg-prefix-cls} {
220224 }
221225
222226 & .icon-close {
223- display : none ;
224- position : absolute ;
225- top : 50% ;
226227 right : var (--ti-upload-list-svg-close-position-right );
227- transform : translateY (-50% );
228- fill : var (--ti-upload-list-svg-close-icon-color );
229- font-size : var (--ti-upload-list-svg-icon-font-size );
230- opacity : 0.75 ;
231- cursor : pointer ;
228+ }
232229
233- & :hover {
234- opacity : 1 ;
235- }
230+ & .icon-refres {
231+ right : var (--ti-upload-list-svg-refresh-position-right );
236232 }
237233
234+ & .icon-close ,
238235 & .icon-refres {
239236 display : none ;
240237 position : absolute ;
241238 top : 50% ;
242- right : var (--ti-upload-list-svg-refresh-position-right );
243239 transform : translateY (-50% );
244240 fill : var (--ti-upload-list-svg-close-icon-color );
245241 font-size : var (--ti-upload-list-svg-icon-font-size );
246242 opacity : 0.75 ;
247243 cursor : pointer ;
248244
249245 & :hover {
246+ fill : var (--ti-upload-list-svg-close-hover-icon-color );
250247 opacity : 1 ;
251248 }
252249 }
294291
295292 &__icon-operationfaild {
296293 fill : #f23030 ;
297- margin-right : 9 px ;
298- padding -left : 4px ;
294+ margin-right : 8 px ;
295+ margin -left : 4px ;
299296 font-size : 16px ;
300297 }
301298
399396 background-color : #fce3e1 ;
400397
401398 & span .tiny-svg {
402- fill : #191919 ;
399+ fill : var ( --ti-upload-list-svg-close-hover-icon-color ) ;
403400 }
404401 }
405402 }
480477 cursor : pointer ;
481478
482479 & + span {
483- margin-left : 15 px ;
480+ margin-left : 16 px ;
484481 }
485482 }
486483
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ export const tinyUploadListSmbTheme = {
88 'ti-upload-list-picture-card-item-margin-right' : 'var(--ti-common-space-4x)' ,
99 'ti-upload-list-item-border-radius' : 'var(--ti-common-border-radius-4)' ,
1010 'ti-upload-picture-card-border-radius' : 'var(--ti-common-border-radius-4)' ,
11- 'ti-upload-list-item-hover-background-color' : 'var(--ti-common-bg- color-disabled-transparent-5 )' ,
11+ 'ti-upload-list-item-hover-background-color' : 'var(--ti-common-color-bg-normal )' ,
1212 'ti-upload-list-svg-icon-font-size' : 'var(--ti-common-font-size-2)' ,
1313 'ti-upload-list-svg-refresh-position-right' : 'var(--ti-common-space-8x)' ,
1414 'ti-upload-list-picture-card-item-hover-bg-color' : 'var(--ti-common-bg-color-hover-40)' ,
15- 'ti-upload-list-picture-success-border-weight' : '0'
15+ 'ti-upload-list-picture-success-border-weight' : '0' ,
16+ 'ti-upload-list-item-text-color' : 'var(--ti-common-color-text-secondary)'
1617}
Original file line number Diff line number Diff line change 2727 --ti-upload-list-item-name-icon-color : var (--ti-common-color-info , #252b3a );
2828 // 上传文件列表项前置图标尺寸
2929 --ti-upload-list-item-name-icon-font-size : var (--ti-common-font-size-2 , 16px );
30- // 上传文件列表项删除图标色
31- --ti-upload-list-svg-close-icon-color : var (--ti-common-color-icon-normal );
30+ // 上传文件列表项右侧图标色
31+ --ti-upload-list-svg-close-icon-color : var (--ti-common-color-icon-normal , #575d6c );
32+ // 上传文件列表项右侧悬浮图标色
33+ --ti-upload-list-svg-close-hover-icon-color : var (--ti-common-color-icon-hover , #5e7ce0 );
3234 // 上传文件列表项图标尺寸
3335 --ti-upload-list-svg-icon-font-size : var (--ti-common-font-size-base , 12px );
3436 // 上传文件列表项成功图标尺寸
You can’t perform that action at this time.
0 commit comments