5 votes

Edge-like vertical tabs in Vivaldi browser

13 comments

  1. Bradypus
    Link
    I do something similar in Firefox using the userChrome.css and an extension called Sidebery. Here's what mine looks like: https://streamable.com/hfa2g8 Cobbled the css together from some different...

    I do something similar in Firefox using the userChrome.css and an extension called Sidebery.

    Here's what mine looks like: https://streamable.com/hfa2g8

    Cobbled the css together from some different places like r/FirefoxCSS/ so it might not be the best, or have some unnecessary parts, but I finally got it how I wanted it. Looks similar to what you are showcasing so thought I'd share.

    For the Sidebery extension, I had to disable the "Tabs Tree" so I could see all the site icons with it collapsed. Also had to enable the Title Bar in FF's Customize section so I had somewhere to grab the window. That might be specific to Windows though.

    Here's my userChrome.css in case anyone wants it.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    
    :root{
      --uc-window-control-width: 138px; /* Space reserved for window controls */
      --uc-window-drag-space-width: 4px; /* Extra space reserved on both sides of the nav-bar to be able to drag the window */
      --uc-toolbar-height: 32px;
    }
    
    #nav-bar::before,
    #nav-bar::after{
      content: "";
      display: -moz-box;
      width: var(--uc-window-drag-space-width);
    }
    
    toolbar#nav-bar::after{ width: calc(var(--uc-window-control-width) + var(--uc-window-drag-space-width,0px)) }
    
    :root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
    
    #TabsToolbar{ visibility: collapse !important }
    
    :root:not([inFullscreen]) #nav-bar{
      margin-top: calc(0px - var(--uc-toolbar-height));
    }
    
      #navigator-toolbox {
        border-bottom: 0 !important;
      }
    
      #sidebar-box:not([hidden]) {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: 30px;
        position: fixed;
        z-index: 1;
        transition: all 0.2s ease;
        border-right: 1px solid #333; /* Adjust to fit your theme */
      }
    
      #sidebar-box:hover,
      #sidebar-header,
      #sidebar {
        width: 20vw !important;
      }
      
      #sidebar-splitter {
        display: none;
      }
    
      /*
       * Adjust to your settings!
       * You need to subtract the height of the panels above sidebar: nav bar,
       * bookmarks bar, etc. -- whichever is enabled/displayed.
       *
       * You can see which mode (normal, compact or touch) you’re in by going to:
       * Firefox Menu ? Customize… (at the bottom of the screen) ? Density
       *
       *                | normal | compact | touch
       * Menu bar       |  27px  |   27px  |  27px
       * Tab bar        |  33px  |   29px  |  41px
       * Nav bar        |  40px  |   32px  |  40px
       * Bookmarks bar  |  23px  |   21px  |  27px
       *
       * Example:
       * - tab bar is hidden with CSS above (0px)
       * - menu and bookmarks bar are hidden by default (0px)
       * - that only leaves nav bar = 40px in normal mode (default)
       */
      #sidebar-box {
        height: 100vh;
      }
    
      #sidebar {
        flex-grow: 1;
      }
    
      #sidebar-box:not([hidden]) ~ #appcontent {
        margin-left: 30px;
      }
    
      #main-window[inFullscreen][inDOMFullscreen] #appcontent {
        margin-left: 0;
      }
    
      #main-window[inFullscreen] #sidebar-box {
        height: 100vh;
      }
    
    
      #sidebar-header {
        display: none;
      }
    
    #pocket-button-box,
    #pageActionButton,
    #pageActionSeparator,
    .urlbar-go-button
    {
        display: none !important;
    }
    
    toolbarspring { -moz-box-flex: unset !important;}
    
    /* Remove back button circle */
    #back-button:not(:hover),
    #back-button:not(:hover) > .toolbarbutton-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    }
    
    #back-button:hover,
    #back-button:hover > .toolbarbutton-icon {
    border: none !important;
    border-radius: 2px !important;
    }  
    
    #back-button {
    	fill-opacity: 1 !important;
    	padding-top: 0px !important;
    	padding-bottom: 0px !important;
    }
    .toolbarbutton-1 { opacity: 1 !important;}
    
    2 votes
  2. [12]
    drannex
    (edited )
    Link
    I realize this is going to be a super nascent thing here, but I know some of you must be Vivaldi users, and/or love using sidebar tabs and pretty put off that Firefox just doesn't have the ability...

    I realize this is going to be a super nascent thing here, but I know some of you must be Vivaldi users, and/or love using sidebar tabs and pretty put off that Firefox just doesn't have the ability anymore.

    I recreated Microsoft Edges vertical tab layout and design into Vivaldi with complete theme integration (any theme should look great with it). I've been testing Edge and loved their design, but the feature is in alpha development hell and you never know when/if it will ever come back after randomly disappearing (or you never got it to begin with as its server side toggles).

    Should work with tabs on the left or right, abide by your theme, roundness, top menu bar options, and more. I only spent a few hours on it but I am pretty pleased with it.

    Here's a quick gif of it.

    1 vote
    1. [10]
      helloworld
      Link Parent
      For Firefox I use Tree Style Tabs extension. It not only has a sidebar with vertical tab list, it has a tree interface with child and parent tabs. Biggest benefit is I get a clear visual...

      For Firefox I use Tree Style Tabs extension. It not only has a sidebar with vertical tab list, it has a tree interface with child and parent tabs.

      Biggest benefit is I get a clear visual representation of which tab originated from which else, thus easy to keep track of a sprawling tab structure when on a feature hunt. It is also one click to close all the tree with child tabs. I usually have one jura ticket as a parent and everything relevant with it as children. When the ticket is closed, entire tree is dismissed with a single click.

      7 votes
      1. [7]
        cfabbro
        (edited )
        Link Parent
        I personally use and prefer Tree Tabs rather than Tree Style Tabs these days, since Tree Tabs requires a lot less fiddling with settings (and no third-party addons) to get into a state that I feel...

        I personally use and prefer Tree Tabs rather than Tree Style Tabs these days, since Tree Tabs requires a lot less fiddling with settings (and no third-party addons) to get into a state that I feel comfortable with. But I have used both rather extensively, and wholeheartedly recommend them too... especially if you're like me and tend to browse with a bajillion tabs open at the same time.

        2 votes
        1. [2]
          vaddi
          Link Parent
          Can you comment on the performace between the two? I use Tree Style Tabs, and it annoys me that whenever I close the side bar, reopening it takes a couple seconds.

          Can you comment on the performace between the two? I use Tree Style Tabs, and it annoys me that whenever I close the side bar, reopening it takes a couple seconds.

          2 votes
          1. cfabbro
            (edited )
            Link Parent
            I never really thought about it TBH... But just testing it now with only ~30 tabs open between 3 groups, I can open and close the tree tabs sidebar and it doesn't open/close noticeably slower than...

            I never really thought about it TBH... But just testing it now with only ~30 tabs open between 3 groups, I can open and close the tree tabs sidebar and it doesn't open/close noticeably slower than when I do the same with the built in history sidebar. I don't have Tree Style Tabs installed anymore, so can't really compare the performance directly, but it definitely has never felt like Tree Tabs has taken more than a fraction of a second to open though, even with dozens of tabs open at once.

            Edit: The only time it has felt a bit sluggish is when I had a shit ton of tabs open when I last closed Firefox and then relaunch it again later. It takes a few second before all the tab titles and favicons populate, and the tree structure is properly restored... but that could just be an inherent Firefox or internet connection thing, not necessarily a Tree Tabs thing.

            2 votes
        2. [4]
          helloworld
          Link Parent
          Thanks. Tree Tabs looks very interesting. Session export and import is something I have wanted for a long time but none of the extensions have worked well enough so far. I will try it out for a...

          Thanks. Tree Tabs looks very interesting. Session export and import is something I have wanted for a long time but none of the extensions have worked well enough so far. I will try it out for a couple of weeks and reply here for future reference.

          1 vote
          1. [3]
            cfabbro
            (edited )
            Link Parent
            NP! And yeah, import/export and the automatic restoring of the tree structure that Tree Tabs does when you start Firefox up again (even after a crash or forced shutdown) is great. Oh, and another...

            NP! And yeah, import/export and the automatic restoring of the tree structure that Tree Tabs does when you start Firefox up again (even after a crash or forced shutdown) is great.

            Oh, and another really nice feature of Tree Tabs that (IIRC) isn't native to Tree Style Tabs is "tab groups". E.g. My current groups (the vertical bar on the left with "Ungrouped, CK3, and TW:3K"). They allow you to organize your tabs even more, and hide the ones you don't currently need from view to keep the clutter down. And you can even set it up so that when you switch between the groups, it hides all the tabs from the other groups in Firefox's top tab bar as well. It's super handy.

            1 vote
            1. [2]
              helloworld
              Link Parent
              I see you're a man of culture as well.. Looks pretty amazing. I will switch to it on personal machine immediately. Work machine will have to wait until a forced windows fucking update borks my...

              CK3

              I see you're a man of culture as well..
              Looks pretty amazing. I will switch to it on personal machine immediately. Work machine will have to wait until a forced windows fucking update borks my carefully arranged tab state yet again.

              1 vote
              1. cfabbro
                Link Parent
                213.7 hours in CK3 already. ;) Although until some total conversion mods or DLC comes out I think I have finally run out of things to do.

                213.7 hours in CK3 already. ;) Although until some total conversion mods or DLC comes out I think I have finally run out of things to do.

      2. drannex
        Link Parent
        Vivaldi has a similar system called 'Tab Stacking', where tab stacking allows you to create 'stacks' create a name for them, move them around, and sort them. I've built in a mechanism that uses...

        Vivaldi has a similar system called 'Tab Stacking', where tab stacking allows you to create 'stacks' create a name for them, move them around, and sort them.

        I've built in a mechanism that uses those as well in this. You just have to ctrl+click on the tab and then add it to a stack. You can then also open up to four tabs in tiling mode in a single window as well. Sadly, I could not figure out drag and drop.

        2 votes
      3. PetitPrince
        Link Parent
        I also recommend TST Colored Tabs for immediate identification at a glance (each tabs gets a colored background based on the tab domain).

        I also recommend TST Colored Tabs for immediate identification at a glance (each tabs gets a colored background based on the tab domain).

        1 vote
    2. JXM
      Link Parent
      I like this quite a bit. I can see how this would be useful if you’ve got a ton of tabs open.

      I like this quite a bit. I can see how this would be useful if you’ve got a ton of tabs open.

      2 votes