@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,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 更改 AgGrid 的默认样式
|
|
3
|
+
*
|
|
4
|
+
* @Author: huxuetong
|
|
5
|
+
* @Date: 2024-03-12 20:08:55
|
|
6
|
+
* @Last Modified by: huxuetong
|
|
7
|
+
* @Last Modified time: 2024-03-12 20:09:18
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ind-theme {
|
|
11
|
+
.ag-theme-balham {
|
|
12
|
+
--ag-grid-size: var(--ind-ag-grid-size);
|
|
13
|
+
--ag-font-size: var(--ind-ag-font-size);
|
|
14
|
+
--ag-list-item-height: var(--ind-ag-list-item-height);
|
|
15
|
+
--ag-odd-row-background-color: var(--ind-ag-odd-row-background-color);
|
|
16
|
+
--ag-row-hover-color: var(--ind-ag-row-hover-color);
|
|
17
|
+
--ag-column-hover-color: var(--ind-ag-column-hover-color);
|
|
18
|
+
--ag-cell-horizontal-padding: var(--ind-ag-cell-horizontal-padding);
|
|
19
|
+
--ag-row-group-indent-size: var(--ind-ag-row-group-indent-size);
|
|
20
|
+
--ag-selected-row-background-color: var(--ind-ag-selected-row-background-color);
|
|
21
|
+
--ag-header-background-color: var(--ind-ag-header-background-color);
|
|
22
|
+
--ag-odd-row-background-color: var(--ind-ag-odd-row-background-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ag-theme-balham .ag-filter-toolpanel-header,
|
|
26
|
+
.ag-theme-balham .ag-filter-toolpanel-search,
|
|
27
|
+
.ag-theme-balham .ag-status-bar,
|
|
28
|
+
.ag-theme-balham .ag-header-row,
|
|
29
|
+
.ag-theme-balham .ag-multi-filter-group-title-bar,
|
|
30
|
+
.ag-theme-balham-dark .ag-filter-toolpanel-header,
|
|
31
|
+
.ag-theme-balham-dark .ag-filter-toolpanel-search,
|
|
32
|
+
.ag-theme-balham-dark .ag-status-bar,
|
|
33
|
+
.ag-theme-balham-dark .ag-header-row,
|
|
34
|
+
.ag-theme-balham-dark .ag-multi-filter-group-title-bar,
|
|
35
|
+
.ag-header-cell-text {
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
color: var(--ind-black);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ag-center-aligned-cell {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ag-theme-balham .ag-cell.ag-wrap-cell {
|
|
45
|
+
line-height: var(--ind-ag-cell-line-height);
|
|
46
|
+
align-items: center;
|
|
47
|
+
display: flex;
|
|
48
|
+
.ag-cell-wrapper {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ag-header-cell,
|
|
56
|
+
.ag-header-group-cell {
|
|
57
|
+
padding-left: var(--ind-ag-cell-header-horizontal-padding);
|
|
58
|
+
padding-right: var(--ind-ag-cell-header-horizontal-padding);
|
|
59
|
+
}
|
|
60
|
+
.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon {
|
|
61
|
+
margin-left: var(--ind-ag-cell-icon-margin-left);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ind-ag-check-cell .ag-cell-wrapper .ag-selection-checkbox {
|
|
65
|
+
width: 100%;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ind-ag-check-cell {
|
|
70
|
+
.ag-cell-wrapper {
|
|
71
|
+
display: -webkit-inline-box;
|
|
72
|
+
text-align: center;
|
|
73
|
+
.ag-selection-checkbox {
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ind-radio {
|
|
80
|
+
.ag-checkbox-input-wrapper {
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
}
|
|
83
|
+
.ag-checkbox-input-wrapper::after {
|
|
84
|
+
content: var(--ag-icon-font-code-radio-button-off, '\f127') !important;
|
|
85
|
+
}
|
|
86
|
+
.ag-checkbox-input-wrapper.ag-checked::after {
|
|
87
|
+
content: var(--ag-icon-font-code-radio-button-on, '\f128') !important;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ag-theme-balham {
|
|
92
|
+
--ag-icon-font-code-none: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzAzNzMzOTk0NzQzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTA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asc: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzAzNzMzOTAxMDQzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE0MzQiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxNiIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik04MDQuNTcxNDI5IDQwMi4yODU3MTRxMCAxNC44NTcxNDMtMTAuODU3MTQzIDI1LjcxNDI4NnQtMjUuNzE0Mjg2IDEwLjg1NzE0M0gyNTZxLTE0Ljg1NzE0MyAwLTI1LjcxNDI4Ni0xMC44NTcxNDN0LTEwLjg1NzE0My0yNS43MTQyODYgMTAuODU3MTQzLTI1LjcxNDI4NWwyNTYtMjU2cTEwLjg1NzE0My0xMC44NTcxNDMgMjUuNzE0Mjg2LTEwLjg1NzE0M3QyNS43MTQyODYgMTAuODU3MTQzbDI1NiAyNTZxMTAuODU3MTQzIDEwLjg1NzE0MyAxMC44NTcxNDMgMjUuNzE0Mjg1eiIgcC1pZD0iMTQzNSIgZmlsbD0iIzhhOGE4YSI+PC9wYXRoPjwvc3ZnPg==');
|
|
95
|
+
|
|
96
|
+
// --ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 2);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell),
|
|
100
|
+
.ag-pinned-left-sticky-top,
|
|
101
|
+
.ag-pinned-left-header,
|
|
102
|
+
.ag-pinned-left-floating-top,
|
|
103
|
+
.ag-pinned-left-cols-container {
|
|
104
|
+
border-right: 1px solid var(--ag-border-color) !important;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ag-pinned-right-cols-container,
|
|
108
|
+
.ag-pinned-right-sticky-top,
|
|
109
|
+
.ag-pinned-right-sticky-bottom,
|
|
110
|
+
.ag-pinned-right-floating-top,
|
|
111
|
+
.ag-pinned-right-header {
|
|
112
|
+
border-left: 1px solid var(--ag-border-color) !important;
|
|
113
|
+
}
|
|
114
|
+
.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell) {
|
|
115
|
+
border-left: 0 solid var(--ag-border-color) !important;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1703734068767" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9334" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="16"><path d="M804.571429 621.714286a36.205714 36.205714 0 0 1-10.861715 25.709714l-256 256C530.870857 910.262857 521.691429 914.285714 512 914.285714s-18.870857-3.986286-25.709714-10.861714l-256-256A36.425143 36.425143 0 0 1 219.428571 621.714286c0-20.004571 16.566857-36.571429 36.571429-36.571429h512c20.004571 0 36.571429 16.566857 36.571429 36.571429z" fill="#8a8a8a" p-id="9335"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1703733901043" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1434" width="10" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M804.571429 402.285714q0 14.857143-10.857143 25.714286t-25.714286 10.857143H256q-14.857143 0-25.714286-10.857143t-10.857143-25.714286 10.857143-25.714285l256-256q10.857143-10.857143 25.714286-10.857143t25.714286 10.857143l256 256q10.857143 10.857143 10.857143 25.714285z" p-id="1435" fill="#8a8a8a"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1703733994743" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2534" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="16"><path d="M273.066667 405.333333h475.733333c10.666667 0 21.333333-4.266667 29.866667-12.8 17.066667-17.066667 17.066667-42.666667 0-59.733333L541.866667 93.866667c-17.066667-17.066667-42.666667-17.066667-59.733334 0L243.2 332.8c-8.533333 8.533333-12.8 19.2-12.8 29.866667 0 23.466667 19.2 42.666667 42.666667 42.666666zM750.933333 618.666667H273.066667c-10.666667 0-21.333333 4.266667-29.866667 12.8-17.066667 17.066667-17.066667 42.666667 0 59.733333l238.933333 238.933333c17.066667 17.066667 42.666667 17.066667 59.733334 0l238.933333-238.933333c8.533333-8.533333 12.8-19.2 12.8-29.866667 0-23.466667-19.2-42.666667-42.666667-42.666666z" fill="#8a8a8a" p-id="2535"></path></svg>
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 更改 view-design 的默认样式
|
|
3
|
+
*
|
|
4
|
+
* @Author: huxuetong
|
|
5
|
+
* @Date: 2023-08-16 16:24:23
|
|
6
|
+
* @Last Modified by: huxuetong
|
|
7
|
+
* @Last Modified time: 2024-03-13 17:24:58
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
// form-item
|
|
11
|
+
.ivu-input {
|
|
12
|
+
height: var(--input-height);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ivu-input-wrapper .ivu-input-icon,
|
|
16
|
+
.ivu-select .ivu-select-input,
|
|
17
|
+
.ivu-select.ivu-select .ivu-select-selection,
|
|
18
|
+
.ivu-select.ivu-select .ivu-select-selection .ivu-select-placeholder,
|
|
19
|
+
.ivu-select.ivu-select .ivu-select-selection .ivu-select-selected-value,
|
|
20
|
+
.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
|
|
21
|
+
.ivu-input-wrapper .ivu-input-prefix i,
|
|
22
|
+
.ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
|
|
23
|
+
.ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value,
|
|
24
|
+
.ivu-input-wrapper .ivu-input-suffix i {
|
|
25
|
+
height: var(--input-height);
|
|
26
|
+
line-height: var(--input-height);
|
|
27
|
+
}
|
|
28
|
+
.ivu-select .ivu-select-input,
|
|
29
|
+
.ivu-select.ivu-select-multiple .ivu-select-input {
|
|
30
|
+
top: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ivu-page.mini .ivu-page-total,
|
|
34
|
+
.ivu-page.mini .ivu-page-options-elevator,
|
|
35
|
+
.ivu-page.mini .ivu-page-item {
|
|
36
|
+
height: var(--input-height);
|
|
37
|
+
line-height: var(--input-height);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ivu-select-default.ivu-select-multiple .ivu-select-selection {
|
|
41
|
+
min-height: var(--input-height) !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ivu-page.mini .ivu-page-next,
|
|
45
|
+
.ivu-page.mini .ivu-page-prev,
|
|
46
|
+
.ivu-page.mini .ivu-page-options-elevator input {
|
|
47
|
+
height: var(--input-height);
|
|
48
|
+
line-height: calc(var(--input-height) - 2px);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// 双滚动条问题,加上一个像素就好
|
|
52
|
+
ul.ivu-page.mini {
|
|
53
|
+
margin-bottom: 1px !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ivu-input,
|
|
57
|
+
.ivu-select-selection,
|
|
58
|
+
.ivu-input-number-input,
|
|
59
|
+
.ivu-input-number,
|
|
60
|
+
.ivu-radio-inner,
|
|
61
|
+
.ivu-checkbox-inner,
|
|
62
|
+
.ivu-table-cell-tree {
|
|
63
|
+
border-color: #ccc !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ivu-radio-wrapper {
|
|
67
|
+
white-space: pre-wrap !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ivu-radio .ivu-radio-inner::after {
|
|
71
|
+
top: 50%;
|
|
72
|
+
left: 50%;
|
|
73
|
+
transform: scale(1) translateX(-50%) translateY(-50%) !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ivu-radio-checked .ivu-radio-inner,
|
|
77
|
+
.ivu-checkbox-checked .ivu-checkbox-inner {
|
|
78
|
+
border-color: #488aff !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ivu-select-multiple .ivu-select-selection > div {
|
|
82
|
+
display: flex;
|
|
83
|
+
.ivu-tag {
|
|
84
|
+
position: relative;
|
|
85
|
+
height: var(--ind-tag-height);
|
|
86
|
+
line-height: var(--ind-tag-height);
|
|
87
|
+
|
|
88
|
+
.ivu-icon {
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 50%;
|
|
91
|
+
transform: translateY(-50%);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ivu-select-dropdown,
|
|
97
|
+
.ivu-tooltip-popper {
|
|
98
|
+
z-index: 99999999 !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ivu-select-dropdown.ivu-dropdown-transfer {
|
|
102
|
+
max-height: 400px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// button
|
|
106
|
+
//全局样式,按钮高度-2022年11月11日
|
|
107
|
+
.ivu-btn {
|
|
108
|
+
height: var(--ind-button-height-md);
|
|
109
|
+
padding-left: var(--ind-button-padding-md);
|
|
110
|
+
padding-right: var(--ind-button-padding-md);
|
|
111
|
+
}
|
|
112
|
+
.ivu-btn-small {
|
|
113
|
+
height: var(--ind-button-height-sm);
|
|
114
|
+
padding-left: var(--ind-button-padding-sm);
|
|
115
|
+
padding-right: var(--ind-button-padding-sm);
|
|
116
|
+
}
|
|
117
|
+
.ivu-btn-icon-only.ivu-btn {
|
|
118
|
+
width: var(--ind-button-height-sm);
|
|
119
|
+
padding-left: unset;
|
|
120
|
+
padding-right: unset;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// poptip
|
|
124
|
+
//全局样式,树形选择框宽度-2022年11月11日
|
|
125
|
+
.ivu-poptip {
|
|
126
|
+
width: 100%;
|
|
127
|
+
.ivu-poptip-rel {
|
|
128
|
+
width: 100%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// tooltip
|
|
133
|
+
// 领导让换个色 begin
|
|
134
|
+
.ivu-tooltip-arrow {
|
|
135
|
+
border-bottom-color: rgb(232, 233, 234) !important;
|
|
136
|
+
}
|
|
137
|
+
.ivu-tooltip-inner {
|
|
138
|
+
background-color: rgb(232, 233, 234) !important;
|
|
139
|
+
color: #333 !important;
|
|
140
|
+
}
|
|
141
|
+
body > .ivu-tooltip-popper {
|
|
142
|
+
.ivu-tooltip-inner {
|
|
143
|
+
white-space: pre-wrap;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// 领导让换个色 end
|
|
148
|
+
|
|
149
|
+
// card
|
|
150
|
+
.ivu-card:hover {
|
|
151
|
+
box-shadow: none !important;
|
|
152
|
+
}
|
|
153
|
+
.ivu-card,
|
|
154
|
+
.ivu-card-bordered {
|
|
155
|
+
border: 1px solid var(--ind-border-color);
|
|
156
|
+
.ivu-card-head {
|
|
157
|
+
padding: 12px 16px !important;
|
|
158
|
+
line-height: 28px !important;
|
|
159
|
+
height: 52px;
|
|
160
|
+
background: #ffffff;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// steps
|
|
165
|
+
.ivu-steps.ivu-steps-small .ivu-steps-title {
|
|
166
|
+
font-size: 14px !important;
|
|
167
|
+
margin-top: 2px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ivu-steps .ivu-steps-head-inner {
|
|
171
|
+
display: block;
|
|
172
|
+
width: 26px !important;
|
|
173
|
+
height: 26px !important;
|
|
174
|
+
line-height: 24px !important;
|
|
175
|
+
margin-right: 8px !important;
|
|
176
|
+
text-align: center;
|
|
177
|
+
border: 1px solid #ccc;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ivu-steps.ivu-steps-small .ivu-steps-tail {
|
|
181
|
+
top: 13px !important;
|
|
182
|
+
padding: 0 10px !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ivu-steps .ivu-steps-head-inner > .ivu-steps-icon.ivu-icon {
|
|
186
|
+
font-size: 24px !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// modal
|
|
190
|
+
.ivu-modal-close .ivu-icon-ios-close {
|
|
191
|
+
color: #444;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// row
|
|
195
|
+
// 栅格布局的宽度为啥不是100%呢
|
|
196
|
+
.ivu-row {
|
|
197
|
+
width: 100%;
|
|
198
|
+
// min-height: 100%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// menu
|
|
202
|
+
.ivu-menu-vertical .ivu-menu-item,
|
|
203
|
+
.ivu-menu-vertical .ivu-menu-submenu-title {
|
|
204
|
+
padding-left: 8px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// message
|
|
208
|
+
.ivu-message {
|
|
209
|
+
zoom: 2;
|
|
210
|
+
z-index: 999999999 !important;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// tabs
|
|
214
|
+
.ivu-tabs {
|
|
215
|
+
display: flex;
|
|
216
|
+
flex-direction: column;
|
|
217
|
+
|
|
218
|
+
&.ivu-tabs-auto-height {
|
|
219
|
+
height: 100%;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.ivu-tabs-bar {
|
|
223
|
+
flex-shrink: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.ivu-tabs-content {
|
|
227
|
+
flex-grow: 1;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// collapse
|
|
232
|
+
.ivu-collapse .ivu-collapse-item {
|
|
233
|
+
.ivu-collapse-header {
|
|
234
|
+
padding: 12px 16px !important;
|
|
235
|
+
line-height: 28px;
|
|
236
|
+
height: 52px;
|
|
237
|
+
// padding-bottom: 17px;
|
|
238
|
+
background-color: #ecf0f4;
|
|
239
|
+
border: 1px solid #d2dbe4;
|
|
240
|
+
border-bottom: none;
|
|
241
|
+
font-size: 16px;
|
|
242
|
+
font-weight: bold;
|
|
243
|
+
color: #333333;
|
|
244
|
+
}
|
|
245
|
+
&:last-child {
|
|
246
|
+
.ivu-collapse-header {
|
|
247
|
+
border-bottom: 1px solid #d2dbe4;
|
|
248
|
+
}
|
|
249
|
+
.ivu-collapse-content {
|
|
250
|
+
border-bottom: 1px solid #d2dbe4;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
.ivu-collapse-content {
|
|
255
|
+
border: 1px solid #d2dbe4;
|
|
256
|
+
border-bottom: none;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// menu
|
|
260
|
+
.ivu-menu {
|
|
261
|
+
.ivu-menu {
|
|
262
|
+
border-top: 1px solid var(--menu-black-active-bg);
|
|
263
|
+
border-bottom: none;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ivu-menu-dark {
|
|
268
|
+
background: var(--menu-dark-active-bg) !important;
|
|
269
|
+
}
|
|
270
|
+
.ivu-menu-submenu-title {
|
|
271
|
+
background: var(--menu-dark-active-bg);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ivu-menu-item > i {
|
|
275
|
+
margin-right: 12px !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.ivu-menu-submenu > .ivu-menu > .ivu-menu-item > i {
|
|
279
|
+
margin-right: 8px !important;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// layout
|
|
283
|
+
.ivu-layout-sider-children {
|
|
284
|
+
margin-right: 1px;
|
|
285
|
+
background-color: var(--menu-black-active-bg);
|
|
286
|
+
overflow-y: auto;
|
|
287
|
+
|
|
288
|
+
&::-webkit-scrollbar {
|
|
289
|
+
width: 0;
|
|
290
|
+
}
|
|
291
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item:hover,
|
|
292
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title:hover,
|
|
293
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover {
|
|
294
|
+
color: var(--main-color);
|
|
295
|
+
background: var(--selected-background-hover) !important;
|
|
296
|
+
}
|
|
297
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,
|
|
298
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title,
|
|
299
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item {
|
|
300
|
+
font-size: var(--ivu-menu-item-font-size);
|
|
301
|
+
background-color: var(--menu-black-active-bg) !important;
|
|
302
|
+
}
|
|
303
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-child-item-active > .ivu-menu-submenu-title {
|
|
304
|
+
color: black;
|
|
305
|
+
font-size: 14px;
|
|
306
|
+
}
|
|
307
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
|
|
308
|
+
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
|
|
309
|
+
background: var(--selected-background) !important;
|
|
310
|
+
border-right: 3px solid var(--deep-mian-color);
|
|
311
|
+
color: var(--deep-menu-color) !important;
|
|
312
|
+
}
|
|
313
|
+
.ivu-menu-vertical .ivu-menu-submenu-title-icon {
|
|
314
|
+
right: 0px;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// table
|
|
319
|
+
.ivu-table {
|
|
320
|
+
line-height: unset !important;
|
|
321
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* 一些基础变量的定义,分为配色、边距长度、字体、边框圆角、阴影、动画
|
|
3
|
-
* 配色和边距不建议直接使用,而是在 theme
|
|
3
|
+
* 配色和边距不建议直接使用,而是在 theme 中定义具有业务意义的变量
|
|
4
4
|
*
|
|
5
5
|
* --Author: huxuetong
|
|
6
6
|
* --Date: 2023-08-16 16:23:06
|
|
@@ -8,18 +8,11 @@
|
|
|
8
8
|
* --Last Modified time: 2023-08-19 16:48:38
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
@ind-blue: #488aff;
|
|
12
|
+
|
|
11
13
|
:root {
|
|
12
14
|
// 基础样式修改
|
|
13
15
|
// Color Palette
|
|
14
|
-
--ind-black: #333;
|
|
15
|
-
--ind-gray-1: #f4f4f4;
|
|
16
|
-
--ind-gray-3: #ededed;
|
|
17
|
-
--ind-gray-5: #ccc;
|
|
18
|
-
--ind-gray-6: #999;
|
|
19
|
-
--ind-gray-7: #666;
|
|
20
|
-
--ind-gray-8: var(--ind-black);
|
|
21
|
-
--ind-border-color-base: #ebedf2;
|
|
22
|
-
|
|
23
16
|
--ind-white: #fff;
|
|
24
17
|
--ind-white-1: var(--ind-white);
|
|
25
18
|
--ind-white-2: rgba(255, 255, 255, 0.85);
|
|
@@ -28,15 +21,17 @@
|
|
|
28
21
|
--ind-white-5: rgba(255, 255, 255, 0.3);
|
|
29
22
|
--ind-white-6: rgba(255, 255, 255, 0.1);
|
|
30
23
|
|
|
31
|
-
--ind-
|
|
24
|
+
--ind-black: #333;
|
|
25
|
+
--ind-gray: #333;
|
|
26
|
+
--ind-gray-1: #f5f7f9;
|
|
32
27
|
--ind-gray-2: #efefef;
|
|
33
28
|
--ind-gray-3: #e6e6e6;
|
|
34
|
-
--ind-gray-4:
|
|
29
|
+
--ind-gray-4: var(--ind-gray);
|
|
35
30
|
--ind-gray-5: #999;
|
|
36
31
|
--ind-gray-6: #555;
|
|
37
32
|
--ind-gray-7: var(--ind-black);
|
|
38
33
|
|
|
39
|
-
--ind-blue:
|
|
34
|
+
--ind-blue: @ind-blue;
|
|
40
35
|
--ind-blue-1: #a3ccfe;
|
|
41
36
|
--ind-blue-2: #81b1ff;
|
|
42
37
|
--ind-blue-3: #79adff;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
// 颜色
|
|
3
|
+
--ind-primary-color: var(--ind-blue);
|
|
4
|
+
--ind-primary-color-tint20: tint(@ind-blue, 20%);
|
|
5
|
+
--ind-primary-color-tint70: tint(@ind-blue, 70%);
|
|
6
|
+
--ind-primary-color-tint80: tint(@ind-blue, 80%);
|
|
7
|
+
--ind-primary-color-tint90: tint(@ind-blue, 90%);
|
|
8
|
+
--ind-primary-color-fade20: fade(@ind-blue, 20%);
|
|
9
|
+
--ind-primary-color-fade90: fade(@ind-blue, 90%);
|
|
10
|
+
--ind-primary-color-tint95-fade50: fade(tint(@ind-blue, 95%), 50%);
|
|
11
|
+
--ind-primary-color-shade5: shade(@ind-blue, 5%);
|
|
12
|
+
--ind-primary-color-fade90-shade10: shade(fade(@ind-blue, 90%), 10%);
|
|
13
|
+
|
|
14
|
+
--ind-bg-color-light: var(--ind-white);
|
|
15
|
+
--ind-bg-color-dark: var(--ind-gray-1);
|
|
16
|
+
--ind-text-color: var(--ind-black);
|
|
17
|
+
--ind-link-hover-color: var(--ind-primary-color-tint20);
|
|
18
|
+
--ind-link-active-color: var(--ind-primary-color-shade5);
|
|
19
|
+
--ind-desc-color: var(--ind-gray-6);
|
|
20
|
+
|
|
21
|
+
--ind-border-color: #ebedf2;
|
|
22
|
+
|
|
23
|
+
// 页面的边距
|
|
24
|
+
--ind-page-padding: var(--ind-padding-xs);
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
// basic layout 系统布局变量 -begin
|
|
3
|
+
--main-color: var(--ind-blue);
|
|
4
|
+
--deep-mian-color: #2b85e4;
|
|
5
|
+
--selected-background: #1890ff;
|
|
6
|
+
--selected-background-hover: #384568;
|
|
7
|
+
--header-height: 48px;
|
|
8
|
+
--header-bg: linear-gradient(90deg, #1d42ab, #2173dc, #1e93ff);
|
|
9
|
+
--header-color: hsla(0, 0%, 100%, 0.7);
|
|
10
|
+
--header-color-hover: var(--ind-white);
|
|
11
|
+
--header-border-bottom-color: #4fe3c1;
|
|
12
|
+
|
|
13
|
+
--ind-main-sider-width: 200px;
|
|
14
|
+
--ind-main-sider-collapsed-width: 68px;
|
|
15
|
+
--menu-black-active-bg: var(--ind-white); //#263353;
|
|
16
|
+
--menu-white-group-title-color: var(--ind-text-color); //#B6B6B8;
|
|
17
|
+
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
18
|
+
|
|
19
|
+
--menu-select-bg: #f0faff;
|
|
20
|
+
--deep-menu-color: var(--ind-primary-color); //@text-color; //#F3F2F0;
|
|
21
|
+
--selected-background: var(--menu-select-bg); //@primary-color;
|
|
22
|
+
--selected-background-hover: var(--menu-select-bg); //#384568;
|
|
23
|
+
--menu-icon-margin-right: 8px;
|
|
24
|
+
--menu-white-group-title-color: #b6b6b8;
|
|
25
|
+
// basic layout 系统布局变量 -end
|
|
26
|
+
|
|
27
|
+
// page-view layout 系统布局变量 -begin
|
|
28
|
+
--ind-panel-vertical-margin: 12px;
|
|
29
|
+
--ind-panel-horizon-margin: 16px;
|
|
30
|
+
// page-view layout 系统布局变量 -end
|
|
31
|
+
|
|
32
|
+
--input-height: 32px; // small 24px
|
|
33
|
+
--search-margin-bottom: 24px; // small 16px
|
|
34
|
+
--search-button-margin: 16px;
|
|
35
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
// table layout 系统布局变量 -begin
|
|
3
|
+
--check-border: #dcdee2;
|
|
4
|
+
|
|
5
|
+
--table-td-hover-bg: tint(#488aff, 90%);
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* ag-grid合计行颜色变量
|
|
9
|
+
*/
|
|
10
|
+
--ag-sum-row-color-10: #cccfd7;
|
|
11
|
+
--ag-sum-row-color-5: #dcdfe6;
|
|
12
|
+
--ag-sum-row-color-1: #ebedf2;
|
|
13
|
+
--ind-table-padding: 16px;
|
|
14
|
+
// table layout 系统布局变量 -end
|
|
15
|
+
|
|
16
|
+
--ind-ag-grid-size: 6px;
|
|
17
|
+
--ind-ag-font-size: var(--ind-font-size-md);
|
|
18
|
+
--ind-ag-list-item-height: 42px;
|
|
19
|
+
--ind-ag-odd-row-background-color: #fcfdfe;
|
|
20
|
+
--ind-ag-row-hover-color: rgba(0, 0, 0, 0.05);
|
|
21
|
+
--ind-ag-column-hover-color: rgba(0, 0, 0, 0.05);
|
|
22
|
+
--ind-ag-cell-header-horizontal-padding: 18px;
|
|
23
|
+
--ind-ag-cell-horizontal-padding: 19px;
|
|
24
|
+
--ind-ag-row-group-indent-size: 28px;
|
|
25
|
+
--ind-ag-selected-row-background-color: #c8dcff;
|
|
26
|
+
--ind-ag-header-background-color: #f8f8f9;
|
|
27
|
+
--ind-ag-odd-row-background-color: #fff;
|
|
28
|
+
|
|
29
|
+
// 以下是 ag 没有的
|
|
30
|
+
--ind-ag-cell-icon-margin-left: var(--ind-ag-grid-size);
|
|
31
|
+
--ind-ag-cell-header-horizontal-padding: var(--ag-cell-horizontal-padding);
|
|
32
|
+
--ind-ag-cell-line-height: 20px;
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 定义不同主题变量,其中default基本等于全局变量
|
|
3
|
+
* 别的主题应在default基础上更改
|
|
4
|
+
* 若已有主题变量不满足情况,应在default里添加原样式的变量后,在新主题里更改对应的值
|
|
5
|
+
*
|
|
6
|
+
* @Author: huxuetong
|
|
7
|
+
* @Date: 2024-03-12 20:10:04
|
|
8
|
+
* @Last Modified by: huxuetong
|
|
9
|
+
* @Last Modified time: 2024-03-12 20:11:26
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
@import './default/index.less';
|
|
13
|
+
@import './small/index.less';
|