@@ -57,7 +57,16 @@ const genPaginationDisabledStyle: GenerateStyle<PaginationToken, CSSObject> = to
5757
5858 [ `&${ componentCls } -disabled` ] : {
5959 cursor : 'not-allowed' ,
60-
60+ [ `&${ componentCls } -mini` ] : {
61+ [ `
62+ &:hover ${ componentCls } -item:not(${ componentCls } -item-active),
63+ &:active ${ componentCls } -item:not(${ componentCls } -item-active),
64+ &:hover ${ componentCls } -item-link,
65+ &:active ${ componentCls } -item-link
66+ ` ] : {
67+ backgroundColor : 'transparent' ,
68+ } ,
69+ } ,
6170 [ `${ componentCls } -item` ] : {
6271 cursor : 'not-allowed' ,
6372
@@ -89,26 +98,38 @@ const genPaginationDisabledStyle: GenerateStyle<PaginationToken, CSSObject> = to
8998 [ `${ componentCls } -item-link` ] : {
9099 color : token . colorTextDisabled ,
91100 cursor : 'not-allowed' ,
92-
93101 '&:hover, &:active' : {
94102 backgroundColor : 'transparent' ,
95103 } ,
96-
97104 [ `${ componentCls } -simple&` ] : {
98105 backgroundColor : 'transparent' ,
106+ '&:hover, &:active' : {
107+ backgroundColor : 'transparent' ,
108+ } ,
99109 } ,
100110 } ,
101111
102- [ `${ componentCls } -item-link-icon ` ] : {
103- opacity : 0 ,
112+ [ `${ componentCls } -simple-pager ` ] : {
113+ color : token . colorTextDisabled ,
104114 } ,
105115
106- [ `${ componentCls } -item-ellipsis` ] : {
107- opacity : 1 ,
108- } ,
116+ [ `${ componentCls } -jump-prev, ${ componentCls } -jump-next` ] : {
117+ [ `${ componentCls } -item-link-icon` ] : {
118+ opacity : 0 ,
119+ } ,
109120
110- [ `${ componentCls } -simple-pager` ] : {
111- color : token . colorTextDisabled ,
121+ [ `${ componentCls } -item-ellipsis` ] : {
122+ opacity : 1 ,
123+ } ,
124+ } ,
125+ } ,
126+ [ `&${ componentCls } -simple` ] : {
127+ [ `${ componentCls } -prev, ${ componentCls } -next` ] : {
128+ [ `&${ componentCls } -disabled ${ componentCls } -item-link` ] : {
129+ '&:hover, &:active' : {
130+ backgroundColor : 'transparent' ,
131+ } ,
132+ } ,
112133 } ,
113134 } ,
114135 } ;
@@ -134,13 +155,28 @@ const genPaginationMiniStyle: GenerateStyle<PaginationToken, CSSObject> = token
134155 [ `&${ componentCls } -mini ${ componentCls } -item:not(${ componentCls } -item-active)` ] : {
135156 backgroundColor : 'transparent' ,
136157 borderColor : 'transparent' ,
158+ '&:hover' : {
159+ backgroundColor : token . colorBgTextHover ,
160+ } ,
161+ '&:active' : {
162+ backgroundColor : token . colorBgTextActive ,
163+ } ,
137164 } ,
138165
139166 [ `&${ componentCls } -mini ${ componentCls } -prev, &${ componentCls } -mini ${ componentCls } -next` ] : {
140167 minWidth : token . paginationItemSizeSM ,
141168 height : token . paginationItemSizeSM ,
142169 margin : 0 ,
143170 lineHeight : `${ token . paginationItemSizeSM } px` ,
171+ [ `&:hover ${ componentCls } -item-link` ] : {
172+ backgroundColor : token . colorBgTextHover ,
173+ } ,
174+ [ `&:active ${ componentCls } -item-link` ] : {
175+ backgroundColor : token . colorBgTextActive ,
176+ } ,
177+ [ `&${ componentCls } -disabled:hover ${ componentCls } -item-link` ] : {
178+ backgroundColor : 'transparent' ,
179+ } ,
144180 } ,
145181
146182 [ `
@@ -200,7 +236,12 @@ const genPaginationSimpleStyle: GenerateStyle<PaginationToken, CSSObject> = toke
200236 height : token . paginationItemSizeSM ,
201237 backgroundColor : 'transparent' ,
202238 border : 0 ,
203-
239+ '&:hover' : {
240+ backgroundColor : token . colorBgTextHover ,
241+ } ,
242+ '&:active' : {
243+ backgroundColor : token . colorBgTextActive ,
244+ } ,
204245 '&::after' : {
205246 height : token . paginationItemSizeSM ,
206247 lineHeight : `${ token . paginationItemSizeSM } px` ,
0 commit comments