Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Borders of some controls are white instead of none

  • 8 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Terry

more options

I'm on Linux and I have a custom theme that has no borders for inputs & such (picture 1 is an example), however instead of them not appearing on Firefox, they appear white. I'm not gonna change my whole theme just to be able to have a pretty browser in 2022. How can I change these borders (picture 2) while keeping the GTK theme?

I'm on Linux and I have a custom theme that has no borders for inputs & such (picture 1 is an example), however instead of them not appearing on Firefox, they appear white. I'm not gonna change my whole theme just to be able to have a pretty browser in 2022. How can I change these borders (picture 2) while keeping the GTK theme?
已附加屏幕截图

被采纳的解决方案

Here's the solution for fellow ricers, you're looking for this line of CSS: frame > border, .frame { border: blablabla; }

That's the line affecting Firefox control borders Make sure you're never the guy who commented 3 times on this post with no solution, nobody likes these

Another solution is to dump this browser, uses way too much resources anyway

定位到答案原位置 👍 0

所有回复 (8)

more options

.....

由jonzn4SUSE于修改

more options

jonzn4SUSE said

What distro? Try downloading another copy of Firefox, run it from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

Newest Ubuntu, nope, still the same, I think they just don't have "an option" for no border, so it defaults to white YIKES

more options

.....

由jonzn4SUSE于修改

more options

jonzn4SUSE said

So it's not a browser issue. Mark it resolved and enjoy.  ;-)

If it wasn't a browser issue - it'd display all of those controls without a border. Instead - it defaults to full 255 border, I'm not gonna enjoy white in 2022, this isn't resolved

more options

.....

由jonzn4SUSE于修改

more options

jonzn4SUSE said

LOL Right, it's not resolved. Is it a browser issue or the OS or Desktop Environment? Spin up a VM or live stick to see if you have the same issue.

I don't see what you can't seem to understand in "I have a custom theme that has no borders for inputs & such" Firefox is using the same GTK/system theme, but instead of displaying them without borders, it makes them the ugly default white ones (probably because it doesn't know how to handle border: none or w.e I put in the CSS there). Please stop spamming on here, you've literally said nothing useful in your posts

Brave handles it well, so how exactly is it not a Firefox issue?

more options

选择的解决方案

Here's the solution for fellow ricers, you're looking for this line of CSS: frame > border, .frame { border: blablabla; }

That's the line affecting Firefox control borders Make sure you're never the guy who commented 3 times on this post with no solution, nobody likes these

Another solution is to dump this browser, uses way too much resources anyway

more options

My DE provides a means of selecting "no border", yours probably does also.