1
0
mirror of https://github.com/django/django.git synced 2025-08-25 19:29:14 +00:00

Fixed #36558, Refs #36366 -- Fixed the "show all" link hover styling in admin pagination.

Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.
This commit is contained in:
antoliny0919 2025-08-19 11:34:49 +09:00 committed by Sarah Boyce
parent dd15f7dabb
commit 0b2493a0da

View File

@ -1175,25 +1175,17 @@ a.deletelink:focus, a.deletelink:hover {
padding: 0; padding: 0;
} }
.paginator a:link, .paginator a:visited { .paginator a {
display: inline-block; display: inline-block;
padding: 2px 6px; padding: 2px 6px;
}
.paginator a:not(.showall) {
background: var(--button-bg); background: var(--button-bg);
text-decoration: none; text-decoration: none;
color: var(--button-fg); color: var(--button-fg);
} }
.paginator a.showall {
border: none;
background: none;
color: var(--link-fg);
}
.paginator a.showall:focus, .paginator a.showall:hover {
background: none;
color: var(--link-hover-color);
}
.paginator a[aria-current="page"] { .paginator a[aria-current="page"] {
color: var(--body-quiet-color); color: var(--body-quiet-color);
background: transparent; background: transparent;
@ -1201,8 +1193,8 @@ a.deletelink:focus, a.deletelink:hover {
cursor: default; cursor: default;
} }
.paginator a:not([aria-current="page"]):focus, .paginator a:not([aria-current="page"], .showall):focus,
.paginator a:not([aria-current="page"]):hover { .paginator a:not([aria-current="page"], .showall):hover {
color: white; color: white;
background: var(--link-hover-color); background: var(--link-hover-color);
} }