import * as __WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__ from "../__builtins__/index.mjs";
const useStyles = (0, __WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__.genStyleHook)('tb-action', (token)=>{
    const { componentCls } = token;
    return {
        [componentCls]: {
            position: 'relative',
            '&:hover': {
                '> .general-schema-designer': {
                    display: 'block'
                }
            },
            '&.tb-action-link': {
                margin: '-12px',
                padding: '12px'
            },
            '> .general-schema-designer': {
                position: 'absolute',
                zIndex: 999,
                top: '0',
                bottom: '0',
                left: '0',
                right: '0',
                display: 'none',
                background: 'var(--colorBgSettingsHover)',
                border: '0',
                pointerEvents: 'none',
                '> .general-schema-designer-icons': {
                    position: 'absolute',
                    right: '2px',
                    top: '2px',
                    lineHeight: '16px',
                    pointerEvents: 'all',
                    '.ant-space-item': {
                        backgroundColor: token.colorSettings,
                        color: '#fff',
                        lineHeight: '16px',
                        width: '16px',
                        paddingLeft: '1px',
                        alignSelf: 'stretch'
                    }
                }
            }
        }
    };
});
const Action_style_rslib_entry_ = useStyles;
export { Action_style_rslib_entry_ as default };
