cc-core-cli 1.0.142 → 1.0.144
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/package.json +1 -1
- package/template/admin/pages/setting/entities/index.js +1 -1
- package/template/admin/public/static/styles/custom-antd.css +105 -20
- package/template/admin/public/static/styles/detail.css +38 -2
- package/template/admin/public/static/styles/entities.css +8 -0
- package/template/admin/public/static/styles/import_export.css +7 -3
- package/template/admin/public/static/styles/input.css +4 -1
- package/template/admin/public/static/styles/layout.css +33 -5
package/package.json
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
/* Primary Colors */
|
|
3
3
|
--primary-color: #04ace4;
|
|
4
4
|
--secondary-color: #c59b7c;
|
|
5
|
-
--info-color
|
|
6
|
-
--action-color:var(--info-color);
|
|
5
|
+
--info-color: #fcbc05;
|
|
6
|
+
--action-color: var(--info-color);
|
|
7
7
|
--success-color: #52c41a;
|
|
8
8
|
--processing-color: #1890ff;
|
|
9
9
|
--error-color: #f5222d;
|
|
10
10
|
--highlight-color: #f5222d;
|
|
11
11
|
--warning-color: #faad14;
|
|
12
12
|
--normal-color: #d9d9d9;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
|
|
14
|
+
|
|
15
15
|
/* Text Colors */
|
|
16
16
|
--text-color: rgba(0, 0, 0, 0.65);
|
|
17
17
|
--text-color-secondary: rgba(0, 0, 0, 0.35);
|
|
18
18
|
--text-color-label: rgba(0, 0, 0, 0.85);
|
|
19
19
|
--text-color-disabled: rgba(0, 0, 0, 0.25);
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
/* Background Colors */
|
|
22
22
|
--background-color: #f6f7f9;
|
|
23
23
|
--white-color: #ffffff;
|
|
@@ -33,30 +33,31 @@
|
|
|
33
33
|
--antd-table-disabled-bg: #f5f5f5;
|
|
34
34
|
--antd-empty-bg: #fafafa;
|
|
35
35
|
--scrollbar-thumb-hover: #bfbfbf;
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
/* Border & Radius */
|
|
38
38
|
--border-color-base: #d9d9d9;
|
|
39
39
|
--border-color-split: rgba(0, 0, 0, 0.05);
|
|
40
40
|
--border-radius-base: 6px;
|
|
41
41
|
--border-radius-sm: 5px;
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
/* Layout */
|
|
44
44
|
--layout-header-background: #ffffff;
|
|
45
45
|
--layout-header-height: 60px;
|
|
46
46
|
--layout-footer-background: #04ace4;
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
/* Menu */
|
|
49
49
|
--menu-dark-bg: #ffffff;
|
|
50
50
|
--menu-dark-submenu-bg: #f6f7f9;
|
|
51
51
|
--menu-item-color: rgba(0, 0, 0, 0.65);
|
|
52
52
|
/* --menu-highlight-color: #04ace4; */
|
|
53
|
-
--menu-highlight-color: #1890ff;
|
|
53
|
+
--menu-highlight-color: #1890ff;
|
|
54
|
+
/* AntD default */
|
|
54
55
|
--menu-item-active-bg: #04ace4;
|
|
55
56
|
--menu-item-group-title-color: #625f6e;
|
|
56
57
|
--menu-popup-bg: #ffffff;
|
|
57
58
|
--menu-inline-toplevel-item-height: 36px;
|
|
58
59
|
--menu-item-height: 36px;
|
|
59
|
-
|
|
60
|
+
|
|
60
61
|
/* Table */
|
|
61
62
|
--table-header-bg: #fafafa;
|
|
62
63
|
--table-header-color: rgba(0, 0, 0, 0.85);
|
|
@@ -72,18 +73,18 @@
|
|
|
72
73
|
--code-family: "Anonymous Pro", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
73
74
|
--label-bigger: 16px;
|
|
74
75
|
--label-color: rgba(0, 0, 0, .65);
|
|
75
|
-
|
|
76
|
+
|
|
76
77
|
/* Card */
|
|
77
78
|
--card-padding-base: 16px;
|
|
78
79
|
--card-padding-wider: 16px;
|
|
79
|
-
|
|
80
|
+
|
|
80
81
|
/* List */
|
|
81
82
|
--list-layouts-bg: #fafafa;
|
|
82
83
|
--list-layouts-border: #bfbfbf;
|
|
83
|
-
|
|
84
|
+
|
|
84
85
|
/* Breadcrumb */
|
|
85
86
|
--breadcrumb-link-color-hover: #04ace4;
|
|
86
|
-
|
|
87
|
+
|
|
87
88
|
/* Custom Colors */
|
|
88
89
|
--btn-primary-color: #420035;
|
|
89
90
|
--system-yellow-color: #FDDF97;
|
|
@@ -91,19 +92,103 @@
|
|
|
91
92
|
--btn-default-bg: #ffffff;
|
|
92
93
|
--btn-default-color: rgba(0, 0, 0, 0.65);
|
|
93
94
|
--btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
94
|
-
|
|
95
|
+
|
|
95
96
|
/* Radio Button Colors */
|
|
96
97
|
--radio-button-hover-color: #1890ff;
|
|
97
98
|
--radio-button-bg: #e6f7ff;
|
|
99
|
+
|
|
100
|
+
/* Select Dropdown Colors */
|
|
101
|
+
--select-option-selected-bg: rgba(0, 160, 233, 0.1);
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
/* AntD Picker Styles */
|
|
101
|
-
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
|
102
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
|
105
|
+
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
|
106
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
|
103
107
|
.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
|
|
104
|
-
|
|
108
|
+
background-color: var(--primary-color) !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
|
|
112
|
+
background-color: var(--primary-color) !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ant-tag {
|
|
116
|
+
background-color: #fafafa !important;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ant-tag .ant-typography {
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,
|
|
124
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover {
|
|
125
|
+
color: var(--submenu-bg-active-color) !important;
|
|
126
|
+
border-bottom: 2px solid var(--submenu-bg-active-color) !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ant-tag.tag-bool-true {
|
|
130
|
+
background-color: var(--boolean-true) !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ant-tag.tag-bool-false {
|
|
134
|
+
background-color: var(--boolean-false) !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active {
|
|
138
|
+
background-color: white !important;
|
|
139
|
+
border-bottom-color: white !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected a,
|
|
143
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item a:hover {
|
|
144
|
+
color: var(--submenu-bg-active-color) !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab {
|
|
148
|
+
margin-left: 0px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* .ant-empty-img-simple-path {
|
|
152
|
+
fill: #fafafa !important;
|
|
153
|
+
} */
|
|
154
|
+
|
|
155
|
+
.ant-empty-image g g path:nth-child(2) {
|
|
156
|
+
fill: #fafafa !important;
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ant-empty-image g ellipse {
|
|
161
|
+
fill: #f5f5f5 !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Select Dropdown Styles */
|
|
165
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
166
|
+
color: #333333 !important;
|
|
167
|
+
background-color: var(--select-option-selected-bg) !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ant-select-item-option-selected.ant-select-item-option-active:not(.ant-select-item-option-disabled),
|
|
171
|
+
.ant-select-item-option-selected:hover:not(.ant-select-item-option-disabled) {
|
|
172
|
+
color: #333333 !important;
|
|
173
|
+
background-color: var(--select-option-selected-bg) !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ant-select-item-option-active:not(.ant-select-item-option-selected):not(.ant-select-item-option-disabled) {
|
|
177
|
+
background-color: var(--hover-color) !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ant-select-open:not(.ant-select-disabled) .ant-select-selector .ant-select-selection-item,
|
|
181
|
+
.ant-select-open:not(.ant-select-disabled) .ant-select-selector .ant-select-selection-selected-value {
|
|
182
|
+
color: rgba(0, 0, 0, 0.45) !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ant-select-focused .ant-select-selector {
|
|
186
|
+
border-color: var(--primary-color) !important;
|
|
187
|
+
box-shadow: 0 0 0 2px rgba(4, 172, 228, 0.2) !important;
|
|
105
188
|
}
|
|
106
189
|
|
|
107
|
-
.ant-
|
|
108
|
-
|
|
190
|
+
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
191
|
+
border-color: var(--primary-color) !important;
|
|
192
|
+
box-shadow: 0 0 0 2px rgba(4, 172, 228, 0.2) !important;
|
|
193
|
+
outline: 0 !important;
|
|
109
194
|
}
|
|
@@ -339,6 +339,19 @@
|
|
|
339
339
|
box-shadow: unset;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
+
.page-entities .ant-btn.ant-btn-primary.add-field-button {
|
|
343
|
+
color: var(--secondary-color) !important;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.page-entities .ant-btn.ant-btn-primary.add-field-button:hover,
|
|
347
|
+
.page-entities .ant-btn.ant-btn-primary.add-field-button:focus,
|
|
348
|
+
.page-entities .ant-btn.ant-btn-primary.add-field-button:active {
|
|
349
|
+
background: transparent !important;
|
|
350
|
+
border-color: var(--secondary-color) !important;
|
|
351
|
+
color: var(--secondary-color) !important;
|
|
352
|
+
opacity: 0.7;
|
|
353
|
+
}
|
|
354
|
+
|
|
342
355
|
.ant-btn.ant-btn-primary:hover,
|
|
343
356
|
.ant-btn.ant-btn-primary:focus,
|
|
344
357
|
.ant-btn.ant-btn-primary:active {
|
|
@@ -533,8 +546,9 @@
|
|
|
533
546
|
padding: 0px;
|
|
534
547
|
}
|
|
535
548
|
|
|
536
|
-
.table-card .table-action .table-action-button
|
|
537
|
-
|
|
549
|
+
.table-card .table-action .table-action-button,
|
|
550
|
+
.table-card .table-action .table-action-button:hover {
|
|
551
|
+
color: var(--action-color) !important;
|
|
538
552
|
}
|
|
539
553
|
|
|
540
554
|
.table-card .table-action .ant-btn {
|
|
@@ -2576,6 +2590,11 @@
|
|
|
2576
2590
|
border-radius: 1px !important;
|
|
2577
2591
|
}
|
|
2578
2592
|
|
|
2593
|
+
/* Purple ink-bar for detail page tabs only */
|
|
2594
|
+
.render-tabs-component .ant-tabs .ant-tabs-ink-bar {
|
|
2595
|
+
background: var(--submenu-bg-active-color) !important;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2579
2598
|
.ant-tabs .ant-tabs-tab::after {
|
|
2580
2599
|
display: none !important;
|
|
2581
2600
|
}
|
|
@@ -2584,6 +2603,15 @@
|
|
|
2584
2603
|
display: none !important;
|
|
2585
2604
|
}
|
|
2586
2605
|
|
|
2606
|
+
/* Purple color for detail page tabs only, not entities page or hook-tabs */
|
|
2607
|
+
.render-tabs-component .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
2608
|
+
color: var(--submenu-bg-active-color) !important;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
.render-tabs-component .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn .ant-badge {
|
|
2612
|
+
color: var(--submenu-bg-active-color) !important;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2587
2615
|
.ant-drawer-content.import-export .ant-drawer-body .progress {
|
|
2588
2616
|
padding: 0 24px;
|
|
2589
2617
|
margin-bottom: 15px;
|
|
@@ -2637,4 +2665,12 @@
|
|
|
2637
2665
|
|
|
2638
2666
|
.ant-form-item-label>label {
|
|
2639
2667
|
color: rgba(0, 0, 0, .65) !important;
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
.ant-dropdown-menu-title-content a {
|
|
2671
|
+
display: flex;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
.ant-dropdown-menu-title-content a .anticon {
|
|
2675
|
+
margin-right: 2px;
|
|
2640
2676
|
}
|
|
@@ -340,6 +340,14 @@
|
|
|
340
340
|
overflow-y: auto;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
+
.page-entities .input-search {
|
|
344
|
+
margin-bottom: 10px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.page-entities .ant-affix {
|
|
348
|
+
z-index: 1 !important;
|
|
349
|
+
}
|
|
350
|
+
|
|
343
351
|
.page-entities .widget-container .widget-container-body {
|
|
344
352
|
max-height: 50vh;
|
|
345
353
|
overflow-y: auto;
|
|
@@ -6,8 +6,12 @@
|
|
|
6
6
|
margin-right: 6px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.ant-drawer.import-export .ant-drawer-content-wrapper .ant-drawer-wrapper-body .ant-drawer-body {
|
|
10
|
-
padding: 24px 0px;
|
|
9
|
+
/* .ant-drawer.import-export .ant-drawer-content-wrapper .ant-drawer-wrapper-body .ant-drawer-body {
|
|
10
|
+
padding: 24px 0px !important ;
|
|
11
|
+
} */
|
|
12
|
+
|
|
13
|
+
.ant-drawer-content.import-export .ant-drawer-body {
|
|
14
|
+
padding: 24px 24px 0px 24px !important;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
.ant-drawer.import-export .ant-drawer-content-wrapper .ant-drawer-wrapper-body .ant-drawer-body .title-type {
|
|
@@ -45,4 +49,4 @@
|
|
|
45
49
|
.ant-drawer.import-export .ant-drawer-content-wrapper {
|
|
46
50
|
width: 85% !important;
|
|
47
51
|
}
|
|
48
|
-
}
|
|
52
|
+
}
|
|
@@ -74,6 +74,9 @@
|
|
|
74
74
|
.input-icon {
|
|
75
75
|
text-align: center;
|
|
76
76
|
margin-top: 10px;
|
|
77
|
+
overflow-y: auto;
|
|
78
|
+
overflow-x: hidden;
|
|
79
|
+
max-height: 100%;
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
.detail-related-one2one-input {
|
|
@@ -94,4 +97,4 @@
|
|
|
94
97
|
|
|
95
98
|
.detail-related-one2one-input:hover .tag {
|
|
96
99
|
display: inline-block;
|
|
97
|
-
}
|
|
100
|
+
}
|
|
@@ -23,6 +23,10 @@ html body.ant-scrolling-effect {
|
|
|
23
23
|
padding: 10px 16px !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.ant-table-wrapper .ant-table-cell.ant-table-cell-fix-right {
|
|
27
|
+
padding: 10px 8px !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
26
30
|
.ant-typography.ant-typography-secondary {
|
|
27
31
|
color: var(--text-color-secondary);
|
|
28
32
|
}
|
|
@@ -655,7 +659,7 @@ html body.ant-scrolling-effect {
|
|
|
655
659
|
padding: 10px !important;
|
|
656
660
|
margin-bottom: 5px;
|
|
657
661
|
margin-top: 0;
|
|
658
|
-
line-height:
|
|
662
|
+
line-height: 20px;
|
|
659
663
|
}
|
|
660
664
|
|
|
661
665
|
.layouts-sider .main-sider .ant-menu.ant-menu-inline .ant-menu-item .anticon {
|
|
@@ -1326,11 +1330,11 @@ html body.ant-scrolling-effect {
|
|
|
1326
1330
|
}
|
|
1327
1331
|
|
|
1328
1332
|
.layouts-sub-sider-horizontal .ant-menu-item a:hover {
|
|
1329
|
-
color: var(--
|
|
1333
|
+
color: var(--submenu-bg-active-color) !important;
|
|
1330
1334
|
}
|
|
1331
1335
|
|
|
1332
1336
|
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected a {
|
|
1333
|
-
color: var(--
|
|
1337
|
+
color: var(--submenu-bg-active-color) !important;
|
|
1334
1338
|
}
|
|
1335
1339
|
|
|
1336
1340
|
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,
|
|
@@ -1341,8 +1345,28 @@ html body.ant-scrolling-effect {
|
|
|
1341
1345
|
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,
|
|
1342
1346
|
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,
|
|
1343
1347
|
.layouts-sub-sider-horizontal .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected {
|
|
1344
|
-
color: var(--
|
|
1345
|
-
border-bottom: 2px solid var(--
|
|
1348
|
+
color: var(--submenu-bg-active-color) !important;
|
|
1349
|
+
border-bottom: 2px solid var(--submenu-bg-active-color) !important;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/* Override for ant-menu-title-content and menu-label */
|
|
1353
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected .ant-menu-title-content,
|
|
1354
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected .ant-menu-title-content a,
|
|
1355
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected .ant-menu-title-content .menu-label,
|
|
1356
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item-selected a .menu-label {
|
|
1357
|
+
color: var(--submenu-bg-active-color) !important;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
/* Hover state for ant-menu-title-content and menu-label */
|
|
1361
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item:hover .ant-menu-title-content,
|
|
1362
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item:hover .ant-menu-title-content a,
|
|
1363
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item:hover .ant-menu-title-content .menu-label,
|
|
1364
|
+
.layouts-sub-sider-horizontal .ant-menu-horizontal>.ant-menu-item:hover a .menu-label,
|
|
1365
|
+
.layouts-sub-sider-horizontal .ant-menu-item:hover .ant-menu-title-content,
|
|
1366
|
+
.layouts-sub-sider-horizontal .ant-menu-item:hover .ant-menu-title-content a,
|
|
1367
|
+
.layouts-sub-sider-horizontal .ant-menu-item:hover .ant-menu-title-content .menu-label,
|
|
1368
|
+
.layouts-sub-sider-horizontal .ant-menu-item:hover a .menu-label {
|
|
1369
|
+
color: var(--submenu-bg-active-color) !important;
|
|
1346
1370
|
}
|
|
1347
1371
|
|
|
1348
1372
|
.layouts-sub-sider-horizontal .ant-menu-item:hover,
|
|
@@ -1462,4 +1486,8 @@ html body.ant-scrolling-effect {
|
|
|
1462
1486
|
|
|
1463
1487
|
.ant-breadcrumb .ant-typography.ant-typography-secondary {
|
|
1464
1488
|
color: var(--text-color-secondary) !important;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.ant-collapse-content-box {
|
|
1492
|
+
background-color: var(--white-color) !important;
|
|
1465
1493
|
}
|