阅读:3822回复:6
如果不安装stylish,可以用到以下代码吗?
如果不安装stylish,可以用到以下代码吗?可以的话,放入哪里呢?UserContent.css?userChrome.css?
代码来源:http://userstyles.org/styles/43235/firefox-4-addonbar-in-a-corner @namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); #browser-bottombox { position: fixed; width: auto; bottom: 0px; padding-right: 5px; padding-left: 5px; padding-top: 1px; background: -moz-Dialog; border: 1px solid transparent; -moz-transition: all 0.25s ease; } @media all and (-moz-windows-theme:aero) { #browser-bottombox:not(:-moz-lwtheme) { background: hsl(214,44%,87%)!important; } } /* Opacity */ #browser-bottombox { opacity: 0.4; } #browser-bottombox:hover { opacity: 1 !important; } /* Slide effect */ /**/ /* Side */ #browser-bottombox { right: 0px; -moz-border-radius: 7px 0 0 0; background-position: right bottom !important; border-bottom: none; border-right: none; } #addon-bar > #status-bar > .statusbar-resizerpanel { position: relative; margin-right:-4px; } #FindToolbar { position: fixed !important; border: 1px solid transparent; border-top: none; border-radius: 7px 7px 7px 7px; background: inherit; bottom:34px; right:50px; background-position: 78% -40px; } .statuspanel-label { border-bottom-left-radius: 3.3px; border-bottom: 1px solid rgb(204, 204, 204) !important; } statuspanel:-moz-locale-dir(ltr)[mirror], statuspanel:-moz-locale-dir(rtl):not([mirror]) { bottom: 22px; } /* Borders */ #browser-bottombox, #FindToolbar { border-color: -moz-ButtonDefault; } @media all and (-moz-windows-theme:aero) { #browser-bottombox, #FindToolbar { border-color: rgba(10%,10%,10%,.4); } } /* Everything else */ #addonbar-closebutton {display: none !important;} @media all and (-moz-windows-theme:luna-blue),(-moz-windows-theme:luna-silver),(-moz-windows-theme:luna-olive),(-moz-windows-theme:zune),(-moz-windows-theme:royale),(-moz-windows-theme:aero),(-moz-windows-classic) { #addon-bar { -moz-appearance: menuitem !important; } } #main-window:-moz-lwtheme #FindToolbar { border-top: none!important; } #main-window #tab-view-deck #navigator-toolbox[customizing="true"] ~ #browser-bottombox { width: auto !important; bottom: 0px !important; padding-right: 5px !important; padding-left: 5px !important; opacity: 1 !important; } #main-window #tab-view-deck #navigator-toolbox[customizing="true"] ~ #browser-bottombox > #addon-bar { visibility: visible !important; } #addon-bar[collapsed="true"] { display:none !important; } |
|
1楼#
发布于:2011-11-09 13:06
userChrome.css
地址栏输入about:support 确定——打开配置文件夹——新建chrome目录——新建userChrome.css——复制,黏贴,保存退出——重启FX |
|
2楼#
发布于:2011-11-09 13:06
|
|
3楼#
发布于:2011-11-09 13:06
我试了一下,在10.0a下好难看,可能有的代码太旧了。userChrome.css——看看文件后缀是不是.css不是txt
|
|
4楼#
发布于:2011-11-09 13:06
|
|
5楼#
发布于:2013-11-10 16:50
還可以用Stylish的UC脚本版哦
|
|
6楼#
发布于:2013-11-14 16:15
用户被禁言,该主题自动屏蔽! |
|