Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Version 2 changelog:
- Changed the method of disabling the urlbar in fullscreen mode
- Todo: Add an option to reset the url bar to a normal non-merged state instead of hiding it
- If elements look out of place on your setup, search this CSS for "margin-left" on lines 13 and 42, and edit line 25 if you want to resize the URL bar.
- */
- @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
- /*Offset the tabs toolbar to free up some space for the URL bar*/
- #TabsToolbar, #tabbrowser-tabs{
- -moz-appearance: none !important;
- height: 24px !important; min-height: 24px!important;
- font-family: Verdana!important;
- margin: 0 0px !important;
- margin-left: 158px !important;
- }
- /*Ensure consistent text positioning in the tabs (obsolete, use Thin Tabs instead)*/
- /*.tabbrowser-tab .tab-text {
- margin-left: 0px !important;
- margin-right: 0px !important;
- margin-top: -7px !important;
- padding-top: 0px !important;
- }*/
- /*Put URL bar in the space*/
- #nav-bar{
- position: fixed !important; top: 1px !important; left: 0 !important;
- width: 338px !important; min-width: 338px !important; max-width: 338px !important;
- z-index: 100 !important;
- min-height: 5px!important;
- height: 05px!important;
- /* font-family: Verdana!important;*/
- }
- /*Hide some UI elements*/
- @-moz-document url(chrome://browser/content/browser.xul) {
- #back-button, #forward-button, #back-button *, #forward-button *, #urlbar-reload-button, #urlbar-stop-button, #urlbar-go-button,
- /**/#PanelUI-button, /**/ #home-button,
- #notification-popup-box, #new-tab-button, #private-browsing-indicator, #search-container, #nav-bar-overflow-button, .tab-close, .tab-throbber { display: none !important; }}
- /*When in full screen, reset the offset and hide the url bar*/
- #TabsToolbar[inFullscreen="true"], #tabbrowser-tabs[inFullscreen="true"]{
- -moz-appearance: none !important;
- height: 24px !important; min-height: 24px!important;
- font-family: Verdana!important;
- margin: 0 0px !important;
- margin-left: -178px !important;
- }
- #nav-bar[inFullscreen="true"] {
- width: 0 !important; height: 0 !important;
- position: fixed !important; left: -1px !important; top: -1px !important;
- overflow: hidden !important; visibility: hidden !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement