阅读:6748回复:11
将Firefox 4.0火狐按钮与下面的工具栏合并(用于默认主题且启用Aero)
将 Firefox 4.0 火狐按钮与下面的工具栏合并。Firefox默认只是在最大化且标签工具栏置顶时才有效,而这个CSS脚本没有这个限制。以前的CSS脚本太旧了,这次的脚本,适用于4.0 b9或者b10pre 的默认主题,且启用了Aero的 Windows Vista/7/2008 上。
#main-window[sizemode="normal"] #titlebar, #main-window[tabsontop="false"] #titlebar { position: fixed !important; margin-top: 0px !important; } #main-window #titlebar-buttonbox-container { display: none; } #main-window #navigator-toolbox { margin-top: 0px !important; } #main-window[sizemode="normal"] #appmenu-button, #main-window[tabsontop="false"] #appmenu-button { padding-left: 8px !important; padding-right: 8px !important; width: 80px !important; /* 这个值比下面的 padding-left: 值小3 */ } #main-window[sizemode="normal"] #toolbar-menubar, #main-window[tabsontop="false"]:not([inFullscreen="true"]) #toolbar-menubar, #main-window[tabsontop="false"]:not([inFullscreen="true"]) #nav-bar, #main-window[sizemode="normal"][tabsontop="true"] #TabsToolbar { padding-left: 83px !important; /* 这个值比上面的 width: 值大3 */ } #main-window[tabsontop="false"]:not([inFullscreen="true"]) #nav-bar, #main-window[tabsontop="true"]:not([inFullscreen="true"]) #TabsToolbar { padding-right: 105px !important; /* 用户可能需要调整这里的这个参数 */ } #main-window[sizemode="maximized"][tabsontop="false"] #nav-bar { margin-top: 4px !important; } #navigator-toolbox[tabsontop="true"] > #nav-bar { border: 0px !important; background: transparent !important; } #main-window[inFullscreen="true"] { -moz-appearance: -moz-win-glass !important; background-color: transparent !important; } #PersonalToolbar, #browser-bottombox, #FindToolbar, #status-bar{ -moz-appearance: none !important; background: transparent !important; text-shadow: rgb(255, 255, 255) 0px 0px 10px, rgb(255, 255, 255) 0px 0px 10px, rgba(255, 255, 255, 0.5) 0px 1px 3px !important; border: none !important; } #navigator-toolbox[tabsontop="false"] #TabsToolbar{ background: transparent !important; } #appmenu-button .button-box .box-inherit:before { content: "Firefox"; } #appmenu-button .button-box .box-inherit .button-text { display: none; } |
|
1楼#
发布于:2011-01-20 00:26
|
|
2楼#
发布于:2011-01-20 00:26
|
|