@indfnd/common 0.1.47 → 0.1.49
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/CHANGELOG.md +21 -0
- package/dist/ind-common.es.js +40 -11
- package/dist/ind-common.umd.cjs +45 -45
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/src/styles/components/date-picker.less +6 -0
- package/src/styles/components/drawer.less +2 -2
- package/src/styles/components/form.less +13 -4
- package/src/styles/components/layout/basic-layout.less +1 -1
- package/src/styles/components/layout/page-view.less +4 -4
- package/src/styles/components/modal.less +4 -4
- package/src/styles/components/table.less +1 -1
- package/src/styles/components/tree.less +6 -2
- package/src/styles/third/view-design.less +10 -6
- package/src/styles/variables/theme/default/common.less +30 -0
- package/src/styles/variables/theme/default/layout.less +5 -0
- package/src/styles/variables/theme/default/table.less +3 -0
- package/src/styles/variables/theme/small/common.less +36 -0
- package/src/styles/variables/theme/small/index.less +1 -0
- package/src/styles/variables/theme/small/layout.less +9 -4
- package/src/styles/variables/theme/small/table.less +7 -4
|
@@ -32,4 +32,9 @@
|
|
|
32
32
|
--input-height: 32px; // small 24px
|
|
33
33
|
--search-margin-bottom: 24px; // small 16px
|
|
34
34
|
--search-button-margin: 16px;
|
|
35
|
+
|
|
36
|
+
--menu-name-padding: 15px 28px 15px 30px; // 标题行padding
|
|
37
|
+
--menu-title-font-size: 20px;
|
|
38
|
+
--menu-title-color: #17233d;
|
|
39
|
+
--page-content-padding: 12px;
|
|
35
40
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
--ind-menu-desc-margin-top: 0px;
|
|
3
|
+
|
|
4
|
+
// 压缩padding
|
|
5
|
+
--ind-padding-xs: 2px;
|
|
6
|
+
--ind-padding-sm: 4px;
|
|
7
|
+
|
|
8
|
+
// card的样式
|
|
9
|
+
--ivu-card-head-padding: 6px 12px;
|
|
10
|
+
--ivu-card-head-line-height: 36px;
|
|
11
|
+
--ivu-card-head-height: 36px;
|
|
12
|
+
--ivu-card-body-padding: 6px;
|
|
13
|
+
|
|
14
|
+
// 表单的样式
|
|
15
|
+
--ivu-form-item-label-padding: 6px 8px 6px 0;
|
|
16
|
+
--ivu-form-v6stle-item-label-paddingleft: 12px;
|
|
17
|
+
--ivu-form-item-content-padding: 4px 6px;
|
|
18
|
+
--ivu-form-item-label-before-left: 4px;
|
|
19
|
+
--ivu-form-item-content-line-height: 24px;
|
|
20
|
+
|
|
21
|
+
// tree样式
|
|
22
|
+
--ind-tree-wrapper-width: 100%;
|
|
23
|
+
--tree-content-padding: var(--ind-padding-xs);
|
|
24
|
+
--ivu-tree-margin: var(--ind-padding-xs) 0;
|
|
25
|
+
|
|
26
|
+
// drawer样式
|
|
27
|
+
--ind-drawer-content-padding: 6px;
|
|
28
|
+
--ind-drawer-footer-padding: 10px 16px;
|
|
29
|
+
|
|
30
|
+
// 报表指标样式
|
|
31
|
+
--report-index-model-panel-padding: var(--tree-content-padding);
|
|
32
|
+
--report-index-options-padding-right: var(--tree-content-padding);
|
|
33
|
+
|
|
34
|
+
// 表格
|
|
35
|
+
--ind-table-button-padding: var(--ind-padding-xs);
|
|
36
|
+
}
|
|
@@ -6,11 +6,16 @@
|
|
|
6
6
|
// basic layout 系统布局变量 -end
|
|
7
7
|
|
|
8
8
|
// page-view layout 系统布局变量 -begin
|
|
9
|
-
--ind-panel-vertical-margin: 12px;
|
|
10
|
-
--ind-panel-horizon-margin: var(--ind-padding-sm);
|
|
9
|
+
--ind-panel-vertical-margin: 6px; // 12px;
|
|
10
|
+
--ind-panel-horizon-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
11
11
|
// page-view layout 系统布局变量 -end
|
|
12
12
|
|
|
13
13
|
--input-height: 24px; // small 24px
|
|
14
|
-
--search-margin-bottom: var(--ind-padding-sm); // 24px; // 6px;
|
|
15
|
-
--search-button-margin: var(--ind-padding-sm);
|
|
14
|
+
--search-margin-bottom: var(--ind-padding-xs); // var(--ind-padding-sm); // 24px; // 6px;
|
|
15
|
+
--search-button-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
16
|
+
|
|
17
|
+
--menu-name-padding: 5px 14px 5px 10px; // 标题行padding
|
|
18
|
+
--menu-title-font-size: 16px;
|
|
19
|
+
--menu-title-color: #17233d;
|
|
20
|
+
--page-content-padding: 6px; // 12px;
|
|
16
21
|
}
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
--ind-ag-cell-widget-spacing: 12px;
|
|
4
4
|
|
|
5
5
|
--ind-ag-grid-size: 4px;
|
|
6
|
-
--ind-ag-font-size: var(--ind-font-size-sm);
|
|
6
|
+
--ind-ag-font-size: var(--ind-font-size-md); // var(--ind-font-size-sm);
|
|
7
7
|
--ind-ag-list-item-height: calc(var(--ag-grid-size) * 6);
|
|
8
|
-
--ind-ag-cell-horizontal-padding:
|
|
8
|
+
--ind-ag-cell-horizontal-padding: 3px; // 0px
|
|
9
9
|
|
|
10
10
|
// 以下是 ag 没有的
|
|
11
|
-
--ind-ag-cell-icon-margin-left:
|
|
12
|
-
--ind-ag-cell-header-horizontal-padding:
|
|
11
|
+
--ind-ag-cell-icon-margin-left: 3px;
|
|
12
|
+
--ind-ag-cell-header-horizontal-padding: 0px;
|
|
13
13
|
--ind-ag-cell-line-height: 14px;
|
|
14
|
+
|
|
15
|
+
--ind-unit-switch-bottom: 4px;
|
|
16
|
+
--ind-other-button-top: 2px;
|
|
14
17
|
}
|