@indfnd/common 0.0.87 → 0.0.89
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 +30 -0
- package/css/view-design/fonts/ionicons.svg +870 -0
- package/css/view-design/fonts/ionicons.ttf +0 -0
- package/css/view-design/fonts/ionicons.woff +0 -0
- package/css/view-design/fonts/ionicons.woff2 +0 -0
- package/css/view-design/iview.css +17232 -0
- package/dist/ind-common.es.js +172 -94
- package/dist/ind-common.umd.cjs +32 -42
- package/dist/styles/imgs/error-page/error-401.svg +1 -0
- package/dist/styles/imgs/error-page/error-404.svg +1 -0
- package/dist/styles/imgs/error-page/error-500.svg +1 -0
- package/dist/styles/imgs/logo.png +0 -0
- package/dist/styles/index.css +1 -1
- package/package.json +12 -3
- package/src/styles/common.less +170 -0
- package/src/styles/components/404.less +46 -0
- package/src/styles/components/button.less +34 -0
- package/src/styles/components/date-picker.less +31 -0
- package/src/styles/components/drawer.less +20 -0
- package/src/styles/components/dropdown.less +14 -0
- package/src/styles/components/excel-flow.less +72 -0
- package/src/styles/components/form.less +291 -0
- package/src/styles/components/index.less +15 -0
- package/src/styles/components/layout/basic-layout.less +238 -0
- package/src/styles/components/layout/collect.less +10 -0
- package/src/styles/components/layout/detail-view.less +88 -0
- package/src/styles/components/layout/full-screen.less +7 -0
- package/src/styles/components/layout/index.less +8 -0
- package/src/styles/components/layout/other-menu.less +142 -0
- package/src/styles/components/layout/page-view.less +101 -0
- package/src/styles/components/layout/sider-trigger.less +41 -0
- package/src/styles/components/layout/tags-nav.less +113 -0
- package/src/styles/components/login.less +47 -0
- package/src/styles/components/modal.less +29 -0
- package/src/styles/components/panel.less +31 -0
- package/src/styles/components/sign.less +27 -0
- package/src/styles/components/table.less +266 -0
- package/src/styles/components/tree.less +169 -0
- package/src/styles/components/upload.less +131 -0
- package/src/styles/index.less +5 -0
- package/src/styles/reset.less +55 -0
- package/src/styles/third/ag.less +117 -0
- package/src/styles/third/icons/sort-desc.svg +1 -0
- package/src/styles/third/icons/sort-up.svg +1 -0
- package/src/styles/third/icons/sorting.svg +1 -0
- package/src/styles/third/index.less +11 -0
- package/src/styles/third/view-design.less +321 -0
- package/src/styles/variables/base.less +8 -13
- package/src/styles/variables/index.less +3 -2
- package/src/styles/variables/theme/default/button.less +7 -0
- package/src/styles/variables/theme/default/common.less +25 -0
- package/src/styles/variables/theme/default/index.less +7 -0
- package/src/styles/variables/theme/default/layout.less +35 -0
- package/src/styles/variables/theme/default/table.less +33 -0
- package/src/styles/variables/theme/default/tag.less +3 -0
- package/src/styles/variables/theme/default/upload.less +3 -0
- package/src/styles/variables/theme/index.less +13 -0
- package/src/styles/variables/theme/small/button.less +7 -0
- package/src/styles/variables/theme/small/index.less +4 -0
- package/src/styles/variables/theme/small/layout.less +16 -0
- package/src/styles/variables/theme/small/table.less +13 -0
- package/src/styles/variables/theme/small/tag.less +3 -0
- package/dist/styles/imgs/head.png +0 -0
- package/dist/styles/imgs/headicon2.png +0 -0
- package/dist/styles/imgs/headlogo.png +0 -0
- package/src/styles/variables/theme1.less +0 -121
- package/src/styles/variables/theme2.less +0 -126
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
// basic layout 系统布局变量 -begin
|
|
3
|
+
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
4
|
+
|
|
5
|
+
--menu-icon-margin-right: var(--ind-padding-xs);
|
|
6
|
+
// basic layout 系统布局变量 -end
|
|
7
|
+
|
|
8
|
+
// page-view layout 系统布局变量 -begin
|
|
9
|
+
--ind-panel-vertical-margin: 12px;
|
|
10
|
+
--ind-panel-horizon-margin: var(--ind-padding-sm);
|
|
11
|
+
// page-view layout 系统布局变量 -end
|
|
12
|
+
|
|
13
|
+
--input-height: 24px; // small 24px
|
|
14
|
+
--search-margin-bottom: var(--ind-padding-sm); // 24px; // 6px;
|
|
15
|
+
--search-button-margin: var(--ind-padding-sm);
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
--ind-table-padding: var(--ind-padding-sm);
|
|
3
|
+
|
|
4
|
+
--ind-ag-grid-size: 4px;
|
|
5
|
+
--ind-ag-font-size: var(--ind-font-size-sm);
|
|
6
|
+
--ind-ag-list-item-height: calc(var(--ag-grid-size) * 6);
|
|
7
|
+
--ind-ag-cell-horizontal-padding: 0;
|
|
8
|
+
|
|
9
|
+
// 以下是 ag 没有的
|
|
10
|
+
--ind-ag-cell-icon-margin-left: 0;
|
|
11
|
+
--ind-ag-cell-header-horizontal-padding: 3px;
|
|
12
|
+
--ind-ag-cell-line-height: 14px;
|
|
13
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* 主题变量,定义一些具有指定业务场景的变量
|
|
3
|
-
* 一般不写具体样式,而是使用 base.less 中的基础变量
|
|
4
|
-
*
|
|
5
|
-
* @Author: huxuetong
|
|
6
|
-
* @Date: 2023-08-16 16:28:40
|
|
7
|
-
* @Last Modified by: huxuetong
|
|
8
|
-
* @Last Modified time: 2024-01-18 22:37:29
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
.theme1 {
|
|
12
|
-
// 主颜色
|
|
13
|
-
--ind-primary-color: var(--ind-blue);
|
|
14
|
-
--ind-bg-color-light: var(--ind-white);
|
|
15
|
-
|
|
16
|
-
// 页面的边距
|
|
17
|
-
--ind-page-padding: var(--ind-padding-xs);
|
|
18
|
-
|
|
19
|
-
--desc-color: #999;
|
|
20
|
-
|
|
21
|
-
--main-color: var(--ind-blue);
|
|
22
|
-
--deep-mian-color: #2b85e4;
|
|
23
|
-
--deep-menu-color: #f3f2f0;
|
|
24
|
-
--selected-background: #1890ff;
|
|
25
|
-
--selected-background-hover: #384568;
|
|
26
|
-
--link-hover-color: tint(#488aff, 20%);
|
|
27
|
-
--info-color: #2db7f5;
|
|
28
|
-
--success-color: #19be6b;
|
|
29
|
-
--warning-color: #ff9900;
|
|
30
|
-
--error-color: #ed4014;
|
|
31
|
-
|
|
32
|
-
--nav-bar-color: #333;
|
|
33
|
-
--nav-bar-bg-color: #f5f5f5;
|
|
34
|
-
|
|
35
|
-
--tooltip-color: #fff;
|
|
36
|
-
--subsidiary-color: #808695;
|
|
37
|
-
--rate-star-color: #f5a623;
|
|
38
|
-
|
|
39
|
-
--text-color: #333333;
|
|
40
|
-
|
|
41
|
-
--menu-dark-title: #f5f5f5;
|
|
42
|
-
--menu-dark-active-bg: var(--ind-white);
|
|
43
|
-
--layout-sider-background: #f5f5f5;
|
|
44
|
-
--menu-dark-subsidiary-color: #333333;
|
|
45
|
-
--menu-dark-group-title-color: #333333;
|
|
46
|
-
--menu-white-group-title-color: #b6b6b8;
|
|
47
|
-
|
|
48
|
-
--border-color-base: var(--ind-border-color-base);
|
|
49
|
-
|
|
50
|
-
--check-border: #dcdee2;
|
|
51
|
-
|
|
52
|
-
--main-background: #f5f7f9;
|
|
53
|
-
|
|
54
|
-
--table-td-hover-bg: tint(#488aff, 90%);
|
|
55
|
-
|
|
56
|
-
--red-color: red;
|
|
57
|
-
|
|
58
|
-
--input-border-color: #999999;
|
|
59
|
-
|
|
60
|
-
--blue-color: var(--ind-blue);
|
|
61
|
-
|
|
62
|
-
--green-color: green;
|
|
63
|
-
|
|
64
|
-
--gray-color: #ccc;
|
|
65
|
-
|
|
66
|
-
--font-size-large: 16px;
|
|
67
|
-
|
|
68
|
-
/*
|
|
69
|
-
* ag-grid合计行颜色变量
|
|
70
|
-
*/
|
|
71
|
-
--ag-sum-row-color-10: #cccfd7;
|
|
72
|
-
--ag-sum-row-color-5: #dcdfe6;
|
|
73
|
-
--ag-sum-row-color-1: #ebedf2;
|
|
74
|
-
|
|
75
|
-
--ind-main-sider-width: 200px;
|
|
76
|
-
--ind-main-sider-collapsed-width: 68px;
|
|
77
|
-
|
|
78
|
-
// basic layout 系统布局变量 -begin
|
|
79
|
-
--header-height: 48px;
|
|
80
|
-
--header-bg: linear-gradient(90deg, #1d42ab, #2173dc, #1e93ff);
|
|
81
|
-
--header-color: hsla(0, 0%, 100%, 0.7);
|
|
82
|
-
--header-color-hover: var(--ind-white);
|
|
83
|
-
--header-border-bottom-color: #4fe3c1;
|
|
84
|
-
--menu-black-active-bg: var(--ind-white); //#263353;
|
|
85
|
-
--menu-white-group-title-color: var(--text-color); //#B6B6B8;
|
|
86
|
-
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
87
|
-
|
|
88
|
-
--menu-select-bg: #f0faff;
|
|
89
|
-
--deep-menu-color: var(--ind-primary-color); //@text-color; //#F3F2F0;
|
|
90
|
-
--selected-background: var(--menu-select-bg); //@primary-color;
|
|
91
|
-
--selected-background-hover: var(--menu-select-bg); //#384568;
|
|
92
|
-
--menu-icon-margin-right: var(--ind-padding-xs);
|
|
93
|
-
// basic layout 系统布局变量 -end
|
|
94
|
-
|
|
95
|
-
// page-view layout 系统布局变量 -begin
|
|
96
|
-
--ind-panel-vertical-margin: 12px;
|
|
97
|
-
--ind-panel-horizon-margin: var(--ind-padding-sm);
|
|
98
|
-
--search-margin-bottom: var(--ind-padding-sm); // 24px; // 6px;
|
|
99
|
-
--search-button-margin: var(--ind-padding-sm);
|
|
100
|
-
// page-view layout 系统布局变量 -end
|
|
101
|
-
|
|
102
|
-
// table layout 系统布局变量 -begin
|
|
103
|
-
--grid-table-padding: var(--ind-padding-sm);
|
|
104
|
-
// table layout 系统布局变量 -end
|
|
105
|
-
|
|
106
|
-
--file-line-height: 41px;
|
|
107
|
-
|
|
108
|
-
--input-height: 24px;
|
|
109
|
-
--ind-small-button-height: 24px;
|
|
110
|
-
--ind-small-button-padding: 7px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.theme1 .ag-theme-balham {
|
|
114
|
-
--ag-font-size: var(--ind-font-size-sm);
|
|
115
|
-
--ag-cell-line-heght: 14px;
|
|
116
|
-
|
|
117
|
-
--ag-cell-icon-margin-left: 0;
|
|
118
|
-
--ag-cell-horizontal-padding: 0;
|
|
119
|
-
--ag-cell-header-horizontal-padding: 3px;
|
|
120
|
-
--ag-row-group-indent-size: 28px;
|
|
121
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* 主题变量,定义一些具有指定业务场景的变量
|
|
3
|
-
* 一般不写具体样式,而是使用 base.less 中的基础变量
|
|
4
|
-
*
|
|
5
|
-
* @Author: huxuetong
|
|
6
|
-
* @Date: 2023-08-16 16:28:40
|
|
7
|
-
* @Last Modified by: huxuetong
|
|
8
|
-
* @Last Modified time: 2024-03-03 20:03:49
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
.theme2 {
|
|
12
|
-
// 主颜色
|
|
13
|
-
--ind-primary-color: var(--ind-blue);
|
|
14
|
-
--ind-bg-color-light: var(--ind-white);
|
|
15
|
-
|
|
16
|
-
// 页面的边距
|
|
17
|
-
--ind-page-padding: var(--ind-padding-xs);
|
|
18
|
-
|
|
19
|
-
--desc-color: #999;
|
|
20
|
-
|
|
21
|
-
--main-color: var(--ind-blue);
|
|
22
|
-
--deep-mian-color: #2b85e4;
|
|
23
|
-
--deep-menu-color: #f3f2f0;
|
|
24
|
-
--selected-background: #1890ff;
|
|
25
|
-
--selected-background-hover: #384568;
|
|
26
|
-
--link-hover-color: tint(#488aff, 20%);
|
|
27
|
-
--info-color: #2db7f5;
|
|
28
|
-
--success-color: #19be6b;
|
|
29
|
-
--warning-color: #ff9900;
|
|
30
|
-
--error-color: #ed4014;
|
|
31
|
-
|
|
32
|
-
--nav-bar-color: #333;
|
|
33
|
-
--nav-bar-bg-color: #f5f5f5;
|
|
34
|
-
|
|
35
|
-
--tooltip-color: #fff;
|
|
36
|
-
--subsidiary-color: #808695;
|
|
37
|
-
--rate-star-color: #f5a623;
|
|
38
|
-
|
|
39
|
-
--text-color: #333333;
|
|
40
|
-
|
|
41
|
-
--menu-dark-title: #f5f5f5;
|
|
42
|
-
--menu-dark-active-bg: var(--ind-white);
|
|
43
|
-
--layout-sider-background: #f5f5f5;
|
|
44
|
-
--menu-dark-subsidiary-color: #333333;
|
|
45
|
-
--menu-dark-group-title-color: #333333;
|
|
46
|
-
--menu-white-group-title-color: #b6b6b8;
|
|
47
|
-
|
|
48
|
-
--border-color-base: var(--ind-border-color-base);
|
|
49
|
-
|
|
50
|
-
--check-border: #dcdee2;
|
|
51
|
-
|
|
52
|
-
--main-background: #f5f7f9;
|
|
53
|
-
|
|
54
|
-
--table-td-hover-bg: tint(#488aff, 90%);
|
|
55
|
-
|
|
56
|
-
--red-color: red;
|
|
57
|
-
|
|
58
|
-
--input-border-color: #999999;
|
|
59
|
-
|
|
60
|
-
--blue-color: var(--ind-blue);
|
|
61
|
-
|
|
62
|
-
--green-color: green;
|
|
63
|
-
|
|
64
|
-
--gray-color: #ccc;
|
|
65
|
-
|
|
66
|
-
--font-size-large: var(--ind-font-size-lg);
|
|
67
|
-
|
|
68
|
-
/*
|
|
69
|
-
* ag-grid合计行颜色变量
|
|
70
|
-
*/
|
|
71
|
-
--ag-sum-row-color-10: #cccfd7;
|
|
72
|
-
--ag-sum-row-color-5: #dcdfe6;
|
|
73
|
-
--ag-sum-row-color-1: #ebedf2;
|
|
74
|
-
|
|
75
|
-
--ind-main-sider-width: 200px;
|
|
76
|
-
--ind-main-sider-collapsed-width: 68px;
|
|
77
|
-
|
|
78
|
-
// basic layout 系统布局变量 -begin
|
|
79
|
-
--header-height: 48px;
|
|
80
|
-
--header-bg: linear-gradient(90deg, #1d42ab, #2173dc, #1e93ff);
|
|
81
|
-
--header-color: hsla(0, 0%, 100%, 0.7);
|
|
82
|
-
--header-color-hover: var(--ind-white);
|
|
83
|
-
--header-border-bottom-color: #4fe3c1;
|
|
84
|
-
--menu-black-active-bg: var(--ind-white); //#263353;
|
|
85
|
-
--menu-white-group-title-color: var(--text-color); //#B6B6B8;
|
|
86
|
-
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
87
|
-
|
|
88
|
-
--menu-select-bg: #f0faff;
|
|
89
|
-
--deep-menu-color: var(--ind-primary-color); //@text-color; //#F3F2F0;
|
|
90
|
-
--selected-background: var(--menu-select-bg); //@primary-color;
|
|
91
|
-
--selected-background-hover: var(--menu-select-bg); //#384568;
|
|
92
|
-
--menu-icon-margin-right: 8px;
|
|
93
|
-
// basic layout 系统布局变量 -end
|
|
94
|
-
|
|
95
|
-
// page-view layout 系统布局变量 -begin
|
|
96
|
-
--ind-panel-vertical-margin: 12px;
|
|
97
|
-
--ind-panel-horizon-margin: 16px;
|
|
98
|
-
--search-margin-bottom: 16px; // 24px; // 6px;
|
|
99
|
-
--search-button-margin: 16px;
|
|
100
|
-
// page-view layout 系统布局变量 -end
|
|
101
|
-
|
|
102
|
-
// table layout 系统布局变量 -begin
|
|
103
|
-
--grid-table-padding: 16px;
|
|
104
|
-
// table layout 系统布局变量 -end
|
|
105
|
-
|
|
106
|
-
--file-line-height: 41px;
|
|
107
|
-
|
|
108
|
-
--input-height: 32px;
|
|
109
|
-
--ind-small-button-height: 32px;
|
|
110
|
-
--ind-small-button-padding: 15px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.theme2 .ag-theme-balham {
|
|
114
|
-
--ag-grid-size: 6px;
|
|
115
|
-
--ag-font-size: var(--ind-font-size-md);
|
|
116
|
-
--ag-list-item-height: 42px;
|
|
117
|
-
--ag-odd-row-background-color: #fcfdfe;
|
|
118
|
-
--ag-row-hover-color: rgba(0, 0, 0, 0.05);
|
|
119
|
-
--ag-column-hover-color: rgba(0, 0, 0, 0.05);
|
|
120
|
-
|
|
121
|
-
--ag-cell-icon-margin-left: var(--ag-grid-size);
|
|
122
|
-
--ag-cell-horizontal-padding: 12px;
|
|
123
|
-
--ag-cell-header-horizontal-padding: var(--ag-cell-horizontal-padding);
|
|
124
|
-
--ag-cell-line-heght: 20px;
|
|
125
|
-
--ag-row-group-indent-size: 28px;
|
|
126
|
-
}
|