我想在 Australis 中将图标大小的导航栏值更改为“大”,就像在可怕的升级之前的 Firefox 28 中一样。
在 Australis 中,图标大小的新值是“小”
在 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/