Opened 10 years ago
Closed 10 years ago
#30278 closed defect (bug) (fixed)
Incorrect background color in auth check modal
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Administration | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
The background around the "X" is using #eee, but the modal itself uses #f1f1f1.
Attachments (4)
Change History (12)
#2
@
10 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
The patch may be wrong, but the ticket isn't. There is definitely a color difference. See attached images.
#3
follow-up:
↓ 7
@
10 years ago
I apologize! I read your comment incorrectly before I tested your patch. You are 100% right, it is not invalid. I tested your patch and it does solve the issue. However, I think it would make more sense to just remove the background color completely so when/if the login screen background color changes this doesn't happen again.
#6
@
10 years ago
Core developers, would one of you please take a look at this ticket and get it committed into 4.2?
Cheers!
#7
in reply to:
↑ 3
@
10 years ago
- Keywords dev-feedback removed
- Milestone changed from Awaiting Review to 4.2
Replying to valendesigns:
I think it would make more sense to just remove the background color completely so when/if the login screen background color changes this doesn't happen again.
That's not going to work. This is the same "problem" all iframe based dialogs have: the header containing the Close button is outside of the iframe. We could make is a "proper" header (similar to thickbox, etc.) but then it will look differently than most others dialogs, see the media modal for example.
Other options include matching the iframe background color, positioning the X on top of the iframe or outside the dialog box (seen this in some places, not sure it looks that good). Changing the background to f1f1f1
fixes this for now. If you want to experiment with the other options please open another ticket with screenshots, etc.
The background of
#wp-auth-check
is#eee
and the body of the login screen is#f1f1f1
which is served to the popup. However, there is a30px
padding on#wp-auth-check
which means the background behind the close button is actually#eee
and therefore this patch is unnecessary and makes this ticket invalid.