编辑“userChrome.css”
跳到导航
跳到搜索
该编辑可以被撤销。请检查下面的对比以核实您想要撤销的内容,然后保存下面的更改以完成撤销。
最后版本 | 您的文字 | ||
第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: # | + | color: #797f83 !important; |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
第35行: | 第31行: | ||
} | } | ||
− | + | #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: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: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-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: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: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; | ||
} | } | ||
− | + | window[sizemode="maximized"] #titlebar-max .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; | ||
} | } | ||
− | + | window[sizemode="maximized"] #titlebar-max: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; | ||
} | } | ||
− | + | window[sizemode="maximized"] #titlebar-max: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-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: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: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; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |