火狐如何自定义新建标签页的背景 第2页
1个回答
推荐于2016-09-24
展开全部
@namespace url(l);
/*Removes Background-Color From Chrome*/
#appcontent,
#appcontent > #content,
#appcontent > #content > tabbox > tabpanels {
background-color: transparent !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;
}
/*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 !important;
}
#main-window[chromemargin="0,-1,-1,-1"][stylish-url="about:blank"]:not([title^="View"]) #content
{background: url("chrome://branding/content/about-logo.png") transparent center no-repeat !important; }
#main-window[chromemargin="0,-1,-1,-1"][stylish-url="about:blank"]:not([title^="View"]):not([inFullscreen="true"])
#content:-moz-system-metric(windows-compositor):not(:-moz-lwtheme)
{background-color: transparent !important; }
空白页透明的,如果不喜欢可以在红色注释地方修改图片
/*Removes Background-Color From Chrome*/
#appcontent,
#appcontent > #content,
#appcontent > #content > tabbox > tabpanels {
background-color: transparent !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;
}
/*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 !important;
}
#main-window[chromemargin="0,-1,-1,-1"][stylish-url="about:blank"]:not([title^="View"]) #content
{background: url("chrome://branding/content/about-logo.png") transparent center no-repeat !important; }
#main-window[chromemargin="0,-1,-1,-1"][stylish-url="about:blank"]:not([title^="View"]):not([inFullscreen="true"])
#content:-moz-system-metric(windows-compositor):not(:-moz-lwtheme)
{background-color: transparent !important; }
空白页透明的,如果不喜欢可以在红色注释地方修改图片
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询