|
阅读:2451回复:2
求助,60+之后,空白页透明的CSS失效
59之前很好用,升级到60以及61都失效了,系统是WIN7
描述:59 图片:2.jpg ![]() 描述:60+ 图片:1.jpg
代码如下 @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*Removes background-color from Chrome*/
#appcontent,
#appcontent > #content,
#appcontent > #content > tabbox > tabpanels
{
background-color: transparent !important;
}
/*For transparency in fullscreen*/
#main-window[inFullscreen="true"]
{
-moz-appearance: -moz-win-borderless-glass !important;
background: none !important;
}
/*Sets content transparent*/
#main-window[stylish-url="about:blank"]:not([onclose^="PrintUtils"]):not([title^="Source Chart"]):not([chromehidden="menubar toolbar directories extrachrome "]) #content browser:not([src])
{
opacity: 0.5 !important;
}
#main-window[stylish-url="about:newtab"]:not([onclose^="PrintUtils"]):not([title^="Source Chart"]):not([chromehidden="menubar toolbar directories extrachrome "]) #content browser:not([src])
{
opacity: 0.5 !important;
}
/*Fixes Aero border*/
#main-window[stylish-url="about:blank"]:not([onclose^="PrintUtils"]):not([title^="Source Chart"]):not([chromehidden="menubar toolbar directories extrachrome "]) #appcontent
{
-moz-appearance: none !important;
} |
|
|
1楼#
发布于:2018-05-04 12:23
没有win7无法测试。
61的主窗口 dom 结构改变了。 试试将 > #content #content都删掉。 |
|
|
2楼#
发布于:2018-05-04 12:52
|
|
