阅读:6740回复:10
自动隐藏最大化、最小化和关闭钮,可以实现吗?
自动隐藏最大化、最小化和关闭钮,移动到那个位置自动显示,一般时候为隐藏。可以实现吗?
|
|
1楼#
发布于:2011-12-12 15:54
@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul);
#titlebar-min {opacity: 0!important; -moz-transition: 0.5s ease} #titlebar-max {opacity: 0!important; -moz-transition: 0.5s ease} #titlebar-close {opacity: 0!important; -moz-transition: 0.5s ease} #titlebar-min:hover {opacity: 0.7 !important} #titlebar-max:hover {opacity: 0.7 !important} #titlebar-close:hover {opacity: 0.7 !important} |
|
2楼#
发布于:2011-12-12 15:54
shineva:@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); 有用,但,空白出了一段,我的想法:无空白,不知道这样可以实现吗? |
|
3楼#
发布于:2011-12-12 15:54
应该可以,但我不会,无能为力。
|
|
4楼#
发布于:2011-12-12 15:54
#titlebar-buttonbox-container{
position:fixed; right:-80px; top:-11px; } #titlebar-buttonbox-container:hover{ position:fixed; right:0px; top:-11px; } 自己修改微调一下位置。top的值是上下的位置,right的值是靠右的位置。 |
|
5楼#
发布于:2011-12-12 15:54
|
|
6楼#
发布于:2011-12-12 15:54
.titlebar-placeholder { display: none !important; }
#titlebar-min:not(:hover) {opacity: 0.1 !important; -moz-transition: 0.5s ease} #titlebar-max:not(:hover) {opacity: 0.1 !important; -moz-transition: 0.5s ease} #titlebar-close:not(:hover) {opacity: 0.1 !important; -moz-transition: 0.5s ease} 这有类似效果! |
|
7楼#
发布于:2011-12-12 15:54
刚刚发现的一段代码。来自这里 怒了,b9在xp下的界面怎么那么恶心呀,UI设计师脑袋怎么长的https://www.firefox.net.cn/forum/viewtopic.php?t=34587&p=264998
/* 隐藏最小化/最大化/关闭按钮 */ #main-window[chromemargin]:not([inFullscreen]) #titlebar-buttonbox{display:none !important;} 效果不错。 2#的用了可以隐藏,但是原来的位置还是继续占用,一段空白,多少有点碍眼,加上5#的调整也没好,可能是我不会改。 7#的可以隐藏,没有空白。但是标签页多了的话第一个会钻到火狐橙按钮下面。 添加到这里,给有一样需要的人看。 |
|
8楼#
发布于:2011-12-12 15:54
有个扩展可以支持这个功能
|
|
9楼#
发布于:2013-11-04 15:02
This in mixture with different other factors,Buy Runescape Gold like restrictions on products and 'free respeccing', no technique points, no stat points, and so forth, experienced prospects to Buy Runescape2007 Gold some film game that are going to be exceptionally streamlined and generic. especially where there could possibly be balance.
|
|
10楼#
发布于:2014-04-21 18:05
如果能上图,就更好了。
|
|