阅读:2611回复:12
F11最大化后为什么关闭还原按钮在导航栏的左边?
我不知道是我自己脚本的问题还是ff本身设计,我不太喜欢,有没办法改掉?
见图1 |
|
1楼#
发布于:2010-09-17 09:52
试了试一些导航栏与标签栏合并的脚本,都很好用,但都有我上面说到的问题。
|
|
2楼#
发布于:2010-09-17 09:52
PX没必要用隐藏标题栏的脚本吧,试试下面的CSS能不能帮到你,
@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); /* Tab bar left and right padding */ /* Adjust according to the size of your Firefox button and window controls */ /* Fix Firefox button position and height */ #titlebar-content { margin-top: -1px !important; } /* Move the tab bar in the title bar when maximized */ window[sizemode="maximized"]:not([inFullscreen]) #navigator-toolbox[tabsontop="true"] #TabsToolbar { margin-top: -26px !important; -moz-box-ordinal-group: 1 !important; } #main-window[tabsontop="true"]:not([inFullscreen]) #appmenu-button-container { position: fixed !important; z-index: 1; } #main-window[tabsontop="true"]:not([inFullscreen]) #titlebar-buttonbox { position: relative !important; z-index: 1; } #main-window[tabsontop="true"]:not([inFullscreen]) #TabsToolbar { position: relative !important; background-color: transparent !important; } /* Fix tab styling for the dark background */ #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) #alltabs-button[type="menu"] { list-style-image: url("chrome://browser/skin/appmenu-dropmarker.png") !important; -moz-image-region: rect(0, 9px, 7px, 0) !important; } #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) #alltabs-button[type="menu"] image { opacity: 0.7 !important; margin-top: 4px !important; } #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) .tabbrowser-tab:not([selected="true"]), #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) .tabs-newtab-button, #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) #TabsToolbar > #home-button { background-image: -moz-linear-gradient(hsla(0,0%,80%,.6), hsla(0,0%,75%,.4) 50%, hsla(0,0%,70%,.4) 51%) !important; text-shadow: white 0 0 2px; } #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) .tabbrowser-tab:not([selected="true"]):hover, #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) .tabs-newtab-button:hover, #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) #TabsToolbar > #home-button:hover { background-image: -moz-linear-gradient(hsla(0,0%,100%,.<!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) -->, hsla(0,0%,90%,.6) 50%, hsla(0,0%,85%,.6) 51%) !important; } #main-window[sizemode="maximized"][tabsontop="true"][chromemargin]:not([inFullscreen]) #TabsToolbar { -moz-padding-end: 6em !important; } |
|
3楼#
发布于:2010-09-17 09:52
我没隐藏标题栏,就是F11。
貌似不行,仍然有此问题啊 见图2 |
|
4楼#
发布于:2010-09-17 09:52
试试我正在用的这个脚本,我这里没有你说的那个问题。
#titlebar { position: fixed !important; } #appmenu-button { height: 25px !important; margin-top: 1px !important; padding-left: 3px !important; padding-right: 3px !important; } #toolbar-menubar, #navigator-toolbox[tabsontop="false"] #nav-bar, #navigator-toolbox[tabsontop="true"] #TabsToolbar { padding-left: 110px !important; /* 用户可能需要调整这里的82px这个参数 */ } #main-window[sizemode="fullscreen"] #toolbar-menubar, #main-window[sizemode="fullscreen"] #navigator-toolbox[tabsontop="false"] #nav-bar, #main-window[sizemode="fullscreen"] #navigator-toolbox[tabsontop="true"] #TabsToolbar { padding-top: 3px !important; padding-right: 0px !important; } #main-window:not([sizemode="fullscreen"]) #toolbar-menubar, #main-window:not([sizemode="fullscreen"]) #navigator-toolbox[tabsontop="false"] #nav-bar, #main-window:not([sizemode="fullscreen"]) #navigator-toolbox[tabsontop="true"] #TabsToolbar { padding-top: 10px !important; /* 如果需要拖拉标题栏移动窗口,将3px改成15px */ padding-right: 90px !important; } #navigator-toolbox[tabsontop="true"] > #nav-bar { border: 0px !important; background: transparent !important; } #main-window[sizemode="maximized"] #appmenu-button-container { margin-top: 0px !important; padding-left: 3px !important; } #main-window[sizemode="maximized"] #navigator-toolbox[tabsontop="false"] #nav-bar, #main-window[sizemode="maximized"] #navigator-toolbox[tabsontop="true"] #TabsToolbar { padding-top: 10px !important; margin-top: 0px !important; padding-left: 85px !important; } #main-window[inFullscreen="true"] { -moz-appearance: -moz-win-glass !important; background-color: transparent !important; } 上图 |
|
5楼#
发布于:2010-09-17 09:52
OK我试试看。
|
|
6楼#
发布于:2010-09-17 09:52
貌似更乱,而且你的关闭在右边,我的在左边。
|
|
7楼#
发布于:2010-09-17 09:52
和 Firefox 无关。你自己的脚本搞的,不要什么都赖在 firefox 头上。
|
|
8楼#
发布于:2010-09-17 09:52
|
|
9楼#
发布于:2010-09-17 09:52
原装 FF 是什么意思?禁用所有脚本,或者禁用调用脚本的扩展再试。在 Win7 和 WinXP 下我都测试了,没问题。
|
|
10楼#
发布于:2010-09-17 09:52
|
|
11楼#
发布于:2010-09-17 09:52
应该是楼主自己电脑的问题,我在win7下F11全屏也没什么问题:
|
|
12楼#
发布于:2010-09-17 09:52
找到解决方法,原来在定制工具栏中选择恢复默认设置即可,不知是何原因。
|
|