编辑“userChrome.css”

跳到导航 跳到搜索

警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。请检查下面的对比以核实您想要撤销的内容,然后保存下面的更改以完成撤销。

最后版本 您的文字
第4行: 第4行:
  
 
# 因为 background 无法在 CSS 中作为渐变的属性,切换窗口聚焦时没有渐变。
 
# 因为 background 无法在 CSS 中作为渐变的属性,切换窗口聚焦时没有渐变。
 
+
# 因为 Breeze 的按钮图标是用 C++ 直接画的,而 breeze-gtk 提供的 PNG 图片没有包含非聚焦窗口的按钮图标,所以窗口在没有聚焦时按钮还是白色的。
 +
# Firefox 会莫名其妙的让 <code>-moz-appearance: none</code> 的 <code>toolbarbutton</code> 在被点击时往右下角挪动一点,暂时还没有解决方法。
 
<syntaxhighlight lang="css">
 
<syntaxhighlight lang="css">
 
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
第15行: 第16行:
 
#TabsToolbar:-moz-window-inactive {
 
#TabsToolbar:-moz-window-inactive {
 
   background: #eff0f1 !important;
 
   background: #eff0f1 !important;
   color: #7f8c8d !important;
+
   color: #797f83 !important;
}
 
 
 
#navigator-toolbox[inFullscreen="true"] #TabsToolbar {
 
  background: #eff0f1 !important;
 
  color: #424446 !important;
 
 
}
 
}
  
第35行: 第31行:
 
}
 
}
  
.titlebar-min .toolbarbutton-icon {
+
#titlebar-min .toolbarbutton-icon {
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize@2.png") !important;
 
}
 
}
  
.titlebar-min:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-min:hover .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-min:hover .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-hover@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-hover@2.png") !important;
 
}
 
}
  
.titlebar-min:hover:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-min:active .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-hover-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-min:active .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-active@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-active@2.png") !important;
 
}
 
}
  
.titlebar-min:active:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-max .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-minimize-active-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-max .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize@2.png") !important;
 
}
 
}
  
.titlebar-max:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-max:hover .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-max:hover .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-hover@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-hover@2.png") !important;
 
}
 
}
  
.titlebar-max:hover:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-max:active .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-hover-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-max:active .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-active@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-active@2.png") !important;
 
}
 
}
  
.titlebar-max:active:-moz-window-inactive .toolbarbutton-icon {
+
window[sizemode="maximized"] #titlebar-max .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-active-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-restore .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized@2.png") !important;
 
}
 
}
  
.titlebar-restore:-moz-window-inactive .toolbarbutton-icon {
+
window[sizemode="maximized"] #titlebar-max:hover .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-restore:hover .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-hover@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-hover@2.png") !important;
 
}
 
}
  
.titlebar-restore:hover:-moz-window-inactive .toolbarbutton-icon {
+
window[sizemode="maximized"] #titlebar-max:active .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-hover-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-restore:active .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-active@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-active@2.png") !important;
 
}
 
}
  
.titlebar-restore:active:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-close .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-maximize-maximized-active-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-close .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close@2.png") !important;
 
}
 
}
  
.titlebar-close:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-close:hover .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-close:hover .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-hover@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-hover@2.png") !important;
 
}
 
}
  
.titlebar-close:hover:-moz-window-inactive .toolbarbutton-icon {
+
#titlebar-close:active .toolbarbutton-icon {
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-hover-backdrop@2.png") !important;
 
}
 
 
 
.titlebar-close:active .toolbarbutton-icon {
 
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-active@2.png") !important;
 
   background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-active@2.png") !important;
}
 
 
.titlebar-close:active:-moz-window-inactive .toolbarbutton-icon {
 
  background-image: url("/usr/share/themes/Breeze-Dark/assets/titlebutton-close-active-backdrop@2.png") !important;
 
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>

请注意您对FiveYellowMice's Wiki的所有贡献都被认为是在署名-相同方式共享 4.0 国际下发布,请查看在项目:版权的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。不要在未获授权的情况下发表!

为保护wiki免于自动化编辑破坏,我们恳请您输入下面的验证码:

取消 编辑帮助(在新窗口中打开)