@zgfe/business-lib 1.0.24-alpha.6 → 1.0.24-alpha.7
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/es/assets/styles/chunks.less +2 -2
- package/es/assets/styles/resetAntd.less +4 -4
- package/es/assets/styles/variable.less +2 -1
- package/es/datePicker/styles/index.less +1 -1
- package/es/icon/iconFont.d.ts +1 -0
- package/es/icon/iconFont.js +1 -0
- package/es/index.d.ts +3 -2
- package/es/index.js +3 -2
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.d.ts +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.js +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.less +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/index.d.ts +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/index.js +1 -1
- package/es/{analysisLayout → layout/analysisLayout}/index.less +12 -12
- package/es/layout/detail/demo/index.d.ts +2 -0
- package/es/layout/detail/demo/index.js +12 -0
- package/es/layout/detail/index.d.ts +8 -0
- package/es/layout/detail/index.js +24 -0
- package/es/layout/detail/index.less +28 -0
- package/es/select/styles/index.less +1 -1
- package/es/userCondition/styles/conditionTypeList.less +4 -5
- package/package.json +2 -2
- package/es/commonStyle/icon.less +0 -194
- package/es/commonStyle/index.less +0 -3
- package/es/commonStyle/select.less +0 -92
- package/es/commonStyle/theme.less +0 -523
- package/es/commonStyle/variable.less +0 -127
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// 通用hover样式,适用于下拉选项等
|
|
8
8
|
.__default-hover {
|
|
9
9
|
color: @primary-color;
|
|
10
|
-
background:
|
|
10
|
+
background: @primary-color-hover;
|
|
11
11
|
border-color: @primary-color;
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.__default-focused {
|
|
21
21
|
background-color: #fff;
|
|
22
22
|
border-color: @primary-color;
|
|
23
|
-
box-shadow: 0 0 0 4px
|
|
23
|
+
box-shadow: 0 0 0 4px @primary-color-hover;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// 下拉组件操作栏样式
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
&:focus,
|
|
41
41
|
&-focused {
|
|
42
42
|
background-color: #fff !important;
|
|
43
|
-
box-shadow: 0 0 0 4px
|
|
43
|
+
box-shadow: 0 0 0 4px @primary-color-hover !important;
|
|
44
44
|
}
|
|
45
45
|
&.ant-input-status-error {
|
|
46
46
|
border-color: @error-color !important;
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
|
|
239
239
|
/*日期范围内背景色*/
|
|
240
240
|
.ant-picker-cell-in-range::before {
|
|
241
|
-
background:
|
|
241
|
+
background: @primary-color-hover !important;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
/*日期范围内的hover效果-背景不变*/
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
.ant-picker-panel
|
|
254
254
|
> :not(.ant-picker-date-panel)
|
|
255
255
|
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
|
|
256
|
-
background:
|
|
256
|
+
background: @primary-color-hover !important;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
/*日期范围内的hover效果*/
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
|
|
396
396
|
.ant-table-tbody > tr.ant-table-row:hover > td,
|
|
397
397
|
.ant-table-tbody > tr > td.ant-table-cell-row-hover {
|
|
398
|
-
background:
|
|
398
|
+
background: @primary-color-hover !important;
|
|
399
399
|
}
|
|
400
400
|
.ant-table-thead {
|
|
401
401
|
.ant-table-cell {
|
|
@@ -10,4 +10,5 @@
|
|
|
10
10
|
|
|
11
11
|
@shadow-color-light: rgba(0, 0, 0, 0.1);
|
|
12
12
|
@box-shadow-small: 0px 1px 2px @shadow-color-light;
|
|
13
|
-
@
|
|
13
|
+
@primary-color-hover: color(~`colorPalette('@{primary-color}', 0.1) `);
|
|
14
|
+
@box-shadow-form: 0 0 0 4px @primary-color-hover;
|
package/es/icon/iconFont.d.ts
CHANGED
package/es/icon/iconFont.js
CHANGED
|
@@ -11,6 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
11
11
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
12
|
|
|
13
13
|
import React, { useMemo } from 'react';
|
|
14
|
+
import '../assets/iconfont/iconfont.css';
|
|
14
15
|
|
|
15
16
|
var IconFont = function IconFont(props) {
|
|
16
17
|
var className = props.className,
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../typings.d.ts" />
|
|
2
|
-
import BizAnalysisLayout from './analysisLayout';
|
|
2
|
+
import BizAnalysisLayout from './layout/analysisLayout';
|
|
3
3
|
import BizUserGroup from './userGroup';
|
|
4
4
|
import BizTargetSelector from './targetSelector';
|
|
5
5
|
import BizEventSelector from './eventSelector/index';
|
|
@@ -25,7 +25,8 @@ import BizAddToPanel from './addToPanel';
|
|
|
25
25
|
import setGlobalConfig from './config';
|
|
26
26
|
import BizCycleTime from './cycleTime';
|
|
27
27
|
import BizDnd from './dnd';
|
|
28
|
-
|
|
28
|
+
import BizDetailLayout from './layout/detail';
|
|
29
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, };
|
|
29
30
|
export type { UserGroupTypes } from './userGroup/types';
|
|
30
31
|
export type { BizSelectTypes } from './select/types';
|
|
31
32
|
export type { AttributeSelect } from './attributeSelector/types';
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import BizAnalysisLayout from './analysisLayout';
|
|
1
|
+
import BizAnalysisLayout from './layout/analysisLayout';
|
|
2
2
|
import BizUserGroup from './userGroup';
|
|
3
3
|
import BizTargetSelector from './targetSelector';
|
|
4
4
|
import BizEventSelector from './eventSelector/index';
|
|
@@ -24,4 +24,5 @@ import BizAddToPanel from './addToPanel';
|
|
|
24
24
|
import setGlobalConfig from './config';
|
|
25
25
|
import BizCycleTime from './cycleTime';
|
|
26
26
|
import BizDnd from './dnd';
|
|
27
|
-
|
|
27
|
+
import BizDetailLayout from './layout/detail';
|
|
28
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
|
13
13
|
import React, { useEffect, useState } from 'react';
|
|
14
|
-
import IconFont from '
|
|
14
|
+
import IconFont from '../../icon/iconFont';
|
|
15
15
|
import './index.less';
|
|
16
16
|
import { Tooltip } from 'antd';
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import '
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
2
|
|
|
3
3
|
.biz-layout-container {
|
|
4
4
|
position: relative;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
width: 100%;
|
|
35
35
|
height: calc(100% - 30px);
|
|
36
|
-
padding: @
|
|
36
|
+
padding: @padding-lg;
|
|
37
37
|
overflow: auto;
|
|
38
38
|
.biz-left-content {
|
|
39
39
|
min-height: 600px;
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
line-height: 30px;
|
|
51
51
|
text-align: center;
|
|
52
52
|
background-color: #fff;
|
|
53
|
-
border-top: @
|
|
53
|
+
border-top: 1px solid @border-color-base;
|
|
54
54
|
|
|
55
55
|
.biz-layout-expand {
|
|
56
|
-
color: @
|
|
56
|
+
color: @text-color;
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
.biz-layout-right {
|
|
68
68
|
box-sizing: border-box;
|
|
69
|
-
padding: @
|
|
69
|
+
padding: @padding-lg;
|
|
70
70
|
overflow: auto;
|
|
71
71
|
background-color: #fff;
|
|
72
72
|
|
|
@@ -91,22 +91,22 @@
|
|
|
91
91
|
font-size: 24px;
|
|
92
92
|
text-align: center;
|
|
93
93
|
background: #ffffff;
|
|
94
|
-
border: @
|
|
94
|
+
border: 1px solid @border-color-split;
|
|
95
95
|
border-top-right-radius: 20px;
|
|
96
96
|
border-bottom-right-radius: 20px;
|
|
97
97
|
cursor: pointer;
|
|
98
98
|
|
|
99
99
|
.biz-layout-pickup-icon {
|
|
100
|
-
color: @
|
|
100
|
+
color: @icon-color;
|
|
101
101
|
font-size: 24px;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&:hover {
|
|
105
|
-
color: @
|
|
106
|
-
background-color: @
|
|
105
|
+
color: @primary-color;
|
|
106
|
+
background-color: @primary-color-hover;
|
|
107
107
|
|
|
108
108
|
.biz-layout-pickup-icon {
|
|
109
|
-
color: @
|
|
109
|
+
color: @primary-color;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
position: absolute;
|
|
116
116
|
bottom: 20px;
|
|
117
117
|
left: 16px;
|
|
118
|
-
color: @
|
|
118
|
+
color: @icon-color;
|
|
119
119
|
font-size: 24px;
|
|
120
120
|
cursor: pointer;
|
|
121
121
|
&:hover {
|
|
122
|
-
color: @
|
|
122
|
+
color: @primary-color;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BizDetailLayout } from '@zgfe/business-lib';
|
|
3
|
+
export default (function () {
|
|
4
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5
|
+
style: {
|
|
6
|
+
background: '#FAFAFB',
|
|
7
|
+
padding: '24px'
|
|
8
|
+
}
|
|
9
|
+
}, /*#__PURE__*/React.createElement(BizDetailLayout, {
|
|
10
|
+
extra: /*#__PURE__*/React.createElement(React.Fragment, null, "\u9875\u9762extra")
|
|
11
|
+
}, "\u9875\u9762\u5185\u5BB9"));
|
|
12
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconFont } from '../..';
|
|
3
|
+
import './index.less';
|
|
4
|
+
|
|
5
|
+
var BizDetailLayout = function BizDetailLayout(props) {
|
|
6
|
+
var width = props.width;
|
|
7
|
+
var classPrefix = 'biz-detail';
|
|
8
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
+
className: classPrefix,
|
|
10
|
+
style: {
|
|
11
|
+
width: width ? "".concat(width, "px") : undefined
|
|
12
|
+
}
|
|
13
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
className: "".concat(classPrefix, "-menu")
|
|
15
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
16
|
+
onClick: props.onBack
|
|
17
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
18
|
+
type: "fanhuiicon"
|
|
19
|
+
}), "\u8FD4\u56DE"), props.extra), /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: "".concat(classPrefix, "-content")
|
|
21
|
+
}, props.children));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default BizDetailLayout;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-detail {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 1376px;
|
|
6
|
+
height: 100%;
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
&-menu {
|
|
9
|
+
flex: none;
|
|
10
|
+
padding-top: @padding-md;
|
|
11
|
+
padding-bottom: @padding-md - 2;
|
|
12
|
+
color: @text-color-secondary;
|
|
13
|
+
a {
|
|
14
|
+
margin-right: @margin-md;
|
|
15
|
+
color: @text-color-secondary;
|
|
16
|
+
&:hover {
|
|
17
|
+
color: @primary-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&-content {
|
|
22
|
+
flex: 1;
|
|
23
|
+
padding: @padding-sm @padding-lg @padding-lg @padding-lg;
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
background-color: @white;
|
|
26
|
+
border-radius: @border-radius-normal;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@import '../../assets
|
|
2
|
-
@import '../../commonStyle//variable.less';
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
3
2
|
.biz-user-condition-type-list {
|
|
4
3
|
display: flex;
|
|
5
4
|
align-items: center;
|
|
@@ -20,11 +19,11 @@
|
|
|
20
19
|
margin-left: @margin-md;
|
|
21
20
|
}
|
|
22
21
|
&:hover {
|
|
23
|
-
color: @
|
|
24
|
-
background-color: @
|
|
22
|
+
color: @primary-color;
|
|
23
|
+
background-color: @primary-color-hover;
|
|
25
24
|
}
|
|
26
25
|
&:active {
|
|
27
|
-
border-color: @
|
|
26
|
+
border-color: @primary-color;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.0.24-alpha.
|
|
3
|
+
"version": "1.0.24-alpha.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react": "^16.12.0 || ^17.0.0",
|
|
59
59
|
"yorkie": "^2.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "85992000873c6687eb018b768792ff8fb18a688e"
|
|
62
62
|
}
|
package/es/commonStyle/icon.less
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
@import './variable.less';
|
|
2
|
-
|
|
3
|
-
.biz-icon-add {
|
|
4
|
-
width: fit-content;
|
|
5
|
-
padding: 2px;
|
|
6
|
-
color: @fontColor3;
|
|
7
|
-
font-weight: 400;
|
|
8
|
-
font-size: 14px;
|
|
9
|
-
line-height: 20px;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
|
|
12
|
-
&:not(.biz-disabled):hover {
|
|
13
|
-
color: @hoverColor;
|
|
14
|
-
background: @hoverBgColor;
|
|
15
|
-
border-radius: 3px;
|
|
16
|
-
|
|
17
|
-
span {
|
|
18
|
-
color: @hoverColor;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.biz-icon-text {
|
|
23
|
-
margin-left: 6px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.biz-disabled {
|
|
27
|
-
color: @disableColor;
|
|
28
|
-
cursor: not-allowed;
|
|
29
|
-
|
|
30
|
-
span {
|
|
31
|
-
color: @disableColor;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.biz-icon {
|
|
37
|
-
color: @fontColor3;
|
|
38
|
-
font-size: 16px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.biz-input-icon {
|
|
42
|
-
color: #5f6085;
|
|
43
|
-
font-size: 18px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.biz-options {
|
|
47
|
-
display: flex;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.biz-option-icon {
|
|
51
|
-
display: none;
|
|
52
|
-
width: 24px;
|
|
53
|
-
height: 32px;
|
|
54
|
-
padding-right: 1px;
|
|
55
|
-
color: @iconColor;
|
|
56
|
-
font-size: 15px;
|
|
57
|
-
line-height: 32px;
|
|
58
|
-
text-align: center;
|
|
59
|
-
background-color: #fff;
|
|
60
|
-
border-radius: 4px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
|
|
63
|
-
&:not(.biz-disabled):hover {
|
|
64
|
-
color: @hoverColor;
|
|
65
|
-
background-color: @hoverBgColor;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.biz-option-icon-delete:not(.biz-disabled):hover {
|
|
69
|
-
color: @deleteHoverColor;
|
|
70
|
-
background-color: @deleteHoverBgColor;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.biz-disabled {
|
|
74
|
-
color: @disableColor;
|
|
75
|
-
cursor: not-allowed;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// .biz-btn,
|
|
80
|
-
// .ant-btn {
|
|
81
|
-
// height: auto;
|
|
82
|
-
// padding: 10px 24px;
|
|
83
|
-
// font-weight: 400;
|
|
84
|
-
// font-size: 14px;
|
|
85
|
-
// line-height: 20px;
|
|
86
|
-
// border-radius: 4px;
|
|
87
|
-
// cursor: pointer;
|
|
88
|
-
|
|
89
|
-
// .anticon {
|
|
90
|
-
// margin-right: 8px;
|
|
91
|
-
// font-size: 24px;
|
|
92
|
-
// }
|
|
93
|
-
|
|
94
|
-
// &.small {
|
|
95
|
-
// padding: 5px 12px;
|
|
96
|
-
// }
|
|
97
|
-
// }
|
|
98
|
-
|
|
99
|
-
// .biz-btn-primary,
|
|
100
|
-
// .ant-btn-primary {
|
|
101
|
-
// color: #fff;
|
|
102
|
-
// background: @themeColor;
|
|
103
|
-
// border: none;
|
|
104
|
-
|
|
105
|
-
// &:hover,
|
|
106
|
-
// &:active {
|
|
107
|
-
// background: #85adfc;
|
|
108
|
-
// }
|
|
109
|
-
|
|
110
|
-
// &:focus {
|
|
111
|
-
// background: #1451db;
|
|
112
|
-
// }
|
|
113
|
-
|
|
114
|
-
// &:disabled {
|
|
115
|
-
// color: @disableColor;
|
|
116
|
-
// background: @grayColor;
|
|
117
|
-
// }
|
|
118
|
-
// }
|
|
119
|
-
|
|
120
|
-
// .biz-btn-default,
|
|
121
|
-
// .ant-btn-default {
|
|
122
|
-
// color: #242541;
|
|
123
|
-
// background: #f6f6f6;
|
|
124
|
-
// border: none;
|
|
125
|
-
|
|
126
|
-
// &:hover,
|
|
127
|
-
// &:focus {
|
|
128
|
-
// color: #242541;
|
|
129
|
-
// background: #cacdd4;
|
|
130
|
-
// }
|
|
131
|
-
|
|
132
|
-
// &:active {
|
|
133
|
-
// color: #242541;
|
|
134
|
-
// background: #94a6ce;
|
|
135
|
-
// }
|
|
136
|
-
|
|
137
|
-
// &:disabled {
|
|
138
|
-
// color: #cacdd4;
|
|
139
|
-
// background: #f6f6f6;
|
|
140
|
-
// }
|
|
141
|
-
// }
|
|
142
|
-
|
|
143
|
-
// .biz-btn-text {
|
|
144
|
-
// color: #021429;
|
|
145
|
-
|
|
146
|
-
// &:hover {
|
|
147
|
-
// background: #f6f6f6;
|
|
148
|
-
// }
|
|
149
|
-
|
|
150
|
-
// &:active {
|
|
151
|
-
// background: #cacdd4;
|
|
152
|
-
// }
|
|
153
|
-
|
|
154
|
-
// &:disabled {
|
|
155
|
-
// color: #cacdd4;
|
|
156
|
-
// }
|
|
157
|
-
// }
|
|
158
|
-
|
|
159
|
-
// .biz-btn-line {
|
|
160
|
-
// box-sizing: border-box;
|
|
161
|
-
// color: #5f6085;
|
|
162
|
-
// background: #ffffff;
|
|
163
|
-
// border: 1px solid #ecedf0;
|
|
164
|
-
// border-radius: 4px;
|
|
165
|
-
|
|
166
|
-
// &:hover {
|
|
167
|
-
// color: #165dff;
|
|
168
|
-
// background: #e8efff;
|
|
169
|
-
// border-color: #165dff;
|
|
170
|
-
// }
|
|
171
|
-
// }
|
|
172
|
-
|
|
173
|
-
// .ant-tooltip {
|
|
174
|
-
// .ant-tooltip-inner {
|
|
175
|
-
// border-radius: @boxRadius2;
|
|
176
|
-
// }
|
|
177
|
-
|
|
178
|
-
// &.biz-tooltip {
|
|
179
|
-
// width: auto;
|
|
180
|
-
|
|
181
|
-
// .ant-tooltip-inner {
|
|
182
|
-
// padding: 4px;
|
|
183
|
-
// color: @fontColor;
|
|
184
|
-
// background-color: #fff;
|
|
185
|
-
// border-radius: 4px;
|
|
186
|
-
// box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
187
|
-
// }
|
|
188
|
-
|
|
189
|
-
// .ant-tooltip-arrow-content {
|
|
190
|
-
// background-color: #fff;
|
|
191
|
-
// --antd-arrow-background-color: #fff;
|
|
192
|
-
// }
|
|
193
|
-
// }
|
|
194
|
-
// }
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
@import './variable.less';
|
|
2
|
-
|
|
3
|
-
/*文本框样式*/
|
|
4
|
-
.biz-select-cotainer {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex: 1;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
align-items: center;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
margin-bottom: 8px;
|
|
12
|
-
padding: 4px;
|
|
13
|
-
color: #021429;
|
|
14
|
-
border: @boxBorder;
|
|
15
|
-
border-radius: @boxRadius;
|
|
16
|
-
|
|
17
|
-
&:hover {
|
|
18
|
-
.biz-option-icon {
|
|
19
|
-
display: block;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/*下拉框的文本框样式*/
|
|
25
|
-
|
|
26
|
-
.biz-select-content {
|
|
27
|
-
position: relative;
|
|
28
|
-
display: flex;
|
|
29
|
-
flex: 1;
|
|
30
|
-
height: 100%;
|
|
31
|
-
color: @fontColor;
|
|
32
|
-
border-radius: 4px;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
|
|
35
|
-
&:not(.biz-gray-select):hover {
|
|
36
|
-
color: @hoverColor;
|
|
37
|
-
background-color: @hoverBgColor;
|
|
38
|
-
|
|
39
|
-
.biz-select-zhankai {
|
|
40
|
-
display: block;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
span {
|
|
44
|
-
color: @hoverColor;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.biz-input {
|
|
49
|
-
flex: 1;
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
height: 32px;
|
|
52
|
-
padding: 6px 8px;
|
|
53
|
-
line-height: 20px;
|
|
54
|
-
border-radius: @boxRadius;
|
|
55
|
-
.boxBg();
|
|
56
|
-
|
|
57
|
-
&.biz-bg-gray {
|
|
58
|
-
background: @grayColor;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.biz-select-zhankai {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 5px;
|
|
66
|
-
right: 10px;
|
|
67
|
-
display: none;
|
|
68
|
-
color: @iconColor;
|
|
69
|
-
font-size: @iconSize;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.biz-select-nodata {
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: 42px;
|
|
75
|
-
left: -4px;
|
|
76
|
-
z-index: 9999;
|
|
77
|
-
box-sizing: border-box;
|
|
78
|
-
width: 268px;
|
|
79
|
-
min-width: 322px;
|
|
80
|
-
height: 48px;
|
|
81
|
-
padding-left: 16px;
|
|
82
|
-
color: @fontColor;
|
|
83
|
-
font-size: @fontSize;
|
|
84
|
-
line-height: 48px;
|
|
85
|
-
background: #ffffff;
|
|
86
|
-
border-radius: @boxRadius2;
|
|
87
|
-
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.ant-select-item-empty {
|
|
91
|
-
color: @fontColor;
|
|
92
|
-
}
|
|
@@ -1,523 +0,0 @@
|
|
|
1
|
-
@import (reference) './variable.less';
|
|
2
|
-
|
|
3
|
-
/* Select-文本框样式重构 */
|
|
4
|
-
// .ant-select:not(.ant-select-customize-input) {
|
|
5
|
-
// color: @fontColor;
|
|
6
|
-
// font-size: @fontSize;
|
|
7
|
-
|
|
8
|
-
// &.small {
|
|
9
|
-
// .ant-select-selector {
|
|
10
|
-
// height: @inputHeight;
|
|
11
|
-
// line-height: @inputHeight;
|
|
12
|
-
|
|
13
|
-
// .ant-select-selection-item,
|
|
14
|
-
// .ant-select-selection-placeholder {
|
|
15
|
-
// line-height: @inputHeight;
|
|
16
|
-
// }
|
|
17
|
-
// }
|
|
18
|
-
// }
|
|
19
|
-
|
|
20
|
-
// &.middle {
|
|
21
|
-
// .ant-select-selector {
|
|
22
|
-
// height: @inputHeightNormal;
|
|
23
|
-
// line-height: @inputHeightNormal;
|
|
24
|
-
|
|
25
|
-
// .ant-select-selection-item,
|
|
26
|
-
// .ant-select-selection-placeholder {
|
|
27
|
-
// line-height: @inputHeightNormal;
|
|
28
|
-
// }
|
|
29
|
-
// }
|
|
30
|
-
// }
|
|
31
|
-
|
|
32
|
-
// &.large {
|
|
33
|
-
// .ant-select-selector {
|
|
34
|
-
// height: @inputHeightLarge;
|
|
35
|
-
// line-height: @inputHeightLarge;
|
|
36
|
-
|
|
37
|
-
// .ant-select-selection-item,
|
|
38
|
-
// .ant-select-selection-placeholder {
|
|
39
|
-
// line-height: @inputHeightLarge;
|
|
40
|
-
// }
|
|
41
|
-
// }
|
|
42
|
-
// }
|
|
43
|
-
|
|
44
|
-
// .ant-select-selection-item {
|
|
45
|
-
// color: @fontColor;
|
|
46
|
-
|
|
47
|
-
// span {
|
|
48
|
-
// color: @fontColor;
|
|
49
|
-
// }
|
|
50
|
-
// }
|
|
51
|
-
|
|
52
|
-
// &.ant-select-borderless {
|
|
53
|
-
// &.biz-gray .ant-select-selector {
|
|
54
|
-
// background-color: @grayColor;
|
|
55
|
-
// }
|
|
56
|
-
|
|
57
|
-
// .ant-select-arrow {
|
|
58
|
-
// display: none;
|
|
59
|
-
// }
|
|
60
|
-
// &:hover,
|
|
61
|
-
// &.ant-select-focused:not(.ant-select-disabled) {
|
|
62
|
-
// .ant-select-selector {
|
|
63
|
-
// color: @themeColor;
|
|
64
|
-
// background: @hoverBgColor;
|
|
65
|
-
// box-shadow: none;
|
|
66
|
-
|
|
67
|
-
// .ant-select-selection-item {
|
|
68
|
-
// color: @themeColor;
|
|
69
|
-
|
|
70
|
-
// span {
|
|
71
|
-
// color: @themeColor;
|
|
72
|
-
// }
|
|
73
|
-
// }
|
|
74
|
-
// }
|
|
75
|
-
|
|
76
|
-
// .ant-select-arrow {
|
|
77
|
-
// display: inline-block;
|
|
78
|
-
// color: @themeColor !important;
|
|
79
|
-
// }
|
|
80
|
-
// }
|
|
81
|
-
// }
|
|
82
|
-
|
|
83
|
-
// &:not(.ant-select-disabled).biz-borderless {
|
|
84
|
-
// .ant-select-selector {
|
|
85
|
-
// background-color: @grayColor;
|
|
86
|
-
// border-color: @grayColor;
|
|
87
|
-
// }
|
|
88
|
-
|
|
89
|
-
// .ant-select-arrow {
|
|
90
|
-
// display: none;
|
|
91
|
-
// }
|
|
92
|
-
// &.ant-select-focused,
|
|
93
|
-
// &:hover {
|
|
94
|
-
// .ant-select-selector {
|
|
95
|
-
// color: @themeColor;
|
|
96
|
-
// background: @hoverBgColor;
|
|
97
|
-
// border-color: @hoverBgColor;
|
|
98
|
-
// box-shadow: none;
|
|
99
|
-
|
|
100
|
-
// .ant-select-selection-item {
|
|
101
|
-
// color: @themeColor;
|
|
102
|
-
|
|
103
|
-
// span {
|
|
104
|
-
// color: @themeColor;
|
|
105
|
-
// }
|
|
106
|
-
// }
|
|
107
|
-
// }
|
|
108
|
-
// .ant-select-arrow {
|
|
109
|
-
// display: inline-block;
|
|
110
|
-
// color: @themeColor !important;
|
|
111
|
-
// }
|
|
112
|
-
// }
|
|
113
|
-
// }
|
|
114
|
-
|
|
115
|
-
// & .ant-select-selector {
|
|
116
|
-
// padding: @inputPadding !important;
|
|
117
|
-
// border-radius: @boxRadius !important;
|
|
118
|
-
// }
|
|
119
|
-
|
|
120
|
-
// &:not(.ant-select-disabled, .biz-select-theme-gray, .ant-select-borderless, .biz-borderless, .biz-multi-select) {
|
|
121
|
-
// .ant-select-selector {
|
|
122
|
-
// background-color: #fff;
|
|
123
|
-
// border: @boxBorder !important;
|
|
124
|
-
// }
|
|
125
|
-
// &.ant-select-focused,
|
|
126
|
-
// &:hover {
|
|
127
|
-
// .ant-select-selector {
|
|
128
|
-
// color: @themeColor;
|
|
129
|
-
// background: @hoverBgColor;
|
|
130
|
-
// border-color: @borderColor;
|
|
131
|
-
// box-shadow: none;
|
|
132
|
-
|
|
133
|
-
// .ant-select-selection-item {
|
|
134
|
-
// color: @themeColor;
|
|
135
|
-
|
|
136
|
-
// span {
|
|
137
|
-
// color: @themeColor;
|
|
138
|
-
// }
|
|
139
|
-
// }
|
|
140
|
-
// }
|
|
141
|
-
|
|
142
|
-
// .ant-select-arrow {
|
|
143
|
-
// display: inline-block;
|
|
144
|
-
// color: @themeColor !important;
|
|
145
|
-
// }
|
|
146
|
-
// }
|
|
147
|
-
// }
|
|
148
|
-
|
|
149
|
-
// &.biz-select-theme-gray {
|
|
150
|
-
// .ant-select-selector {
|
|
151
|
-
// background-color: @grayBgColor;
|
|
152
|
-
// border-color: @grayBgColor;
|
|
153
|
-
// }
|
|
154
|
-
// &:hover {
|
|
155
|
-
// .ant-select-selector {
|
|
156
|
-
// border-color: @themeColor;
|
|
157
|
-
// }
|
|
158
|
-
// }
|
|
159
|
-
// &.ant-select-focused:not(.ant-select-disabled) {
|
|
160
|
-
// .ant-select-selector {
|
|
161
|
-
// background: #fff !important;
|
|
162
|
-
// border-color: @themeColor !important;
|
|
163
|
-
// box-shadow: 0 0 0 4px #e8efff !important;
|
|
164
|
-
// }
|
|
165
|
-
// }
|
|
166
|
-
// }
|
|
167
|
-
// }
|
|
168
|
-
|
|
169
|
-
// .ant-select-arrow {
|
|
170
|
-
// height: 16px;
|
|
171
|
-
// margin-top: -8px;
|
|
172
|
-
// color: @iconColor;
|
|
173
|
-
// font-size: 16px;
|
|
174
|
-
// }
|
|
175
|
-
|
|
176
|
-
// .ant-select-selection-placeholder {
|
|
177
|
-
// color: @defaultGray;
|
|
178
|
-
// }
|
|
179
|
-
|
|
180
|
-
// /* Select-下拉框样式重构 */
|
|
181
|
-
// .ant-select-dropdown {
|
|
182
|
-
// width: @dropdownWidth;
|
|
183
|
-
// max-height: @dropdownHeight;
|
|
184
|
-
// padding: @dropdownPadding !important;
|
|
185
|
-
// border-radius: @boxRadius2 !important;
|
|
186
|
-
// box-shadow: @boxShadow !important;
|
|
187
|
-
|
|
188
|
-
// &.small {
|
|
189
|
-
// width: @dropdownWidth2;
|
|
190
|
-
// }
|
|
191
|
-
// }
|
|
192
|
-
|
|
193
|
-
// .ant-dropdown-menu {
|
|
194
|
-
// width: @dropdownWidth2;
|
|
195
|
-
// padding: @dropdownPadding !important;
|
|
196
|
-
// border-radius: @boxRadius2 !important;
|
|
197
|
-
// box-shadow: @boxShadow !important;
|
|
198
|
-
// }
|
|
199
|
-
|
|
200
|
-
// .ant-dropdown.large {
|
|
201
|
-
// .ant-dropdown-menu {
|
|
202
|
-
// width: @dropdownWidth3;
|
|
203
|
-
// }
|
|
204
|
-
// }
|
|
205
|
-
|
|
206
|
-
// .ant-dropdown-menu-submenu {
|
|
207
|
-
// .ant-dropdown-menu {
|
|
208
|
-
// width: 120px;
|
|
209
|
-
// height: 208px;
|
|
210
|
-
// }
|
|
211
|
-
// }
|
|
212
|
-
|
|
213
|
-
// .ant-dropdown-menu-submenu-vertical {
|
|
214
|
-
// &:hover {
|
|
215
|
-
// .box-hover();
|
|
216
|
-
|
|
217
|
-
// .ant-dropdown-menu-submenu-title {
|
|
218
|
-
// color: @themeColor;
|
|
219
|
-
// background: transparent;
|
|
220
|
-
|
|
221
|
-
// .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {
|
|
222
|
-
// color: @themeColor;
|
|
223
|
-
// }
|
|
224
|
-
// }
|
|
225
|
-
// }
|
|
226
|
-
|
|
227
|
-
// .ant-dropdown-menu-submenu-title {
|
|
228
|
-
// padding: 0;
|
|
229
|
-
// }
|
|
230
|
-
// }
|
|
231
|
-
|
|
232
|
-
// .ant-select-item-empty {
|
|
233
|
-
// color: @fontColor;
|
|
234
|
-
// }
|
|
235
|
-
|
|
236
|
-
// .ant-select-item,
|
|
237
|
-
// .ant-list-item,
|
|
238
|
-
// .ant-dropdown-menu-item,
|
|
239
|
-
// .ant-dropdown-menu-submenu-vertical,
|
|
240
|
-
// .ant-cascader-menu-item {
|
|
241
|
-
// height: @selectItemHeight !important;
|
|
242
|
-
// padding: @selectItemPadding !important;
|
|
243
|
-
// color: @fontColor;
|
|
244
|
-
// font-weight: @fontWeight;
|
|
245
|
-
// font-size: @fontSize;
|
|
246
|
-
// line-height: 20px;
|
|
247
|
-
// border-radius: @boxRadius2 !important;
|
|
248
|
-
// }
|
|
249
|
-
|
|
250
|
-
// .ant-select-item-option-active:not(.ant-select-item-option-disabled),
|
|
251
|
-
// .ant-cascader-menu-item:not(.ant-cascader-menu-item-disabled, .ant-cascader-menu-item-active):hover {
|
|
252
|
-
// color: @hoverColor !important;
|
|
253
|
-
// background-color: @hoverBgColor !important;
|
|
254
|
-
|
|
255
|
-
// .biz-icon {
|
|
256
|
-
// color: @hoverColor;
|
|
257
|
-
// }
|
|
258
|
-
// }
|
|
259
|
-
|
|
260
|
-
// .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
|
|
261
|
-
// .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {
|
|
262
|
-
// color: @activeColor !important;
|
|
263
|
-
// font-weight: @fontWeight !important;
|
|
264
|
-
// background-color: @activeBgColor !important;
|
|
265
|
-
|
|
266
|
-
// .biz-icon {
|
|
267
|
-
// color: @activeColor;
|
|
268
|
-
// }
|
|
269
|
-
// }
|
|
270
|
-
|
|
271
|
-
// .ant-select-item-option-disabled {
|
|
272
|
-
// color: @disableColor !important;
|
|
273
|
-
// background: #fff;
|
|
274
|
-
// }
|
|
275
|
-
|
|
276
|
-
// .ant-cascader-menu-item-active {
|
|
277
|
-
// .ant-cascader-menu-item-expand-icon {
|
|
278
|
-
// color: @activeColor;
|
|
279
|
-
// }
|
|
280
|
-
// }
|
|
281
|
-
|
|
282
|
-
// .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
|
|
283
|
-
// color: @activeColor !important;
|
|
284
|
-
// background-color: @activeBgColor !important;
|
|
285
|
-
// }
|
|
286
|
-
|
|
287
|
-
// .ant-dropdown-menu-item {
|
|
288
|
-
// &:not(.box-active, .ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
|
|
289
|
-
// .box-hover();
|
|
290
|
-
// }
|
|
291
|
-
|
|
292
|
-
// &.box-active:not(.ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
|
|
293
|
-
// .box-active();
|
|
294
|
-
// }
|
|
295
|
-
|
|
296
|
-
// .ant-dropdown-menu-item-icon {
|
|
297
|
-
// margin-right: 15px;
|
|
298
|
-
// font-size: @iconSize;
|
|
299
|
-
// }
|
|
300
|
-
// &.ant-dropdown-menu-item-disabled {
|
|
301
|
-
// color: @disableColor;
|
|
302
|
-
// }
|
|
303
|
-
// }
|
|
304
|
-
|
|
305
|
-
// /* input-search/clear */
|
|
306
|
-
|
|
307
|
-
// .ant-input-affix-wrapper {
|
|
308
|
-
// height: @inputHeightNormal !important;
|
|
309
|
-
// line-height: @inputHeightNormal !important;
|
|
310
|
-
// background-color: @grayBgColor !important;
|
|
311
|
-
// border-color: transparent !important;
|
|
312
|
-
// border-radius: @boxRadius !important;
|
|
313
|
-
|
|
314
|
-
// &.biz-search-box {
|
|
315
|
-
// margin-bottom: 12px;
|
|
316
|
-
// border-radius: @boxRadius2;
|
|
317
|
-
// }
|
|
318
|
-
// &.small {
|
|
319
|
-
// height: @inputHeight !important;
|
|
320
|
-
// line-height: @inputHeight !important;
|
|
321
|
-
// }
|
|
322
|
-
|
|
323
|
-
// .ant-input {
|
|
324
|
-
// height: 100%;
|
|
325
|
-
// padding: 0;
|
|
326
|
-
// background-color: transparent !important;
|
|
327
|
-
// border: none;
|
|
328
|
-
// outline: none;
|
|
329
|
-
// box-shadow: none;
|
|
330
|
-
// }
|
|
331
|
-
|
|
332
|
-
// &:not(.ant-input-affix-wrapper-disabled):hover {
|
|
333
|
-
// border-color: @themeColor !important;
|
|
334
|
-
// }
|
|
335
|
-
|
|
336
|
-
// &:focus,
|
|
337
|
-
// &.ant-input-affix-wrapper-focused {
|
|
338
|
-
// background: #fff !important;
|
|
339
|
-
// border-color: @themeColor !important;
|
|
340
|
-
// box-shadow: 0 0 0 4px #e8efff !important;
|
|
341
|
-
// }
|
|
342
|
-
|
|
343
|
-
// .ant-input-suffix span {
|
|
344
|
-
// color: @iconColor;
|
|
345
|
-
// font-size: 16px;
|
|
346
|
-
// }
|
|
347
|
-
|
|
348
|
-
// .ant-input-clear-icon span {
|
|
349
|
-
// width: 16px;
|
|
350
|
-
// height: 16px;
|
|
351
|
-
// background-color: transparent;
|
|
352
|
-
// border-radius: 50%;
|
|
353
|
-
|
|
354
|
-
// &:hover {
|
|
355
|
-
// background: @grayColor;
|
|
356
|
-
// }
|
|
357
|
-
// }
|
|
358
|
-
// }
|
|
359
|
-
|
|
360
|
-
// /* 高亮 */
|
|
361
|
-
// .biz-light-height {
|
|
362
|
-
// color: @themeColor;
|
|
363
|
-
// }
|
|
364
|
-
|
|
365
|
-
// .ant-select-item-option-selected {
|
|
366
|
-
// .biz-light-height {
|
|
367
|
-
// color: inherit;
|
|
368
|
-
// }
|
|
369
|
-
// }
|
|
370
|
-
|
|
371
|
-
// .ant-tooltip {
|
|
372
|
-
// .ant-tooltip-inner {
|
|
373
|
-
// border-radius: @boxRadius2;
|
|
374
|
-
// }
|
|
375
|
-
|
|
376
|
-
// &.biz-tooltip {
|
|
377
|
-
// width: auto;
|
|
378
|
-
|
|
379
|
-
// .ant-tooltip-inner {
|
|
380
|
-
// padding: 4px;
|
|
381
|
-
// color: @fontColor;
|
|
382
|
-
// background-color: #fff;
|
|
383
|
-
// border-radius: 4px;
|
|
384
|
-
// box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
385
|
-
// }
|
|
386
|
-
|
|
387
|
-
// .ant-tooltip-arrow-content {
|
|
388
|
-
// background-color: #fff;
|
|
389
|
-
// --antd-arrow-background-color: #fff;
|
|
390
|
-
// }
|
|
391
|
-
// }
|
|
392
|
-
// }
|
|
393
|
-
|
|
394
|
-
// .biz-title {
|
|
395
|
-
// margin-bottom: 12px;
|
|
396
|
-
// padding: 0 !important;
|
|
397
|
-
// color: @titleColor;
|
|
398
|
-
// font-weight: 600;
|
|
399
|
-
// font-size: @fontSize;
|
|
400
|
-
// }
|
|
401
|
-
|
|
402
|
-
// .ant-form-item-explain-error {
|
|
403
|
-
// font-size: 12px;
|
|
404
|
-
// }
|
|
405
|
-
|
|
406
|
-
// /* radio */
|
|
407
|
-
|
|
408
|
-
// .ant-radio {
|
|
409
|
-
// color: @fontColor;
|
|
410
|
-
|
|
411
|
-
// &.ant-radio-checked {
|
|
412
|
-
// .ant-radio-inner {
|
|
413
|
-
// background: #fff;
|
|
414
|
-
// border: 5px solid @themeColor;
|
|
415
|
-
|
|
416
|
-
// &::after {
|
|
417
|
-
// background-color: #fff;
|
|
418
|
-
// }
|
|
419
|
-
// }
|
|
420
|
-
// }
|
|
421
|
-
|
|
422
|
-
// .ant-radio-inner {
|
|
423
|
-
// width: 18px;
|
|
424
|
-
// height: 18px;
|
|
425
|
-
// border-radius: 50%;
|
|
426
|
-
// }
|
|
427
|
-
// }
|
|
428
|
-
|
|
429
|
-
// .ant-radio-wrapper:hover .ant-radio,
|
|
430
|
-
// .ant-radio:hover .ant-radio-inner,
|
|
431
|
-
// .ant-radio-input:focus + .ant-radio-inner {
|
|
432
|
-
// border-color: @themeColor;
|
|
433
|
-
// }
|
|
434
|
-
|
|
435
|
-
// .ant-radio-input:focus + .ant-radio-inner {
|
|
436
|
-
// box-shadow: none;
|
|
437
|
-
// }
|
|
438
|
-
|
|
439
|
-
// .ant-radio-button-wrapper {
|
|
440
|
-
// border: 1px solid @borderColor;
|
|
441
|
-
|
|
442
|
-
// &:first-child {
|
|
443
|
-
// border-left: 1px solid @borderColor;
|
|
444
|
-
// }
|
|
445
|
-
|
|
446
|
-
// &:not(:first-child)::before {
|
|
447
|
-
// background-color: @borderColor;
|
|
448
|
-
// }
|
|
449
|
-
|
|
450
|
-
// &:not(.ant-radio-button-wrapper-checked, .ant-radio-button-wrapper-disabled):hover {
|
|
451
|
-
// .box-hover();
|
|
452
|
-
|
|
453
|
-
// .biz-icon {
|
|
454
|
-
// color: @themeColor;
|
|
455
|
-
// }
|
|
456
|
-
// }
|
|
457
|
-
// }
|
|
458
|
-
|
|
459
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
|
460
|
-
// color: @themeColor;
|
|
461
|
-
// background: @hoverBgColor;
|
|
462
|
-
// border-color: @themeColor;
|
|
463
|
-
// }
|
|
464
|
-
|
|
465
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
|
|
466
|
-
// background-color: @themeColor;
|
|
467
|
-
// }
|
|
468
|
-
|
|
469
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
|
|
470
|
-
// border-color: @themeColor;
|
|
471
|
-
// }
|
|
472
|
-
|
|
473
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
|
|
474
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
|
|
475
|
-
// color: @themeColor;
|
|
476
|
-
// border-color: @themeColor;
|
|
477
|
-
// }
|
|
478
|
-
|
|
479
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before,
|
|
480
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
|
|
481
|
-
// background-color: @hoverBgColor;
|
|
482
|
-
// }
|
|
483
|
-
|
|
484
|
-
// .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
|
|
485
|
-
// box-shadow: none;
|
|
486
|
-
// }
|
|
487
|
-
|
|
488
|
-
// .ant-radio-button-wrapper-disabled {
|
|
489
|
-
// color: @disableColor;
|
|
490
|
-
// background: #fafafb;
|
|
491
|
-
// border-color: @borderColor;
|
|
492
|
-
// cursor: not-allowed;
|
|
493
|
-
|
|
494
|
-
// .biz-icon {
|
|
495
|
-
// color: @disableColor;
|
|
496
|
-
// }
|
|
497
|
-
// }
|
|
498
|
-
|
|
499
|
-
// .ant-radio-button-wrapper-disabled:first-child,
|
|
500
|
-
// .ant-radio-button-wrapper-disabled:hover {
|
|
501
|
-
// color: @disableColor;
|
|
502
|
-
// background: #fafafb;
|
|
503
|
-
// border-color: @borderColor;
|
|
504
|
-
// }
|
|
505
|
-
|
|
506
|
-
// .ant-radio-button-wrapper-disabled:first-child {
|
|
507
|
-
// border-color: @borderColor;
|
|
508
|
-
// }
|
|
509
|
-
|
|
510
|
-
// .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
|
|
511
|
-
// color: @disableColor;
|
|
512
|
-
// background: #fafafb;
|
|
513
|
-
// border-color: @borderColor;
|
|
514
|
-
// box-shadow: none;
|
|
515
|
-
// }
|
|
516
|
-
|
|
517
|
-
// .ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
|
|
518
|
-
// border-right-color: @themeColor;
|
|
519
|
-
// }
|
|
520
|
-
|
|
521
|
-
// .mb-12 {
|
|
522
|
-
// margin-bottom: 12px;
|
|
523
|
-
// }
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/** 全局变量 **/
|
|
2
|
-
@themeColor: #165dff;
|
|
3
|
-
@borderColor: #ecedf0;
|
|
4
|
-
@hoverBgColor: #e8efff;
|
|
5
|
-
/*中性色/默认灰*/
|
|
6
|
-
@defaultGray: #9797af;
|
|
7
|
-
/* 字体颜色 */
|
|
8
|
-
@fontColor: #021429;
|
|
9
|
-
/* 中性色/次要-信息2 */
|
|
10
|
-
@fontColor2: #242541;
|
|
11
|
-
/* 中性色/次要-信息3 */
|
|
12
|
-
@fontColor3: #5f6085;
|
|
13
|
-
|
|
14
|
-
/* 中性色/gray-8背景色 */
|
|
15
|
-
@grayBgColor: #fafafb;
|
|
16
|
-
/*中性色/置灰-信息线框5*/
|
|
17
|
-
/* 灰色*/
|
|
18
|
-
@grayColor: #f6f6f6;
|
|
19
|
-
@disableColor: #cacdd4;
|
|
20
|
-
/*辅助色/错误/底色*/
|
|
21
|
-
@errorColorHover: #fed5d1;
|
|
22
|
-
@errorColor: #fb5547;
|
|
23
|
-
/*box-shadow*/
|
|
24
|
-
@boxShadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
25
|
-
|
|
26
|
-
/* 标题颜色 */
|
|
27
|
-
@titleColor: @fontColor3;
|
|
28
|
-
/* 图标颜色 */
|
|
29
|
-
@iconColor: @fontColor3;
|
|
30
|
-
/* layout icon颜色 */
|
|
31
|
-
@layoutIconColor: @fontColor2;
|
|
32
|
-
/* hover背景色 */
|
|
33
|
-
// @hoverBgColor: @hoverColor;
|
|
34
|
-
|
|
35
|
-
/* hover字体颜色 */
|
|
36
|
-
@hoverColor: @themeColor;
|
|
37
|
-
/* active背景色 */
|
|
38
|
-
@activeBgColor: @themeColor;
|
|
39
|
-
/* active字体颜色 */
|
|
40
|
-
@activeColor: #ffffff;
|
|
41
|
-
/* 删除hover背景色 */
|
|
42
|
-
@deleteHoverBgColor: @errorColorHover;
|
|
43
|
-
/* 删除hover字体色 */
|
|
44
|
-
@deleteHoverColor: @errorColor;
|
|
45
|
-
/* 按钮 */
|
|
46
|
-
@btnPrimaryBgColor: @themeColor;
|
|
47
|
-
@btnPrimaryFontColor: #ffffff;
|
|
48
|
-
/* border */
|
|
49
|
-
@boxBorder: 1px solid @borderColor;
|
|
50
|
-
|
|
51
|
-
/* 字体大小 */
|
|
52
|
-
@fontSize: 14px;
|
|
53
|
-
/* 图标大小 */
|
|
54
|
-
@iconSize: 16px;
|
|
55
|
-
/* 字体weight */
|
|
56
|
-
@fontWeight: 400;
|
|
57
|
-
/*下拉框宽度*/
|
|
58
|
-
@dropdownWidth: 284px;
|
|
59
|
-
/* 分析维度, 关系 */
|
|
60
|
-
@dropdownWidth2: 120px;
|
|
61
|
-
/*更多操作*/
|
|
62
|
-
@dropdownWidth3: 200px;
|
|
63
|
-
/* 指标下拉框= 200+284*/
|
|
64
|
-
@dropdownHeight: 400px;
|
|
65
|
-
|
|
66
|
-
/*输入框,下拉框高度*/
|
|
67
|
-
@inputHeight: 32px;
|
|
68
|
-
@inputHeightNormal: 40px;
|
|
69
|
-
@inputHeightLarge: 48px;
|
|
70
|
-
|
|
71
|
-
/*下拉选项高度*/
|
|
72
|
-
@selectItemHeight: 40px;
|
|
73
|
-
/*下拉选项内边距*/
|
|
74
|
-
@selectItemPadding: 10px 8px;
|
|
75
|
-
/* 下拉框外框 */
|
|
76
|
-
@dropdownPadding: 8px;
|
|
77
|
-
/* padding */
|
|
78
|
-
@searchPadding: 24px;
|
|
79
|
-
@contentPadding: 32px;
|
|
80
|
-
@inputPadding: 0px 8px;
|
|
81
|
-
/* 边框圆角 */
|
|
82
|
-
@boxRadius: 4px;
|
|
83
|
-
/* 特殊圆角 */
|
|
84
|
-
@boxRadius2: 10px;
|
|
85
|
-
/* icon圆角 */
|
|
86
|
-
@iconRadius: 3px;
|
|
87
|
-
|
|
88
|
-
.boxBg {
|
|
89
|
-
color: @fontColor;
|
|
90
|
-
background-color: #fff;
|
|
91
|
-
|
|
92
|
-
&:hover:not(.box-active, .box-disabled) {
|
|
93
|
-
color: @hoverColor;
|
|
94
|
-
background-color: @hoverBgColor;
|
|
95
|
-
|
|
96
|
-
.biz-icon {
|
|
97
|
-
color: @hoverColor;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.box-hover {
|
|
103
|
-
color: @hoverColor;
|
|
104
|
-
background-color: @hoverBgColor;
|
|
105
|
-
|
|
106
|
-
.biz-icon {
|
|
107
|
-
color: @hoverColor;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.box-active {
|
|
112
|
-
color: @activeColor !important;
|
|
113
|
-
background-color: @activeBgColor;
|
|
114
|
-
|
|
115
|
-
.biz-icon {
|
|
116
|
-
color: @activeColor;
|
|
117
|
-
}
|
|
118
|
-
.biz-light-height {
|
|
119
|
-
color: #fff;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.box-disabled {
|
|
124
|
-
color: @fontColor !important;
|
|
125
|
-
background-color: #f5f5f5;
|
|
126
|
-
cursor: not-allowed !important;
|
|
127
|
-
}
|