refactor(transfer): adjust filter style

This commit is contained in:
07akioni 2021-04-09 19:29:02 +08:00
parent 9942cfea45
commit 4aa462bedd
2 changed files with 6 additions and 4 deletions

View File

@ -155,9 +155,12 @@ export default c([
border-top-right-radius: 0;
`, [
cB('transfer-filter', `
padding: 8px 8px;
padding: 0 8px 8px 8px;
box-sizing: border-box;
transition: border-color .3s var(--bezier);
background-color: var(--header-color);
transition:
border-color .3s var(--bezier),
background-color .3s var(--bezier);
border-bottom: 1px solid var(--filter-divider-color);
`),
cB('transfer-list-flex-container', `

View File

@ -34,7 +34,6 @@ const transferDark: TransferTheme = {
textColor1,
textColorDisabled,
textColor2,
dividerColor,
hoverColor
} = vars
return {
@ -52,7 +51,7 @@ const transferDark: TransferTheme = {
titleTextColor: textColor1,
titleTextColorDisabled: textColorDisabled,
extraTextColor: textColor2,
filterDividerColor: dividerColor,
filterDividerColor: 'transparent',
itemTextColor: textColor2,
itemTextColorDisabled: textColorDisabled,
itemColorPending: hoverColor,