aldehyde 0.2.205 → 0.2.207
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/controls/action/index.css +9 -0
- package/lib/controls/chemstruc/index.css +28 -0
- package/lib/controls/collapse-card/index.css +9 -0
- package/lib/controls/color-picker/index.css +27 -0
- package/lib/controls/entity-select/index.css +6 -0
- package/lib/controls/password-setter/index.css +3 -0
- package/lib/controls/relation-existion/index.css +4 -0
- package/lib/controls/rfield/index.css +4 -0
- package/lib/detail/button/index.css +43 -0
- package/lib/detail/edit/post-result/index.d.ts +17 -0
- package/lib/detail/edit/post-result/index.d.ts.map +1 -0
- package/lib/detail/edit/post-result/index.js +33 -0
- package/lib/detail/edit/post-result/index.js.map +1 -0
- package/lib/detail/rightbar/index.css +35 -0
- package/lib/layout/footer/index.css +6 -0
- package/lib/layout/header/index.css +122 -0
- package/lib/layout/menu/block.css +7 -0
- package/lib/layout/sidebar/index.css +57 -0
- package/lib/layout/sidebar/logo.png +0 -0
- package/lib/layout2/css/header.css +38 -0
- package/lib/layout2/imgs/home.png +0 -0
- package/lib/login/vertify/index.css +144 -0
- package/lib/login2/img/login-bg.png +0 -0
- package/lib/table/column/index.css +14 -0
- package/lib/welcome/img/development.png +0 -0
- package/lib/welcome/img/pain-point.png +0 -0
- package/lib/welcome/img/target.png +0 -0
- package/lib/welcome/img/time-cost.png +0 -0
- package/lib/welcome/img/time-prograss.png +0 -0
- package/lib/welcome/img/welcome.png +0 -0
- package/package.json +2 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
5
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
6
|
+
sans-serif;
|
|
7
|
+
-webkit-font-smoothing: antialiased;
|
|
8
|
+
-moz-osx-font-smoothing: grayscale;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.chemstruc-edit-upload{
|
|
12
|
+
width: 230px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-upload-list-picture-card-container,
|
|
16
|
+
.ant-upload-select-picture-card{
|
|
17
|
+
width: 66px!important;
|
|
18
|
+
height:66px!important;
|
|
19
|
+
}
|
|
20
|
+
/*控制ketcher的选择工具栏的显示层级,modal为1000,所以此处为1020*/
|
|
21
|
+
.ToolbarMultiToolItem-module_portal__yDg5_{
|
|
22
|
+
z-index: 1020!important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
code {
|
|
26
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
27
|
+
monospace;
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
.color {
|
|
3
|
+
width: 108px;
|
|
4
|
+
height: 24px;
|
|
5
|
+
border-radius: 2px;
|
|
6
|
+
display: inline-block;
|
|
7
|
+
/*background: `rgba(${ this.state.color.r }, ${ this.state.color.g }, ${ this.state.color.b }, ${ this.state.color.a })`,*/
|
|
8
|
+
}
|
|
9
|
+
.swatch {
|
|
10
|
+
padding: 5px;
|
|
11
|
+
background: #fff;
|
|
12
|
+
border-radius: 1px;
|
|
13
|
+
box-shadow: 0 0 0 1px rgba(0,0,0,.1);
|
|
14
|
+
display: inline-block;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
.popover{
|
|
18
|
+
position: absolute;
|
|
19
|
+
z-index: 2;
|
|
20
|
+
}
|
|
21
|
+
.cover{
|
|
22
|
+
position: fixed;
|
|
23
|
+
top: 0px;
|
|
24
|
+
right: 0px;
|
|
25
|
+
bottom: 0px;
|
|
26
|
+
left: 0px;
|
|
27
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.submitButtonBar{
|
|
2
|
+
background: #fff;
|
|
3
|
+
/*position: absolute;*/
|
|
4
|
+
/*right:10px;*/
|
|
5
|
+
/*top:80px;*/
|
|
6
|
+
border:1px solid #e8e8e8;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
+
max-height:158px;
|
|
10
|
+
/*min-height:80px;*/
|
|
11
|
+
overflow:auto;
|
|
12
|
+
width:100px;
|
|
13
|
+
}
|
|
14
|
+
.submitButtonBar::-webkit-scrollbar {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.submitButtonBar ul{
|
|
18
|
+
padding:0;
|
|
19
|
+
margin:0;
|
|
20
|
+
}
|
|
21
|
+
.submitButtonBar li{
|
|
22
|
+
list-style-type: none;
|
|
23
|
+
padding:4px;
|
|
24
|
+
margin:0;
|
|
25
|
+
text-align: left;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
/*.rightBar li:hover{*/
|
|
30
|
+
/* background: #cfe3f5;*/
|
|
31
|
+
/*}*/
|
|
32
|
+
|
|
33
|
+
.btns button{
|
|
34
|
+
margin-right: 10px
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cquickTextButton {
|
|
38
|
+
cursor:pointer;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cquickTextButton:hover{
|
|
42
|
+
color: #1890ff;
|
|
43
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { AddOrUpdate, SaveJumpType } from "../../../tmpl/interface";
|
|
3
|
+
import { ResultStatusType } from "antd/lib/result";
|
|
4
|
+
interface PostResultProps {
|
|
5
|
+
title?: ReactNode;
|
|
6
|
+
subtitle?: ReactNode;
|
|
7
|
+
open: boolean;
|
|
8
|
+
jumpTypes: SaveJumpType[];
|
|
9
|
+
addOrUpdate: AddOrUpdate;
|
|
10
|
+
resultStatus?: ResultStatusType;
|
|
11
|
+
goAdd: () => void;
|
|
12
|
+
goEdit: () => void;
|
|
13
|
+
goList: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const PostResult: React.FC<PostResultProps>;
|
|
16
|
+
export default PostResult;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/detail/edit/post-result/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,UAAU,eAAe;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgEzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import React from "react";
|
|
13
|
+
import { Button, Modal, Result } from "antd";
|
|
14
|
+
import { useLocale } from "../../../locale/useLocale";
|
|
15
|
+
const PostResult = (_a) => {
|
|
16
|
+
var { resultStatus = "success" } = _a, props = __rest(_a, ["resultStatus"]);
|
|
17
|
+
const { title, open, subtitle, goAdd, goEdit, goList, jumpTypes, addOrUpdate, } = props;
|
|
18
|
+
const { translate } = useLocale();
|
|
19
|
+
return (React.createElement(Modal, { title: title ? title : translate("${保存提示}"), open: open, closable: false, destroyOnClose: true, footer: [], bodyStyle: { height: 430, overflow: "auto" }, width: 560, maskClosable: true },
|
|
20
|
+
React.createElement(Result, { status: resultStatus, title: resultStatus === "success"
|
|
21
|
+
? translate("${保存成功}")
|
|
22
|
+
: translate("${保存失败}"), subTitle: subtitle, extra: [
|
|
23
|
+
goAdd && jumpTypes && jumpTypes.includes("add") ? (React.createElement(Button, { key: "goOnAdd", onClick: () => goAdd() }, addOrUpdate === "update"
|
|
24
|
+
? translate("${转添加}")
|
|
25
|
+
: translate("${继续添加}"))) : (undefined),
|
|
26
|
+
goEdit && jumpTypes && jumpTypes.includes("edit") ? (React.createElement(Button, { type: "primary", key: "goOnEdit", onClick: () => goEdit() }, addOrUpdate === "update"
|
|
27
|
+
? translate("${继续编辑}")
|
|
28
|
+
: translate("${编辑实体}"))) : (""),
|
|
29
|
+
goList && jumpTypes && jumpTypes.includes("list") ? (React.createElement(Button, { type: "primary", key: "onBackList", onClick: () => goList() }, translate("${返回列表}"))) : (""),
|
|
30
|
+
] })));
|
|
31
|
+
};
|
|
32
|
+
export default PostResult;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/aldehyde/detail/edit/post-result/index.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AActD,MAAM,UAAU,GAA8B,CAAC,EAG9C,EAAE,EAAE;QAH0C,EAC7C,YAAY,GAAG,SAAS,OAEzB,EADI,KAAK,cAFqC,gBAG9C,CADS;IAER,MAAM,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAS,EACT,WAAW,GACZ,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAAC;IAClC,OAAO,CACL,oBAAC,KAAK,IACJ,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,EAC3C,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,KAAK,EACf,cAAc,QACd,MAAM,EAAE,EAAE,EACV,SAAS,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,EAC5C,KAAK,EAAE,GAAG,EACV,YAAY,EAAE,IAAI;QAElB,oBAAC,MAAM,IACL,MAAM,EAAE,YAAY,EACpB,KAAK,EACH,YAAY,KAAK,SAAS;gBACxB,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC;gBACtB,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,EAE1B,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE;gBACL,KAAK,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAChD,oBAAC,MAAM,IAAC,GAAG,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,IACzC,WAAW,KAAK,QAAQ;oBACvB,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACrB,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CACjB,CACV,CAAC,CAAC,CAAC,CACF,SAAS,CACV;gBACD,MAAM,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAClD,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,GAAG,EAAC,UAAU,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,IAC1D,WAAW,KAAK,QAAQ;oBACvB,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC;oBACtB,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CACjB,CACV,CAAC,CAAC,CAAC,CACF,EAAE,CACH;gBACD,MAAM,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAClD,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,GAAG,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,IAC5D,SAAS,CAAC,SAAS,CAAC,CACd,CACV,CAAC,CAAC,CAAC,CACF,EAAE,CACH;aACF,GACO,CACJ,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.rightBar{
|
|
2
|
+
background: #fff;
|
|
3
|
+
/*position: absolute;*/
|
|
4
|
+
/*right:10px;*/
|
|
5
|
+
/*top:80px;*/
|
|
6
|
+
border:1px solid #e8e8e8;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
+
height:200px;
|
|
10
|
+
/*max-height:181px;*/
|
|
11
|
+
/*min-height:80px;*/
|
|
12
|
+
min-width: 96px;
|
|
13
|
+
overflow:auto;
|
|
14
|
+
}
|
|
15
|
+
.rightBar::-webkit-scrollbar {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
.rightBar ul{
|
|
19
|
+
padding:0;
|
|
20
|
+
margin:0;
|
|
21
|
+
}
|
|
22
|
+
.rightBar li{
|
|
23
|
+
list-style-type: none;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
padding:3px 7px;
|
|
26
|
+
width:95px;
|
|
27
|
+
text-align: center;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
text-align: left;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
.rightBar li:hover{
|
|
34
|
+
background: #cfe3f5;
|
|
35
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.header-top {
|
|
2
|
+
min-height: 50px;
|
|
3
|
+
line-height: 55px;
|
|
4
|
+
text-align: left;
|
|
5
|
+
color: #333;
|
|
6
|
+
background: #fff;
|
|
7
|
+
font-size: 16px;
|
|
8
|
+
border-bottom: 1px solid;
|
|
9
|
+
border-bottom-color: var(--antd-color-primary);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.header-col {
|
|
13
|
+
z-index: 1000;
|
|
14
|
+
}
|
|
15
|
+
.ant-dropdown-menu-item,
|
|
16
|
+
.ant-dropdown-menu-submenu-title {
|
|
17
|
+
font-size: 14px !important;
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
.message-bar {
|
|
21
|
+
float: right;
|
|
22
|
+
min-width: 50px;
|
|
23
|
+
width: auto;
|
|
24
|
+
text-align: center;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
.message-bar:hover {
|
|
28
|
+
background: var(--message-bar-backgroupd);
|
|
29
|
+
color: #fff;
|
|
30
|
+
/* border-radius: 30%; */
|
|
31
|
+
}
|
|
32
|
+
.message-bar-avatar {
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
color: #1890ff;
|
|
35
|
+
}
|
|
36
|
+
.message-bar-avatar:hover {
|
|
37
|
+
background: var(--message-bar-backgroupd);
|
|
38
|
+
color: #fff;
|
|
39
|
+
}
|
|
40
|
+
.userLogin {
|
|
41
|
+
float: right;
|
|
42
|
+
min-width: 80px;
|
|
43
|
+
width: auto;
|
|
44
|
+
text-align: center;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
.userLogin i {
|
|
48
|
+
font-size: 24px !important;
|
|
49
|
+
}
|
|
50
|
+
.userLogin:hover {
|
|
51
|
+
background: var(--message-bar-backgroupd);
|
|
52
|
+
color: #000;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.loginAvatar {
|
|
56
|
+
background: var(--message-bar-backgroupd);
|
|
57
|
+
font-size: 20px;
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
line-height: 46px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ant-dropdown-menu-item:hover,
|
|
63
|
+
.ant-dropdown-menu-submenu-title:hover {
|
|
64
|
+
color: #1890ff;
|
|
65
|
+
}
|
|
66
|
+
.dropdown-link {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
margin: 0 10px;
|
|
69
|
+
}
|
|
70
|
+
.header-block {
|
|
71
|
+
float: left;
|
|
72
|
+
/*padding-left: 10px;*/
|
|
73
|
+
padding-top: 2px;
|
|
74
|
+
}
|
|
75
|
+
.header-block:hover {
|
|
76
|
+
padding-top: 0px;
|
|
77
|
+
border-bottom-style: solid;
|
|
78
|
+
border-bottom-width: 2px;
|
|
79
|
+
border-bottom-color: var(--header-block-active-bottom-color);
|
|
80
|
+
}
|
|
81
|
+
.header-top .active {
|
|
82
|
+
background: var(--header-top-active-background);
|
|
83
|
+
}
|
|
84
|
+
.header-top .active > a {
|
|
85
|
+
color: #fcfcfc;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.trigger {
|
|
89
|
+
padding: 0 12px;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
transition: color 0.3s;
|
|
92
|
+
font-size: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.trigger:hover {
|
|
96
|
+
color: #1890ff;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.header-menu > .ant-menu > .ant-menu-submenu-selected > div {
|
|
100
|
+
color: rgb(255, 255, 255) !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.locale-button {
|
|
104
|
+
width: 50px;
|
|
105
|
+
height: 55px;
|
|
106
|
+
padding: 0 10px;
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.locale-button > .ant-btn {
|
|
111
|
+
border-radius: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.right-block {
|
|
115
|
+
width: 50px;
|
|
116
|
+
height: 55px;
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
align-items: center;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.logo-dark{
|
|
2
|
+
line-height: 38px;
|
|
3
|
+
height: 42px;
|
|
4
|
+
margin: 16px;
|
|
5
|
+
background: rgba(255, 255, 255, 0.3);
|
|
6
|
+
}
|
|
7
|
+
.logo-blue{
|
|
8
|
+
line-height: 50px;
|
|
9
|
+
height: 58px;
|
|
10
|
+
margin: 0 0px 0 0px;
|
|
11
|
+
background: rgba(255, 255, 255, 0.3);
|
|
12
|
+
}
|
|
13
|
+
.logo-blue h1{
|
|
14
|
+
font-size: 20px;
|
|
15
|
+
color:#fff;
|
|
16
|
+
display: inline-block;
|
|
17
|
+
text-align: center;
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
width:100%;
|
|
20
|
+
margin:0;
|
|
21
|
+
background: var(--logo-blue-background);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.logo-dark h1{
|
|
25
|
+
font-size: 20px;
|
|
26
|
+
color:#fff;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
text-align: center;
|
|
29
|
+
/*vertical-align: middle;*/
|
|
30
|
+
width:100%;
|
|
31
|
+
margin:0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.logonly h1{
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
color:#fff;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
text-align: center;
|
|
39
|
+
/*vertical-align: middle;*/
|
|
40
|
+
width:100%;
|
|
41
|
+
margin:0;
|
|
42
|
+
background: var(--logo-blue-background);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.logonly{
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
line-height: 58px;
|
|
48
|
+
height: 48px;
|
|
49
|
+
margin: 0px;
|
|
50
|
+
/*background: rgba(0, 0, 0, 0.8);*/
|
|
51
|
+
background: rgba(255, 255, 255, 0.8);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ant-menu-inline-collapsed{
|
|
55
|
+
width: 50px!important;
|
|
56
|
+
}
|
|
57
|
+
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* .header-menu > li,
|
|
2
|
+
.header-menu > li > div {
|
|
3
|
+
color: #ffffff !important;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ant-menu-item-active::after,
|
|
7
|
+
.ant-menu-item-selected::after {
|
|
8
|
+
border-color: #ffffff !important;
|
|
9
|
+
} */
|
|
10
|
+
|
|
11
|
+
.ant-menu-submenu > .ant-menu-submenu-selected {
|
|
12
|
+
/* background: #fff !important; */
|
|
13
|
+
/* color: #53b572; */
|
|
14
|
+
/* width: calc(100% - 8px); */
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ant-menu-submenu-selected > .ant-menu-submenu-title {
|
|
18
|
+
/* color: #fff !important; */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* .ant-menu-item-group-list > .ant-menu-item-selected,
|
|
22
|
+
.ant-menu-sub > .ant-menu-item-selected {
|
|
23
|
+
color: var(--ant-color-primary) !important;
|
|
24
|
+
} */
|
|
25
|
+
|
|
26
|
+
.layout2-header-menu-item::after {
|
|
27
|
+
width: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.layout2-header-menu > li:nth-last-child(1)::after {
|
|
31
|
+
width: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ant-menu-sub:has(.layout2-header-menu-item)
|
|
35
|
+
> .ant-menu-submenu-selected
|
|
36
|
+
> .ant-menu-submenu-title {
|
|
37
|
+
background-color: var(--color-3) !important;
|
|
38
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.vertifyWrap {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.vertifyWrap .block {
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
cursor: grab;
|
|
10
|
+
}
|
|
11
|
+
.vertifyWrap .block:active {
|
|
12
|
+
cursor: grabbing;
|
|
13
|
+
}
|
|
14
|
+
.vertifyWrap .sliderContainer {
|
|
15
|
+
position: relative;
|
|
16
|
+
text-align: center;
|
|
17
|
+
width: 310px;
|
|
18
|
+
height: 40px;
|
|
19
|
+
line-height: 40px;
|
|
20
|
+
margin-top: 15px;
|
|
21
|
+
background: #f7f9fa;
|
|
22
|
+
color: #45494c;
|
|
23
|
+
border: 1px solid #e4e7eb;
|
|
24
|
+
}
|
|
25
|
+
.vertifyWrap .sliderContainer_active .slider {
|
|
26
|
+
height: 38px;
|
|
27
|
+
top: -1px;
|
|
28
|
+
border: 1px solid #486cd6;
|
|
29
|
+
}
|
|
30
|
+
.vertifyWrap .sliderContainer_active .sliderMask {
|
|
31
|
+
height: 38px;
|
|
32
|
+
border-width: 1px;
|
|
33
|
+
}
|
|
34
|
+
.vertifyWrap .sliderContainer_success .slider {
|
|
35
|
+
height: 38px;
|
|
36
|
+
top: -1px;
|
|
37
|
+
border: 1px solid #0db87f;
|
|
38
|
+
background-color: #0ca14a !important;
|
|
39
|
+
}
|
|
40
|
+
.vertifyWrap .sliderContainer_success .sliderMask {
|
|
41
|
+
height: 38px;
|
|
42
|
+
border: 1px solid #0db87f;
|
|
43
|
+
background-color: #d2f4ef;
|
|
44
|
+
}
|
|
45
|
+
.vertifyWrap .sliderContainer_success .sliderIcon {
|
|
46
|
+
background-position: 0 -26px !important;
|
|
47
|
+
}
|
|
48
|
+
.vertifyWrap .sliderContainer_fail .slider {
|
|
49
|
+
height: 38px;
|
|
50
|
+
top: -1px;
|
|
51
|
+
border: 1px solid #f57a7a;
|
|
52
|
+
background-color: #f57a7a !important;
|
|
53
|
+
}
|
|
54
|
+
.vertifyWrap .sliderContainer_fail .sliderMask {
|
|
55
|
+
height: 38px;
|
|
56
|
+
border: 1px solid #f57a7a;
|
|
57
|
+
background-color: #fce1e1;
|
|
58
|
+
}
|
|
59
|
+
.vertifyWrap .sliderContainer_fail .sliderIcon {
|
|
60
|
+
top: 14px;
|
|
61
|
+
background-position: 0 -82px !important;
|
|
62
|
+
}
|
|
63
|
+
.vertifyWrap .sliderContainer_active .sliderText,
|
|
64
|
+
.vertifyWrap .sliderContainer_success .sliderText,
|
|
65
|
+
.vertifyWrap .sliderContainer_fail .sliderText {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
.vertifyWrap .sliderMask {
|
|
69
|
+
position: absolute;
|
|
70
|
+
left: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
height: 40px;
|
|
73
|
+
border: 0 solid #486cd6;
|
|
74
|
+
background: #d1e9fe;
|
|
75
|
+
}
|
|
76
|
+
.vertifyWrap .slider {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 0;
|
|
79
|
+
left: 0;
|
|
80
|
+
width: 40px;
|
|
81
|
+
height: 40px;
|
|
82
|
+
background: #fff;
|
|
83
|
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
|
84
|
+
transition: background 0.2s linear;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
cursor: grab;
|
|
87
|
+
}
|
|
88
|
+
.vertifyWrap .slider:active {
|
|
89
|
+
cursor: grabbing;
|
|
90
|
+
}
|
|
91
|
+
.vertifyWrap .slider:hover {
|
|
92
|
+
background: #486cd6;
|
|
93
|
+
}
|
|
94
|
+
.vertifyWrap .sliderIcon {
|
|
95
|
+
font-size: 18px;
|
|
96
|
+
color: #000;
|
|
97
|
+
display: flex;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
align-items: center;
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
.vertifyWrap .slider:hover .sliderIcon {
|
|
103
|
+
color: #fff;
|
|
104
|
+
}
|
|
105
|
+
.vertifyWrap .refreshIcon {
|
|
106
|
+
position: absolute;
|
|
107
|
+
right: 5px;
|
|
108
|
+
top: 5px;
|
|
109
|
+
width: 30px;
|
|
110
|
+
height: 30px;
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
background-size: 32px;
|
|
113
|
+
}
|
|
114
|
+
.vertifyWrap .loadingContainer {
|
|
115
|
+
position: absolute;
|
|
116
|
+
left: 0;
|
|
117
|
+
top: 0;
|
|
118
|
+
width: 310px;
|
|
119
|
+
height: 155px;
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
align-items: center;
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
color: #45494c;
|
|
126
|
+
z-index: 2;
|
|
127
|
+
background: #edf0f2;
|
|
128
|
+
}
|
|
129
|
+
.vertifyWrap .loadingIcon {
|
|
130
|
+
width: 32px;
|
|
131
|
+
height: 32px;
|
|
132
|
+
margin-bottom: 10px;
|
|
133
|
+
background: url(http://cdn.dooring.cn/dr/icon12.png);
|
|
134
|
+
background-size: 32px;
|
|
135
|
+
animation: loading-icon-rotate 0.8s linear infinite;
|
|
136
|
+
}
|
|
137
|
+
@keyframes loading-icon-rotate {
|
|
138
|
+
from {
|
|
139
|
+
transform: rotate(0);
|
|
140
|
+
}
|
|
141
|
+
to {
|
|
142
|
+
transform: rotate(360deg);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aldehyde",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.207",
|
|
4
4
|
"author": "cosmicparticle",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/aldehyde/index.txs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"npm:patch": "yarn tsc && npm version patch ",
|
|
18
18
|
"clean-lib": "rimraf lib && rimraf templib && rimraf dist",
|
|
19
19
|
"tsc": "yarn clean-lib && tsc && yarn copy-files",
|
|
20
|
-
"copy-files": "copyfiles -u 3 templib/src/aldehyde/**/* lib/ && copyfiles -u 3 templib/src/aldehyde/**/**/* lib/
|
|
20
|
+
"copy-files": "copyfiles -u 3 templib/src/aldehyde/**/* lib/ && copyfiles -u 3 templib/src/aldehyde/**/**/* lib/ && copyfiles -u 3 templib/src/aldehyde/**/**/**/* lib/ && copyfiles -u 3 templib/src/aldehyde/* lib/ && copyfiles -u 2 src/aldehyde/**/*.html src/aldehyde/**/*.css src/aldehyde/**/**/*.css src/aldehyde/**/**/*.png src/aldehyde/**/*.png lib/"
|
|
21
21
|
},
|
|
22
22
|
"homepage": "./",
|
|
23
23
|
"dependencies": {
|