gpt4 book ai didi

css - 使用 CSS 更改 Firefox 中的导航栏图标大小?

转载 作者:行者123 更新时间:2023-11-28 07:15:12 25 4
gpt4 key购买 nike

我想在 Australis 中将图标大小的导航栏值更改为“大”,就像在可怕的升级之前的 Firefox 28 中一样。

在 Australis 中,图标大小的新值是“小”

enter image description here

在 Firefox 28 中,该值为“大”。

在 DOM 检查器中,如果我将值从“小”更改为“大”,它会将图标大小更改回旧外观。但是如何使这种变化永久化呢?

我用 Stylish 尝试了这些 css 脚本,但没有一个有效:

#nav-bar {iconsize='large'}
toolbar > #nav-bar {iconsize='large'}
#nav-bar[iconsize='large']
toolbar[iconsize="large"]

我对 Firefox css 脚本不是很有经验所以我希望有人能帮助我。

最佳答案

根据这个:https://bugzilla.mozilla.org/show_bug.cgi?id=940953

firefox 28 中报告了一个关于此的错误。

你可以试试

 #mytoolbarbutton {
list-style-image: url(large.png);
}
toolbar[iconsize="small"] #mytoolbarbutton {
list-style-image: url(small.png);
}

或者反过来做:

 #mytoolbarbutton {
list-style-image: url(small.png);
}
toolbar[iconsize="large"] #mytoolbarbutton {
list-style-image: url(large.png);
}

关于css - 使用 CSS 更改 Firefox 中的导航栏图标大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32394891/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com