dcp-design-react 1.10.12 → 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.
@@ -13,7 +13,7 @@
13
13
  &-disabled {
14
14
  .ant-select-selection-item,
15
15
  .ant-select-selection-item-content {
16
- color: @--text-color-secondary-dark;
16
+ color: @--text-color-secondary;
17
17
  }
18
18
  }
19
19
  }
@@ -17,7 +17,7 @@
17
17
  line-height: 1;
18
18
  border: 1px solid @--border-color-base;
19
19
  border-radius: @--border-radius-base;
20
- background-color: @--background-color-cecondary;
20
+ background-color: @--background-color-light;
21
21
  position: relative;
22
22
  &::before {
23
23
  content: ' ';
@@ -26,6 +26,8 @@
26
26
  left: -1px;
27
27
  top: -1px;
28
28
  bottom: -1px;
29
+ border-top-left-radius: @--border-radius-base;
30
+ border-bottom-left-radius: @--border-radius-base;
29
31
  background-color: @--primary-color;
30
32
  }
31
33
  &__title {
@@ -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: 2022-11-26 20:25:11
5
+ * @Last Modified time: 2024-10-29 10:53:46
6
6
  */
7
7
  @import '../../style/common';
8
8
 
@@ -21,6 +21,9 @@
21
21
  top: 4px;
22
22
  right: 42px;
23
23
  }
24
+ .ant-drawer-extra {
25
+ display: none;
26
+ }
24
27
  }
25
28
  }
26
29
  .ant-drawer-header {
@@ -51,7 +54,7 @@
51
54
  position: absolute;
52
55
  right: 34px;
53
56
  padding: @--padding-md 5px @--padding-md @--padding-md;
54
- color: @--text-color-secondary;
57
+ color: @--text-color-placeholder;
55
58
  line-height: 1;
56
59
  font-size: @--font-size-lg;
57
60
  transition: all 0.3s ease;
@@ -60,6 +63,9 @@
60
63
  color: @--text-color;
61
64
  }
62
65
  }
66
+ .ant-drawer-extra {
67
+ margin-right: 50px;
68
+ }
63
69
  }
64
70
  .ant-drawer-body {
65
71
  padding: @--padding-md;
@@ -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: 2022-12-02 20:00:11
5
+ * @Last Modified time: 2024-10-29 13:39:17
6
6
  */
7
7
  @import '../../style/common';
8
8
 
@@ -55,6 +55,22 @@
55
55
  line-height: 1;
56
56
  }
57
57
  }
58
+ // radio-group checkbox-group
59
+ .ant-radio-group,
60
+ .ant-checkbox-group {
61
+ display: inline-flex;
62
+ justify-content: flex-start;
63
+ flex-wrap: wrap;
64
+ row-gap: 4px;
65
+ .ant-radio-wrapper,
66
+ .ant-checkbox-wrapper {
67
+ margin: 0;
68
+ margin-right: 20px;
69
+ &:last-of-type {
70
+ margin-right: 0;
71
+ }
72
+ }
73
+ }
58
74
  // textarea
59
75
  .ant-input-textarea-show-count {
60
76
  position: relative;
@@ -67,7 +83,7 @@
67
83
  }
68
84
  // input extra
69
85
  .extra-tooltip {
70
- color: @--text-color-secondary-dark;
86
+ color: @--text-color-secondary;
71
87
  vertical-align: -0.4em;
72
88
  transform: scale(1.2);
73
89
  }
@@ -248,7 +264,7 @@
248
264
  padding: 0 8px;
249
265
  margin: 0 4px 4px 0;
250
266
  border: 1px solid @--border-color-secondary;
251
- border-radius: @--border-radius-base;
267
+ border-radius: 2px;
252
268
  cursor: pointer;
253
269
  &.actived {
254
270
  color: @--white;
@@ -346,7 +362,7 @@
346
362
  .text-overflow-cut();
347
363
  .handle {
348
364
  padding: 2px;
349
- color: @--text-color-secondary;
365
+ color: @--text-color-placeholder;
350
366
  cursor: s-resize;
351
367
  transform: scale(0.9);
352
368
  }
@@ -53,7 +53,7 @@
53
53
  position: absolute;
54
54
  top: 10px;
55
55
  inset-inline-end: 10px;
56
- color: @--text-color-secondary;
56
+ color: @--text-color-placeholder;
57
57
  width: 22px;
58
58
  height: 22px;
59
59
  display: flex;
@@ -160,7 +160,7 @@
160
160
  }
161
161
  .handle {
162
162
  padding: 2px;
163
- color: @--text-color-secondary;
163
+ color: @--text-color-placeholder;
164
164
  cursor: s-resize;
165
165
  transform: scale(0.9);
166
166
  }
@@ -176,7 +176,7 @@
176
176
  .close-icon {
177
177
  padding: 2px;
178
178
  font-size: 12px;
179
- color: @--text-color-secondary;
179
+ color: @--text-color-placeholder;
180
180
  border-radius: 4px;
181
181
  cursor: pointer;
182
182
  display: none;