@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.
Files changed (52) hide show
  1. package/nstyles/common.less +197 -197
  2. package/nstyles/components/404.less +46 -46
  3. package/nstyles/components/button.less +34 -34
  4. package/nstyles/components/date-picker.less +37 -37
  5. package/nstyles/components/drawer.less +20 -20
  6. package/nstyles/components/dropdown.less +18 -18
  7. package/nstyles/components/excel-flow.less +72 -72
  8. package/nstyles/components/form.less +2 -2
  9. package/nstyles/components/index.less +8 -0
  10. package/nstyles/components/layout/collect.less +10 -10
  11. package/nstyles/components/layout/detail-view.less +107 -107
  12. package/nstyles/components/layout/full-screen.less +7 -7
  13. package/nstyles/components/layout/other-menu.less +142 -142
  14. package/nstyles/components/layout/page-view.less +101 -101
  15. package/nstyles/components/layout/sider-trigger.less +41 -41
  16. package/nstyles/components/layout/tags-nav.less +113 -113
  17. package/nstyles/components/modal.less +85 -85
  18. package/nstyles/components/n-button.less +131 -0
  19. package/nstyles/components/n-image-preview.less +131 -0
  20. package/nstyles/components/n-model/index.less +19 -0
  21. package/nstyles/components/n-model/report-index.less +43 -0
  22. package/nstyles/components/n-panel.less +41 -0
  23. package/nstyles/components/n-picker.less +37 -0
  24. package/nstyles/components/n-sign.less +17 -0
  25. package/nstyles/components/n-tooltip.less +10 -0
  26. package/nstyles/components/panel.less +31 -31
  27. package/nstyles/components/select.less +3 -3
  28. package/nstyles/components/sign.less +27 -27
  29. package/nstyles/components/tree.less +1 -1
  30. package/nstyles/components/upload.less +131 -131
  31. package/nstyles/index.less +5 -5
  32. package/nstyles/reset.less +65 -65
  33. package/nstyles/third/ag.less +3 -2
  34. package/nstyles/third/index.less +11 -11
  35. package/nstyles/third/view-design.less +356 -356
  36. package/nstyles/variables/base.less +143 -143
  37. package/nstyles/variables/index.less +4 -4
  38. package/nstyles/variables/theme/default/button.less +7 -7
  39. package/nstyles/variables/theme/default/common.less +57 -57
  40. package/nstyles/variables/theme/default/index.less +7 -7
  41. package/nstyles/variables/theme/default/layout.less +40 -40
  42. package/nstyles/variables/theme/default/table.less +37 -37
  43. package/nstyles/variables/theme/default/tag.less +3 -3
  44. package/nstyles/variables/theme/default/upload.less +3 -3
  45. package/nstyles/variables/theme/index.less +13 -13
  46. package/nstyles/variables/theme/small/button.less +7 -7
  47. package/nstyles/variables/theme/small/common.less +39 -39
  48. package/nstyles/variables/theme/small/index.less +5 -5
  49. package/nstyles/variables/theme/small/layout.less +21 -21
  50. package/nstyles/variables/theme/small/table.less +17 -17
  51. package/nstyles/variables/theme/small/tag.less +3 -3
  52. package/package.json +4 -1
@@ -1,142 +1,142 @@
1
- .ind-other-menu {
2
- display: flex;
3
- width: 100%;
4
- border-top: 1px solid var(--menu-black-active-bg);
5
- background: var(--menu-black-active-bg);
6
-
7
- .other-menu-item {
8
- width: 100%;
9
- height: 40px;
10
- line-height: 40px;
11
- color: var(--menu-white-group-title-color);
12
- text-align: center;
13
- border-radius: 3px;
14
- cursor: pointer;
15
-
16
- &:hover {
17
- color: var(--ind-primary-color);
18
- }
19
- }
20
-
21
- &.ind-other-menu-collapsed {
22
- display: block;
23
-
24
- .other-menu-item {
25
- border-top: 1px solid var(--ind-border-color);
26
-
27
- .ivu-tooltip {
28
- width: 100%;
29
-
30
- .ivu-tooltip-rel {
31
- width: 100%;
32
- }
33
-
34
- .ivu-tooltip-popper .ivu-tooltip-content {
35
- .ivu-tooltip-arrow {
36
- border-right-color: #fff;
37
- }
38
-
39
- .ivu-tooltip-inner {
40
- background: #fff;
41
- color: #495060;
42
- }
43
- }
44
- }
45
-
46
- .other-menu-icon {
47
- font-size: 20px;
48
- }
49
-
50
- .other-menu-title {
51
- font-size: 14px;
52
- display: none;
53
- }
54
- }
55
- }
56
- }
57
-
58
- .ind-other-menu-drawer-wrap {
59
- .ivu-drawer {
60
- // left: 256px;
61
- height: calc(100% - 110px);
62
- bottom: 0;
63
- top: auto;
64
-
65
- .other-menu-history {
66
- .other-menu-history-item {
67
- width: 100%;
68
- height: 35px;
69
- line-height: 35px;
70
- position: relative;
71
-
72
- .delete {
73
- display: none;
74
- position: absolute;
75
- right: 15px;
76
- top: 0px;
77
- cursor: pointer;
78
- }
79
-
80
- &:hover {
81
- .content {
82
- cursor: pointer;
83
- height: 38px;
84
- font-weight: bold;
85
- color: var(--ind-primary-color);
86
- }
87
-
88
- .delete {
89
- display: inline;
90
- }
91
- }
92
- }
93
- }
94
-
95
- .other-menu-collect {
96
- .other-menu-collect-item {
97
- width: 100%;
98
- display: inline-block;
99
- height: 35px;
100
- line-height: 35px;
101
- position: relative;
102
-
103
- .delete {
104
- display: none;
105
- position: absolute;
106
- right: 15px;
107
- top: 0px;
108
- z-index: 100;
109
- cursor: pointer;
110
- }
111
-
112
- &:hover {
113
- .content {
114
- cursor: pointer;
115
- color: var(--ind-primary-color);
116
-
117
- .ivu-tooltip {
118
- .ivu-tooltip-rel {
119
- .ivu-icon {
120
- // font-size: 43px;
121
- }
122
- }
123
- }
124
- }
125
-
126
- .delete {
127
- display: inline;
128
- }
129
- }
130
- }
131
- }
132
- }
133
- }
134
-
135
- .ind-other-menu-drawer-wrap-collapsed {
136
- .ivu-drawer {
137
- left: 65px;
138
- height: calc(100% - 110px);
139
- bottom: 0;
140
- top: auto;
141
- }
142
- }
1
+ .ind-other-menu {
2
+ display: flex;
3
+ width: 100%;
4
+ border-top: 1px solid var(--menu-black-active-bg);
5
+ background: var(--menu-black-active-bg);
6
+
7
+ .other-menu-item {
8
+ width: 100%;
9
+ height: 40px;
10
+ line-height: 40px;
11
+ color: var(--menu-white-group-title-color);
12
+ text-align: center;
13
+ border-radius: 3px;
14
+ cursor: pointer;
15
+
16
+ &:hover {
17
+ color: var(--ind-primary-color);
18
+ }
19
+ }
20
+
21
+ &.ind-other-menu-collapsed {
22
+ display: block;
23
+
24
+ .other-menu-item {
25
+ border-top: 1px solid var(--ind-border-color);
26
+
27
+ .ivu-tooltip {
28
+ width: 100%;
29
+
30
+ .ivu-tooltip-rel {
31
+ width: 100%;
32
+ }
33
+
34
+ .ivu-tooltip-popper .ivu-tooltip-content {
35
+ .ivu-tooltip-arrow {
36
+ border-right-color: #fff;
37
+ }
38
+
39
+ .ivu-tooltip-inner {
40
+ background: #fff;
41
+ color: #495060;
42
+ }
43
+ }
44
+ }
45
+
46
+ .other-menu-icon {
47
+ font-size: 20px;
48
+ }
49
+
50
+ .other-menu-title {
51
+ font-size: 14px;
52
+ display: none;
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ .ind-other-menu-drawer-wrap {
59
+ .ivu-drawer {
60
+ // left: 256px;
61
+ height: calc(100% - 110px);
62
+ bottom: 0;
63
+ top: auto;
64
+
65
+ .other-menu-history {
66
+ .other-menu-history-item {
67
+ width: 100%;
68
+ height: 35px;
69
+ line-height: 35px;
70
+ position: relative;
71
+
72
+ .delete {
73
+ display: none;
74
+ position: absolute;
75
+ right: 15px;
76
+ top: 0px;
77
+ cursor: pointer;
78
+ }
79
+
80
+ &:hover {
81
+ .content {
82
+ cursor: pointer;
83
+ height: 38px;
84
+ font-weight: bold;
85
+ color: var(--ind-primary-color);
86
+ }
87
+
88
+ .delete {
89
+ display: inline;
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ .other-menu-collect {
96
+ .other-menu-collect-item {
97
+ width: 100%;
98
+ display: inline-block;
99
+ height: 35px;
100
+ line-height: 35px;
101
+ position: relative;
102
+
103
+ .delete {
104
+ display: none;
105
+ position: absolute;
106
+ right: 15px;
107
+ top: 0px;
108
+ z-index: 100;
109
+ cursor: pointer;
110
+ }
111
+
112
+ &:hover {
113
+ .content {
114
+ cursor: pointer;
115
+ color: var(--ind-primary-color);
116
+
117
+ .ivu-tooltip {
118
+ .ivu-tooltip-rel {
119
+ .ivu-icon {
120
+ // font-size: 43px;
121
+ }
122
+ }
123
+ }
124
+ }
125
+
126
+ .delete {
127
+ display: inline;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ .ind-other-menu-drawer-wrap-collapsed {
136
+ .ivu-drawer {
137
+ left: 65px;
138
+ height: calc(100% - 110px);
139
+ bottom: 0;
140
+ top: auto;
141
+ }
142
+ }
@@ -1,101 +1,101 @@
1
- @menu-name-padding: var(--menu-name-padding); // 15px 28px 15px 30px; // 标题行padding
2
- @menu-title-font-size: var(--menu-title-font-size); // 20px;
3
- @menu-title-color: var(--menu-title-color); // #17233d;
4
- @page-content-padding: var(--page-content-padding); // 12px;
5
-
6
- .ind-page-view {
7
- height: 100%;
8
- background-color: var(--ind-bg-color-dark);
9
- overflow: auto;
10
-
11
- .header {
12
- display: flex;
13
- align-items: center;
14
- padding: @menu-name-padding;
15
- // padding: 0 var(--ind-page-padding);
16
- border-bottom: 1px solid var(--ind-border-color);
17
- background: white;
18
- z-index: 15;
19
-
20
- .title {
21
- font-size: @menu-title-font-size;
22
- font-weight: 500;
23
- line-height: 32px;
24
- color: @menu-title-color;
25
- }
26
-
27
- .back-btn + .title {
28
- margin-left: 8px;
29
- }
30
-
31
- .function-wrapper {
32
- flex-grow: 1;
33
- display: flex;
34
- justify-content: flex-end;
35
- align-items: center;
36
-
37
- .ivu-btn + .ivu-btn {
38
- margin-left: 10px;
39
- }
40
- }
41
- }
42
-
43
- .content {
44
- // padding: var(--ind-page-padding);
45
- padding: @page-content-padding @page-content-padding 0;
46
- box-sizing: border-box;
47
-
48
- .top-search-content {
49
- margin-bottom: var(--ind-panel-vertical-margin);
50
- }
51
-
52
- .body-content {
53
- display: flex;
54
- height: 10px; // 为了不被撑开,给个高度
55
-
56
- .body-left-content {
57
- flex: 0 0 16.67%;
58
- // margin-right: var(--ind-panel-horizon-margin);
59
- margin-right: 5px;
60
- overflow: auto;
61
- }
62
-
63
- .body-right-content {
64
- flex: auto;
65
-
66
- .ind-loading-panel {
67
- height: 100% !important;
68
- }
69
-
70
- .main-content {
71
- overflow-y: auto;
72
- overflow-x: hidden;
73
- }
74
-
75
- .body-right-content-footer {
76
- display: flex;
77
- justify-content: center;
78
- align-items: center;
79
- }
80
- }
81
- }
82
-
83
- .bottom {
84
- display: flex;
85
- justify-content: center;
86
- align-items: center;
87
- // margin-top: var(--ind-panel-vertical-margin);
88
-
89
- // from emp
90
- margin-top: 4px;
91
- margin-left: calc(0px - @page-content-padding);
92
- padding: 6px 0;
93
- width: calc(100% + @page-content-padding * 2);
94
- border-top: 1px solid var(--ind-border-color);
95
- background: #fff;
96
- .ivu-btn + .ivu-btn {
97
- margin-left: 10px;
98
- }
99
- }
100
- }
101
- }
1
+ @menu-name-padding: var(--menu-name-padding); // 15px 28px 15px 30px; // 标题行padding
2
+ @menu-title-font-size: var(--menu-title-font-size); // 20px;
3
+ @menu-title-color: var(--menu-title-color); // #17233d;
4
+ @page-content-padding: var(--page-content-padding); // 12px;
5
+
6
+ .ind-page-view {
7
+ height: 100%;
8
+ background-color: var(--ind-bg-color-dark);
9
+ overflow: auto;
10
+
11
+ .header {
12
+ display: flex;
13
+ align-items: center;
14
+ padding: @menu-name-padding;
15
+ // padding: 0 var(--ind-page-padding);
16
+ border-bottom: 1px solid var(--ind-border-color);
17
+ background: white;
18
+ z-index: 15;
19
+
20
+ .title {
21
+ font-size: @menu-title-font-size;
22
+ font-weight: 500;
23
+ line-height: 32px;
24
+ color: @menu-title-color;
25
+ }
26
+
27
+ .back-btn + .title {
28
+ margin-left: 8px;
29
+ }
30
+
31
+ .function-wrapper {
32
+ flex-grow: 1;
33
+ display: flex;
34
+ justify-content: flex-end;
35
+ align-items: center;
36
+
37
+ .ivu-btn + .ivu-btn {
38
+ margin-left: 10px;
39
+ }
40
+ }
41
+ }
42
+
43
+ .content {
44
+ // padding: var(--ind-page-padding);
45
+ padding: @page-content-padding @page-content-padding 0;
46
+ box-sizing: border-box;
47
+
48
+ .top-search-content {
49
+ margin-bottom: var(--ind-panel-vertical-margin);
50
+ }
51
+
52
+ .body-content {
53
+ display: flex;
54
+ height: 10px; // 为了不被撑开,给个高度
55
+
56
+ .body-left-content {
57
+ flex: 0 0 16.67%;
58
+ // margin-right: var(--ind-panel-horizon-margin);
59
+ margin-right: 5px;
60
+ overflow: auto;
61
+ }
62
+
63
+ .body-right-content {
64
+ flex: auto;
65
+
66
+ .ind-loading-panel {
67
+ height: 100% !important;
68
+ }
69
+
70
+ .main-content {
71
+ overflow-y: auto;
72
+ overflow-x: hidden;
73
+ }
74
+
75
+ .body-right-content-footer {
76
+ display: flex;
77
+ justify-content: center;
78
+ align-items: center;
79
+ }
80
+ }
81
+ }
82
+
83
+ .bottom {
84
+ display: flex;
85
+ justify-content: center;
86
+ align-items: center;
87
+ // margin-top: var(--ind-panel-vertical-margin);
88
+
89
+ // from emp
90
+ margin-top: 4px;
91
+ margin-left: calc(0px - @page-content-padding);
92
+ padding: 6px 0;
93
+ width: calc(100% + @page-content-padding * 2);
94
+ border-top: 1px solid var(--ind-border-color);
95
+ background: #fff;
96
+ .ivu-btn + .ivu-btn {
97
+ margin-left: 10px;
98
+ }
99
+ }
100
+ }
101
+ }
@@ -1,41 +1,41 @@
1
- .ind-sider-trigger {
2
- display: flex;
3
- justify-content: space-between;
4
- align-items: center;
5
- padding: 6px;
6
- width: 100%;
7
- height: 50px;
8
- color: var(--ind-text-color);
9
- background: #fff;
10
- overflow: hidden;
11
- box-sizing: border-box;
12
- cursor: pointer;
13
-
14
- .title {
15
- margin-left: 10px;
16
- height: 32px;
17
- line-height: 32px;
18
- font-size: 16px;
19
- width: 100%;
20
- font-weight: bold;
21
- overflow: hidden;
22
- }
23
-
24
- .trans {
25
- transition: transform 0.2s ease;
26
- }
27
-
28
- i {
29
- .trans;
30
- }
31
-
32
- &.collapsed {
33
- justify-content: center;
34
- transition: width 0.2s ease-in-out;
35
-
36
- i {
37
- transform: rotateZ(90deg);
38
- .trans;
39
- }
40
- }
41
- }
1
+ .ind-sider-trigger {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ align-items: center;
5
+ padding: 6px;
6
+ width: 100%;
7
+ height: 50px;
8
+ color: var(--ind-text-color);
9
+ background: #fff;
10
+ overflow: hidden;
11
+ box-sizing: border-box;
12
+ cursor: pointer;
13
+
14
+ .title {
15
+ margin-left: 10px;
16
+ height: 32px;
17
+ line-height: 32px;
18
+ font-size: 16px;
19
+ width: 100%;
20
+ font-weight: bold;
21
+ overflow: hidden;
22
+ }
23
+
24
+ .trans {
25
+ transition: transform 0.2s ease;
26
+ }
27
+
28
+ i {
29
+ .trans;
30
+ }
31
+
32
+ &.collapsed {
33
+ justify-content: center;
34
+ transition: width 0.2s ease-in-out;
35
+
36
+ i {
37
+ transform: rotateZ(90deg);
38
+ .trans;
39
+ }
40
+ }
41
+ }