自动隐藏最大化、最小化和关闭钮,可以实现吗?

阅读:5960回复:10
2011-12-12 15:54
写私信
楼主#
自动隐藏最大化、最小化和关闭钮,移动到那个位置自动显示,一般时候为隐藏。可以实现吗?
2011-12-12 15:54
写私信
1楼#
@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}
2011-12-12 15:54
写私信
2楼#
shineva:@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}
回到原帖

有用,但,空白出了一段,我的想法:无空白,不知道这样可以实现吗?
2011-12-12 15:54
写私信
3楼#
应该可以,但我不会,无能为力。
2011-12-12 15:54
写私信
4楼#
#titlebar-buttonbox-container{
position:fixed;
right:-80px;
top:-11px;
}

#titlebar-buttonbox-container:hover{
position:fixed;
right:0px;
top:-11px;
}
自己修改微调一下位置。top的值是上下的位置,right的值是靠右的位置。
2011-12-12 15:54
写私信
5楼#
noe132:#titlebar-buttonbox-container{
position:fixed;
right:-80px;
top:-11px;
}

#titlebar-buttonbox-container:hover{
position:fixed;
right:0px;
top:-11px;
}
自己修改微调一下位置。top的值是上下的位置,right的值是靠右的位置。
回到原帖

这段是加到原来的代码后面吧,试了,无论怎么改,原来的空白都在,是改的位置不对么?
2011-12-12 15:54
写私信
6楼#
.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}

这有类似效果!
2011-12-12 15:54
写私信
7楼#
刚刚发现的一段代码。来自这里  怒了,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#的可以隐藏,没有空白。但是标签页多了的话第一个会钻到火狐橙按钮下面。
添加到这里,给有一样需要的人看。
2011-12-12 15:54
写私信
8楼#
有个扩展可以支持这个功能
2013-11-04 15:02
写私信
9楼#
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.
2014-04-21 18:05
写私信
10楼#
如果能上图,就更好了。