Opened 4 weeks ago
Closed 4 weeks ago
#8460 closed defect (bug) (fixed)
Broken box-shadow and border on hovering "Create a new ticket" button
| Reported by: | umesh.nevase | Owned by: | obenland |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trac | Keywords: | |
| Cc: |
Description
On the https://core.trac.wordpress.org/tickets/latest page, the "Create a New Ticket" button exhibits a visual styling bug when hovered over. The border and box-shadow elements do not render properly or align correctly with the button edges.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
Hovering the "Create a new ticket" button on Trac report pages (for example https://core.trac.wordpress.org/tickets/latest) shows a pale grey box to the right of the button.
The generic
:link:hover, :visited:hoverrule intrac.cssappliesbox-shadow: 0 0 0 .15em rgba(238, 238, 238, .5)to the link..create-new-ticket ainwp-trac.cssalready resetsbackground-colorandcoloron hover, but notbox-shadow, so the halo still shows around the inner link.PR: https://github.com/WordPress/wordpress.org/pull/1071
The patch resets
box-shadowfor.create-new-ticket aon:hoverand:focusinwp-trac.css. Its specificity is higher than thetrac.cssrule, so load order doesn't matter, and other links keep the existing hover style.Before/after screenshots are in the PR description. Reviews and testing on other Trac sites are welcome.