import * as __WEBPACK_EXTERNAL_MODULE_antd_style__ from "antd-style";
function _tagged_template_literal(strings, raw) {
    if (!raw) raw = strings.slice(0);
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    const data = _tagged_template_literal([
        "\n      pointer-events: none;\n      position: absolute;\n      font-size: 12px;\n      /* background: var(--colorSettings);\n  color: #fff; */\n      padding: 0;\n      line-height: 16px;\n      height: 16px;\n      border-bottom-right-radius: 2px;\n      border-radius: 2px;\n      top: 2px;\n      left: 2px;\n      .title-tag {\n        padding: 0 3px;\n        border-radius: 2px;\n        background: var(--colorSettings);\n        color: #fff;\n        display: block;\n      }\n    "
    ]);
    _templateObject = function() {
        return data;
    };
    return data;
}
function _templateObject1() {
    const data = _tagged_template_literal([
        "\n      & .ant-space-item .anticon {\n        margin: 0;\n      }\n\n      &:hover {\n        display: block !important;\n      }\n    "
    ]);
    _templateObject1 = function() {
        return data;
    };
    return data;
}
const useStyles = (0, __WEBPACK_EXTERNAL_MODULE_antd_style__.createStyles)((param)=>{
    let { css } = param;
    return {
        toolbar: {
            position: 'absolute',
            zIndex: 999,
            display: 'none',
            top: 0,
            left: 0,
            right: 0,
            bottom: 0,
            border: '2px solid var(--colorBorderSettingsHover)',
            background: 'var(--colorBgSettingsHover)',
            pointerEvents: 'none',
            '.ant-space-item .anticon': {
                margin: 0
            }
        },
        toolbarTitle: {
            pointerEvents: 'none',
            position: 'absolute',
            fontSize: 12,
            padding: 0,
            lineHeight: '16px',
            height: '16px',
            borderBottomRightRadius: 2,
            borderRadius: 2,
            top: 2,
            left: 2
        },
        toolbarTitleTag: {
            padding: '0 3px',
            borderRadius: 2,
            background: 'var(--colorSettings)',
            color: '#fff',
            display: 'block'
        },
        toolbarIcons: {
            position: 'absolute',
            right: '2px',
            top: '2px',
            lineHeight: '16px',
            pointerEvents: 'all',
            '.ant-space-item': {
                backgroundColor: 'var(--colorSettings)',
                color: '#fff',
                lineHeight: '16px',
                width: '16px',
                paddingLeft: '1px',
                alignSelf: 'stretch'
            }
        },
        titleCss: css(_templateObject()),
        overrideAntdCSS: css(_templateObject1())
    };
});
export { useStyles };
