mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
refactor(transfer): adjust filter style
This commit is contained in:
parent
9942cfea45
commit
4aa462bedd
@ -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', `
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user