Known issues that I dont wanna solve
1.
min-width doesn't work on URL bar. So if your browser window is super narrow and has LOADS of tabs, while the security tag of the location bar is super long (e.g. when visiting addons.mozilla.org), it will overlap with the tabs and you will not be able to access the text field of the location bar.
2. The new Firefox menu panel does not work with CTR somehow. So you have to either enable the titlebar button or just use Alt to call the traditional menus.
Procedures
1. Install Classic Theme Restorer
2. Install Stylish
3. Install The Addon Toolbar (restored), or you may use CTR's in-built one but some (optional?) margin fixes for icons on the addon toolbar would not be supported.
4. Import the following preset to CTR
5.
Drag the Location (Address) Bar and the Back/Forward button to your tabs toolbar. You may want to also clear the whole Navigation Bar before you proceed, as the Stylish code would hide the nav-bar afterwards.
6. Import the following CSS into Stylish
複製內容到剪貼板
代碼:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {
#TabsToolbar { margin-top: 5px !important;
min-height: 36px !important;
margin-right: -37px !important;
}
#TabsToolbar toolbarbutton[label^="Backward"], #TabsToolbar toolbarbutton[label^="Forward"] {
margin-top: 1px !important;
width: 30px !important;
}
#TabsToolbar toolbarbutton[label="1Password"]{
margin: 0px 3px 0px 0px !important;
width: 30px !important;
}
#GiT-addon-bar toolbarbutton[label^="Stylish"] { width: 30px !important; }
#GiT-addon-bar toolbarbutton[label^="Downloads"] { width: 33px !important; margin-left: -1px !important; }
#GiT-addon-bar toolbarbutton[label^="Bookmark"] { width: 66px !important; }
.tab-background-start[selected=true]::after,
.tab-background-start[selected=true]::before,
.tab-background-start,
.tab-background-end,
.tab-background-end[selected=true]::after,
.tab-background-end[selected=true]::before,
.tabbrowser-tabs{
height: 30px!important;
margin-bottom: -1px !important;
}
#urlbar-container {
max-width: 350px !important;
margin-left: -1px !important;
margin-right: -1px !important;
margin-bottom: 2px !important;
}
#nav-bar { display: none !important; }
}
6. Done
[
本帖最後由 Puff 於 2014-12-11 21:22 編輯 ]