coffees.gr - search box text is not visible

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

coffees.gr - search box text is not visible

Post by back2themoon » 2025-05-26, 23:42

https://www.coffees.gr/

Try typing into the main, top search bar. The text is not visible:
coffees.png
Error Console: TypeError: t.$_Tawk.i18next is not a function
You do not have the required permissions to view the files attached to this post.

User avatar
adoxa
Lunatic
Lunatic
Posts: 440
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: coffees.gr - search box text is not visible

Post by adoxa » 2025-05-27, 02:03

Apparently the padding is more important than the content.

Code: Select all

@-moz-document domain("www.coffees.gr") {
  .top-search input {
    padding: 0 10px !important;
  }
}

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37775
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: coffees.gr - search box text is not visible

Post by Moonchild » 2025-05-27, 08:33

It's the common Chrome quirk (it goes against the standard where padding and content can't occupy the same space, but in Chrome it can) being abused to "prop open" elements to a specific size.
If coffees.gr cares about non-chromium customers, they should fix it.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: coffees.gr - search box text is not visible

Post by back2themoon » 2025-05-27, 09:39

I will try passing that info to them but as we all know, Chrome quirks almost always overpower non-Chromium customers and previously established web standards.

So, is this yet another "secondary" (hopefully) spec that Pale Moon should/might consider "relaxing"? I know about the web standards principles etc., it's not about that. It's about making things work, without of course breaking other stuff, critical or otherwise in the process. Or is this difficult to implement, assuming you'd want to implement it? (or "de-implement"...)

Thanks adoxa :thumbup:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37775
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: coffees.gr - search box text is not visible

Post by Moonchild » 2025-05-27, 09:44

back2themoon wrote:
2025-05-27, 09:39
So, is this yet another "secondary" (hopefully) spec that Pale Moon should/might consider "relaxing"?
No! Padding is padding. It should not be treated like anything else. It's a long-standing chromium bug that Google just refused to fix and became used as one of the many hacks to size elements (while better options do exist in the standard).
Aside from that, it would go completely against how the parser treats padding in our case; making exceptions will just make the code all that more complex for no reason other than "be like Chrome, warts and all".
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: coffees.gr - search box text is not visible

Post by back2themoon » 2025-05-27, 09:51

Understood. I was hoping it might be some secondary sub-feature where not strictly adhering to specs could be considered.

I'm tormenting adoxa on a daily basis lately, and I don't feel all that comfortable about it. Trying to learn things but I'm still far from it.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37775
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: coffees.gr - search box text is not visible

Post by Moonchild » 2025-05-27, 10:02

back2themoon wrote:
2025-05-27, 09:51
Trying to learn things but I'm still far from it.
The devtools inspector is your friend in these cases. Of course you'd have to know some CSS to know what you're looking at but you can experiment in real-time to see what works.
I'd give you a quick tutorial if I didn't have other things to do.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: coffees.gr - search box text is not visible

Post by back2themoon » 2025-05-27, 10:21

No worries. For the moment, it remains Greek to me. And I have to translate it to actual Greek for them as well.

User avatar
adoxa
Lunatic
Lunatic
Posts: 440
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: coffees.gr - search box text is not visible

Post by adoxa » 2025-05-27, 10:59

back2themoon wrote:
2025-05-27, 09:51
I'm tormenting adoxa on a daily basis lately, and I don't feel all that comfortable about it.
No worries. :)