form-driver 0.2.2 → 0.2.4
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/dist/m3.css +5 -0
- package/es/m3.css +5 -0
- package/lib/m3.css +5 -0
- package/package.json +1 -1
- package/src/ui/editor/basic/ARate.less +17 -7
package/dist/m3.css
CHANGED
|
@@ -128,9 +128,14 @@ table.M3_table tr:last-child td {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.ant-rate {
|
|
131
|
+
/* 自定义Rate组件未选中星星的颜色 */
|
|
131
132
|
display: flex !important;
|
|
132
133
|
width: 100%;
|
|
133
134
|
}
|
|
135
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-first,
|
|
136
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-second {
|
|
137
|
+
color: #a2a2a2;
|
|
138
|
+
}
|
|
134
139
|
.ant-rate .ant-rate-star {
|
|
135
140
|
flex: 1;
|
|
136
141
|
}
|
package/es/m3.css
CHANGED
|
@@ -128,9 +128,14 @@ table.M3_table tr:last-child td {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.ant-rate {
|
|
131
|
+
/* 自定义Rate组件未选中星星的颜色 */
|
|
131
132
|
display: flex !important;
|
|
132
133
|
width: 100%;
|
|
133
134
|
}
|
|
135
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-first,
|
|
136
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-second {
|
|
137
|
+
color: #a2a2a2;
|
|
138
|
+
}
|
|
134
139
|
.ant-rate .ant-rate-star {
|
|
135
140
|
flex: 1;
|
|
136
141
|
}
|
package/lib/m3.css
CHANGED
|
@@ -128,9 +128,14 @@ table.M3_table tr:last-child td {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.ant-rate {
|
|
131
|
+
/* 自定义Rate组件未选中星星的颜色 */
|
|
131
132
|
display: flex !important;
|
|
132
133
|
width: 100%;
|
|
133
134
|
}
|
|
135
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-first,
|
|
136
|
+
.ant-rate .ant-rate-star-zero .ant-rate-star-second {
|
|
137
|
+
color: #a2a2a2;
|
|
138
|
+
}
|
|
134
139
|
.ant-rate .ant-rate-star {
|
|
135
140
|
flex: 1;
|
|
136
141
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
.ant-rate {
|
|
2
|
+
|
|
3
|
+
/* 自定义Rate组件未选中星星的颜色 */
|
|
4
|
+
.ant-rate-star-zero .ant-rate-star-first,
|
|
5
|
+
.ant-rate-star-zero .ant-rate-star-second {
|
|
6
|
+
color: #a2a2a2;
|
|
7
|
+
}
|
|
8
|
+
|
|
2
9
|
display: flex !important;
|
|
3
|
-
width
|
|
10
|
+
width : 100%;
|
|
4
11
|
|
|
5
12
|
.ant-rate-star {
|
|
6
13
|
flex: 1
|
|
@@ -14,27 +21,30 @@
|
|
|
14
21
|
padding-left: 15px;
|
|
15
22
|
padding-right: 15px;
|
|
16
23
|
display: flex;
|
|
24
|
+
|
|
17
25
|
.m3-nps-tip-left {
|
|
18
|
-
flex: 1;
|
|
26
|
+
flex: 1;
|
|
19
27
|
text-align: left;
|
|
20
28
|
}
|
|
29
|
+
|
|
21
30
|
.m3-nps-tip-center {
|
|
22
|
-
flex: 1;
|
|
23
|
-
padding: 0 10px;
|
|
31
|
+
flex: 1;
|
|
32
|
+
padding: 0 10px;
|
|
24
33
|
text-align: center;
|
|
25
34
|
}
|
|
35
|
+
|
|
26
36
|
.m3-nps-tip-right {
|
|
27
|
-
flex: 1;
|
|
37
|
+
flex: 1;
|
|
28
38
|
text-align: right;
|
|
29
39
|
}
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
.ant-rate {
|
|
33
43
|
display: flex !important;
|
|
34
|
-
width
|
|
44
|
+
width: 100%;
|
|
35
45
|
|
|
36
46
|
.ant-rate-star {
|
|
37
|
-
|
|
47
|
+
&>div {
|
|
38
48
|
text-align: center;
|
|
39
49
|
}
|
|
40
50
|
}
|