File tree 21 files changed +596
-539
lines changed
21 files changed +596
-539
lines changed Original file line number Diff line number Diff line change 170
170
}
171
171
172
172
&-background-ghost {
173
- color : @component-background ;
174
- background : transparent !important ;
175
- border-color : @component-background ;
173
+ color : @btn-default-ghost-color ;
174
+ background : @btn-default-ghost-bg !important ;
175
+ border-color : @btn-default-ghost-border ;
176
176
}
177
177
178
178
&-background-ghost&-primary {
Original file line number Diff line number Diff line change 19
19
20
20
&-hoverable {
21
21
cursor : pointer ;
22
+ transition : box- shadow 0.3s border- color 0.3s ;
23
+
22
24
& :hover {
23
25
border-color : @card-hover-border ;
24
26
box-shadow : @card-shadow ;
Original file line number Diff line number Diff line change 28
28
29
29
position : relative ;
30
30
display : inline-block ;
31
- background-color : @component-background ;
31
+ background-color : @cascader-bg ;
32
32
border-radius : @border-radius-base ;
33
33
outline : 0 ;
34
34
cursor : pointer ;
127
127
z-index : @zindex-dropdown ;
128
128
font-size : @cascader-dropdown-font-size ;
129
129
white-space : nowrap ;
130
- background : @component-background ;
130
+ background : @cascader-menu-bg ;
131
131
border-radius : @border-radius-base ;
132
132
box-shadow : @box-shadow-base ;
133
133
168
168
overflow : auto ;
169
169
vertical-align : top ;
170
170
list-style : none ;
171
- border-right : @border-width-base @border-style-base @border-color-split ;
171
+ border-right : @border-width-base @border-style-base @cascader-menu- border-color-split ;
172
172
-ms-overflow-style : -ms-autohiding-scrollbar ; // https://github.com/ant-design/ant-design/issues/11857
173
173
174
174
& :first-child {
203
203
& ,
204
204
& :hover {
205
205
font-weight : @select-item-selected-font-weight ;
206
- background-color : @background-color-light ;
206
+ background-color : @cascader-item-selected-bg ;
207
207
}
208
208
}
209
209
&-expand {
Original file line number Diff line number Diff line change 5
5
6
6
.@{comment-prefix-cls} {
7
7
position : relative ;
8
+ background-color : @comment-bg ;
8
9
9
10
&-inner {
10
11
display : flex ;
Original file line number Diff line number Diff line change 62
62
&-horizontal&-with-text-left {
63
63
& ::before {
64
64
top : 50% ;
65
- width : 5 % ;
65
+ width : @divider-orientation-margin ;
66
66
}
67
67
& ::after {
68
68
top : 50% ;
69
- width : 95 % ;
69
+ width : 100 % - @divider-orientation-margin ;
70
70
}
71
71
}
72
72
73
73
&-horizontal&-with-text-right {
74
74
& ::before {
75
75
top : 50% ;
76
- width : 95 % ;
76
+ width : 100 % - @divider-orientation-margin ;
77
77
}
78
78
& ::after {
79
79
top : 50% ;
80
- width : 5 % ;
80
+ width : @divider-orientation-margin ;
81
81
}
82
82
}
83
83
84
84
&-inner-text {
85
85
display : inline-block ;
86
- padding : 0 24 px ;
86
+ padding : 0 @divider-text-padding ;
87
87
}
88
88
89
89
&-dashed {
90
90
background : none ;
91
- border-color : @border -color-split ;
91
+ border-color : @divider -color ;
92
92
border-style : dashed ;
93
93
border-width : 1px 0 0 ;
94
94
}
Original file line number Diff line number Diff line change 141
141
position : relative ;
142
142
z-index : 1 ;
143
143
overflow : auto ;
144
- background-color : @component-background ;
144
+ background-color : @drawer-bg ;
145
145
background-clip : padding-box ;
146
146
border : 0 ;
147
147
}
181
181
position : relative ;
182
182
padding : @drawer-header-padding ;
183
183
color : @text-color ;
184
- background : @component-background ;
184
+ background : @drawer-bg ;
185
185
border-bottom : @border-width-base @border-style-base @border-color-split ;
186
186
border-radius : @border-radius-base @border-radius-base 0 0 ;
187
187
}
188
188
189
189
&-header-no-title {
190
190
color : @text-color ;
191
- background : @component-background ;
191
+ background : @drawer-bg ;
192
192
}
193
193
194
194
&-body {
Original file line number Diff line number Diff line change 195
195
& ,
196
196
.@{dropdown-prefix-cls} -menu-submenu-arrow-icon {
197
197
color : @disabled-color ;
198
- background-color : @component-background ;
198
+ background-color : @dropdown-menu-submenu-disabled-bg ;
199
199
cursor : not-allowed ;
200
200
}
201
201
}
Original file line number Diff line number Diff line change 33
33
transition : all 0.3s ;
34
34
35
35
& :hover {
36
- color : #333 ;
36
+ color : @input-icon-hover-color ;
37
37
}
38
38
}
39
39
Original file line number Diff line number Diff line change 11
11
cursor : pointer ;
12
12
transition : all 0.3s ;
13
13
& :hover {
14
- color : fade ( @black , 80 % ) ;
14
+ color : @input-icon-hover-color ;
15
15
}
16
16
}
17
17
Original file line number Diff line number Diff line change 98
98
box-sizing : border-box ;
99
99
font-size : @font-size-base ;
100
100
font-variant : initial ;
101
- background-color : @component-background ;
101
+ background-color : @mentions-dropdown-bg ;
102
102
border-radius : @border-radius-base ;
103
103
outline : none ;
104
104
box-shadow : @box-shadow-base ;
147
147
148
148
& :hover {
149
149
color : @disabled-color ;
150
- background-color : @component-background ;
150
+ background-color : @mentions-dropdown-menu-item-hover-bg ;
151
151
cursor : not-allowed ;
152
152
}
153
153
}
Original file line number Diff line number Diff line change 24
24
&-notice-content {
25
25
display : inline-block ;
26
26
padding : @message-notice-content-padding ;
27
- background : @component-background ;
27
+ background : @message-notice-content-bg ;
28
28
border-radius : @border-radius-base ;
29
29
box-shadow : @shadow-2 ;
30
30
pointer-events : all ;
Original file line number Diff line number Diff line change 39
39
padding : @notification-padding ;
40
40
overflow : hidden ;
41
41
line-height : 1.5 ;
42
- background : @component-background ;
42
+ background : @notification-bg ;
43
43
border-radius : @border-radius-base ;
44
44
box-shadow : @shadow-2 ;
45
45
Original file line number Diff line number Diff line change 41
41
text-align : center ;
42
42
vertical-align : middle ;
43
43
list-style : none ;
44
- background-color : @component-background ;
44
+ background-color : @pagination-item-bg ;
45
45
border : @border-width-base @border-style-base @border-color-base ;
46
46
border-radius : @border-radius-base ;
47
47
outline : 0 ;
180
180
height : 100% ;
181
181
font-size : 12px ;
182
182
text-align : center ;
183
- background-color : @component-background ;
183
+ background-color : @pagination-item-link-bg ;
184
184
border : @border-width-base @border-style-base @border-color-base ;
185
185
border-radius : @border-radius-base ;
186
186
outline : none ;
264
264
margin-right : 8px ;
265
265
padding : 0 6px ;
266
266
text-align : center ;
267
- background-color : @component-background ;
267
+ background-color : @pagination-item-input-bg ;
268
268
border : @border-width-base @border-style-base @border-color-base ;
269
269
border-radius : @border-radius-base ;
270
270
outline : none ;
350
350
}
351
351
352
352
&-active {
353
- background : darken ( @ disabled-bg, 10 % ) ;
353
+ background : @pagination-item- disabled-bg-active ;
354
354
border-color : transparent ;
355
355
a {
356
- color : #fff ;
356
+ color : @pagination-item-disabled-color-active ;
357
357
}
358
358
}
359
359
}
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ export default defineComponent({
18
18
type : 'line' ,
19
19
percent : 0 ,
20
20
showInfo : true ,
21
- trailColor : '#f3f3f3' ,
21
+ // null for different theme definition
22
+ trailColor : null ,
22
23
size : 'default' ,
23
24
gapDegree : 0 ,
24
25
strokeLinecap : 'round' ,
Original file line number Diff line number Diff line change 19
19
@error-title-color : @error-color ;
20
20
@error-description-color : @error-color ;
21
21
@error-tail-color : @wait-tail-color ;
22
- @steps-background : @component-background ;
23
- @steps-nav-arrow-color : fade (@black , 25% );
24
22
@steps-nav-active-color : @primary-color ;
25
23
26
24
@steps-icon-size : 32px ;
You can’t perform that action at this time.
0 commit comments