first commit
This commit is contained in:
29
frontend/node_modules/antd/lib/dropdown/style/status.js
generated
vendored
Normal file
29
frontend/node_modules/antd/lib/dropdown/style/status.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
const genStatusStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
menuCls,
|
||||
colorError,
|
||||
colorTextLightSolid
|
||||
} = token;
|
||||
const itemCls = `${menuCls}-item`;
|
||||
return {
|
||||
[`${componentCls}, ${componentCls}-menu-submenu`]: {
|
||||
[`${menuCls} ${itemCls}`]: {
|
||||
[`&${itemCls}-danger:not(${itemCls}-disabled)`]: {
|
||||
color: colorError,
|
||||
'&:hover': {
|
||||
color: colorTextLightSolid,
|
||||
backgroundColor: colorError
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
var _default = exports.default = genStatusStyle;
|
||||
Reference in New Issue
Block a user