Opened 14 years ago
Closed 14 years ago
#16827 closed defect (bug) (fixed)
Network Users alternate row highlighting does not work properly
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Network Admin | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
If you browse to wp-admin/network/users.php and mark a user (that user row must have the 'alternate' class already) as spam, the row's background will not be light red as expected. It will still be the alternate color and then the next row will now be the alternate color as well.
I've attached two possible solutions.
Attachments (6)
Change History (19)
#3
@
14 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
trac just keeps getting funkier and funkier.
#4
@
14 years ago
A third way to address this would be to make the .site-spammed
more specific by adding .wp-list-table .site-spammed
to the CSS.
#5
@
14 years ago
With SCRIPT_DEBUG enabled I don't see this issue.
So I just think we may need to re-compress some CSS.
#6
@
14 years ago
Ok. It looks like the underlying bug that really needs fixing is this.
The CSS files are output in different orders with SCRIPT_DEBUG enabled/disabled - which is why the CSS for this is being overridden by other CSS.
That shouldn't happen because it makes testing of patches hard and gives different behvaiour between live/dev
#7
@
14 years ago
I see no harm in the css changes proposed to make them more specific - in fact they are probably a good idea.
The attached patch works towards removing the hacky 'colours' style loading code and move towards using the normal en-queuing so that it works correctly with or without SCRIPT_DEBUG and the colour css gets loaded via load-styles too.
#8
@
14 years ago
[16902] expanded #faa to #faafaa. #faa is the shortform of #ffaaaa. 16827.4.diff combines 16827.3.diff with a fix for the #faa.
#9
@
14 years ago
Nice catch. We should move back to #faa rather than #ffaaaa for standards purposes.
#10
follow-up:
↓ 11
@
14 years ago
This still does not have the 3.2 milestone on it. Is there are reason it's being left off the list?
#11
in reply to:
↑ 10
@
14 years ago
- Milestone changed from Awaiting Review to 3.2
Replying to wpmuguru:
This still does not have the 3.2 milestone on it. Is there are reason it's being left off the list?
Nope. I thought I already set that when I started working on it :(
I thought there was a guideline somewhere for never using !important in any WP css files.