Giter VIP home page Giter VIP logo

firefox-vertical-tweaks's Introduction

firefox-vertical-tweaks

Firefox UI tweaks extending the 'Tree Style Tab'-Addon for optimizing vertical page size

tested with macos (catalina/big sur)

Screenshot

Screenshot

Setup

  • Open the your current Firefox Profile folder
    • Firefox Menu > Help > Troubleshooting Information > Profile Folder
  • create a folder chrome
  • go into created folder and paste userChrome.css file from this repostory
    • in console: wget https://raw.githubusercontent.com/funkykay/firefox-vertical-tweaks/master/userChrome.css
  • activate custom stylesheets in Firefox:
    1. navigate firefox to about:config
    2. accept warning
    3. change toolkit.legacyUserProfileCustomizations.stylesheets flag to true
  • optional condensed topbar: Firefox Menu > Customize Toolbar > Density (at the bottom bar) > Compact

for detailed guide see: https://www.userchrome.org/how-create-userchrome-css.html

Features

hide tabs on topbar

Source: forgotten

#TabsToolbar {
    visibility: collapse;
}

#titlebar {
    visibility: collapse;
}

hide header of 'Tree Style Tab'-Addon

Source: forgotten

#sidebar-header {
    visibility: collapse !important;
}

show bookmarks only in new Tab

Source: https://superuser.com/a/1520406/1208153

#nav-bar:not(:focus-within) + #PersonalToolbar:not(:hover):not(:focus-within):not([customizing]) { 
    visibility: collapse; 
}

disable urlbar from expanding on click

Source: https://support.mozilla.org/en-US/questions/1284030#answer-1304125

#urlbar[breakout],
#urlbar[breakout][breakout-extend] {
  --urlbar-height: 28px !important;
  --urlbar-toolbar-height: 30px !important;

  width: 100% !important;
  top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
  left: 0 !important;
}

#urlbar[breakout][breakout-extend] > #urlbar-input-container,
#urlbar-input-container {
  height: var(--urlbar-height) !important;
  width: 100% !important;
  padding-block: unset !important;
  padding-inline: unset !important;
  transition: none !important;
}

#urlbar[breakout][breakout-extend] > #urlbar-background {
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
  animation: none !important;
}

firefox-vertical-tweaks's People

Contributors

funkykay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.