zmdms-webui 2.3.1 → 2.3.2

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 (218) hide show
  1. package/dist/index.es.css +1 -1
  2. package/dist/index.es.js +1 -0
  3. package/package.json +1 -1
  4. package/dist/es/alert/alert.d.ts +0 -5
  5. package/dist/es/alert/index.css +0 -1
  6. package/dist/es/alert/index.d.ts +0 -5
  7. package/dist/es/alert/interface.d.ts +0 -14
  8. package/dist/es/applayout/appLayout.d.ts +0 -11
  9. package/dist/es/applayout/index.css +0 -1
  10. package/dist/es/applayout/index.d.ts +0 -5
  11. package/dist/es/applayoutheader/appLayoutHeader.d.ts +0 -16
  12. package/dist/es/applayoutheader/index.d.ts +0 -5
  13. package/dist/es/applayoutsider/appLayoutSider.d.ts +0 -57
  14. package/dist/es/applayoutsider/index.d.ts +0 -5
  15. package/dist/es/authloading/authLoading.d.ts +0 -5
  16. package/dist/es/authloading/index.css +0 -1
  17. package/dist/es/authloading/index.d.ts +0 -5
  18. package/dist/es/button/button.d.ts +0 -5
  19. package/dist/es/button/buttonDownload.d.ts +0 -25
  20. package/dist/es/button/buttonExport.d.ts +0 -15
  21. package/dist/es/button/buttonFullScreen.d.ts +0 -9
  22. package/dist/es/button/buttonPreview.d.ts +0 -26
  23. package/dist/es/button/index.css +0 -1
  24. package/dist/es/button/index.d.ts +0 -5
  25. package/dist/es/button/interface.d.ts +0 -34
  26. package/dist/es/calendar/index.d.ts +0 -7
  27. package/dist/es/collapse/collapse.d.ts +0 -7
  28. package/dist/es/collapse/index.d.ts +0 -5
  29. package/dist/es/collapse/interface.d.ts +0 -25
  30. package/dist/es/config/ZtxkContext.d.ts +0 -32
  31. package/dist/es/container/container.d.ts +0 -51
  32. package/dist/es/container/index.d.ts +0 -5
  33. package/dist/es/datepicker/index.d.ts +0 -48
  34. package/dist/es/datepicker/interface.d.ts +0 -56
  35. package/dist/es/descriptions/descriptions.d.ts +0 -5
  36. package/dist/es/descriptions/index.d.ts +0 -5
  37. package/dist/es/descriptions/interface.d.ts +0 -12
  38. package/dist/es/detaillist/index.d.ts +0 -5
  39. package/dist/es/detaillist/item.d.ts +0 -35
  40. package/dist/es/detaillist/list.d.ts +0 -17
  41. package/dist/es/differences/differences.d.ts +0 -5
  42. package/dist/es/differences/index.d.ts +0 -5
  43. package/dist/es/differences/interface.d.ts +0 -17
  44. package/dist/es/dynamicsetting/dynamicSetting.d.ts +0 -6
  45. package/dist/es/dynamicsetting/index.d.ts +0 -5
  46. package/dist/es/dynamicsetting/interface.d.ts +0 -43
  47. package/dist/es/electronsignatures/index.d.ts +0 -6
  48. package/dist/es/electronsignatures/interface.d.ts +0 -500
  49. package/dist/es/enhanceselect/enhance-select.d.ts +0 -6
  50. package/dist/es/enhanceselect/index.d.ts +0 -5
  51. package/dist/es/enhanceselect/interface.d.ts +0 -71
  52. package/dist/es/footer/footer.d.ts +0 -6
  53. package/dist/es/footer/index.d.ts +0 -5
  54. package/dist/es/footer/interface.d.ts +0 -34
  55. package/dist/es/form/form.d.ts +0 -18
  56. package/dist/es/form/index.d.ts +0 -5
  57. package/dist/es/form/interface.d.ts +0 -91
  58. package/dist/es/formitem/formItem.d.ts +0 -115
  59. package/dist/es/formitem/index.d.ts +0 -5
  60. package/dist/es/icon/icon-oss.d.ts +0 -6
  61. package/dist/es/icon/index.d.ts +0 -6
  62. package/dist/es/input/TextArea.d.ts +0 -13
  63. package/dist/es/input/index.d.ts +0 -5
  64. package/dist/es/input/input.d.ts +0 -23
  65. package/dist/es/inputnumber/index.d.ts +0 -5
  66. package/dist/es/inputnumber/inputNumber.d.ts +0 -28
  67. package/dist/es/inputnumber/interface.d.ts +0 -4
  68. package/dist/es/leftcontent/index.d.ts +0 -5
  69. package/dist/es/leftcontent/leftContent.d.ts +0 -31
  70. package/dist/es/login/index.css +0 -1
  71. package/dist/es/login/index.d.ts +0 -37
  72. package/dist/es/message/index.d.ts +0 -5
  73. package/dist/es/microloading/index.d.ts +0 -5
  74. package/dist/es/microloading/micro-loading.d.ts +0 -8
  75. package/dist/es/modal/index.d.ts +0 -5
  76. package/dist/es/modal/interface.d.ts +0 -91
  77. package/dist/es/modal/modal.d.ts +0 -5
  78. package/dist/es/notauthpage/index.d.ts +0 -5
  79. package/dist/es/notauthpage/notAuthPage.d.ts +0 -8
  80. package/dist/es/notroutepage/index.d.ts +0 -5
  81. package/dist/es/notroutepage/notRoutePage.d.ts +0 -8
  82. package/dist/es/operationbtn/index.d.ts +0 -5
  83. package/dist/es/operationbtn/interface.d.ts +0 -34
  84. package/dist/es/operationbtn/operationBtn.d.ts +0 -6
  85. package/dist/es/pagination/index.d.ts +0 -5
  86. package/dist/es/pagination/pagination.d.ts +0 -8
  87. package/dist/es/placeholder/index.d.ts +0 -5
  88. package/dist/es/placeholder/interface.d.ts +0 -12
  89. package/dist/es/placeholder/placeholder.d.ts +0 -5
  90. package/dist/es/print/index.d.ts +0 -5
  91. package/dist/es/print/interface.d.ts +0 -69
  92. package/dist/es/print/print-page.d.ts +0 -6
  93. package/dist/es/print/print.d.ts +0 -5
  94. package/dist/es/protectedroute/index.d.ts +0 -24
  95. package/dist/es/select/hooks.d.ts +0 -16
  96. package/dist/es/select/index.d.ts +0 -5
  97. package/dist/es/select/interface.d.ts +0 -82
  98. package/dist/es/select/select-render.d.ts +0 -31
  99. package/dist/es/select/select.d.ts +0 -5
  100. package/dist/es/sortable/index.d.ts +0 -5
  101. package/dist/es/sortable/sortable-item.d.ts +0 -14
  102. package/dist/es/sortable/sortable.d.ts +0 -13
  103. package/dist/es/suspensecomponent/index.d.ts +0 -10
  104. package/dist/es/table/components/Badge.d.ts +0 -24
  105. package/dist/es/table/components/TitleDirectionColumn.d.ts +0 -11
  106. package/dist/es/table/constant.d.ts +0 -3
  107. package/dist/es/table/index.d.ts +0 -5
  108. package/dist/es/table/interface.d.ts +0 -613
  109. package/dist/es/table/table.d.ts +0 -11
  110. package/dist/es/tabs/index.d.ts +0 -5
  111. package/dist/es/tabs/interface.d.ts +0 -52
  112. package/dist/es/tabs/tabs.d.ts +0 -5
  113. package/dist/es/tag/index.d.ts +0 -5
  114. package/dist/es/tag/interface.d.ts +0 -9
  115. package/dist/es/tag/tag.d.ts +0 -5
  116. package/dist/es/timepicker/index.d.ts +0 -19
  117. package/dist/es/title/index.d.ts +0 -5
  118. package/dist/es/title/interface.d.ts +0 -35
  119. package/dist/es/title/title.d.ts +0 -5
  120. package/dist/es/tree/index.d.ts +0 -5
  121. package/dist/es/tree/interface.d.ts +0 -44
  122. package/dist/es/tree/tree.d.ts +0 -5
  123. package/dist/es/treeselect/index.d.ts +0 -5
  124. package/dist/es/treeselect/interface.d.ts +0 -32
  125. package/dist/es/treeselect/treeSelect.d.ts +0 -5
  126. package/dist/es/uploadlist/index.d.ts +0 -5
  127. package/dist/es/uploadlist/interface.d.ts +0 -113
  128. package/dist/es/uploadlist/uploadList.d.ts +0 -5
  129. package/dist/es/watermark/index.d.ts +0 -5
  130. package/dist/es/watermark/interface.d.ts +0 -23
  131. package/dist/es/watermark/watermark.d.ts +0 -5
  132. package/dist/es/zttransfer/index.d.ts +0 -5
  133. package/dist/es/zttransfer/interface.d.ts +0 -38
  134. package/dist/es/zttransfer/zt-transfer.d.ts +0 -6
  135. package/dist/index.build.d.ts +0 -67
  136. package/dist/index.dark.css +0 -2
  137. package/dist/index.default.css +0 -2
  138. package/dist/less/components/Alert/style/index.less +0 -53
  139. package/dist/less/components/Alert/style/style.less +0 -4
  140. package/dist/less/components/AppLayout/style/index.less +0 -546
  141. package/dist/less/components/AppLayout/style/style.less +0 -2
  142. package/dist/less/components/AppLayout/style.less +0 -5
  143. package/dist/less/components/AuthLoading/style/index.less +0 -15
  144. package/dist/less/components/AuthLoading/style/style.less +0 -2
  145. package/dist/less/components/Button/style/index.less +0 -160
  146. package/dist/less/components/Button/style/style.less +0 -5
  147. package/dist/less/components/CanvasTable/style/index.less +0 -106
  148. package/dist/less/components/Cascader/style/index.less +0 -9
  149. package/dist/less/components/Cascader/style/style.less +0 -2
  150. package/dist/less/components/Collapse/style/index.less +0 -117
  151. package/dist/less/components/Collapse/style/style.less +0 -2
  152. package/dist/less/components/Container/style/index.less +0 -64
  153. package/dist/less/components/Container/style/style.less +0 -2
  154. package/dist/less/components/DatePicker/style/index.less +0 -7
  155. package/dist/less/components/DatePicker/style/style.less +0 -4
  156. package/dist/less/components/Descriptions/style/index.less +0 -32
  157. package/dist/less/components/Descriptions/style/style.less +0 -5
  158. package/dist/less/components/DetailList/style/index.less +0 -105
  159. package/dist/less/components/DetailList/style/style.less +0 -2
  160. package/dist/less/components/Differences/style/index.less +0 -5
  161. package/dist/less/components/Differences/style/style.less +0 -2
  162. package/dist/less/components/DynamicSetting/style/index.less +0 -96
  163. package/dist/less/components/DynamicSetting/style/style.less +0 -2
  164. package/dist/less/components/ElectronSignatures/style/index.less +0 -331
  165. package/dist/less/components/ElectronSignatures/style/style.less +0 -1
  166. package/dist/less/components/Footer/style/index.less +0 -28
  167. package/dist/less/components/Footer/style/style.less +0 -2
  168. package/dist/less/components/Form/style/index.less +0 -150
  169. package/dist/less/components/Form/style/style.less +0 -5
  170. package/dist/less/components/FormItem/style/index.less +0 -456
  171. package/dist/less/components/FormItem/style/style.less +0 -2
  172. package/dist/less/components/Input/style/index.less +0 -15
  173. package/dist/less/components/Input/style/style.less +0 -4
  174. package/dist/less/components/InputNumber/style/index.less +0 -30
  175. package/dist/less/components/InputNumber/style/style.less +0 -4
  176. package/dist/less/components/LeftContent/style/index.less +0 -62
  177. package/dist/less/components/LeftContent/style/style.less +0 -2
  178. package/dist/less/components/Login/style/index.less +0 -63
  179. package/dist/less/components/Login/style/style.less +0 -2
  180. package/dist/less/components/Message/style/index.less +0 -19
  181. package/dist/less/components/Message/style/style.less +0 -2
  182. package/dist/less/components/MicroLoading/style/index.less +0 -15
  183. package/dist/less/components/MicroLoading/style/style.less +0 -2
  184. package/dist/less/components/Modal/style/index.less +0 -43
  185. package/dist/less/components/Modal/style/style.less +0 -2
  186. package/dist/less/components/NotAuthPage/style/index.less +0 -0
  187. package/dist/less/components/NotAuthPage/style/style.less +0 -2
  188. package/dist/less/components/NotRoutePage/style/index.less +0 -0
  189. package/dist/less/components/NotRoutePage/style/style.less +0 -2
  190. package/dist/less/components/Pagination/style/index.less +0 -107
  191. package/dist/less/components/Pagination/style/style.less +0 -5
  192. package/dist/less/components/Placeholder/style/index.less +0 -3
  193. package/dist/less/components/Placeholder/style/style.less +0 -2
  194. package/dist/less/components/Print/style/index.less +0 -65
  195. package/dist/less/components/Print/style/style.less +0 -3
  196. package/dist/less/components/Select/style/index.less +0 -55
  197. package/dist/less/components/Select/style/style.less +0 -4
  198. package/dist/less/components/Table/style/index.less +0 -362
  199. package/dist/less/components/Table/style/style.less +0 -4
  200. package/dist/less/components/Tabs/style/index.less +0 -118
  201. package/dist/less/components/Tabs/style/style.less +0 -4
  202. package/dist/less/components/Tag/style/index.less +0 -3
  203. package/dist/less/components/Tag/style/style.less +0 -4
  204. package/dist/less/components/Title/style/index.less +0 -54
  205. package/dist/less/components/Title/style/style.less +0 -2
  206. package/dist/less/components/Tree/style/index.less +0 -58
  207. package/dist/less/components/Tree/style/style.less +0 -4
  208. package/dist/less/components/TreeSelect/style/index.less +0 -0
  209. package/dist/less/components/TreeSelect/style/style.less +0 -4
  210. package/dist/less/components/UploadList/style/index.less +0 -61
  211. package/dist/less/components/UploadList/style/style.less +0 -4
  212. package/dist/less/components/Watermark/style/index.less +0 -7
  213. package/dist/less/components/Watermark/style/style.less +0 -3
  214. package/dist/less/components/ZtTransfer/style/index.less +0 -136
  215. package/dist/less/components/ZtTransfer/style/style.less +0 -2
  216. package/dist/less/styles/default.less +0 -100
  217. package/dist/less/styles/index.less +0 -86
  218. package/dist/less/styles/reset.less +0 -189
@@ -1,53 +0,0 @@
1
- .zt-alert {
2
- border-radius: @border-radius;
3
- border: none;
4
- > .anticon {
5
- font-size: 16px;
6
- margin-right: 10px;
7
- }
8
- &.ant-alert-with-description {
9
- padding: 8px 15px;
10
- > .anticon {
11
- margin-top: 2px;
12
- font-size: 24px;
13
- }
14
- }
15
- &.zt-alert--margin-top {
16
- margin-top: @margin-base;
17
- }
18
- &.zt-alert--margin-bottom {
19
- margin-bottom: @margin-base;
20
- }
21
- &.ant-alert-success {
22
- background-color: @active-color;
23
- color: #fff;
24
- .anticon {
25
- color: #fff;
26
- }
27
- .ant-alert-message {
28
- color: #fff;
29
- }
30
- }
31
- &.ant-alert-error {
32
- background-color: @stress-color;
33
- color: #fff;
34
- .anticon {
35
- color: #fff;
36
- margin-top: 1px;
37
- }
38
- .ant-alert-message {
39
- color: #fff;
40
- }
41
- }
42
- &.ant-alert-info,
43
- &.ant-alert-warning {
44
- background-color: @global-color;
45
- color: @global-text-color;
46
- .anticon {
47
- color: @global-text-color;
48
- }
49
- .ant-alert-message {
50
- color: @global-text-color;
51
- }
52
- }
53
- }
@@ -1,4 +0,0 @@
1
- @import "antd/lib/alert/style/index.less";
2
-
3
- @import "../../../styles/default.less";
4
- @import "./index.less";
@@ -1,546 +0,0 @@
1
- .zmdms-container {
2
- background-color: @content-bg;
3
- .zmdms-sider {
4
- background-color: @primary-color;
5
- // background-image: url("../../assets/img/common/menu_bg.jpg");
6
- background-size: 100% auto;
7
- z-index: 102;
8
- background-repeat: no-repeat;
9
- background-size: cover;
10
- }
11
- .zmdms-content {
12
- background-color: @content-bg;
13
- }
14
- // 头部内容
15
- .zmdms-content--header {
16
- padding: 0;
17
- background: @bg-white;
18
- height: @header-height;
19
- line-height: @header-height;
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- padding-left: 10px;
24
- .ant-tabs {
25
- flex: 1;
26
- margin-top: 8px;
27
- width: calc(100% - 350px);
28
- .ant-tabs-tab {
29
- > div {
30
- padding: 0;
31
- }
32
- a {
33
- display: inline-block;
34
- // padding: 0 5px 0 10px;
35
- padding: 0 10px 0 20px;
36
- color: #768696;
37
- }
38
- }
39
- .ant-tabs-nav {
40
- margin-bottom: 0;
41
- }
42
- }
43
- }
44
- .zmdms-content--content {
45
- height: calc(100vh - @header-height);
46
- position: relative;
47
- }
48
- .zmdms-content--header-info {
49
- display: flex;
50
- height: 48px;
51
- color: @_color_black_1;
52
- max-width: 350px;
53
- .full-screen {
54
- width: 36px;
55
- text-align: center;
56
- cursor: pointer;
57
- }
58
- .user-operation {
59
- padding: 0 12px;
60
- cursor: pointer;
61
- display: flex;
62
- align-items: center;
63
- &:hover {
64
- background-color: rgb(247, 247, 247);
65
- }
66
- > span:last-child {
67
- color: @_color_black_1;
68
- margin-left: 8px;
69
- display: inline-block;
70
- width: 70px;
71
- overflow: hidden;
72
- white-space: nowrap;
73
- text-overflow: ellipsis;
74
- }
75
- }
76
- }
77
- }
78
-
79
- .zmdms-menu {
80
- display: flex;
81
- flex-direction: column;
82
- height: 100vh;
83
- // logo容器
84
- .zmdms-logo {
85
- display: block;
86
- padding: 9px 0 5px 0;
87
- height: 48px;
88
- display: flex;
89
- align-items: center;
90
- &.zmdms-logo--line {
91
- position: relative;
92
- z-index: 1000;
93
- &::after {
94
- content: "";
95
- position: absolute;
96
- width: 1px;
97
- height: 29px;
98
- background: #505cbe;
99
- right: -0.5px;
100
- }
101
- }
102
- > img {
103
- margin: 0 auto;
104
- display: block;
105
- width: 78px;
106
- }
107
- }
108
- // 搜索框
109
- .zmdms-menu--search {
110
- background-color: rgba(91, 138, 246, 0.4);
111
- position: relative;
112
- > input {
113
- background-color: rgba(91, 138, 246, 0.4);
114
- border: none;
115
- color: #fff;
116
- line-height: 36px;
117
- height: 36px;
118
- font-size: @font-size-text;
119
- &::placeholder {
120
- color: #fff;
121
- font-size: @font-size-text;
122
- }
123
- }
124
- .zmdms-menu--search__icon {
125
- position: absolute;
126
- right: 0;
127
- top: 3px;
128
- color: #fff;
129
- font-size: 16px;
130
- display: flex;
131
- align-items: center;
132
- justify-content: center;
133
- width: 30px;
134
- height: 30px;
135
- cursor: pointer;
136
- }
137
- }
138
- // 菜单著容器
139
- .zmdms-menu--main {
140
- background: transparent;
141
- border-right: none;
142
- flex: 1;
143
- overflow-y: auto;
144
- overflow-x: hidden;
145
- // 无背景
146
- &.zmdms-menu--main-hide-bg {
147
- .ant-menu-item-selected {
148
- background: #1566d2 !important;
149
- }
150
- }
151
- // 菜单换行显示
152
- &.zmdms-menu--main-item-line {
153
- .ant-menu-item {
154
- min-height: 36px;
155
- height: auto !important;
156
- line-height: 20px !important;
157
- .ant-menu-title-content {
158
- width: 100%;
159
- word-wrap: break-word;
160
- white-space: pre-wrap;
161
- display: inline-block;
162
- height: auto !important;
163
- text-overflow: unset !important;
164
- }
165
- }
166
- }
167
- > .ant-menu-submenu {
168
- color: @text-white;
169
- &.ant-menu-submenu-open {
170
- > .ant-menu-submenu-title {
171
- color: #fff;
172
- }
173
- }
174
- > .ant-menu-submenu-title {
175
- padding: 0;
176
- margin: 0;
177
- height: 36px;
178
- line-height: 36px;
179
- display: flex;
180
- align-items: center;
181
- background-color: #5b76f5;
182
- background-color: rgba(91, 138, 246, 0.4);
183
- backdrop-filter: blur(4px);
184
- font-size: @font-size-text;
185
- color: rgba(255, 255, 255, 0.65);
186
- .ant-menu-submenu-arrow {
187
- color: rgba(255, 255, 255, 0.65);
188
- right: 6px;
189
- }
190
- .ant-menu-title-content {
191
- flex: none;
192
- width: 88%;
193
- }
194
- &:hover {
195
- color: @text-white;
196
- .ant-menu-submenu-arrow {
197
- color: @text-white;
198
- }
199
- }
200
- }
201
- .ant-menu-sub.ant-menu-inline {
202
- background: transparent;
203
- }
204
- .ant-menu-sub {
205
- > .ant-menu-item {
206
- font-size: @font-size-text;
207
- height: @menu-height;
208
- line-height: @menu-height;
209
- margin: 0;
210
- color: @menu-color;
211
- display: flex;
212
- align-items: center;
213
- // padding-left: 15px !important;
214
- a {
215
- color: inherit;
216
- }
217
- &:active {
218
- background: transparent;
219
- }
220
- &:hover {
221
- color: @text-white;
222
- }
223
- &:not(:last-child) {
224
- margin-bottom: 0;
225
- }
226
- &.ant-menu-item-selected {
227
- // UI审查 1566d2 => 5b76f5
228
- background: #5b76f5;
229
- color: @text-white;
230
- width: 100%;
231
- &::after {
232
- border-right: none;
233
- }
234
- }
235
- }
236
- }
237
- }
238
- /* 浏览器滚动条样式 */
239
- &::-webkit-scrollbar {
240
- width: 6px;
241
- height: 4px;
242
- }
243
- &::-webkit-scrollbar-track {
244
- background: rgba(255, 255, 255, 0);
245
- border-radius: 4px;
246
- }
247
- &::-webkit-scrollbar-thumb {
248
- background: @menu-scrollbar-bg;
249
- border-radius: 4px;
250
- }
251
- &::-webkit-scrollbar-thumb:hover {
252
- background: @menu-scrollbar-bg;
253
- }
254
- > .ant-menu-item {
255
- font-size: @font-size-text;
256
- height: @menu-height;
257
- line-height: @menu-height;
258
- margin: 0;
259
- color: @menu-color;
260
- display: flex;
261
- align-items: center;
262
- a {
263
- color: inherit;
264
- }
265
- &:active {
266
- background: transparent;
267
- }
268
- &:hover {
269
- color: @text-white;
270
- }
271
- &:not(:last-child) {
272
- margin-bottom: 0;
273
- }
274
- &.ant-menu-item-selected {
275
- background: @primary-color;
276
- color: @text-white;
277
- width: 100%;
278
- &::after {
279
- border-right: none;
280
- }
281
- }
282
- }
283
- }
284
- }
285
-
286
- // 二级菜单
287
- .zmdms-menu--sub {
288
- padding: 0;
289
- .ant-drawer-content {
290
- overflow: hidden;
291
- background: transparent;
292
- background-size: cover;
293
- background-repeat: no-repeat;
294
- background-position: 100%;
295
- .ant-menu {
296
- background: transparent;
297
- color: #fff;
298
- }
299
- }
300
- &.ant-drawer-left > .ant-drawer-content-wrapper {
301
- left: -1px;
302
- }
303
- .ant-drawer-header {
304
- padding: 0;
305
- border-bottom: none;
306
- background: transparent;
307
- .ant-drawer-header-title {
308
- height: 48px;
309
- // padding: 0 10px;
310
- color: #fff;
311
- display: flex;
312
- align-items: center;
313
- justify-content: center;
314
- .ant-drawer-title {
315
- color: #fff;
316
- font-size: 14px;
317
- display: flex;
318
- align-items: center;
319
- justify-content: center;
320
- img {
321
- width: 118px;
322
- }
323
- }
324
- }
325
- }
326
-
327
- &.zmdms-menu--sub-margin .ant-drawer-body {
328
- // margin-top: 48px;
329
- }
330
- .ant-drawer-body {
331
- padding: 0px;
332
- font-size: @font-size-text;
333
- // border-top: 1px solid #5670ea;
334
- background: rgba(91, 118, 245, 0.4);
335
- backdrop-filter: blur(2px);
336
- overflow-x: hidden;
337
- /* 浏览器滚动条样式 */
338
- &::-webkit-scrollbar {
339
- width: 6px;
340
- height: 4px;
341
- }
342
- &::-webkit-scrollbar-track {
343
- background: rgba(255, 255, 255, 0);
344
- border-radius: 4px;
345
- }
346
- &::-webkit-scrollbar-thumb {
347
- background: @menu-scrollbar-bg;
348
- border-radius: 4px;
349
- }
350
- &::-webkit-scrollbar-thumb:hover {
351
- background: @menu-scrollbar-bg;
352
- }
353
- .ant-menu-submenu.ant-menu-submenu-inline {
354
- // UI审查 增加底部边框
355
- border-bottom: 1px solid rgba(141, 158, 255, 0.28);
356
- padding-bottom: 0;
357
- }
358
- .ant-menu-sub.ant-menu-inline {
359
- // background: #fff;
360
- background: transparent;
361
- // UI审查 0 5px => 0 10px;
362
- padding: 0 10px;
363
- }
364
- .ant-menu-sub.ant-menu-inline > .ant-menu-item,
365
- .ant-menu-item {
366
- // UI审查 行高修改
367
- height: @sub-menu-height;
368
- line-height: @sub-menu-height;
369
- // color: @submenu-color;
370
- color: #fff;
371
- display: flex;
372
- align-items: center;
373
- font-size: @font-size-text;
374
- border-radius: 4px;
375
- margin: 0;
376
- &:not(:last-child) {
377
- margin-bottom: 0;
378
- }
379
- a {
380
- color: #fff;
381
- }
382
- &:active {
383
- background: transparent;
384
- }
385
- &:last-child {
386
- margin-bottom: 10px;
387
- }
388
- }
389
- .ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title,
390
- .ant-menu-submenu-title {
391
- font-size: @font-size-text;
392
- height: 30px;
393
- line-height: 30px;
394
- font-weight: 700;
395
- // color: @submenu-color;
396
- color: #fff;
397
- .ant-menu-submenu-arrow {
398
- color: #fff;
399
- }
400
- &:hover {
401
- // color: @primary-color;
402
- color: #fff;
403
- .ant-menu-submenu-arrow {
404
- // color: @primary-color;
405
- color: #fff;
406
- }
407
- }
408
- &:active {
409
- background: transparent;
410
- }
411
- }
412
-
413
- .ant-menu-root > .ant-menu-item-only-child {
414
- margin-top: 2px;
415
- .ant-menu-title-content {
416
- font-weight: 700;
417
- }
418
- }
419
- .ant-menu-item-selected {
420
- color: @text-white;
421
- background-color: @menu-selected-bg !important;
422
- &::after {
423
- border-right: none;
424
- }
425
- }
426
- }
427
- .ant-drawer-footer {
428
- padding: 3px 10px;
429
- height: @footer-height;
430
- line-height: @footer-height;
431
- border-top: 1px solid #5670ea;
432
- background: rgba(91, 118, 245, 0.4);
433
- backdrop-filter: blur(2px);
434
- display: flex;
435
- align-items: center;
436
- justify-content: center;
437
- .zt-btn-link {
438
- color: #fff;
439
- }
440
- }
441
-
442
- // 无背景
443
- &.zmdms-menu--sub-hide-bg {
444
- .ant-drawer-content {
445
- background: #fff;
446
- .ant-menu {
447
- background: #fff;
448
- }
449
- }
450
- .ant-drawer-header {
451
- background: #fff;
452
- border-bottom: 1px solid #ebf3fe;
453
- }
454
- .ant-drawer-body {
455
- background: #fff;
456
- backdrop-filter: none;
457
- &::-webkit-scrollbar {
458
- width: 6px;
459
- height: 4px;
460
- }
461
- &::-webkit-scrollbar-track {
462
- background: #fff;
463
- border-radius: 4px;
464
- }
465
- &::-webkit-scrollbar-thumb {
466
- background: #8695a1;
467
- border-radius: 4px;
468
- }
469
- &::-webkit-scrollbar-thumb:hover {
470
- background: #727e88;
471
- }
472
- .ant-menu-sub.ant-menu-inline > .ant-menu-item,
473
- .ant-menu-item {
474
- color: rgba(0, 0, 0, 0.85);
475
- a {
476
- color: rgba(0, 0, 0, 0.85);
477
- &:hover {
478
- color: @primary-color;
479
- }
480
- }
481
- }
482
-
483
- .ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title,
484
- .ant-menu-submenu-title {
485
- font-size: @font-size-text;
486
- height: 30px;
487
- line-height: 30px;
488
- font-weight: 700;
489
- // color: @submenu-color;
490
- color: rgba(0, 0, 0, 0.65);
491
- .ant-menu-submenu-arrow {
492
- color: rgba(0, 0, 0, 0.85);
493
- }
494
- &:hover {
495
- color: @primary-color;
496
- .ant-menu-submenu-arrow {
497
- color: @primary-color;
498
- }
499
- }
500
- &:active {
501
- background: transparent;
502
- }
503
- }
504
-
505
- .ant-menu-item-selected {
506
- color: @link-color !important;
507
- background-color: #e6f7ff !important;
508
- }
509
- }
510
- .ant-drawer-footer {
511
- border-top: 1px solid #ebf3fe;
512
- background: none;
513
- backdrop-filter: none;
514
- .zt-btn-link {
515
- color: @link-color !important;
516
- }
517
- }
518
- }
519
- // 菜单换行显示
520
- &.zmdms-menu--sub-item-line {
521
- .ant-menu-item {
522
- min-height: 30px;
523
- height: auto !important;
524
- line-height: 20px !important;
525
- .ant-menu-title-content {
526
- width: 100%;
527
- word-wrap: break-word;
528
- white-space: pre-wrap;
529
- display: inline-block;
530
- height: auto !important;
531
- text-overflow: unset !important;
532
- }
533
- }
534
- }
535
- }
536
-
537
- .logout-spin {
538
- position: fixed;
539
- top: 0;
540
- left: 0;
541
- right: 0;
542
- bottom: 0;
543
- background-color: rgba(255, 255, 255, 0.7);
544
- z-index: 1000;
545
- padding-top: 100px;
546
- }
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";
@@ -1,5 +0,0 @@
1
- .zmdms-menu--sub {
2
- .ant-drawer-content {
3
- background-image: url("../../assets/img/menu_bg.png");
4
- }
5
- }
@@ -1,15 +0,0 @@
1
- .auth-loading {
2
- width: 100vw;
3
- height: 50vh;
4
- display: flex;
5
- align-items: center;
6
- justify-content: center;
7
- flex-direction: column;
8
- font-size: 20px;
9
- .ant-spin-dot {
10
- font-size: 18px;
11
- }
12
- .ant-spin-text {
13
- font-size: 20px;
14
- }
15
- }
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";