@lambo-design/shared 1.0.0-beta.205 → 1.0.0-beta.206
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/nstyles/common.less +197 -197
- package/nstyles/components/404.less +46 -46
- package/nstyles/components/button.less +34 -34
- package/nstyles/components/date-picker.less +37 -37
- package/nstyles/components/drawer.less +20 -20
- package/nstyles/components/dropdown.less +18 -18
- package/nstyles/components/excel-flow.less +72 -72
- package/nstyles/components/form.less +2 -2
- package/nstyles/components/index.less +8 -0
- package/nstyles/components/layout/collect.less +10 -10
- package/nstyles/components/layout/detail-view.less +107 -107
- package/nstyles/components/layout/full-screen.less +7 -7
- package/nstyles/components/layout/other-menu.less +142 -142
- package/nstyles/components/layout/page-view.less +101 -101
- package/nstyles/components/layout/sider-trigger.less +41 -41
- package/nstyles/components/layout/tags-nav.less +113 -113
- package/nstyles/components/modal.less +85 -85
- package/nstyles/components/n-button.less +131 -0
- package/nstyles/components/n-image-preview.less +131 -0
- package/nstyles/components/n-model/index.less +19 -0
- package/nstyles/components/n-model/report-index.less +43 -0
- package/nstyles/components/n-panel.less +41 -0
- package/nstyles/components/n-picker.less +37 -0
- package/nstyles/components/n-sign.less +17 -0
- package/nstyles/components/n-tooltip.less +10 -0
- package/nstyles/components/panel.less +31 -31
- package/nstyles/components/select.less +3 -3
- package/nstyles/components/sign.less +27 -27
- package/nstyles/components/tree.less +1 -1
- package/nstyles/components/upload.less +131 -131
- package/nstyles/index.less +5 -5
- package/nstyles/reset.less +65 -65
- package/nstyles/third/ag.less +3 -2
- package/nstyles/third/index.less +11 -11
- package/nstyles/third/view-design.less +356 -356
- package/nstyles/variables/base.less +143 -143
- package/nstyles/variables/index.less +4 -4
- package/nstyles/variables/theme/default/button.less +7 -7
- package/nstyles/variables/theme/default/common.less +57 -57
- package/nstyles/variables/theme/default/index.less +7 -7
- package/nstyles/variables/theme/default/layout.less +40 -40
- package/nstyles/variables/theme/default/table.less +37 -37
- package/nstyles/variables/theme/default/tag.less +3 -3
- package/nstyles/variables/theme/default/upload.less +3 -3
- package/nstyles/variables/theme/index.less +13 -13
- package/nstyles/variables/theme/small/button.less +7 -7
- package/nstyles/variables/theme/small/common.less +39 -39
- package/nstyles/variables/theme/small/index.less +5 -5
- package/nstyles/variables/theme/small/layout.less +21 -21
- package/nstyles/variables/theme/small/table.less +17 -17
- package/nstyles/variables/theme/small/tag.less +3 -3
- package/package.json +4 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.ivu-select-dropdown.ivu-dropdown-transfer {
|
|
2
|
-
max-height: none !important;
|
|
3
|
-
|
|
4
|
-
.ind-dropdown-list {
|
|
5
|
-
.ivu-dropdown-menu {
|
|
6
|
-
max-height: 400px;
|
|
7
|
-
overflow-y: auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ind-button-group {
|
|
11
|
-
margin: var(--ind-padding-xs) var(--ind-padding-xs) 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ivu-dropdown-item {
|
|
15
|
-
user-select: none;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
.ivu-select-dropdown.ivu-dropdown-transfer {
|
|
2
|
+
max-height: none !important;
|
|
3
|
+
|
|
4
|
+
.ind-dropdown-list {
|
|
5
|
+
.ivu-dropdown-menu {
|
|
6
|
+
max-height: 400px;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ind-button-group {
|
|
11
|
+
margin: var(--ind-padding-xs) var(--ind-padding-xs) 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ivu-dropdown-item {
|
|
15
|
+
user-select: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
.excel-flow-wrap {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 60vh;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
|
|
8
|
-
// 步骤条的样式, 按理说不应该自己定义的,先写个版本出来吧
|
|
9
|
-
.ivu-steps .ivu-steps-head,
|
|
10
|
-
.ivu-steps .ivu-steps-main {
|
|
11
|
-
vertical-align: middle;
|
|
12
|
-
}
|
|
13
|
-
.ivu-steps .ivu-steps-title {
|
|
14
|
-
margin-bottom: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.content-wrap {
|
|
18
|
-
height: 100%;
|
|
19
|
-
padding: 20px 50px;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
justify-content: flex-start;
|
|
23
|
-
overflow: auto;
|
|
24
|
-
|
|
25
|
-
.download-btn,
|
|
26
|
-
.import-btn {
|
|
27
|
-
margin-top: 20px;
|
|
28
|
-
border: 1px solid var(--ind-border-color);
|
|
29
|
-
border-radius: 4px;
|
|
30
|
-
|
|
31
|
-
display: flex;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
.icon {
|
|
34
|
-
width: 120px;
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
border-right: 1px solid var(--ind-border-color);
|
|
37
|
-
background-color: var(--ind-bg-color-dark);
|
|
38
|
-
text-align: center;
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
justify-content: space-around;
|
|
42
|
-
}
|
|
43
|
-
.text-panel {
|
|
44
|
-
margin: 20px;
|
|
45
|
-
width: 100%;
|
|
46
|
-
.title {
|
|
47
|
-
font-size: 16px;
|
|
48
|
-
color: var(--ind-black);
|
|
49
|
-
}
|
|
50
|
-
.desc {
|
|
51
|
-
color: var(--ind-gray-5);
|
|
52
|
-
}
|
|
53
|
-
.link {
|
|
54
|
-
color: var(--ind-blue);
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.done-wrap {
|
|
61
|
-
text-align: center;
|
|
62
|
-
.success-title {
|
|
63
|
-
font-weight: bold;
|
|
64
|
-
font-size: 18px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
.bottom-btn-area {
|
|
69
|
-
display: flex;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
1
|
+
.excel-flow-wrap {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 60vh;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
|
|
8
|
+
// 步骤条的样式, 按理说不应该自己定义的,先写个版本出来吧
|
|
9
|
+
.ivu-steps .ivu-steps-head,
|
|
10
|
+
.ivu-steps .ivu-steps-main {
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
}
|
|
13
|
+
.ivu-steps .ivu-steps-title {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.content-wrap {
|
|
18
|
+
height: 100%;
|
|
19
|
+
padding: 20px 50px;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
|
|
25
|
+
.download-btn,
|
|
26
|
+
.import-btn {
|
|
27
|
+
margin-top: 20px;
|
|
28
|
+
border: 1px solid var(--ind-border-color);
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
.icon {
|
|
34
|
+
width: 120px;
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
border-right: 1px solid var(--ind-border-color);
|
|
37
|
+
background-color: var(--ind-bg-color-dark);
|
|
38
|
+
text-align: center;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
justify-content: space-around;
|
|
42
|
+
}
|
|
43
|
+
.text-panel {
|
|
44
|
+
margin: 20px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
.title {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
color: var(--ind-black);
|
|
49
|
+
}
|
|
50
|
+
.desc {
|
|
51
|
+
color: var(--ind-gray-5);
|
|
52
|
+
}
|
|
53
|
+
.link {
|
|
54
|
+
color: var(--ind-blue);
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.done-wrap {
|
|
61
|
+
text-align: center;
|
|
62
|
+
.success-title {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
font-size: 18px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.bottom-btn-area {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -13,3 +13,11 @@
|
|
|
13
13
|
@import './table.less';
|
|
14
14
|
@import './tree.less';
|
|
15
15
|
@import './upload.less';
|
|
16
|
+
@import './n-button.less';
|
|
17
|
+
@import './n-model/index.less';
|
|
18
|
+
@import './n-model/report-index.less';
|
|
19
|
+
@import './n-image-preview.less';
|
|
20
|
+
@import './n-picker.less';
|
|
21
|
+
@import './n-sign.less';
|
|
22
|
+
@import './n-tooltip.less';
|
|
23
|
+
@import './n-panel.less';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.ind-collect-btn {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
margin-left: 6px;
|
|
4
|
-
|
|
5
|
-
.ivu-tooltip-rel {
|
|
6
|
-
i {
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
.ind-collect-btn {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
margin-left: 6px;
|
|
4
|
+
|
|
5
|
+
.ivu-tooltip-rel {
|
|
6
|
+
i {
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
@menu-name-padding: 15px 28px 15px 30px; // 标题行padding
|
|
2
|
-
@menu-title-font-size: 20px;
|
|
3
|
-
@menu-title-color: #17233d;
|
|
4
|
-
@page-content-padding: 12px;
|
|
5
|
-
|
|
6
|
-
.ind-detail-view {
|
|
7
|
-
height: 100%;
|
|
8
|
-
background-color: var(--ind-bg-color-dark);
|
|
9
|
-
overflow: auto;
|
|
10
|
-
|
|
11
|
-
&:has(.ind-detail-form) .lambo-grid-table {
|
|
12
|
-
padding-top: var(--ind-unit-switch-bottom);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// position: relative;
|
|
16
|
-
.header {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
padding: @menu-name-padding;
|
|
20
|
-
// padding: var(--ind-page-padding);
|
|
21
|
-
border-bottom: 1px solid var(--ind-border-color);
|
|
22
|
-
background: white;
|
|
23
|
-
z-index: 14;
|
|
24
|
-
|
|
25
|
-
.title {
|
|
26
|
-
font-size: @menu-title-font-size;
|
|
27
|
-
font-weight: 500;
|
|
28
|
-
color: @menu-title-color;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.back-btn + .title {
|
|
32
|
-
margin-left: 8px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.header-buttons {
|
|
36
|
-
flex-grow: 1;
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: flex-end;
|
|
39
|
-
align-items: center;
|
|
40
|
-
|
|
41
|
-
.ivu-btn + .ivu-btn {
|
|
42
|
-
margin-left: 10px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.content {
|
|
48
|
-
padding: @page-content-padding;
|
|
49
|
-
// padding: var(--ind-page-padding);
|
|
50
|
-
// TODO card
|
|
51
|
-
.ivu-card {
|
|
52
|
-
padding: 0px 8px;
|
|
53
|
-
}
|
|
54
|
-
.ivu-form {
|
|
55
|
-
background: white;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.function-wrapper {
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
padding: 6px 0;
|
|
63
|
-
width: 100%;
|
|
64
|
-
text-align: center;
|
|
65
|
-
border-top: 1px solid var(--ind-border-color);
|
|
66
|
-
background: #fff;
|
|
67
|
-
|
|
68
|
-
.ivu-btn + .ivu-btn {
|
|
69
|
-
margin-left: 10px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.has-padding {
|
|
74
|
-
.content-row {
|
|
75
|
-
padding: 16px 16px;
|
|
76
|
-
background-color: #fff;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.ind-detial-with-table {
|
|
81
|
-
.content-row {
|
|
82
|
-
height: 100%;
|
|
83
|
-
}
|
|
84
|
-
.ind-loading-panel {
|
|
85
|
-
height: 100%;
|
|
86
|
-
}
|
|
87
|
-
.ivu-card {
|
|
88
|
-
height: 100%;
|
|
89
|
-
}
|
|
90
|
-
.ivu-card-body {
|
|
91
|
-
height: 100%;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ind-detail-view .content .ivu-card {
|
|
97
|
-
padding: 0 0 !important;
|
|
98
|
-
overflow: hidden !important;
|
|
99
|
-
width: 100%;
|
|
100
|
-
.ivu-card-head {
|
|
101
|
-
padding: 14px 16px;
|
|
102
|
-
font-size: 16px;
|
|
103
|
-
color: #17233d;
|
|
104
|
-
font-weight: 500;
|
|
105
|
-
// line-height: 20px;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
1
|
+
@menu-name-padding: 15px 28px 15px 30px; // 标题行padding
|
|
2
|
+
@menu-title-font-size: 20px;
|
|
3
|
+
@menu-title-color: #17233d;
|
|
4
|
+
@page-content-padding: 12px;
|
|
5
|
+
|
|
6
|
+
.ind-detail-view {
|
|
7
|
+
height: 100%;
|
|
8
|
+
background-color: var(--ind-bg-color-dark);
|
|
9
|
+
overflow: auto;
|
|
10
|
+
|
|
11
|
+
&:has(.ind-detail-form) .lambo-grid-table {
|
|
12
|
+
padding-top: var(--ind-unit-switch-bottom);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// position: relative;
|
|
16
|
+
.header {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: @menu-name-padding;
|
|
20
|
+
// padding: var(--ind-page-padding);
|
|
21
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
22
|
+
background: white;
|
|
23
|
+
z-index: 14;
|
|
24
|
+
|
|
25
|
+
.title {
|
|
26
|
+
font-size: @menu-title-font-size;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
color: @menu-title-color;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.back-btn + .title {
|
|
32
|
+
margin-left: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.header-buttons {
|
|
36
|
+
flex-grow: 1;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
align-items: center;
|
|
40
|
+
|
|
41
|
+
.ivu-btn + .ivu-btn {
|
|
42
|
+
margin-left: 10px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.content {
|
|
48
|
+
padding: @page-content-padding;
|
|
49
|
+
// padding: var(--ind-page-padding);
|
|
50
|
+
// TODO card
|
|
51
|
+
.ivu-card {
|
|
52
|
+
padding: 0px 8px;
|
|
53
|
+
}
|
|
54
|
+
.ivu-form {
|
|
55
|
+
background: white;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.function-wrapper {
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
padding: 6px 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
text-align: center;
|
|
65
|
+
border-top: 1px solid var(--ind-border-color);
|
|
66
|
+
background: #fff;
|
|
67
|
+
|
|
68
|
+
.ivu-btn + .ivu-btn {
|
|
69
|
+
margin-left: 10px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.has-padding {
|
|
74
|
+
.content-row {
|
|
75
|
+
padding: 16px 16px;
|
|
76
|
+
background-color: #fff;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.ind-detial-with-table {
|
|
81
|
+
.content-row {
|
|
82
|
+
height: 100%;
|
|
83
|
+
}
|
|
84
|
+
.ind-loading-panel {
|
|
85
|
+
height: 100%;
|
|
86
|
+
}
|
|
87
|
+
.ivu-card {
|
|
88
|
+
height: 100%;
|
|
89
|
+
}
|
|
90
|
+
.ivu-card-body {
|
|
91
|
+
height: 100%;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ind-detail-view .content .ivu-card {
|
|
97
|
+
padding: 0 0 !important;
|
|
98
|
+
overflow: hidden !important;
|
|
99
|
+
width: 100%;
|
|
100
|
+
.ivu-card-head {
|
|
101
|
+
padding: 14px 16px;
|
|
102
|
+
font-size: 16px;
|
|
103
|
+
color: #17233d;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
// line-height: 20px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.ind-full-screen-btn-con {
|
|
2
|
-
.ivu-tooltip-rel {
|
|
3
|
-
i {
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
.ind-full-screen-btn-con {
|
|
2
|
+
.ivu-tooltip-rel {
|
|
3
|
+
i {
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|