flarum / issue-archive

0 stars 0 forks source link

Transparency applied too broadly on flagged posts #328

Open dcsjapan opened 8 years ago

dcsjapan commented 8 years ago

The reduced opacity applied to Akismet-flagged posts also gets applied to the profile popup:

profile

It makes things hard to read; the popup should be at full opacity.

... The blue boxes are redactions made to avoid posting spam in the issue tracker. :stuck_out_tongue_winking_eye:

Ralkage commented 6 years ago

Hoe can we reproduce this? (need sample spam as we'd have to wait ages for a spammer to come along lol)

luceos commented 6 years ago

@Ralkage create post, then in posts table set is_spam to 1 🌮

pflstr commented 6 years ago

The reduced opacity of the popup not only makes things hard to read, it also makes it impossible to use the included menu to e.g. ban a user because hovering with your mouse over the lower parts of the popup doesn't prevent the popup from disappearing.

As it has been mentioned before, the problem can be mitigated easily by undoing the opacity reduction to 0.5:

.Post--unapproved .Post-header, .Post--unapproved .Post-body, .Post--unapproved .EventPost-icon, .Post--unapproved .EventPost-info {
    opacity: 0.5;
}
askvortsov1 commented 3 years ago

We should try to adjust css so that opacity is only reduced on specific elements, ie text.