@zat-design/sisyphus-react 4.0.19 → 4.1.0

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.
Files changed (61) hide show
  1. package/dist/index.esm.css +1 -1
  2. package/dist/less.esm.css +1 -1
  3. package/es/ProForm/components/combination/Group/utils/index.d.ts +28 -28
  4. package/es/ProLayout/components/Layout/Header/index.js +143 -2
  5. package/es/ProLayout/components/Layout/Header/style/index.less +161 -12
  6. package/es/ProLayout/components/Layout/Menu/FoldMenu/index.js +3 -2
  7. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -5
  8. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -6
  9. package/es/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +0 -1
  10. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +14 -37
  11. package/es/ProLayout/components/Layout/Menu/SideMenu/index.js +1 -2
  12. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +2 -3
  13. package/es/ProLayout/components/Layout/Menu/index.js +1 -3
  14. package/es/ProLayout/components/Layout/Menu/style/index.less +12 -22
  15. package/es/ProLayout/components/Layout/Notice/style/index.less +31 -33
  16. package/es/ProLayout/components/ProCollapse/style/index.less +2 -0
  17. package/es/ProLayout/components/ProFooter/index.js +1 -1
  18. package/es/ProLayout/components/ProHeader/style/index.less +2 -1
  19. package/es/ProLayout/components/TabsManager/components/TabsHeader.d.ts +12 -0
  20. package/es/ProLayout/components/TabsManager/components/TabsHeader.js +53 -0
  21. package/es/ProLayout/components/TabsManager/index.js +7 -24
  22. package/es/ProLayout/components/TabsManager/style/index.less +24 -8
  23. package/es/ProLayout/index.js +12 -8
  24. package/es/ProLayout/propTypes.d.ts +69 -10
  25. package/es/ProLayout/propTypes.js +5 -1
  26. package/es/ProLayout/style/index.less +70 -35
  27. package/es/ProStep/components/Step/index.js +2 -1
  28. package/es/ProStep/utils/index.js +2 -1
  29. package/es/assets/apps.svg +23 -0
  30. package/es/assets/header_bg.png +0 -0
  31. package/es/style/theme/antd.less +5 -0
  32. package/lib/ProForm/components/combination/Group/utils/index.d.ts +28 -28
  33. package/lib/ProLayout/components/Layout/Header/index.js +143 -2
  34. package/lib/ProLayout/components/Layout/Header/style/index.less +161 -12
  35. package/lib/ProLayout/components/Layout/Menu/FoldMenu/index.js +3 -2
  36. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -5
  37. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -6
  38. package/lib/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +0 -1
  39. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +14 -37
  40. package/lib/ProLayout/components/Layout/Menu/SideMenu/index.js +1 -2
  41. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +2 -3
  42. package/lib/ProLayout/components/Layout/Menu/index.js +1 -3
  43. package/lib/ProLayout/components/Layout/Menu/style/index.less +12 -22
  44. package/lib/ProLayout/components/Layout/Notice/style/index.less +31 -33
  45. package/lib/ProLayout/components/ProCollapse/style/index.less +2 -0
  46. package/lib/ProLayout/components/ProFooter/index.js +1 -1
  47. package/lib/ProLayout/components/ProHeader/style/index.less +2 -1
  48. package/lib/ProLayout/components/TabsManager/components/TabsHeader.d.ts +12 -0
  49. package/lib/ProLayout/components/TabsManager/components/TabsHeader.js +58 -0
  50. package/lib/ProLayout/components/TabsManager/index.js +7 -24
  51. package/lib/ProLayout/components/TabsManager/style/index.less +24 -8
  52. package/lib/ProLayout/index.js +12 -8
  53. package/lib/ProLayout/propTypes.d.ts +69 -10
  54. package/lib/ProLayout/propTypes.js +5 -1
  55. package/lib/ProLayout/style/index.less +70 -35
  56. package/lib/ProStep/components/Step/index.js +2 -1
  57. package/lib/ProStep/utils/index.js +2 -1
  58. package/lib/assets/apps.svg +23 -0
  59. package/lib/assets/header_bg.png +0 -0
  60. package/lib/style/theme/antd.less +5 -0
  61. package/package.json +1 -1
@@ -4,17 +4,18 @@
4
4
  .pro-layout-header {
5
5
  position : fixed;
6
6
  top : 0;
7
- z-index : 103;
7
+ z-index : 98;
8
8
  display : flex;
9
9
  flex-direction : row;
10
10
  align-items : center;
11
11
  justify-content: space-between;
12
12
  width : 100%;
13
- height : 48px;
13
+ height : 64px;
14
14
  padding : 0 32px 0px 0px;
15
- line-height : 48px;
16
- background : var(--zaui-base-bg, #ffffff);
17
- box-shadow : 0px 1px 2px 0px rgba(0, 55, 93, 0.1) !important;
15
+ line-height : 64px;
16
+ background : var(--header-bg-image) no-repeat top center / 100% auto, #F7F9FD;
17
+ box-shadow : none;
18
+ overflow : visible;
18
19
 
19
20
  .pro-layout-header-actions {
20
21
  .@{ant-prefix}-avatar {
@@ -22,19 +23,45 @@
22
23
  }
23
24
  }
24
25
 
26
+ .pro-layout-header-apps-trigger {
27
+ position: absolute;
28
+ left: 0;
29
+ top: 0;
30
+ width: 48px;
31
+ height: 64px;
32
+ display: inline-flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ z-index: 2;
36
+
37
+ .pro-icon {
38
+ width: 20px;
39
+ height: 20px;
40
+ }
41
+
42
+ // 当存在 apps 图标时,logo 需要更多左侧间距
43
+ ~ .pro-layout-header-logo {
44
+ margin-left: 64px;
45
+ }
46
+ }
47
+
25
48
  .pro-layout-header-logo {
49
+ position : relative;
26
50
  display : flex;
27
51
  flex : 200px;
28
52
  align-items: center;
29
- width : 200px;
53
+ width : auto;
30
54
  padding : 0;
31
- background : var(--zaui-base-bg, #ffffff);
55
+ margin-left: 48px;
56
+ background : transparent;
57
+ gap : 24px;
58
+ z-index : 1;
32
59
 
33
- span {
60
+ > span:first-child {
34
61
  display : flex;
35
62
  align-items : center;
36
- justify-content: center;
37
- width : 220px;
63
+ justify-content: flex-start;
64
+ width : auto;
38
65
  }
39
66
 
40
67
  .default-logo {
@@ -69,12 +96,31 @@
69
96
 
70
97
  .pro-layout-icon {
71
98
  width : 200px;
72
- height: 48px;
99
+ height: 64px;
100
+ }
101
+
102
+ .pro-layout-header-apps-trigger {
103
+ display: inline-flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ width: 24px;
107
+ height: 24px;
108
+ cursor: pointer;
109
+ transition: all 0.3s;
110
+
111
+ &:hover {
112
+ opacity: 0.8;
113
+ }
114
+
115
+ .pro-icon {
116
+ width: 24px;
117
+ height: 24px;
118
+ }
73
119
  }
74
120
  }
75
121
 
76
122
  &-logo {
77
- height : 48px;
123
+ height : 64px;
78
124
  padding : 5px 0;
79
125
  text-align : center;
80
126
  background-color: #081838;
@@ -104,13 +150,17 @@
104
150
  }
105
151
 
106
152
  &-content {
153
+ position: relative;
107
154
  flex: auto;
155
+ z-index: 1;
108
156
  }
109
157
 
110
158
  &-actions {
159
+ position : relative;
111
160
  display : flex;
112
161
  align-items: center;
113
162
  float : right;
163
+ z-index : 1;
114
164
 
115
165
  >.pro-layout-icon {
116
166
  width : 26px;
@@ -126,3 +176,102 @@
126
176
  }
127
177
  }
128
178
  }
179
+
180
+ // apps Popover 样式
181
+ .pro-layout-header-apps-popover {
182
+ // 隐藏 Popover 箭头
183
+ .@{ant-prefix}-popover-arrow {
184
+ display: none;
185
+ }
186
+
187
+ .@{ant-prefix}-popover-inner {
188
+ padding: var(--zaui-space-size-md, 16px);
189
+ min-width: 300px;
190
+ border-radius: var(--zaui-border-radius, 8px);
191
+ }
192
+
193
+ // 扁平模式 - 网格布局
194
+ .pro-layout-header-apps-list {
195
+ display: flex;
196
+ flex-direction: column;
197
+ gap: 0;
198
+ }
199
+
200
+ .pro-layout-header-apps-item {
201
+ display: flex;
202
+ align-items: center;
203
+ gap: var(--zaui-space-size-sm, 8px);
204
+ padding: var(--zaui-space-size-sm, 8px) var(--zaui-space-size-md, 16px);
205
+ cursor: pointer;
206
+ transition: all 0.3s;
207
+ white-space: nowrap;
208
+ border-radius: var(--zaui-border-radius, 8px);
209
+
210
+ &:hover {
211
+ background-color: rgba(0, 106, 255, 0.08);
212
+ }
213
+
214
+ &-icon {
215
+ display: inline-flex;
216
+ align-items: center;
217
+ justify-content: center;
218
+ width: 20px;
219
+ height: 20px;
220
+ flex-shrink: 0;
221
+ }
222
+
223
+ &-label {
224
+ font-size: var(--zaui-font-size-base, 14px);
225
+ color: var(--zaui-text, #343434);
226
+ line-height: 22px;
227
+ overflow: hidden;
228
+ text-overflow: ellipsis;
229
+ }
230
+ }
231
+
232
+ // 分组模式 - 4列网格布局
233
+ .pro-layout-header-apps-groups {
234
+ display: flex;
235
+ flex-direction: column;
236
+ gap: 16px;
237
+
238
+ .pro-layout-header-apps-list {
239
+ display: grid;
240
+ grid-template-columns: repeat(4, 1fr);
241
+ column-gap: 4px;
242
+ row-gap: 4px;
243
+ }
244
+
245
+ .pro-layout-header-apps-item {
246
+ display: flex;
247
+ flex-direction: column;
248
+ align-items: center;
249
+ gap: var(--zaui-space-size-sm, 8px);
250
+ padding: var(--zaui-space-size-sm, 8px);
251
+ border-radius: var(--zaui-border-radius, 8px);
252
+
253
+ &-icon {
254
+ width: 32px;
255
+ height: 32px;
256
+ font-size: 32px;
257
+ }
258
+
259
+ &-label {
260
+ text-align: center;
261
+ font-size: 13px;
262
+ line-height: 18px;
263
+ white-space: nowrap;
264
+ }
265
+ }
266
+ }
267
+
268
+ .pro-layout-header-apps-group {
269
+ &-title {
270
+ padding: 0 0 var(--zaui-space-size-sm, 8px) 0;
271
+ font-weight: 600;
272
+ font-size: var(--zaui-font-size-base, 14px);
273
+ color: var(--zaui-text, #343434);
274
+ line-height: 22px;
275
+ }
276
+ }
277
+ }
@@ -103,8 +103,9 @@ var FoldMenu = props => {
103
103
  },
104
104
  styles: {
105
105
  content: {
106
- marginTop: headerHeight - 48,
107
- height: `calc(100vh - ${headerHeight + (notice ? 32 : 0)}px)`
106
+ marginTop: headerHeight - 64,
107
+ height: `calc(100vh - ${headerHeight + (notice ? 32 : 0) + 12}px)`,
108
+ overflow: 'hidden'
108
109
  }
109
110
  },
110
111
  placement: "rightTop",
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  &:hover {
38
- background: var(--ant-primary-8, #003eb3);
38
+ background: transparent;
39
39
  }
40
40
 
41
41
  i {
@@ -65,17 +65,19 @@
65
65
  }
66
66
 
67
67
  .pro-layout-menu-tooltip {
68
- top: 48px !important;
68
+ top: 64px !important;
69
69
  transform: none !important;
70
70
  transition: none !important;
71
- .@{ant-prefix}-popover-container{
72
- border-radius: 0;
71
+ .@{ant-prefix}-popover-container {
72
+ border-radius: 8px;
73
73
  padding: 0;
74
+ overflow: hidden;
75
+ box-shadow: 2px 0px 8px 0px rgba(0, 55, 93, 0.15);
74
76
  }
75
77
  }
76
78
 
77
79
  .pro-layout-menu-tooltip.pro-layout-menu-tooltip-has-notice {
78
- top: 80px !important;
80
+ top: 96px !important;
79
81
  }
80
82
 
81
83
  .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.@{ant-prefix}-popover-placement-rightBottom,
@@ -29,8 +29,6 @@ var OpenMenu = props => {
29
29
  var className = props.className,
30
30
  dataSource = props.dataSource,
31
31
  style = props.style,
32
- _props$theme = props.theme,
33
- theme = _props$theme === void 0 ? 'dark' : _props$theme,
34
32
  onMenuClick = props.onMenuClick;
35
33
  var _ref = dataSource || {},
36
34
  menus = _ref.menus,
@@ -142,10 +140,7 @@ var OpenMenu = props => {
142
140
  className: cls,
143
141
  style: style,
144
142
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Menu, {
145
- mode: "inline"
146
- // @ts-ignore
147
- ,
148
- theme: theme,
143
+ mode: "inline",
149
144
  selectedKeys: selectedKeys,
150
145
  openKeys: openKeys,
151
146
  items: itemsTransform,
@@ -6,7 +6,6 @@ export interface OpenMenuPropsType {
6
6
  /** 是否是折叠模式的菜单 */
7
7
  sideMenu?: boolean;
8
8
  };
9
- theme: string;
10
9
  [key: string]: any;
11
10
  }
12
11
  export interface StatePropsType {
@@ -1,7 +1,6 @@
1
1
  @import '../../../../../../style/variables.less';
2
2
 
3
3
  .pro-layout-open-menu {
4
- color: #fff;
5
4
 
6
5
  .@{ant-prefix}-menu-root {
7
6
  overflow-y: auto !important;
@@ -12,10 +11,6 @@
12
11
  }
13
12
 
14
13
  & > .@{ant-prefix}-menu-submenu {
15
- .@{ant-prefix}-menu-sub {
16
- background: #1a202d;
17
- }
18
-
19
14
  & > .@{ant-prefix}-menu-sub > .@{ant-prefix}-menu-submenu > .@{ant-prefix}-menu-submenu-title,
20
15
  & > .@{ant-prefix}-menu-item-only-child,
21
16
  & > .@{ant-prefix}-menu-sub > .@{ant-prefix}-menu-item-only-child {
@@ -58,34 +53,16 @@
58
53
  .@{ant-prefix}-menu-item,
59
54
  .@{ant-prefix}-menu-submenu-title {
60
55
  &:hover {
61
- background: var(--ant-primary-8, #003eb3);
62
-
63
- h2 {
64
- color: #fff;
65
- }
56
+ background: transparent;
66
57
  }
67
58
  }
68
59
 
69
- .@{ant-prefix}-menu.@{ant-prefix}-menu-dark {
70
- overflow-x: hidden;
71
- background: #1a202d;
72
-
73
- .@{ant-prefix}-menu-item-only-child {
74
- &:hover {
75
- background: var(--ant-primary-8, #003eb3);
76
-
77
- h2 {
78
- color: #fff;
79
- }
80
- }
81
- }
82
- }
83
60
 
84
61
  .@{ant-prefix}-menu-item-selected {
85
- background: var(--zaui-brand, #006aff) !important;
62
+ background: transparent !important;
86
63
 
87
64
  h2 {
88
- color: #fff !important;
65
+ color: var(--zaui-brand, #006aff) !important;
89
66
  }
90
67
  }
91
68
 
@@ -109,7 +86,7 @@
109
86
  flex: 0 0 20px;
110
87
  width: 20px;
111
88
  height: 20px;
112
- color: #cacaca;
89
+ color: var(--zaui-text, #343434);
113
90
  }
114
91
 
115
92
  h2 {
@@ -117,7 +94,7 @@
117
94
  flex-grow: 1;
118
95
  margin-bottom: 0;
119
96
  padding-left: 12px;
120
- color: #cacaca;
97
+ color: var(--zaui-text, #343434);
121
98
  font-weight: 400;
122
99
  font-size: var(--zaui-font-size-md, 14px);
123
100
  opacity: 1;
@@ -128,26 +105,26 @@
128
105
 
129
106
  .anticon-caret-down {
130
107
  top: auto;
131
- color: #cacaca;
108
+ color: #999;
132
109
  transform: rotateZ(0deg);
133
110
  transition: all 0.1s ease-in;
134
111
  }
135
112
 
136
113
  .@{ant-prefix}-menu-submenu-open {
137
114
  .anticon-caret-down {
138
- color: #fff;
115
+ color: var(--zaui-text, #343434);
139
116
  transform: rotateZ(180deg);
140
117
  }
141
118
 
142
119
  .@{ant-prefix}-menu-submenu-inline {
143
120
  .anticon-caret-down {
144
- color: #cacaca;
121
+ color: #999;
145
122
  transform: rotateZ(0deg);
146
123
  }
147
124
 
148
125
  &.@{ant-prefix}-menu-submenu-open {
149
126
  .anticon-caret-down {
150
- color: #fff;
127
+ color: var(--zaui-text, #343434);
151
128
  transform: rotateZ(180deg);
152
129
  }
153
130
  }
@@ -157,7 +134,7 @@
157
134
  .@{ant-prefix}-menu-submenu:hover
158
135
  > .@{ant-prefix}-menu-submenu-title
159
136
  > .@{ant-prefix}-menu-submenu-expand-icon {
160
- color: #fff;
137
+ color: var(--zaui-text, #343434);
161
138
  }
162
139
 
163
140
  .@{ant-prefix}-menu-item-selected{
@@ -172,22 +149,22 @@
172
149
  & > .@{ant-prefix}-menu-submenu-title {
173
150
  .@{ant-prefix}-menu-title-content div {
174
151
  .pro-layout-icon {
175
- color: #fff;
152
+ color: var(--zaui-brand, #006aff);
176
153
  }
177
154
 
178
155
  h2 {
179
- color: #fff;
156
+ color: var(--zaui-brand, #006aff);
180
157
  }
181
158
  }
182
159
  }
183
160
 
184
161
  .@{ant-prefix}-menu-item-only-child .@{ant-prefix}-menu-title-content div {
185
162
  .pro-layout-icon {
186
- color: #cacaca;
163
+ color: var(--zaui-text, #343434);
187
164
  }
188
165
 
189
166
  h2 {
190
- color: #cacaca;
167
+ color: var(--zaui-text, #343434);
191
168
  font-weight: 400;
192
169
  }
193
170
  }
@@ -31,7 +31,6 @@ var SideMenu = props => {
31
31
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
32
32
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_OpenMenu.default, {
33
33
  className: "pro-layout-sider-menu-list",
34
- theme: "light",
35
34
  onMenuClick: onMenuClick,
36
35
  dataSource: {
37
36
  menus: (menus === null || menus === void 0 ? void 0 : menus.children) || [],
@@ -39,7 +38,7 @@ var SideMenu = props => {
39
38
  sideMenu: true
40
39
  },
41
40
  style: {
42
- height: `calc(100vh - ${headerHeight + (notice ? 32 : 0) + ((size === null || size === void 0 ? void 0 : size.height) || 0)}px)`
41
+ height: `calc(100vh - ${headerHeight + (notice ? 32 : 0) + ((size === null || size === void 0 ? void 0 : size.height) || 0) + 12}px)`
43
42
  }
44
43
  })
45
44
  })]
@@ -3,12 +3,12 @@
3
3
  .pro-layout-sider-menu {
4
4
  width: 220px;
5
5
  background: #fff;
6
+ border-radius: 8px;
6
7
 
7
8
  h2 {
8
9
  margin-bottom: 0;
9
10
  padding: 16px 16px 8px;
10
11
  color: var(--zaui-text, #343434);
11
- color: var(--zaui-text);
12
12
  font-weight: 500;
13
13
  font-size: var(--zaui-font-size-lg, 16px);
14
14
  line-height: inherit;
@@ -80,8 +80,7 @@
80
80
 
81
81
  .@{ant-prefix}-menu-submenu-title:hover,
82
82
  .@{ant-prefix}-menu-item:hover {
83
- color: #fff;
84
- background-color: #f2f2f2;
83
+ background-color: transparent;
85
84
  }
86
85
 
87
86
  .@{ant-prefix}-menu-item {
@@ -20,7 +20,6 @@ var Menu = props => {
20
20
  notice = _ref.notice,
21
21
  onToggle = _ref.onToggle,
22
22
  pure = _ref.pure,
23
- theme = _ref.theme,
24
23
  sideMenuFooterRender = _ref.sideMenuFooterRender,
25
24
  sideMenuHeaderRender = _ref.sideMenuHeaderRender,
26
25
  onMenuClick = _ref.onMenuClick;
@@ -40,7 +39,7 @@ var Menu = props => {
40
39
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
41
40
  className: menuCls,
42
41
  style: {
43
- top: notice ? 80 + headerHeight - 48 : headerHeight
42
+ top: notice ? 96 + headerHeight - 64 : headerHeight
44
43
  },
45
44
  children: [sideMenuHeaderRender, /*#__PURE__*/(0, _jsxRuntime.jsx)(_OpenMenu.default, {
46
45
  dataSource: {
@@ -48,7 +47,6 @@ var Menu = props => {
48
47
  iconfontUrl,
49
48
  height: headerHeight + (notice ? 32 : 0) + 48
50
49
  },
51
- theme: theme,
52
50
  onMenuClick: onMenuClick,
53
51
  style: {
54
52
  display: collapsed ? 'block' : 'none'
@@ -4,6 +4,8 @@
4
4
 
5
5
  /** 侧边栏 + 内容区 */
6
6
  .pro-layout-row {
7
+ display: flex;
8
+ flex: 1;
7
9
  flex-direction: column;
8
10
 
9
11
  .pro-layout-menu-open {
@@ -61,52 +63,40 @@
61
63
  }
62
64
  }
63
65
 
64
- &.pro-layout-has-notice {
66
+ &.pro-layout-row-has-notice {
65
67
  .pro-layout-menu {
66
- top: 80px;
68
+ top: 96px;
67
69
 
68
70
  #nav-list {
69
- height: calc(100vh - 128px);
71
+ height: calc(100vh - 144px);
70
72
  }
71
73
  }
72
74
 
73
75
  .pro-layout-content {
74
- min-height: calc(100vh - 80px);
75
- margin-top: 80px;
76
+ margin-top: 96px;
76
77
  }
77
78
  }
78
79
 
79
80
  .pro-layout-menu {
80
81
  position: fixed;
81
- top: 48px;
82
+ top: 64px;
82
83
  left: 0;
83
- z-index: 99;
84
+ z-index: 50;
84
85
  width: 48px;
85
86
  height: 100vh;
86
87
  min-height: 100%;
87
88
  padding: 0;
88
89
  overflow-x: hidden;
89
90
  overflow-y: auto;
90
- background-color: #1a202d;
91
+ background-color: #F7F9FD;
91
92
  transition: background 0.3s, width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;
92
93
 
93
94
  &.pro-layout-menu-open {
94
95
  width: 220px;
96
+ background-color: #F7F9FD;
95
97
  }
96
98
  }
97
99
 
98
- /** 内容区 */
99
- .pro-layout-content {
100
- z-index: 1;
101
- flex: auto;
102
- flex: auto;
103
- min-height: calc(100vh - 48px);
104
- margin-top: 48px;
105
- margin-left: 48px;
106
- padding: 0 var(--zaui-space-size-md, 16px);
107
- transition: all 0.3s ease-in-out;
108
- }
109
-
110
100
  .pro-layout-menu.pro-layout-menu-open .pro-layout-menu-collapsed {
111
101
  left: 0;
112
102
  width: 220px;
@@ -126,12 +116,12 @@
126
116
  justify-content: center;
127
117
  width: 48px;
128
118
  height: 48px;
129
- background: #292f3b;
119
+ background: #F7F9FD;
130
120
  transition: all 0.3s ease;
131
121
  }
132
122
 
133
123
  .pro-layout-menu .pro-layout-menu-collapsed:hover {
134
- background-color: rgba(185, 185, 189, 0.1);
124
+ background-color: rgba(0, 106, 255, 0.08);
135
125
  }
136
126
 
137
127
  .pro-layout-menu .pro-layout-menu-collapsed img {
@@ -1,39 +1,37 @@
1
+ /** 告知区 */
2
+ .pro-layout-header-notice {
3
+ position: fixed;
4
+ top: 64px;
5
+ z-index: 6;
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ width: 100%;
10
+ min-height: 32px;
11
+ color: var(--zaui-text, #343434);
12
+ line-height: 32px;
13
+ text-align: center;
14
+ background: transparent;
1
15
 
2
- /** 告知区 */
3
- .pro-layout-header-notice {
4
- position : fixed;
5
- top : 48px;
6
- z-index : 101;
7
- display : flex;
8
- align-items : center;
9
- justify-content: center;
10
- width : 100%;
11
- min-height : 32px;
12
- color : var(--zaui-text, #343434);
13
- line-height : 32px;
14
- text-align : center;
15
- background : var(--ant-primary-1, #e6f4ff);
16
+ img {
17
+ width: 16px;
18
+ margin-right: var(--zaui-space-size-sm, 8px);
19
+ }
20
+ a {
21
+ color: var(--zaui-brand, #006aff);
22
+ text-decoration: none;
23
+ }
16
24
 
25
+ .pro-layout-header-notice-close {
26
+ position: absolute;
27
+ right: 0;
28
+ display: block;
29
+ padding: 0 var(--zaui-space-size-md, 16px);
30
+ cursor: pointer;
17
31
 
18
32
  img {
19
- width : 16px;
20
- margin-right: var(--zaui-space-size-sm, 8px);
21
- }
22
- a {
23
- color: var(--zaui-brand, #006aff);
24
- text-decoration: none;
25
- }
26
-
27
- .pro-layout-header-notice-close {
28
- position: absolute;
29
- right : 0;
30
- display : block;
31
- padding : 0 var(--zaui-space-size-md, 16px);
32
- cursor : pointer;
33
-
34
- img {
35
- width : 12px;
36
- margin-right: 0;
37
- }
33
+ width: 12px;
34
+ margin-right: 0;
38
35
  }
39
36
  }
37
+ }
@@ -61,6 +61,7 @@
61
61
  padding-top: var(--zaui-space-size-sm, 8px);
62
62
  padding-bottom: 0;
63
63
  background: var(--zaui-base-bg, #ffffff);
64
+ border: 1px solid #ebecee;
64
65
  }
65
66
  }
66
67
 
@@ -100,6 +101,7 @@
100
101
 
101
102
  .pro-collapse-content {
102
103
  padding: var(--zaui-space-size-md, 16px) !important;
104
+ border: none !important;
103
105
  }
104
106
 
105
107
  .pro-collapse-level2-collapse {
@@ -49,7 +49,7 @@ var ProFooter = props => {
49
49
  className: cls,
50
50
  style: _objectSpread({
51
51
  zIndex,
52
- width: `calc(100% - ${size === null || size === void 0 ? void 0 : size.width}px)`
52
+ width: `calc(100% - ${(size === null || size === void 0 ? void 0 : size.width) + 1}px)`
53
53
  }, props.style),
54
54
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Space, {
55
55
  children: children