搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Curved tab

  • 2 回覆
  • 1 有這個問題
  • 2527 次檢視
  • 最近回覆由 imre_lovasz

more options

I would like to customize the tabs to be curved instead of the current rectangular one to bring back some aesthetics.

Thanks in advance, Imre

被選擇的解決方法

Hi Wesley,

Thanks for the tip! Unfortunately, that was not exactly what I was looking for, but I eventually found the solutions here: https://github.com/wilfredwee/photon-australis

Cheers, Imre

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

It sounds like you would want to put the following code into a userChrome.css file:

.tabbrowser-tab .tab-stack {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

You can adjust the 20px to whatever border rounding you want.

For more information on how to add a userChrome.css file, I'd recommend reviewing the documentation on the userChrome.org website.

Hope this helps.

NOTE: Modifications through userChrome.css are intended for advanced users. Such modifications are unofficial and not support by Mozilla. They may become broken due to UI changes made in future updates. If you do not have the technical ability to make future changes to the above code or the ability to troubleshoot any future issues that may arise, DO NOT USE USERCHROME.CSS CUSTOMIZATION.
more options

選擇的解決方法

Hi Wesley,

Thanks for the tip! Unfortunately, that was not exactly what I was looking for, but I eventually found the solutions here: https://github.com/wilfredwee/photon-australis

Cheers, Imre