fix: update review (#1496)

This commit is contained in:
James 2024-03-22 09:17:19 +08:00 committed by GitHub
parent f7deb569ac
commit 68abf0beea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 23 additions and 7 deletions

View File

@ -72,8 +72,8 @@
margin-bottom: var(--ti-transfer-button-margin-bottom);
border-color: var(--ti-transfer-button-bg-color);
background-color: var(--ti-transfer-button-bg-color);
min-width: 30px;
min-height: 30px;
width: var(--ti-transfer-button-width);
height: var(--ti-transfer-button-height);
border-radius: var(--ti-transfer-button-border-radius);
line-height: normal;
padding-left: var(--ti-transfer-button-padding-left);
@ -89,6 +89,7 @@
}
&.@{button-prefix-cls}:not(.is-circle) .@{svg-prefix-cls} {
font-size: var(--ti-transfer-svg-font-size);
margin-right: 0;
}
@ -426,4 +427,4 @@
.@{checkbox-prefix-cls}__label {
padding-left: var(--ti-transfer-checkbox-label-padding-left);
}
}
}

View File

@ -1,9 +1,18 @@
export const tinyTransferSmbTheme = {
// transfer-SMB主题
'ti-transfer-panel-item-text-color': 'var(--ti-common-color-info-normal)',
'ti-transfer-button-bg-color': 'var(--ti-common-color-prompt)',
'ti-transfer-font-size': 'var(--ti-common-font-size-1)',
'ti-transfer-button-border-radius': 'var(--ti-common-space-6)',
'ti-transfer-panel-border-color': 'var(--ti-common-color-line-disabled)',
'ti-transfer-panel-item-hover-bg-color': 'var(--ti-common-color-hover-background)'
'ti-transfer-panel-item-hover-bg-color': 'var(ti-common-color-bg-normal, #f5f5f5)',
'ti-transfer-header-height': '38px',
'ti-transfer-panel-item-height': 'var(--ti-common-size-8x)',
'ti-transfer-button-bg-color': '#1476ff',
'ti-transfer-button-height': 'var(--ti-common-size-4x)',
'ti-transfer-button-width': 'var(--ti-common-size-4x)',
'ti-transfer-button-padding-left': '2px',
'ti-transfer-button-padding-right': '2px',
'ti-transfer-button-padding-top': '2px',
'ti-transfer-button-padding-bottom': '2px',
'ti-transfer-button-border-radius': 'var(--ti-common-size-base)',
'ti-transfer-svg-font-size': '10px'
}

View File

@ -237,4 +237,10 @@
--ti-transfer-pager-padding-bottom: var(--ti-common-space-10, 10px);
// 多选框左侧内边距
--ti-transfer-checkbox-label-padding-left: var(--ti-common-space-2x, 8px);
}
// 穿梭按钮宽度
--ti-transfer-button-width: 30px;
// 穿梭按钮高度
--ti-transfer-button-height: 30px;
// 穿梭箭头大小
--ti-transfer-svg-font-size: 14px;
}