@jiaozhiye/qm-design-react 1.10.11 → 1.10.13
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/lib/antd/index.less +1 -1
- package/lib/cropper/src/cropper.d.ts +4 -165
- package/lib/divider/style/index.less +3 -1
- package/lib/drawer/style/index.less +8 -2
- package/lib/form/src/fields-filter.d.ts +2 -22
- package/lib/form/style/index.less +20 -4
- package/lib/guide-tracker/style/index.less +3 -3
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modal/style/index.less +1 -1
- package/lib/split/style/index.less +1 -1
- package/lib/style/compact.css +4 -1
- package/lib/style/compact.min.css +1 -1
- package/lib/style/index.css +45 -5
- package/lib/style/index.min.css +1 -1
- package/lib/style/reset.less +3 -0
- package/lib/style/themes/default.less +11 -9
- package/lib/table/style/clipboard.less +1 -1
- package/lib/table/style/column-filter.less +1 -1
- package/lib/table/style/expandable.less +3 -3
- package/lib/table/style/header.less +2 -2
- package/lib/table/style/super-search.less +1 -1
- package/lib/table/style/table.less +1 -1
- package/lib/table/style/variable.less +2 -2
- package/lib/tour/style/index.less +1 -1
- package/lib/upload-file/style/index.less +6 -1
- package/lib/upload-img/style/index.less +8 -2
- package/package.json +1 -1
package/lib/style/reset.less
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 18:25:34
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2024-10-29 13:36:52
|
|
6
6
|
*/
|
|
7
7
|
// The prefix to use on all css classes.
|
|
8
8
|
@qm-prefix: qm;
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
|
|
44
44
|
// Background-color
|
|
45
45
|
@--background-color: #f2f2f2;
|
|
46
|
-
@--background-color-
|
|
46
|
+
@--background-color-light: #f5f5f5;
|
|
47
47
|
|
|
48
48
|
// Font-family
|
|
49
|
-
@--font-family: -apple-system, BlinkMacSystemFont,
|
|
50
|
-
|
|
49
|
+
@--font-family: LarkHackSafariFont, LarkEmojiFont, LarkChineseQuote, -apple-system, BlinkMacSystemFont, Helvetica Neue, Tahoma, PingFang SC,
|
|
50
|
+
Microsoft Yahei, Arial, Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
51
51
|
@--font-path: './fonts';
|
|
52
52
|
|
|
53
53
|
// Text color
|
|
54
54
|
@--text-color: fade(@--black, 85%);
|
|
55
|
-
@--text-color-secondary
|
|
56
|
-
@--text-color-
|
|
55
|
+
@--text-color-secondary: fade(@--black, 65%);
|
|
56
|
+
@--text-color-placeholder: fade(@--black, 45%);
|
|
57
57
|
@--header-color: fade(@--black, 85%);
|
|
58
58
|
|
|
59
59
|
// Iconfont
|
|
60
|
-
@--icon-color: @--text-color-secondary
|
|
60
|
+
@--icon-color: @--text-color-secondary;
|
|
61
61
|
|
|
62
62
|
// Disabled color
|
|
63
63
|
@--disabled-color: fade(@--black, 25%);
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
@--border-width-base: 1px;
|
|
78
78
|
@--border-style-base: solid;
|
|
79
79
|
@--border-radius-base: 2px;
|
|
80
|
+
@--border-radius-lg: @--border-radius-base + 2px;
|
|
80
81
|
@--border-radius-sm: @--border-radius-base;
|
|
81
82
|
|
|
82
83
|
// Outline
|
|
@@ -99,7 +100,7 @@
|
|
|
99
100
|
@--height-md: 32px;
|
|
100
101
|
@--height-sm: 24px;
|
|
101
102
|
|
|
102
|
-
//
|
|
103
|
+
// Link
|
|
103
104
|
@--link-color: @--primary-color;
|
|
104
105
|
@--link-hover-color: @--primary-5;
|
|
105
106
|
@--link-active-color: @--primary-7;
|
|
@@ -114,4 +115,5 @@
|
|
|
114
115
|
|
|
115
116
|
// antd
|
|
116
117
|
@blue-base: @--primary-color;
|
|
117
|
-
@input-disabled-color: @--text-color-secondary
|
|
118
|
+
@input-disabled-color: @--text-color-secondary;
|
|
119
|
+
@border-radius-base: @--border-radius-base;
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
margin-right: 5px;
|
|
13
13
|
width: 17px;
|
|
14
14
|
height: 17px;
|
|
15
|
-
color: @v-font-
|
|
15
|
+
color: @v-font-color-placeholder;
|
|
16
16
|
vertical-align: -4px;
|
|
17
17
|
background: #fff;
|
|
18
18
|
border: 1px solid rgba(0, 0, 0, 0.085);
|
|
19
|
-
border-radius:
|
|
19
|
+
border-radius: 2px;
|
|
20
20
|
transform: scale(0.94117647);
|
|
21
21
|
outline: none;
|
|
22
22
|
user-select: none;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
&.disabled {
|
|
57
57
|
cursor: not-allowed;
|
|
58
58
|
color: rgba(0, 0, 0, 0.1);
|
|
59
|
-
background: @--background-color-
|
|
59
|
+
background: @--background-color-light;
|
|
60
60
|
&:hover {
|
|
61
61
|
border-color: currentColor;
|
|
62
62
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
flex-shrink: 0;
|
|
97
97
|
margin-left: 4px;
|
|
98
98
|
font-size: @v-font-size - 1px;
|
|
99
|
-
color: @v-font-
|
|
99
|
+
color: @v-font-color-placeholder;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
}
|
|
143
143
|
&:hover,
|
|
144
144
|
&.selected {
|
|
145
|
-
color: @v-font-
|
|
145
|
+
color: @v-font-color-placeholder;
|
|
146
146
|
background-color: @v-table-column-filter-hover-color;
|
|
147
147
|
}
|
|
148
148
|
&.actived {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
@v-font-size-small: @--font-size-sm;
|
|
13
13
|
|
|
14
14
|
@v-font-color: @--text-color;
|
|
15
|
-
@v-font-secondary
|
|
16
|
-
@v-font-
|
|
15
|
+
@v-font-color-secondary: @--text-color-secondary;
|
|
16
|
+
@v-font-color-placeholder: @--text-color-placeholder;
|
|
17
17
|
@v-font-disabled-color: @--disabled-color;
|
|
18
18
|
|
|
19
19
|
/* primary color */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 19:05:57
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2024-10-29 13:22:33
|
|
6
6
|
*/
|
|
7
7
|
@import '../../style/common';
|
|
8
8
|
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
display: block;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
+
&-card-actions {
|
|
31
|
+
.anticon-delete {
|
|
32
|
+
color: @--error-color;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
30
35
|
&.handle {
|
|
31
36
|
.ant-upload-list-item-name {
|
|
32
37
|
cursor: move;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 19:05:57
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2024-10-29 11:22:51
|
|
6
6
|
*/
|
|
7
7
|
@import '../../style/common';
|
|
8
8
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
top: 2px;
|
|
67
67
|
right: 2px;
|
|
68
68
|
padding: 1px;
|
|
69
|
-
border-radius:
|
|
69
|
+
border-radius: 2px;
|
|
70
70
|
font-size: @--font-size-sm;
|
|
71
71
|
color: #fff;
|
|
72
72
|
background-color: rgba(0, 0, 0, 0.4);
|
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
cursor: pointer;
|
|
75
75
|
display: none;
|
|
76
76
|
}
|
|
77
|
+
.ant-upload-list-item {
|
|
78
|
+
padding: 6px;
|
|
79
|
+
&-info {
|
|
80
|
+
border-radius: @--border-radius-base;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
77
83
|
}
|
|
78
84
|
}
|
|
79
85
|
|