@lambo-design/shared 1.0.0-beta.206 → 1.0.0-beta.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/config/themes/atrovirens/atrovirens.css +563 -563
- package/config/themes/blue/blue.css +563 -563
- package/config/themes/blue-white/blue-white.css +563 -563
- package/config/themes/blue-white-tight/blue-white-tight.css +564 -564
- package/config/themes/deep/deep.css +563 -563
- package/config/themes/default/default.css +563 -563
- package/config/themes/eap/eap.css +563 -563
- package/config/themes/gold/gold.css +563 -563
- package/config/themes/lime/lime.css +563 -563
- package/config/themes/orange/orange.css +563 -563
- package/config/themes/red/red.css +563 -563
- 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/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/panel.less +31 -31
- package/nstyles/components/select.less +3 -3
- package/nstyles/components/sign.less +27 -27
- package/nstyles/components/table.less +4 -4
- package/nstyles/components/upload.less +131 -131
- package/nstyles/index.less +5 -5
- package/nstyles/reset.less +65 -65
- package/nstyles/third/ag.less +1 -1
- package/nstyles/third/index.less +11 -11
- package/nstyles/third/view-design.less +363 -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 +1 -1
- package/utils/bus.js +1 -1
- package/utils/menu/index.js +40 -30
- package/utils/oss.js +2 -4
|
@@ -1,131 +1,131 @@
|
|
|
1
|
-
.upload-file {
|
|
2
|
-
position: relative;
|
|
3
|
-
min-height: 45px;
|
|
4
|
-
|
|
5
|
-
.data-panel {
|
|
6
|
-
padding: 5px 10px 0px 10px;
|
|
7
|
-
border: 1px #dee1e8 solid;
|
|
8
|
-
border-radius: 5px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.content-item {
|
|
12
|
-
display: flex;
|
|
13
|
-
line-height: var(--file-line-height);
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
border-bottom: 1px solid var(--ind-border-color);
|
|
16
|
-
// padding-left: 20px;
|
|
17
|
-
&:last-child {
|
|
18
|
-
border-bottom: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.title {
|
|
22
|
-
width: calc(100% - 240px);
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
line-height: var(--file-line-height);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
}
|
|
29
|
-
.preview {
|
|
30
|
-
width: 80px;
|
|
31
|
-
text-align: center;
|
|
32
|
-
color: var(--ind-primary-color);
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
.download,
|
|
36
|
-
.delete {
|
|
37
|
-
display: block;
|
|
38
|
-
width: 80px;
|
|
39
|
-
line-height: var(--file-line-height);
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
i {
|
|
42
|
-
font-size: 18px;
|
|
43
|
-
vertical-align: middle !important;
|
|
44
|
-
}
|
|
45
|
-
text-align: center;
|
|
46
|
-
color: var(--ind-primary-color);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ivu-divider-horizontal {
|
|
52
|
-
margin: 5px 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.upload-img {
|
|
56
|
-
padding: 2px;
|
|
57
|
-
min-height: 60px;
|
|
58
|
-
line-height: 0px;
|
|
59
|
-
border: 2px var(--ind-bg-color-dark) solid;
|
|
60
|
-
|
|
61
|
-
.demo-upload-list {
|
|
62
|
-
display: inline-block;
|
|
63
|
-
width: 60px;
|
|
64
|
-
height: 60px;
|
|
65
|
-
text-align: center;
|
|
66
|
-
line-height: 60px;
|
|
67
|
-
border: 1px solid transparent;
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
background: #fff;
|
|
71
|
-
position: relative;
|
|
72
|
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
73
|
-
margin-right: 4px;
|
|
74
|
-
}
|
|
75
|
-
.demo-upload-list img {
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
}
|
|
79
|
-
.demo-upload-list-cover {
|
|
80
|
-
display: none;
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 0;
|
|
83
|
-
bottom: 0;
|
|
84
|
-
left: 0;
|
|
85
|
-
right: 0;
|
|
86
|
-
background: rgba(0, 0, 0, 0.6);
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
89
|
-
.demo-upload-list:hover .demo-upload-list-cover {
|
|
90
|
-
display: block;
|
|
91
|
-
}
|
|
92
|
-
.demo-upload-list-cover i {
|
|
93
|
-
margin: 0 2px;
|
|
94
|
-
color: var(--ind-white) !important;
|
|
95
|
-
font-size: 20px;
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
|
|
98
|
-
&.delete-icon {
|
|
99
|
-
position: absolute;
|
|
100
|
-
top: 0;
|
|
101
|
-
right: 0;
|
|
102
|
-
margin: 0;
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
background: rgba(255, 255, 255, 0.3);
|
|
105
|
-
border-radius: 0 0 0 50%;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.upload-img-no-border {
|
|
110
|
-
padding: 2px;
|
|
111
|
-
line-height: 0px;
|
|
112
|
-
}
|
|
113
|
-
.ivu-modal-fullscreen .ivu-modal-content {
|
|
114
|
-
background-color: rgba(0, 0, 0, 0) !important;
|
|
115
|
-
}
|
|
116
|
-
.ivu-modal-close .ivu-icon-ios-close {
|
|
117
|
-
color: white;
|
|
118
|
-
}
|
|
119
|
-
.ivu-carousel-item {
|
|
120
|
-
text-align: center;
|
|
121
|
-
}
|
|
122
|
-
.carouse-img {
|
|
123
|
-
max-width: 90vw !important;
|
|
124
|
-
max-height: 95vh !important;
|
|
125
|
-
min-block-size: -webkit-fill-available;
|
|
126
|
-
}
|
|
127
|
-
.carouse-content {
|
|
128
|
-
width: 100%;
|
|
129
|
-
height: 95vh;
|
|
130
|
-
text-align: center;
|
|
131
|
-
}
|
|
1
|
+
.upload-file {
|
|
2
|
+
position: relative;
|
|
3
|
+
min-height: 45px;
|
|
4
|
+
|
|
5
|
+
.data-panel {
|
|
6
|
+
padding: 5px 10px 0px 10px;
|
|
7
|
+
border: 1px #dee1e8 solid;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.content-item {
|
|
12
|
+
display: flex;
|
|
13
|
+
line-height: var(--file-line-height);
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
16
|
+
// padding-left: 20px;
|
|
17
|
+
&:last-child {
|
|
18
|
+
border-bottom: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.title {
|
|
22
|
+
width: calc(100% - 240px);
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
line-height: var(--file-line-height);
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
}
|
|
29
|
+
.preview {
|
|
30
|
+
width: 80px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
color: var(--ind-primary-color);
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.download,
|
|
36
|
+
.delete {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 80px;
|
|
39
|
+
line-height: var(--file-line-height);
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
i {
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
vertical-align: middle !important;
|
|
44
|
+
}
|
|
45
|
+
text-align: center;
|
|
46
|
+
color: var(--ind-primary-color);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ivu-divider-horizontal {
|
|
52
|
+
margin: 5px 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.upload-img {
|
|
56
|
+
padding: 2px;
|
|
57
|
+
min-height: 60px;
|
|
58
|
+
line-height: 0px;
|
|
59
|
+
border: 2px var(--ind-bg-color-dark) solid;
|
|
60
|
+
|
|
61
|
+
.demo-upload-list {
|
|
62
|
+
display: inline-block;
|
|
63
|
+
width: 60px;
|
|
64
|
+
height: 60px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
line-height: 60px;
|
|
67
|
+
border: 1px solid transparent;
|
|
68
|
+
border-radius: 4px;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
background: #fff;
|
|
71
|
+
position: relative;
|
|
72
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
73
|
+
margin-right: 4px;
|
|
74
|
+
}
|
|
75
|
+
.demo-upload-list img {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
.demo-upload-list-cover {
|
|
80
|
+
display: none;
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
left: 0;
|
|
85
|
+
right: 0;
|
|
86
|
+
background: rgba(0, 0, 0, 0.6);
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
.demo-upload-list:hover .demo-upload-list-cover {
|
|
90
|
+
display: block;
|
|
91
|
+
}
|
|
92
|
+
.demo-upload-list-cover i {
|
|
93
|
+
margin: 0 2px;
|
|
94
|
+
color: var(--ind-white) !important;
|
|
95
|
+
font-size: 20px;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
|
|
98
|
+
&.delete-icon {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 0;
|
|
101
|
+
right: 0;
|
|
102
|
+
margin: 0;
|
|
103
|
+
font-size: 16px;
|
|
104
|
+
background: rgba(255, 255, 255, 0.3);
|
|
105
|
+
border-radius: 0 0 0 50%;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.upload-img-no-border {
|
|
110
|
+
padding: 2px;
|
|
111
|
+
line-height: 0px;
|
|
112
|
+
}
|
|
113
|
+
.ivu-modal-fullscreen .ivu-modal-content {
|
|
114
|
+
background-color: rgba(0, 0, 0, 0) !important;
|
|
115
|
+
}
|
|
116
|
+
.ivu-modal-close .ivu-icon-ios-close {
|
|
117
|
+
color: white;
|
|
118
|
+
}
|
|
119
|
+
.ivu-carousel-item {
|
|
120
|
+
text-align: center;
|
|
121
|
+
}
|
|
122
|
+
.carouse-img {
|
|
123
|
+
max-width: 90vw !important;
|
|
124
|
+
max-height: 95vh !important;
|
|
125
|
+
min-block-size: -webkit-fill-available;
|
|
126
|
+
}
|
|
127
|
+
.carouse-content {
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 95vh;
|
|
130
|
+
text-align: center;
|
|
131
|
+
}
|
package/nstyles/index.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import './variables/index.less';
|
|
2
|
-
@import './reset.less';
|
|
3
|
-
@import './common.less';
|
|
4
|
-
@import './components/index.less';
|
|
5
|
-
@import './third/index.less';
|
|
1
|
+
@import './variables/index.less';
|
|
2
|
+
@import './reset.less';
|
|
3
|
+
@import './common.less';
|
|
4
|
+
@import './components/index.less';
|
|
5
|
+
@import './third/index.less';
|
package/nstyles/reset.less
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
/* 重写浏览器默认样式 */
|
|
2
|
-
html,
|
|
3
|
-
body {
|
|
4
|
-
margin: 0;
|
|
5
|
-
padding: 0;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
color: var(--ind-text-color);
|
|
9
|
-
font-size: var(--ind-font-size-md);
|
|
10
|
-
font-family: 'OpenSans', 'Helvetica Neue', Helvetica, Tahoma, Arial, 'PingFang SC',
|
|
11
|
-
'Microsoft YaHei';
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
pre {
|
|
15
|
-
white-space: pre-wrap;
|
|
16
|
-
word-wrap: break-word;
|
|
17
|
-
margin: 5px 0px;
|
|
18
|
-
line-height: 20px;
|
|
19
|
-
font-family: 'OpenSans', 'Helvetica Neue', Helvetica, Tahoma, Arial, 'PingFang SC',
|
|
20
|
-
'Microsoft YaHei';
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
input::-webkit-outer-spin-button,
|
|
24
|
-
input::-webkit-inner-spin-button {
|
|
25
|
-
-webkit-appearance: none;
|
|
26
|
-
}
|
|
27
|
-
input[type='number'] {
|
|
28
|
-
-moz-appearance: textfield !important;
|
|
29
|
-
appearance: textfield !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
::-webkit-scrollbar-thumb {
|
|
33
|
-
height: 50px;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
border: 2px solid #eee;
|
|
36
|
-
}
|
|
37
|
-
::-webkit-scrollbar-thumb:hover {
|
|
38
|
-
height: 50px;
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
}
|
|
41
|
-
::-webkit-scrollbar {
|
|
42
|
-
width: 14px;
|
|
43
|
-
height: 16px;
|
|
44
|
-
}
|
|
45
|
-
::-webkit-scrollbar-track-piece {
|
|
46
|
-
border-radius: 0;
|
|
47
|
-
}
|
|
48
|
-
::-webkit-scrollbar-track {
|
|
49
|
-
background-color: #eee;
|
|
50
|
-
}
|
|
51
|
-
::-webkit-scrollbar-thumb {
|
|
52
|
-
background-color: rgba(0, 0, 0, 0.2);
|
|
53
|
-
}
|
|
54
|
-
::-webkit-scrollbar-corner {
|
|
55
|
-
background-color: #bbb;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ag-body-horizontal-scroll,
|
|
59
|
-
.ag-body-horizontal-scroll .ag-body-horizontal-scroll-viewport,
|
|
60
|
-
.ag-body-horizontal-scroll .ag-body-horizontal-scroll-viewport .ag-body-horizontal-scroll-container,
|
|
61
|
-
.ag-body-horizontal-scroll .ag-horizontal-right-spacer .ag-scroller-corner {
|
|
62
|
-
height: 16px !important;
|
|
63
|
-
min-height: 16px !important;
|
|
64
|
-
max-height: 16px !important;
|
|
65
|
-
}
|
|
1
|
+
/* 重写浏览器默认样式 */
|
|
2
|
+
html,
|
|
3
|
+
body {
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
color: var(--ind-text-color);
|
|
9
|
+
font-size: var(--ind-font-size-md);
|
|
10
|
+
font-family: 'OpenSans', 'Helvetica Neue', Helvetica, Tahoma, Arial, 'PingFang SC',
|
|
11
|
+
'Microsoft YaHei';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
pre {
|
|
15
|
+
white-space: pre-wrap;
|
|
16
|
+
word-wrap: break-word;
|
|
17
|
+
margin: 5px 0px;
|
|
18
|
+
line-height: 20px;
|
|
19
|
+
font-family: 'OpenSans', 'Helvetica Neue', Helvetica, Tahoma, Arial, 'PingFang SC',
|
|
20
|
+
'Microsoft YaHei';
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
input::-webkit-outer-spin-button,
|
|
24
|
+
input::-webkit-inner-spin-button {
|
|
25
|
+
-webkit-appearance: none;
|
|
26
|
+
}
|
|
27
|
+
input[type='number'] {
|
|
28
|
+
-moz-appearance: textfield !important;
|
|
29
|
+
appearance: textfield !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
::-webkit-scrollbar-thumb {
|
|
33
|
+
height: 50px;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
border: 2px solid #eee;
|
|
36
|
+
}
|
|
37
|
+
::-webkit-scrollbar-thumb:hover {
|
|
38
|
+
height: 50px;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
}
|
|
41
|
+
::-webkit-scrollbar {
|
|
42
|
+
width: 14px;
|
|
43
|
+
height: 16px;
|
|
44
|
+
}
|
|
45
|
+
::-webkit-scrollbar-track-piece {
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
}
|
|
48
|
+
::-webkit-scrollbar-track {
|
|
49
|
+
background-color: #eee;
|
|
50
|
+
}
|
|
51
|
+
::-webkit-scrollbar-thumb {
|
|
52
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
53
|
+
}
|
|
54
|
+
::-webkit-scrollbar-corner {
|
|
55
|
+
background-color: #bbb;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ag-body-horizontal-scroll,
|
|
59
|
+
.ag-body-horizontal-scroll .ag-body-horizontal-scroll-viewport,
|
|
60
|
+
.ag-body-horizontal-scroll .ag-body-horizontal-scroll-viewport .ag-body-horizontal-scroll-container,
|
|
61
|
+
.ag-body-horizontal-scroll .ag-horizontal-right-spacer .ag-scroller-corner {
|
|
62
|
+
height: 16px !important;
|
|
63
|
+
min-height: 16px !important;
|
|
64
|
+
max-height: 16px !important;
|
|
65
|
+
}
|
package/nstyles/third/ag.less
CHANGED
package/nstyles/third/index.less
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* 更改第三方UI组件的样式,在定义时尽量使用我们自己的Css变量,即以ind开头的变量,以便切换主题
|
|
3
|
-
*
|
|
4
|
-
* @Author: huxuetong
|
|
5
|
-
* @Date: 2023-08-16 16:25:48
|
|
6
|
-
* @Last Modified by: huxuetong
|
|
7
|
-
* @Last Modified time: 2024-03-12 20:09:41
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
@import './ag.less';
|
|
11
|
-
@import './view-design.less';
|
|
1
|
+
/*
|
|
2
|
+
* 更改第三方UI组件的样式,在定义时尽量使用我们自己的Css变量,即以ind开头的变量,以便切换主题
|
|
3
|
+
*
|
|
4
|
+
* @Author: huxuetong
|
|
5
|
+
* @Date: 2023-08-16 16:25:48
|
|
6
|
+
* @Last Modified by: huxuetong
|
|
7
|
+
* @Last Modified time: 2024-03-12 20:09:41
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
@import './ag.less';
|
|
11
|
+
@import './view-design.less';
|