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

搜索 | 用户支持

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

详细了解

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; }