[GH-ISSUE #302] opacity on viewing image attachment? #262

Closed
opened 2026-02-25 21:34:35 +03:00 by kerem · 4 comments
Owner

Originally created by @mpaolo on GitHub (Nov 8, 2018).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/302

Originally assigned to: @jasonmunro on GitHub.

🐛 Bugreport

Hi,
seems that all but the default theme have
img { opacity: .3 !important; }
for the img tag, hence an attached img displays like behind a semiopaque glass.
Don't see the reason for that, nor an obvious config-dependent option selected,
thus I deem it a bug

thx

Version & Environment

Cypht latest, Debian stretch, nginx+dovecotimapd, vrom Ffox latest on W10pro

Steps to reproduce

just try to view a sen/received img attachment in non-default theme e.g. *blue

Originally created by @mpaolo on GitHub (Nov 8, 2018). Original GitHub issue: https://github.com/cypht-org/cypht/issues/302 Originally assigned to: @jasonmunro on GitHub. ## 🐛 Bugreport Hi, seems that all but the default theme have `img { opacity: .3 !important; }` for the img tag, hence an attached img displays like behind a semiopaque glass. Don't see the reason for that, nor an obvious config-dependent option selected, thus I deem it a bug thx ### Version & Environment Cypht latest, Debian stretch, nginx+dovecotimapd, vrom Ffox latest on W10pro ### Steps to reproduce just try to view a sen/received img attachment in non-default theme e.g. *blue
kerem 2026-02-25 21:34:35 +03:00
  • closed this issue
  • added the
    bug
    themes
    labels
Author
Owner

@jasonmunro commented on GitHub (Nov 8, 2018):

Yep, good call. The opacity change is to make the icons blend in a bit better with themes. Just added an override for viewing message image attachments. Overall themes could use some love :)

<!-- gh-comment-id:437179068 --> @jasonmunro commented on GitHub (Nov 8, 2018): Yep, good call. The opacity change is to make the icons blend in a bit better with themes. Just added an override for viewing message image attachments. Overall themes could use some love :)
Author
Owner

@mpaolo commented on GitHub (Nov 9, 2018):

hm I grabbed the latest, seen the changes, then replaced the new .css ... but see no effect. Thing is, seems the browser still sees the previous .css. Purged browser cache, restarted nginx, close/open browser ... to no avail. Wonder how to convince FFox to drop the cached things, or where the heck it's cached :/
Even in another browser wich never visited the site the .css seems the old one - missing the
.msg_text_inner img, .apod_image img { opacity: 1 !important; }
So either it's the nginx or ... am I supposed to re-run the config-gen script?

<!-- gh-comment-id:437442362 --> @mpaolo commented on GitHub (Nov 9, 2018): hm I grabbed the latest, seen the changes, then replaced the new .css ... but see no effect. Thing is, seems the browser still sees the previous .css. Purged browser cache, restarted nginx, close/open browser ... to no avail. Wonder how to convince FFox to drop the cached things, or where the heck it's cached :/ Even in another browser wich never visited the site the .css seems the old one - missing the `.msg_text_inner img, .apod_image img { opacity: 1 !important; }` So either it's the nginx or ... am I supposed to re-run the config-gen script?
Author
Owner

@jasonmunro commented on GitHub (Nov 9, 2018):

Sorry, should have mentioned that you do need to rerun the config gen script. Part of what that does is copy assets from enabled module sets into the site directory, like the theme css files.

<!-- gh-comment-id:437444606 --> @jasonmunro commented on GitHub (Nov 9, 2018): Sorry, should have mentioned that you do need to rerun the config gen script. Part of what that does is copy assets from enabled module sets into the site directory, like the theme css files.
Author
Owner

@mpaolo commented on GitHub (Nov 9, 2018):

aha! that did the trick indeed - looks fine now
thanx!

<!-- gh-comment-id:437445951 --> @mpaolo commented on GitHub (Nov 9, 2018): aha! that did the trick indeed - looks fine now thanx!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#262
No description provided.