搜索 | 用户支持

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

Learn More

Active tab border

  • 3 个回答
  • 0 人有此问题
  • 26 次查看
  • 最后回复者为 M

more options

Hello, From FF 99 I have removed the floating tabs with CSS code but after updating to 104 instead of the active tab being differentiated with a shadow it now has a black border. Is there any way to change that back while still keeping the CSS code I have for the floating tabs?

The code I have is: .tab-background{ border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{ background-color: color-mix(in srgb, currentColor 5%, transparent); } .tab-background{ border-color: transparent !important }

Thanks.

Hello, From FF 99 I have removed the floating tabs with CSS code but after updating to 104 instead of the active tab being differentiated with a shadow it now has a black border. Is there any way to change that back while still keeping the CSS code I have for the floating tabs? The code I have is: .tab-background{ border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{ background-color: color-mix(in srgb, currentColor 5%, transparent); } .tab-background{ border-color: transparent !important } Thanks.
已附加屏幕截图

所有回复 (3)

more options

WARNING from the moderator team: userChrome.css scripts are not provided by Mozilla and is not officially supported. Firefox is a work in progress and, to allow for continuous innovation, Mozilla cannot guarantee future updates won’t impact your customizations. For this reason, Mozilla does not officially support style rules customization.

Please read Firefox Advanced Customization and Configuration Options to learn more.

more options

This is probably not a border, but a box-shadow or an outline.

You can check this with the Browser Toolbox.

more options

Thanks.. unfortunately my skills are limited and I'm not sure which of the codes in the link to use for the outline (and can't seem to locate the toolbox under 'more tools/web developer tools' in the menu. )

I guess I have to live with it but I appreciate the response.