@chaoswise/ui 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Modal/index.style.js
CHANGED
|
@@ -9,7 +9,7 @@ var genCustomCWModalStyle = function genCustomCWModalStyle(token) {
|
|
|
9
9
|
var modalPrefix = "".concat(prefixCls, "-modal");
|
|
10
10
|
var btnPrefix = "".concat(prefixCls, "-btn");
|
|
11
11
|
return _defineProperty({}, modalPrefix, _defineProperty({}, "&".concat(modalPrefix, "-wrapper"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
12
|
-
"> div[tabindex
|
|
12
|
+
"> div[tabindex]": {
|
|
13
13
|
height: "100%" // 升级antd样式fixed
|
|
14
14
|
}
|
|
15
15
|
}, "".concat(modalPrefix, "-content"), {
|
|
@@ -7,7 +7,25 @@ var genCustomSiderMenuStyle = function genCustomSiderMenuStyle(token) {
|
|
|
7
7
|
var prefixCls = token.antCls,
|
|
8
8
|
iconCls = token.iconCls;
|
|
9
9
|
var SiderMenuPrefix = "".concat(prefixCls, "-sider-menu");
|
|
10
|
-
return _defineProperty({}, "".concat(SiderMenuPrefix, "-cw-menu-box"), _defineProperty(_defineProperty(
|
|
10
|
+
return _defineProperty(_defineProperty({}, "".concat(SiderMenuPrefix, "-cw-menu-box"), _defineProperty(_defineProperty({}, "".concat(SiderMenuPrefix, "-expand-arrow"), _defineProperty(_defineProperty({
|
|
11
|
+
position: "absolute",
|
|
12
|
+
top: "0",
|
|
13
|
+
right: "8px",
|
|
14
|
+
height: "100%",
|
|
15
|
+
width: "12px",
|
|
16
|
+
fontSize: "12px",
|
|
17
|
+
lineHeight: "40px"
|
|
18
|
+
}, iconCls, {
|
|
19
|
+
minWidth: "12px !important",
|
|
20
|
+
fontSize: "12px !important",
|
|
21
|
+
transition: "transform 0.3s !important"
|
|
22
|
+
}), "&&-open", _defineProperty({
|
|
23
|
+
color: token.colorPrimary
|
|
24
|
+
}, iconCls, {
|
|
25
|
+
transform: "rotate(180deg)"
|
|
26
|
+
}))), "&".concat(SiderMenuPrefix, "-cw-menu-box-collapsed"), _defineProperty({}, "".concat(SiderMenuPrefix, "-expand-arrow"), {
|
|
27
|
+
display: "none"
|
|
28
|
+
}))), "".concat(prefixCls, "-menu-submenu-popup"), _defineProperty(_defineProperty({}, "".concat(SiderMenuPrefix, "-goup-label"), {
|
|
11
29
|
borderBottom: "1px solid rgb(246, 247, 248)",
|
|
12
30
|
width: "calc(100% + 14px)",
|
|
13
31
|
marginLeft: "-7px",
|
|
@@ -29,9 +47,7 @@ var genCustomSiderMenuStyle = function genCustomSiderMenuStyle(token) {
|
|
|
29
47
|
color: token.colorPrimary
|
|
30
48
|
}, iconCls, {
|
|
31
49
|
transform: "rotate(180deg)"
|
|
32
|
-
})))
|
|
33
|
-
display: "none"
|
|
34
|
-
})));
|
|
50
|
+
}))));
|
|
35
51
|
};
|
|
36
52
|
// ============================== Export ==============================
|
|
37
53
|
export default genStyleHooks("SiderMenu", function (token) {
|