為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Remove Blue Line Above Tabs v117.0 MAC

  • 8 回覆
  • 0 有這個問題
  • 31 次檢視
  • 最近回覆由 cor-el

more options

i want to remove this blue line on top of the current tab with css

im on v117.0, and using a mac

i removed it with help with css years ago, but whatever it was no longer works. and ive been patiently waiting noone on any other site can help

or it maybe possibly some animation that could be removed in about:config

i want to remove this blue line on top of the current tab with css im on v117.0, and using a mac i removed it with help with css years ago, but whatever it was no longer works. and ive been patiently waiting noone on any other site can help or it maybe possibly some animation that could be removed in about:config
附加的畫面擷圖

所有回覆 (8)

more options
more options

Firefox 89+ doesn't display a blue line on top of the current tab. That was removed, and the built-in themes (System, Light, Dark) do not use a line on the tab.

If you were NOT a userChrome.css user, then my guess would be that you are running the Multi-Container Tabs extension and your current tab is in the blue container. It's hard to tell for sure from your screenshot, but do you see a blue container icon on the right side of the address bar?

Since you ARE a userChrome.css user, then you should know that the first rule of troubleshooting a userChrome.css problem is sharing ALL of your current custom CSS file(s). Making people guess what is causing a problem is... wasting everyone's time. I do not suggest pasting CSS here because it isn't especially readable. You could use Pastebin (select CSS as the syntax when saving your paste, then share the link back here).

more options
more options

You may wish to use:

https://paste.mozilla.org/

more options

i dont know how to use it. i gave the code, you know to view it

more options

This section is your problem. It creates a synthetic top line by injecting a ::before element. Then when the tab is selected, it colors that element. This whole section can go.

(I should have read the /* comment */ first and I would have found it more quickly.)

/* Line to mark selected tab */
.tab-background[selected]::before,
.tabbrowser-tab:hover > stack > .tab-background::before{
  display: -moz-box;
  height: 2px;
  content: "";
}
.tab-stack:hover > .tab-background::before{
  background-color: inherit;
}
.tab-stack > .tab-background[selected]::before{
  background-color: highlight;
  background-image: linear-gradient(var(--tab-line-color),var(--tab-line-color));
}
more options

really thanks alot, i just copied all my old forum posts into a new file recently, i never added that i have no idea why it was in there

more options

Note that this code with -moz-box-ordinal-group also can be removed as this property is no longer supported.

/* moves context-line to the bottom */
.tab-context-line{ -moz-box-ordinal-group: 2; margin-inline: 10px !important; }

Or replace with:
/* moves context-line to the bottom */
.tab-context-line{ order:1; margin-inline: 10px !important; }