mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-17 23:50:52 +08:00
parent
9fbf80aa8b
commit
e44f11b0f4
@ -22,13 +22,13 @@ const genFilterStyle: GenerateStyle<TableToken> = (token) => {
|
|||||||
motionDurationSlow,
|
motionDurationSlow,
|
||||||
colorTextDescription,
|
colorTextDescription,
|
||||||
colorPrimary,
|
colorPrimary,
|
||||||
colorPrimaryActive,
|
|
||||||
tableHeaderFilterActiveBg,
|
tableHeaderFilterActiveBg,
|
||||||
colorTextDisabled,
|
colorTextDisabled,
|
||||||
tableFilterDropdownBg,
|
tableFilterDropdownBg,
|
||||||
tableFilterDropdownHeight,
|
tableFilterDropdownHeight,
|
||||||
controlItemBgHover,
|
controlItemBgHover,
|
||||||
boxShadow,
|
controlItemBgActive,
|
||||||
|
boxShadowSecondary,
|
||||||
} = token;
|
} = token;
|
||||||
const dropdownPrefixCls = `${antCls}-dropdown`;
|
const dropdownPrefixCls = `${antCls}-dropdown`;
|
||||||
const tableFilterDropdownPrefixCls = `${componentCls}-filter-dropdown`;
|
const tableFilterDropdownPrefixCls = `${componentCls}-filter-dropdown`;
|
||||||
@ -76,7 +76,7 @@ const genFilterStyle: GenerateStyle<TableToken> = (token) => {
|
|||||||
minWidth: tableFilterDropdownWidth,
|
minWidth: tableFilterDropdownWidth,
|
||||||
backgroundColor: tableFilterDropdownBg,
|
backgroundColor: tableFilterDropdownBg,
|
||||||
borderRadius,
|
borderRadius,
|
||||||
boxShadow,
|
boxShadow: boxShadowSecondary,
|
||||||
|
|
||||||
// Reset menu
|
// Reset menu
|
||||||
[`${dropdownPrefixCls}-menu`]: {
|
[`${dropdownPrefixCls}-menu`]: {
|
||||||
@ -111,7 +111,7 @@ const genFilterStyle: GenerateStyle<TableToken> = (token) => {
|
|||||||
|
|
||||||
[`${treePrefixCls}-treenode-checkbox-checked ${treePrefixCls}-node-content-wrapper`]: {
|
[`${treePrefixCls}-treenode-checkbox-checked ${treePrefixCls}-node-content-wrapper`]: {
|
||||||
'&, &:hover': {
|
'&, &:hover': {
|
||||||
backgroundColor: colorPrimaryActive,
|
backgroundColor: controlItemBgActive,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -283,7 +283,7 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject =>
|
|||||||
},
|
},
|
||||||
|
|
||||||
[`&${treeCls}-node-selected`]: {
|
[`&${treeCls}-node-selected`]: {
|
||||||
backgroundColor: token.controlOutline,
|
backgroundColor: token.controlItemBgActive,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Icon
|
// Icon
|
||||||
|
Loading…
Reference in New Issue
Block a user