Firefox自定义界面.docx
《Firefox自定义界面.docx》由会员分享,可在线阅读,更多相关《Firefox自定义界面.docx(15页珍藏版)》请在冰豆网上搜索。
Firefox自定义界面
Firefox自定义界面(userChrome.css)收集
/*标签栏字体大小*/
.tabs-alltabs-button,
.tabbrowser-tabs.tab-text{
font-size:
120%!
important;
}
/*当前标签样式粗斜体加下划线*/
tab[selected="true"]{
font-style:
oblique;
font-weight:
800!
important;
text-decoration:
underline
}
/*隐藏bookmarks菜单中收藏夹文件夹的图标*/
menu.bookmark-item>.menu-iconic-left{display:
none;}
/*完全隐藏订阅页面*/
#subscribeToPageMenuitem,#subscribeToPageMenupopup
{display:
none!
important;}
/*状态栏宽度*/
#statusbar-display{max-width:
300px!
important;}
#statusbar-display{min-width:
30px!
important;}
/*更圆滑的地址栏、搜索栏、页面查找栏*/
#urlbar,.searchbar-textbox,.findbar-textbox{
-moz-appearance:
none!
important;
-moz-border-radius:
10px!
important;
padding-right:
1px!
important;
padding-left:
5px!
important;
}
/*添加书签时直接显示Tag栏*/
@namespaceurl(http:
//www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*Mostrareicampiindirizzo,descrizioneekeywordnelpannelloperl'aggiuntadiunnuovosegnalibro*/
#editBMPanel_descriptionRow,/*campodescrizione*/
#editBMPanel_locationRow,/*campoindirizzo*/
#editBMPanel_keywordRow/*campokeyword(parolachiave)*/
{
visibility:
visible;
-moz-box-align:
center;
}
/*合并停止重新载入按钮*/
#stop-button[disabled="true"]{display:
none;}
#stop-button:
not([disabled])+#reload-button{display:
none;}
/*隐藏“前进”“后退”按钮*/
#back-button{display:
none!
important;}
#forward-button{display:
none!
important;}
/*标签栏对中*/
@-moz-documenturl(chrome:
//browser/content/browser.xul)
{.tabbrowser-tabs.scrollbox-innerbox{-moz-box-pack:
center!
important;}}
/*紧凑的附加组件显示*/
#extensionsViewrichlistitem[selected=true]{
background-image:
none!
important;
}
#extensionsViewrichlistitem:
not([selected=true]).addonIcon,
#extensionsViewrichlistitem:
not([selected=true]).addonIcon>image{
height:
16px!
important;
width:
16px!
important;
}
#extensionsViewrichlistitem:
not([selected=true]).addon-description{
display:
none!
important;
}
#extensionsViewrichlistitem:
not([selected=true]).notifyBadge,
#extensionsViewrichlistitem:
not([selected=true]).updateBadge{
height:
8px!
important;
width:
8px!
important;
}
/*移除”转到“按钮*/
#go-button{
display:
none!
important;}
/*缩小GM状态栏图标的占用空间*/
#gm-status{
padding:
0!
important;
}
#gm-status>#gm-status-image{
margin:
02px!
important;
}
/*去除虚线框*/
.tabbrowser-tab{
-moz-user-focus:
ignore!
important;
}
/*隐藏添加搜索引擎选项(AddEngines)*/
#search-proxy-buttonmenuitem[label=Addengines...]{display:
none;}
/*隐藏书签菜单的箭头*/
.bookmark-item.toolbarbutton-menu-dropmarker{display:
none!
important;}
/*隐藏状态栏进度条*/
#statusbar-progresspanel{display:
none!
important;}
/*隐藏状态栏安全图标*/
statusbarpanel#security-button{display:
none!
important;}
/*隐藏书签工具栏文件夹图标*/
#personal-bookmarks.toolbarbutton-icon{
display:
none!
important;
}
/*选中的标签页更宽些更宽些*/
.tabbrowser-tab[selected="true"]
{min-width:
280px!
important;}
.tabbrowser-tab[selected="true"]>.tab-image-left,
.tabbrowser-tab[selected="true"]>.tab-image-middle,
.tabbrowser-tab[selected="true"]>.tab-image-right,
.tabbrowser-tab[selected="true"]>.tab-close-button{
height:
4px!
important;
margin-bottom:
1px!
important;
}
/*状态栏字体颜色*/
#status-bar{color:
green;!
important;}
/*隐藏地址栏RSS图标*/
#feed-button{display:
none;}
/*隐藏搜索引擎下拉箭头*/
#searchbar.searchbar-dropmarker-image{display:
none!
important;}
#searchbar.searchbar-engine-button{min-width:
22px!
important;max-width:
22px!
important;}
#searchbar.searchbar-engine-image{margin:
0003px!
important;}
/*隐藏搜索框中的搜索按钮图标*/
#searchbar.search-go-button{display:
none!
important;}
/*搜索栏下拉箭头*/
#searchbar.autocomplete-history-dropmarker{
-moz-binding:
url("chrome:
//global/content/bindings/autocomplete.xml#history-dropmarker")!
important;
display:
-moz-box!
important;
-moz-appearance:
none!
important;
padding:
0!
important;
background-color:
transparent!
important;
border:
none!
important;}
#searchbar.autocomplete-history-dropmarker:
hover,
#searchbar.autocomplete-history-dropmarker[open="true"]{
border-left:
1pxsolid!
important;
-moz-border-left-colors:
ButtonShadow!
important;
background:
ButtonFaceurl(chrome:
//browser/skin/tabbrowser/tab-active-bkgnd.png)repeat-x!
important;}
/*菜单栏不显示快捷键*/
.menu-iconic-accel{
display:
none!
important;
}
.menu-accel{
display:
none!
important;
}
/*当访问https链接的时候地址栏变成黄色*/
#urlbar[level].autocomplete-textbox-container{
background-color:
#FFFFB7!
important;
}
/*隐藏菜单项*/
#edit-menu,
#view-menu,
#go-menu,
#history-menu,
#helpMenu{display:
none!
important;}
/*隐藏右键菜单*/
#context-searchselect,
#context-selectall,
#context-viewbgimage,
#context-sendpage,
#context-stop,
#context-sep-stop,
#context-back,
#context-forward,
#context-reload,
#context-sep-reload,
#context-bookmarkpage,
#context-savepage
{display:
none!
important;}
/*隐藏书签菜单中"将本页加入书签""将所有标签页加为书签"*/
menuitem[key="addBookmarkAsKb"],
menuitem[key="bookmarkAllTabsKb"]{
display:
none!
important;
}
/*地址栏自动完成的字体*/
.ac-comment{
font-size:
100%!
important;
color:
green!
important;
}
.ac-comment[selected="true"]{color:
yellow!
important;}
.ac-url-text{
font-size:
100%!
important;
color:
purple!
important;
}
.ac-url-text[selected="true"]{color:
blue!
important;
}
/*自动隐藏侧边栏*/
@-moz-documenturl(chrome:
//browser/content/browser.xul){
#sidebar-box{
margin-left:
-215px!
important;/*Set1pxlessthantheSidebarwidthasanegativenumber*/
}
#sidebar-box:
hover{
margin-left:
0px!
important;
}
#sidebar-splitter{
margin-left:
-6px!
important;
border:
none!
important;
}
sidebarheader{
height:
5px!
important;
}
}
#sidebar-box:
hover#sidebar{
visibility:
visible!
important;
/*TheLARGESTyoursidebarwillgrowwhenhovered:
*/
min-width:
200px!
important;
/*Thesmallestyoursidebarcanbewhenhovered:
*/
max-width:
500px!
important;
}
/*隐藏mediawrap图标*/
#mediawrap-status{display:
none!
important;}
/*快速查找条显示上一项下一项*/
.findbar-container>*{display:
-moz-box!
important;}
/*“关闭”的图标编码*/
data:
image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAwBQTFRFAAAAhDE6iTU+lDEylzQ2pCwupC4vqywurzIzvi0tszY4izdBkzxFlz9ImkJLnkNOpEhSp0pTqkxWqlhZrF9hyy0t0C0t0S8v1TQ01To62jo6yVVYyVpb30BAwmBhxGlqzW1u3HR45Xd392ho9Wxs+nR0xpOUyJWW06Wm/ICA/omJ/5CQ3sDA5c3N////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmKW1oAAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAYdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My4zNTDus58AAAC5SURBVChTTY/JFoIwDEVTFJE6gGWqBbXIYFDM//9dTcWF97Q5L3eVB45BqxiLPgN/pdoX0yq1CL8+Ga+8OLV+W2hPDjCdJpvf7vdbbqcpRWjsMGT0vl7flA2DbSDpuq5BQn4NxwSOZVkW0Ug0RgXHIxx4xqEXYczxAPuqqjYzjSPNG457kLHWK3pstw9aaR1LwJ0xci3PZx7G7BBccPkj8KcHdd971/d1sJQTghWvQvzaOkwEk3zrfwCC4z7PyJlLuwAAAABJRU5ErkJggg==
/*移除”前进“和”后退“旁边的小三角*/
#back-button.toolbarbutton-menubutton-dropmarker,
#forward-button.toolbarbutton-menubutton-dropmarker{
display:
none!
important;}
/*当前标签动画图标*/
tab[selected="true"]>.tab-icon-image{
list-style-image:
url(data:
image/gif;base64,R0lGODlhEAAQAO5UAAA/pIoWFv+sDP3OId10GtttGtxyE/T5+48wTLBIG48vS+F4FdxMA99jC/3eIc9UD89aFv/gEb8oCuhpEtBuJf/ks7xACuR5B/7Ep9lmGK9IHP/oOeRUDZQwHroTC8DAwNdbBM9VEOaRGv/wBNNAAMlFEvzYBfR5PvrdP+SjAfKwsNdwDP7LFNlpC8xEBP/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