@lambo-design/shared 1.0.0-beta.201 → 1.0.0-beta.202

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 (54) hide show
  1. package/config/themes/atrovirens/atrovirens.css +563 -563
  2. package/config/themes/blue/blue.css +563 -563
  3. package/config/themes/blue-white/blue-white.css +563 -563
  4. package/config/themes/blue-white-tight/blue-white-tight.css +564 -564
  5. package/config/themes/deep/deep.css +563 -563
  6. package/config/themes/default/default.css +563 -563
  7. package/config/themes/eap/eap.css +563 -563
  8. package/config/themes/gold/gold.css +563 -563
  9. package/config/themes/lime/lime.css +563 -563
  10. package/config/themes/orange/orange.css +563 -563
  11. package/config/themes/red/red.css +563 -563
  12. package/nstyles/common.less +197 -197
  13. package/nstyles/components/404.less +46 -46
  14. package/nstyles/components/button.less +34 -34
  15. package/nstyles/components/date-picker.less +37 -37
  16. package/nstyles/components/drawer.less +20 -20
  17. package/nstyles/components/dropdown.less +18 -18
  18. package/nstyles/components/excel-flow.less +72 -72
  19. package/nstyles/components/layout/collect.less +10 -10
  20. package/nstyles/components/layout/detail-view.less +107 -107
  21. package/nstyles/components/layout/full-screen.less +7 -7
  22. package/nstyles/components/layout/other-menu.less +142 -142
  23. package/nstyles/components/layout/page-view.less +101 -101
  24. package/nstyles/components/layout/sider-trigger.less +41 -41
  25. package/nstyles/components/layout/tags-nav.less +113 -113
  26. package/nstyles/components/modal.less +85 -85
  27. package/nstyles/components/panel.less +31 -31
  28. package/nstyles/components/select.less +3 -3
  29. package/nstyles/components/sign.less +27 -27
  30. package/nstyles/components/tree.less +159 -159
  31. package/nstyles/components/upload.less +131 -131
  32. package/nstyles/index.less +5 -5
  33. package/nstyles/reset.less +65 -65
  34. package/nstyles/third/ag.less +173 -173
  35. package/nstyles/third/index.less +11 -11
  36. package/nstyles/third/view-design.less +356 -356
  37. package/nstyles/variables/base.less +143 -143
  38. package/nstyles/variables/index.less +4 -4
  39. package/nstyles/variables/theme/default/button.less +7 -7
  40. package/nstyles/variables/theme/default/common.less +57 -57
  41. package/nstyles/variables/theme/default/index.less +7 -7
  42. package/nstyles/variables/theme/default/layout.less +40 -40
  43. package/nstyles/variables/theme/default/table.less +37 -37
  44. package/nstyles/variables/theme/default/tag.less +3 -3
  45. package/nstyles/variables/theme/default/upload.less +3 -3
  46. package/nstyles/variables/theme/index.less +13 -13
  47. package/nstyles/variables/theme/small/button.less +7 -7
  48. package/nstyles/variables/theme/small/common.less +39 -39
  49. package/nstyles/variables/theme/small/index.less +5 -5
  50. package/nstyles/variables/theme/small/layout.less +21 -21
  51. package/nstyles/variables/theme/small/table.less +17 -17
  52. package/nstyles/variables/theme/small/tag.less +3 -3
  53. package/package.json +1 -1
  54. package/utils/platform.js +74 -0
@@ -1,159 +1,159 @@
1
- .tree-wrapper {
2
- background: white;
3
- border-radius: 4px;
4
- // padding: 10px 0 10px 0;
5
- width: var(--ind-tree-wrapper-width); //98%;
6
- height: 100%;
7
-
8
- .header {
9
- position: sticky;
10
- padding: 10px 10px 10px 10px;
11
- top: 0;
12
- background: white;
13
- // z-index: 999;
14
- border-bottom: 1px solid var(--ind-border-color);
15
- .title {
16
- font-size: var(--ind-font-size-lg);
17
- font-weight: bold;
18
- // margin-left: 10px;
19
- vertical-align: middle;
20
- }
21
- }
22
- .content {
23
- // padding: 10px 10px;
24
- padding: var(--tree-content-padding);
25
-
26
- .ivu-input-wrapper {
27
- margin-bottom: 8px;
28
- }
29
-
30
- .ivu-tree {
31
- height: 10px;
32
- overflow: auto;
33
- }
34
- }
35
- }
36
-
37
- .ivu-tree-title-selected,
38
- .ivu-tree-title-selected:hover {
39
- color: var(--ind-white);
40
- background: var(--ind-primary-color);
41
- }
42
-
43
- .custom-title {
44
- &.important {
45
- &::after {
46
- content: '*';
47
- font-size: 16px;
48
- font-weight: bold;
49
- line-height: 1;
50
- vertical-align: middle;
51
- color: var(--ind-red);
52
- display: none;
53
- }
54
- }
55
-
56
- &.weak {
57
- color: var(--ind-gray);
58
- }
59
-
60
- .title-status {
61
- color: var(--ind-gray);
62
-
63
- &.red {
64
- color: var(--ind-red);
65
- }
66
-
67
- &.blue {
68
- color: var(--ind-blue);
69
- }
70
-
71
- &.green {
72
- color: var(--ind-green);
73
- }
74
-
75
- &.orange {
76
- color: var(--ind-orange);
77
- }
78
-
79
- &.yellow {
80
- color: var(--ind-yellow);
81
- }
82
-
83
- &.gray {
84
- color: var(--ind-gray);
85
- }
86
- }
87
- }
88
-
89
- .ivu-tree-title-selected .title-status.blue {
90
- color: var(--ind-white);
91
- }
92
-
93
- .emp-tree-box {
94
- .main {
95
- display: flex;
96
- .panel {
97
- .content-box {
98
- margin-top: 10px;
99
- height: calc(100vh - 300px) !important;
100
- border: 2px var(--ind-border-color) solid;
101
- border-radius: 4px;
102
- overflow: auto;
103
- .content {
104
- height: 100%;
105
- padding: 10px;
106
- overflow: auto;
107
- }
108
- }
109
- &.emp-tree {
110
- flex: 5;
111
- }
112
- &.checked-list {
113
- margin-left: 20px;
114
- flex: 4;
115
- .content {
116
- line-height: 1;
117
- .node,
118
- .tip {
119
- padding: 5px 10px;
120
- }
121
- .tip {
122
- color: var(--ind-desc-color);
123
- }
124
- }
125
- }
126
- }
127
- }
128
- }
129
-
130
- .tree-select-wrapper {
131
- .tree-wrapper {
132
- min-width: 180px;
133
- width: 100%;
134
-
135
- .content {
136
- padding-right: 0;
137
- }
138
- }
139
-
140
- .global-desc-text {
141
- margin-top: 10px;
142
- }
143
- }
144
- .tree-select-poptip {
145
- width: 100%;
146
- .ivu-poptip-rel {
147
- width: 100%;
148
- }
149
- }
150
-
151
- // from emp
152
- .global-desc-text {
153
- font-size: var(--ind-font-size-sm);
154
- color: var(--ind-desc-color);
155
- }
156
-
157
- .ivu-tree ul li {
158
- margin: var(--ivu-tree-margin);
159
- }
1
+ .tree-wrapper {
2
+ background: white;
3
+ border-radius: 4px;
4
+ // padding: 10px 0 10px 0;
5
+ width: var(--ind-tree-wrapper-width); //98%;
6
+ height: 100%;
7
+
8
+ .header {
9
+ position: sticky;
10
+ padding: 10px 10px 10px 10px;
11
+ top: 0;
12
+ background: white;
13
+ // z-index: 999;
14
+ border-bottom: 1px solid var(--ind-border-color);
15
+ .title {
16
+ font-size: var(--ind-font-size-lg);
17
+ font-weight: bold;
18
+ // margin-left: 10px;
19
+ vertical-align: middle;
20
+ }
21
+ }
22
+ .content {
23
+ // padding: 10px 10px;
24
+ padding: var(--tree-content-padding);
25
+
26
+ .ivu-input-wrapper {
27
+ margin-bottom: 8px;
28
+ }
29
+
30
+ .ivu-tree {
31
+ height: 10px;
32
+ overflow: auto;
33
+ }
34
+ }
35
+ }
36
+
37
+ .ivu-tree-title-selected,
38
+ .ivu-tree-title-selected:hover {
39
+ color: var(--ind-white);
40
+ background: var(--ind-primary-color);
41
+ }
42
+
43
+ .custom-title {
44
+ &.important {
45
+ &::after {
46
+ content: '*';
47
+ font-size: 16px;
48
+ font-weight: bold;
49
+ line-height: 1;
50
+ vertical-align: middle;
51
+ color: var(--ind-red);
52
+ display: none;
53
+ }
54
+ }
55
+
56
+ &.weak {
57
+ color: var(--ind-gray);
58
+ }
59
+
60
+ .title-status {
61
+ color: var(--ind-gray);
62
+
63
+ &.red {
64
+ color: var(--ind-red);
65
+ }
66
+
67
+ &.blue {
68
+ color: var(--ind-blue);
69
+ }
70
+
71
+ &.green {
72
+ color: var(--ind-green);
73
+ }
74
+
75
+ &.orange {
76
+ color: var(--ind-orange);
77
+ }
78
+
79
+ &.yellow {
80
+ color: var(--ind-yellow);
81
+ }
82
+
83
+ &.gray {
84
+ color: var(--ind-gray);
85
+ }
86
+ }
87
+ }
88
+
89
+ .ivu-tree-title-selected .title-status.blue {
90
+ color: var(--ind-white);
91
+ }
92
+
93
+ .emp-tree-box {
94
+ .main {
95
+ display: flex;
96
+ .panel {
97
+ .content-box {
98
+ margin-top: 10px;
99
+ height: calc(100vh - 300px) !important;
100
+ border: 2px var(--ind-border-color) solid;
101
+ border-radius: 4px;
102
+ overflow: auto;
103
+ .content {
104
+ height: 100%;
105
+ padding: 10px;
106
+ overflow: auto;
107
+ }
108
+ }
109
+ &.emp-tree {
110
+ flex: 5;
111
+ }
112
+ &.checked-list {
113
+ margin-left: 20px;
114
+ flex: 4;
115
+ .content {
116
+ line-height: 1;
117
+ .node,
118
+ .tip {
119
+ padding: 5px 10px;
120
+ }
121
+ .tip {
122
+ color: var(--ind-desc-color);
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ .tree-select-wrapper {
131
+ .tree-wrapper {
132
+ min-width: 180px;
133
+ width: 100%;
134
+
135
+ .content {
136
+ padding-right: 0;
137
+ }
138
+ }
139
+
140
+ .global-desc-text {
141
+ margin-top: 10px;
142
+ }
143
+ }
144
+ .tree-select-poptip {
145
+ width: 100%;
146
+ .ivu-poptip-rel {
147
+ width: 100%;
148
+ }
149
+ }
150
+
151
+ // from emp
152
+ .global-desc-text {
153
+ font-size: var(--ind-font-size-sm);
154
+ color: var(--ind-desc-color);
155
+ }
156
+
157
+ .ivu-tree ul li {
158
+ margin: var(--ivu-tree-margin);
159
+ }
@@ -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
+ }
@@ -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';