@lambo-design/shared 1.0.0-beta.206 → 1.0.0-beta.208

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 (55) 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/table.less +4 -4
  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 +1 -1
  35. package/nstyles/third/index.less +11 -11
  36. package/nstyles/third/view-design.less +363 -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/menu/index.js +40 -30
  55. package/utils/oss.js +2 -4
@@ -1,113 +1,113 @@
1
- @nav-height: 44px;
2
- @nav-padding: 6px 0;
3
- @nav-margin: 0 10px;
4
-
5
- .ind-tags-nav {
6
- position: relative;
7
- padding: @nav-padding;
8
- margin: @nav-margin;
9
- height: 44px;
10
- width: calc(100% - 20px);
11
- border-top: 1px solid var(--ind-border-color);
12
- border-bottom: 1px solid var(--ind-border-color);
13
- box-sizing: border-box;
14
- user-select: none;
15
-
16
- .ind-tags-nav-content {
17
- display: flex;
18
- justify-content: space-between;
19
- align-items: center;
20
- height: 100%;
21
-
22
- .btn-con {
23
- height: 100%;
24
- flex-shrink: 0;
25
- box-sizing: border-box;
26
- z-index: 10;
27
-
28
- button {
29
- height: 100%;
30
- padding: 2px 4px;
31
- line-height: 1;
32
- text-align: center;
33
- background: #fff;
34
- box-sizing: border-box;
35
- }
36
- }
37
- }
38
-
39
- .ivu-tag {
40
- height: 30px;
41
- line-height: 30px;
42
- background: white;
43
- margin: 0 5px 0 0;
44
- border: none;
45
- cursor: pointer;
46
-
47
- &.ivu-tag-primary {
48
- color: var(--ind-primary-color) !important;
49
- .ivu-tag-color-white {
50
- color: var(--ind-primary-color) !important;
51
- font-weight: var(--ind-font-weight-bold);
52
- }
53
- }
54
-
55
- .ivu-tag-text {
56
- font-size: var(--ind-font-size-md);
57
- color: var(--ind-text-color);
58
- }
59
-
60
- .ivu-icon-ios-close {
61
- color: #666 !important;
62
- }
63
- }
64
- .ivu-btn-text:hover {
65
- background: none;
66
- color: var(--ind-text-color);
67
- }
68
- .ivu-btn-text {
69
- color: var(--ind-text-color);
70
- }
71
-
72
- .scroll-outer {
73
- position: relative;
74
- width: 100%;
75
- height: 100%;
76
- overflow: hidden;
77
-
78
- .scroll-body {
79
- position: absolute;
80
- display: inline-block;
81
- padding: 1px 4px 0;
82
- height: ~'calc(100% - 1px)';
83
- overflow: visible;
84
- white-space: nowrap;
85
- transition: left 0.3s ease;
86
- }
87
- }
88
-
89
- .contextmenu {
90
- position: absolute;
91
- margin: 0;
92
- padding: 5px 0;
93
- background: #fff;
94
- z-index: 1000;
95
- list-style-type: none;
96
- border-radius: 4px;
97
- box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
98
- li {
99
- margin: 0;
100
- padding: 5px 15px;
101
- cursor: pointer;
102
- &:hover {
103
- background: #eee;
104
- }
105
- }
106
- }
107
-
108
- .ivu-tag-primary.ivu-tag-dot {
109
- .ivu-tag-dot-inner {
110
- background-color: var(--ind-primary-color);
111
- }
112
- }
113
- }
1
+ @nav-height: 44px;
2
+ @nav-padding: 6px 0;
3
+ @nav-margin: 0 10px;
4
+
5
+ .ind-tags-nav {
6
+ position: relative;
7
+ padding: @nav-padding;
8
+ margin: @nav-margin;
9
+ height: 44px;
10
+ width: calc(100% - 20px);
11
+ border-top: 1px solid var(--ind-border-color);
12
+ border-bottom: 1px solid var(--ind-border-color);
13
+ box-sizing: border-box;
14
+ user-select: none;
15
+
16
+ .ind-tags-nav-content {
17
+ display: flex;
18
+ justify-content: space-between;
19
+ align-items: center;
20
+ height: 100%;
21
+
22
+ .btn-con {
23
+ height: 100%;
24
+ flex-shrink: 0;
25
+ box-sizing: border-box;
26
+ z-index: 10;
27
+
28
+ button {
29
+ height: 100%;
30
+ padding: 2px 4px;
31
+ line-height: 1;
32
+ text-align: center;
33
+ background: #fff;
34
+ box-sizing: border-box;
35
+ }
36
+ }
37
+ }
38
+
39
+ .ivu-tag {
40
+ height: 30px;
41
+ line-height: 30px;
42
+ background: white;
43
+ margin: 0 5px 0 0;
44
+ border: none;
45
+ cursor: pointer;
46
+
47
+ &.ivu-tag-primary {
48
+ color: var(--ind-primary-color) !important;
49
+ .ivu-tag-color-white {
50
+ color: var(--ind-primary-color) !important;
51
+ font-weight: var(--ind-font-weight-bold);
52
+ }
53
+ }
54
+
55
+ .ivu-tag-text {
56
+ font-size: var(--ind-font-size-md);
57
+ color: var(--ind-text-color);
58
+ }
59
+
60
+ .ivu-icon-ios-close {
61
+ color: #666 !important;
62
+ }
63
+ }
64
+ .ivu-btn-text:hover {
65
+ background: none;
66
+ color: var(--ind-text-color);
67
+ }
68
+ .ivu-btn-text {
69
+ color: var(--ind-text-color);
70
+ }
71
+
72
+ .scroll-outer {
73
+ position: relative;
74
+ width: 100%;
75
+ height: 100%;
76
+ overflow: hidden;
77
+
78
+ .scroll-body {
79
+ position: absolute;
80
+ display: inline-block;
81
+ padding: 1px 4px 0;
82
+ height: ~'calc(100% - 1px)';
83
+ overflow: visible;
84
+ white-space: nowrap;
85
+ transition: left 0.3s ease;
86
+ }
87
+ }
88
+
89
+ .contextmenu {
90
+ position: absolute;
91
+ margin: 0;
92
+ padding: 5px 0;
93
+ background: #fff;
94
+ z-index: 1000;
95
+ list-style-type: none;
96
+ border-radius: 4px;
97
+ box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
98
+ li {
99
+ margin: 0;
100
+ padding: 5px 15px;
101
+ cursor: pointer;
102
+ &:hover {
103
+ background: #eee;
104
+ }
105
+ }
106
+ }
107
+
108
+ .ivu-tag-primary.ivu-tag-dot {
109
+ .ivu-tag-dot-inner {
110
+ background-color: var(--ind-primary-color);
111
+ }
112
+ }
113
+ }
@@ -1,85 +1,85 @@
1
- :root {
2
- --modal-top-height: 100px;
3
- --modal-header-height: 52px;
4
- --modal-footer-height: 57px;
5
-
6
- --modal-other-height: calc(
7
- var(--modal-top-height) + var(--modal-header-height) + var(--modal-footer-height)
8
- );
9
- }
10
-
11
- .ibp-mode {
12
- --modal-top-height: 10px;
13
- // 改了css变量,用到它的需要重新定义。。。
14
- --modal-other-height: calc(
15
- var(--modal-top-height) + var(--modal-header-height) + var(--modal-footer-height)
16
- );
17
- }
18
-
19
- .ind-modal {
20
- .ivu-modal {
21
- top: var(--modal-top-height);
22
- }
23
- .ivu-modal-fullscreen {
24
- top: 0;
25
- }
26
- .ivu-modal:not(.ivu-modal-fullscreen) {
27
- .ivu-modal-body {
28
- max-height: calc(100vh - var(--modal-other-height));
29
- overflow: auto;
30
- }
31
-
32
- .ivu-modal-footer {
33
- button + button {
34
- margin-left: 0;
35
- }
36
- }
37
- }
38
- .ivu-modal.ivu-modal-fullscreen {
39
- .ivu-modal-close .ivu-icon-ios-close {
40
- color: white;
41
- }
42
- }
43
- }
44
-
45
- .report-index-model-panel {
46
- .left-panel {
47
- padding: var(--report-index-model-panel-padding);
48
- border: 1px solid var(--ind-border-color);
49
- .report-index-dimension1-panel {
50
- width: 100px;
51
- height: fit-content;
52
- border: 1px solid var(--ind-border-color);
53
- border-radius: 4px;
54
- .report-index-dimension1 {
55
- text-align: center;
56
- line-height: 30px;
57
- border-bottom: 1px solid var(--ind-border-color);
58
- cursor: pointer;
59
- &:last-child {
60
- border-bottom: none;
61
- }
62
- &.selected {
63
- background-color: var(--ind-blue);
64
- color: var(--ind-white);
65
- }
66
- }
67
- }
68
- .report-index-index-panel {
69
- border-left: 1px solid var(--ind-border-color);
70
- }
71
- .report-index-options {
72
- padding: 0 var(--report-index-model-panel-padding);
73
- padding-right: var(--report-index-options-padding-right);
74
- }
75
- }
76
- .opt-panel {
77
- padding: 0 20px;
78
- height: 600px;
79
- justify-content: center;
80
- }
81
- .right-panel {
82
- padding: var(--report-index-model-panel-padding);
83
- border: 1px solid var(--ind-border-color);
84
- }
85
- }
1
+ :root {
2
+ --modal-top-height: 100px;
3
+ --modal-header-height: 52px;
4
+ --modal-footer-height: 57px;
5
+
6
+ --modal-other-height: calc(
7
+ var(--modal-top-height) + var(--modal-header-height) + var(--modal-footer-height)
8
+ );
9
+ }
10
+
11
+ .ibp-mode {
12
+ --modal-top-height: 10px;
13
+ // 改了css变量,用到它的需要重新定义。。。
14
+ --modal-other-height: calc(
15
+ var(--modal-top-height) + var(--modal-header-height) + var(--modal-footer-height)
16
+ );
17
+ }
18
+
19
+ .ind-modal {
20
+ .ivu-modal {
21
+ top: var(--modal-top-height);
22
+ }
23
+ .ivu-modal-fullscreen {
24
+ top: 0;
25
+ }
26
+ .ivu-modal:not(.ivu-modal-fullscreen) {
27
+ .ivu-modal-body {
28
+ max-height: calc(100vh - var(--modal-other-height));
29
+ overflow: auto;
30
+ }
31
+
32
+ .ivu-modal-footer {
33
+ button + button {
34
+ margin-left: 0;
35
+ }
36
+ }
37
+ }
38
+ .ivu-modal.ivu-modal-fullscreen {
39
+ .ivu-modal-close .ivu-icon-ios-close {
40
+ color: white;
41
+ }
42
+ }
43
+ }
44
+
45
+ .report-index-model-panel {
46
+ .left-panel {
47
+ padding: var(--report-index-model-panel-padding);
48
+ border: 1px solid var(--ind-border-color);
49
+ .report-index-dimension1-panel {
50
+ width: 100px;
51
+ height: fit-content;
52
+ border: 1px solid var(--ind-border-color);
53
+ border-radius: 4px;
54
+ .report-index-dimension1 {
55
+ text-align: center;
56
+ line-height: 30px;
57
+ border-bottom: 1px solid var(--ind-border-color);
58
+ cursor: pointer;
59
+ &:last-child {
60
+ border-bottom: none;
61
+ }
62
+ &.selected {
63
+ background-color: var(--ind-blue);
64
+ color: var(--ind-white);
65
+ }
66
+ }
67
+ }
68
+ .report-index-index-panel {
69
+ border-left: 1px solid var(--ind-border-color);
70
+ }
71
+ .report-index-options {
72
+ padding: 0 var(--report-index-model-panel-padding);
73
+ padding-right: var(--report-index-options-padding-right);
74
+ }
75
+ }
76
+ .opt-panel {
77
+ padding: 0 20px;
78
+ height: 600px;
79
+ justify-content: center;
80
+ }
81
+ .right-panel {
82
+ padding: var(--report-index-model-panel-padding);
83
+ border: 1px solid var(--ind-border-color);
84
+ }
85
+ }
@@ -1,31 +1,31 @@
1
- .ind-back-top-panel {
2
- position: relative;
3
- height: 100%;
4
- overflow-y: auto;
5
- }
6
-
7
- .ind-loading-panel {
8
- position: relative;
9
- height: auto;
10
-
11
- .ind-loading-spin--dark {
12
- background-color: #e1e1e1;
13
- opacity: 0.9;
14
- }
15
-
16
- .ind-loading-spin-icon {
17
- animation: ani-loading-spin 1s linear infinite;
18
- }
19
-
20
- @keyframes ani-loading-spin {
21
- from {
22
- transform: rotate(0deg);
23
- }
24
- 50% {
25
- transform: rotate(180deg);
26
- }
27
- to {
28
- transform: rotate(360deg);
29
- }
30
- }
31
- }
1
+ .ind-back-top-panel {
2
+ position: relative;
3
+ height: 100%;
4
+ overflow-y: auto;
5
+ }
6
+
7
+ .ind-loading-panel {
8
+ position: relative;
9
+ height: auto;
10
+
11
+ .ind-loading-spin--dark {
12
+ background-color: #e1e1e1;
13
+ opacity: 0.9;
14
+ }
15
+
16
+ .ind-loading-spin-icon {
17
+ animation: ani-loading-spin 1s linear infinite;
18
+ }
19
+
20
+ @keyframes ani-loading-spin {
21
+ from {
22
+ transform: rotate(0deg);
23
+ }
24
+ 50% {
25
+ transform: rotate(180deg);
26
+ }
27
+ to {
28
+ transform: rotate(360deg);
29
+ }
30
+ }
31
+ }
@@ -1,3 +1,3 @@
1
- .ind-select-item.select-all {
2
- border-bottom: 2px solid var(--ind-border-color);
3
- }
1
+ .ind-select-item.select-all {
2
+ border-bottom: 2px solid var(--ind-border-color);
3
+ }
@@ -1,27 +1,27 @@
1
- :root,
2
- :host {
3
- --ind-sign-padding: var(--ind-padding-xs);
4
- --ind-sign-content-height: 200px;
5
- --ind-sign-content-background: var(--ind-white);
6
- --ind-sign-content-border: 1px solid var(--ind-border-color);
7
- }
8
-
9
- .ind-sign {
10
- padding: var(--ind-sign-padding);
11
-
12
- &__content {
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
- height: var(--ind-sign-content-height);
17
- background-color: var(--ind-sign-content-background);
18
- border: var(--ind-sign-content-border);
19
- border-radius: var(--ind-border-radius-md);
20
- overflow: hidden;
21
-
22
- canvas {
23
- width: 100%;
24
- height: 100%;
25
- }
26
- }
27
- }
1
+ :root,
2
+ :host {
3
+ --ind-sign-padding: var(--ind-padding-xs);
4
+ --ind-sign-content-height: 200px;
5
+ --ind-sign-content-background: var(--ind-white);
6
+ --ind-sign-content-border: 1px solid var(--ind-border-color);
7
+ }
8
+
9
+ .ind-sign {
10
+ padding: var(--ind-sign-padding);
11
+
12
+ &__content {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ height: var(--ind-sign-content-height);
17
+ background-color: var(--ind-sign-content-background);
18
+ border: var(--ind-sign-content-border);
19
+ border-radius: var(--ind-border-radius-md);
20
+ overflow: hidden;
21
+
22
+ canvas {
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ }
27
+ }
@@ -27,15 +27,15 @@
27
27
 
28
28
  .ag-cell {
29
29
  user-select: text;
30
- overflow: unset;
30
+ // overflow: unset;
31
31
  }
32
32
 
33
33
  // .ag-cell-value:has('.ivu-select') {
34
34
  // overflow: unset;
35
35
  // }
36
- .ag-cell.ag-wrap-cell {
37
- overflow: visible;
38
- }
36
+ // .ag-cell.ag-wrap-cell {
37
+ // overflow: visible;
38
+ // }
39
39
 
40
40
  .ag-theme-balham .ag-ltr .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected),
41
41
  .ag-theme-balham .ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),