• Community
    • Community
    • Vivaldi Social
    • Blogs
  • Forum
    • Vivaldi Forum
    • Categories
    • Recent
    • Popular
  • Themes
    • Vivaldi Themes
    • My Themes
    • FAQ
  • Contribute
    • Contribute
    • Volunteer
    • Donate
  • Browser
    • Vivaldi Browser
    • Latest News
    • Snapshots
    • Help
Register Login

Vivaldi

  • Community
  • Themes
  • Contribute
  • Browser

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Multiple Row Tabs

    Multiple Row Tabs

    Scheduled Pinned Locked Moved Desktop Feature Requests
    tabstab barnice to have
    245 Posts 59 Posters 80.2k Views 31 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alexander.gorbovets
      last edited by alexander.gorbovets

      Reminding everyone who didn't vote for this feature request to vote, because the more votes request gets the bigger chance that it will be implemented soon

      Saved2Serve
      S
      1 Reply Last reply
      Reply Quote 3
    • Saved2Serve
      S
      Saved2Serve @nomadic
      last edited by Saved2Serve

      @nomadic Success! I placed the Custom UI Modifications (Open vivaldi://experiments
      Enable "Allow for using CSS modifications"
      and open Appearance section in settings then
      select the CSS folder you put the mod, and restart Vivaldi ) in a separate folder outside the Vivaldi one, and added the code in https://forum.vivaldi.net/post/393809 and the mods in https://forum.vivaldi.net/post/440481 and shutdown Vivaldi and restarted and so far it looks like it is supposed to, although I do not have enough tabs loaded yet to spill over to another row.

      The tabs are rather narrow and although I set my minimum tab width to 90 that did not change them. Be nice if each tab was a different color, but that might be asking too much.
      alt text

      Thanks for the hacking help. May God bless all who make this possible. .

      Thanks. Grace and peace thru Jesus the Lord.

      nomadic
      N
      1 Reply Last reply
      Reply Quote 2
    • nomadic
      N
      nomadic Soprano @Saved2Serve
      last edited by

      @Saved2Serve said in Multiple Row Tabs:

      The tabs are rather narrow

      These lines are what is responsible for the narrow tabs:

      /* Equal width tabs without shrinking */
      .tab-strip > span > .tab-position > .tab:not(.pinned) {
        width: 100px !important;
      }
      .tab-strip > span > .tab-position > .tab.pinned {
        width: 100px !important;
      }
      

      You can delete them to let Vivaldi handle the widths of the tabs, but you will not have as nice of a grid look to the tabs.

      The other option is to increase the width values to something you like. Here is an example of setting them to 300px (300 pixels) wide:

      /* Equal width tabs without shrinking */
      .tab-strip > span > .tab-position > .tab:not(.pinned) {
        width: 300px !important;
      }
      .tab-strip > span > .tab-position > .tab.pinned {
        width: 300px !important;
      }
      

      Just change the value to a number that looks good to you.

      Saved2Serve
      S
      1 Reply Last reply
      Reply Quote 1
    • Saved2Serve
      S
      Saved2Serve @nomadic
      last edited by

      @nomadic Hey that is better. I changed it to 200px which is good for now. Besides this can i ask what are the color codes I see like like border-color: lime? I see nothing visible in color no matter what theme is used. I am not using Compact in Tabs.

      Thanks and be happy hacking.

      Thanks. Grace and peace thru Jesus the Lord.

      nomadic
      N
      1 Reply Last reply
      Reply Quote 0
    • barbudo2005
      B
      barbudo2005
      last edited by

      @Saved2Serve

      If you add this code :

      #tabs-subcontainer.top.visible
      
      {flex-basis: auto !important;}
      

      You can have multiline second level:

      db7a8b42-f866-4c02-8e76-aa39990706ac-image.png

      1 Reply Last reply Reply Quote 2
    • nomadic
      N
      nomadic Soprano @Saved2Serve
      last edited by nomadic

      @Saved2Serve The line with the color lime is commented out, meaning it won't have any effect. You can remove the /* and the */ to uncomment it.

      There are also a few things that are broken in this mod. The new tab button is misplaced.

      I am busy now, but I will take a look at it later. If someone else doesn't help before then.

      Saved2Serve
      S
      1 Reply Last reply
      Reply Quote 2
    • Saved2Serve
      S
      Saved2Serve @nomadic
      last edited by Saved2Serve

      @nomadic Again, thanks for the help and may God bless. I have passed on the instructions to an external forum.

      Thanks. Grace and peace thru Jesus the Lord.

      nomadic
      N
      1 Reply Last reply
      Reply Quote 0
    • I
      infinitywarden @barbudo2005
      last edited by

      @barbudo2005 thank you, this worked!

      1 Reply Last reply Reply Quote 2
    • Saved2Serve
      S
      Saved2Serve @alexander.gorbovets
      last edited by

      @alexander-gorbovets Vote where again? Can we email it in:)

      Thanks. Grace and peace thru Jesus the Lord.

      Ayespy
      A
      1 Reply Last reply
      Reply Quote 0
    • Ayespy
      A
      Ayespy Soprano Moderator @Saved2Serve
      last edited by

      @Saved2Serve Click the thumbs up icon at the beginning of the topic - top of Page 1 of the topic you are posting in right now.

      Volunteer Mod and tester on Windows 11 Home X64, i7-13700 @ 5.4 GHz turbo; Intel UHD 770 graphics; 1TB NV2 PCIe 4.0 NVMe SSD; 32 GB DDR4-3200 RAM. Community Code of Conduct

      Saved2Serve
      S
      1 Reply Last reply
      Reply Quote 2
    • nomadic
      N
      nomadic Soprano @Saved2Serve
      last edited by nomadic

      @Saved2Serve I made a modified version of this mod 😂.

      There were lots of things I removed because I didn't see them having any effect. I am still a CSS novice that doesn't have a full grasp of flex and different display options. It seems to work in my testing, but I don't know if I overlooked something.

      @fpdragon, @potmeklecbohdan, @alexander.gorbovets, and @barbudo2005 can look over it to see if there is something I missed.

      The mod uses variables at the top under the :root selector to allow some easy customization. I tried to make them descriptive, but if you need help changing them, let me know.

      /* Multiline Tabs - Modified by @nomadic. Original work by @fpdragon, @potmeklecbohdan, @alexander.gorbovets, and @barbudo2005 */
      
      /* Configuration */
      :root {
        --tab-width: 200px;
        --pinned-tab-width: 200px;
        /* unset (to disable), format: style color thickness (ex.) solid var(--colorFgFadedMost) 1px*/
        --tab-border: unset;
        /* To ENABLE fillets on tab corners, use static. To DISABLE, use relative*/
        --fillets: static;
        /* Other options: "📌", "🔒", "*", and unset (to disable) */
        --pinned-indicator: "🔒";
      }
      
      /* Changes to allow multiline tab bar */
      #tabs-tabbar-container {
        height: auto !important;
      }
      .tab-strip > span,
      .tab-strip > .tab-position {
        display: inline-block;
      }
      .tab-strip > span > .tab-position {
        --PositionX: 0px !important;
        height: 30px !important;
        width: auto !important;
      }
      .tab-strip > span > .tab-position,
      .toolbar-tabbar > .newtab {
        position: static;
      }
      
      /* Sets styles for all tabs based on configuration */
      .tab-strip > span > .tab-position > .tab {
        width: var(--tab-width) !important;
        position: var(--fillets);
        border: var(--tab-border);
      }
      
      /* Allow pinned tabs to have seperate width */
      .tab-strip > span > .tab-position > .tab.pinned {
        width: var(--pinned-tab-width) !important;
      }
      
      /* Indicator for pinned tabs */
      .tab-strip > span > .tab-position > .tab.pinned > .tab-header > span.title::before {
        content: var(--pinned-indicator);
        color: gray;
        filter: grayscale(100%); /* make emoji indicators grayscale */
        font-size: 12px;
        width: 23px;
      }
      
      /* Keep title visible on tabs */
      #tabs-container .tab.tab-small.tab-mini .tab-header .title,
      #tabs-container .tab.pinned.tab-mini .tab-header .title {
        display: flex !important;
      }
      
      /* Fix overflow issue on secondary bar */
      #tabs-subcontainer {
        flex-basis: unset !important;
      }
      
      fpdragon
      F
      ?
      Saved2Serve
      S
      dynamix
      D
      4 Replies Last reply
      Reply Quote 10
    • fpdragon
      F
      fpdragon @nomadic
      last edited by fpdragon

      @nomadic

      I currently switched to the latest snapshot builds of Vivaldi.
      There is a feature called "Tab-Groups" which does a similar job quite elegant for me. With job, I mean managing a huge number of tabs. I recommend everybody to take a look at this feature.
      In basic you will get two tab bar lines.
      The upper one can be seen as a tab bar for groups of website tabs.
      The lower one will just contain the website tabs of the currently selected tab group on the upper bar.

      I typically create a tab group for every toppic, I am working on. It's not much work to put tabs in groups and the big benfit is that it is much more tidy and you also can close a whole tab group at once. This makes the multi line tab bar hack obsolete for me.

      See: https://vivaldi.com/blog/desktop/snapshots/
      Make sure to disable all mods/hacks before activating this feature.

      BTW: Yes, the Vivaldi icon turns black. That's the way it is, even if you set up your windows in dark mode. 😉

      ?
      1 Reply Last reply
      Reply Quote 1
    • ?
      A Former User @fpdragon
      last edited by

      @fpdragon Haha…

      • the two-bar tabs are in the Stable already
      • tab stacks are old, only this way to display them is new
      • it’s been discussed in this thread already

      😉

      fpdragon
      F
      1 Reply Last reply
      Reply Quote 2
    • ?
      A Former User @nomadic
      last edited by A Former User

      @nomadic I don’t know how many of the notes go to my code (if I actually wrote anything from it), but anyway

      • .tab-strip > .tab-position never gonna happen actually, the new tab button is exactly that
      • you can as well use position: static (& remove the positioning) for .tab-position, same for .newtab
      • ‘Not entirely sure what it does. Left it in because it doesn't do harm’ — I think it makes sure that the title is shown even with a great lot of tabs (when it’d be hidden w/o the mod due to the tab size)
      • tabs in the secondary bar will overflow — either exclude them from the mod or make sure that the bar extends with them (#tabs-tabbar-container’s display: block or #tabs-subcontainer’s flex-basis: unset)
      nomadic
      N
      1 Reply Last reply
      Reply Quote 3
    • fpdragon
      F
      fpdragon @Guest
      last edited by fpdragon

      @potmeklecbohdan said in Multiple Row Tabs:

      @fpdragon Haha…

      • the two-bar tabs are in the Stable already
      • tab stacks are old, only this way to display them is new
      • it’s been discussed in this thread already

      😉

      Then sorry for that 😉
      But especially the new display in these two bars is what I like.
      I haven't followed the whole history of this thread and for me it's also a better alternative than the classic multiline tab bar and this is why I am not continue to follow the multiline approach. The Vivaldi team convinced me about tab groups beeing a better solution. 🙂 Maybe also others find this helpful and give it a try.
      But everyone as she/he likes. 😉

      1 Reply Last reply Reply Quote 1
    • nomadic
      N
      nomadic Soprano @Guest
      last edited by nomadic

      @potmeklecbohdan Thanks for looking over it.

      • .tab-strip > .tab-position never gonna happen

      I added this to fix the new tab button position.

      At least in my HTML structure, there is a single div under .tab-strip that houses the new tab button. It looks the same in my main install and on my VM install.

      Is it different on yours?

      cc83f775-a862-46be-8683-01ba29addc6e-image.png

      Edit: Missed your edit...

      • you can as well use position: static (& remove the positioning) for .tab-position, same for .newtab
      • tabs in the secondary bar will overflow — either exclude them from the mod or make sure that the bar extends with them (#tabs-tabbar-container’s display: block or #tabs-subcontainer’s flex-basis: unset)

      Thanks, added.


      Put the updates in the other post. Does it look good?

      ?
      1 Reply Last reply
      Reply Quote 2
    • ?
      A Former User @nomadic
      last edited by

      @nomadic said in Multiple Row Tabs:

      Thanks for looking over it.

      For overlooking it? 😜

      Edit: Missed your edit...

      (Would continue as: I already told you that it’s the NTB missed your edit that you missed my edit)

      Put the updates in the other post. Does it look good?

      Seems to. (Don’t look at me asking what’s the next issue to arise, I don’t know.)

      I must have an On Topic day today… hopefully it isn’t inviting for a reply.

      1 Reply Last reply Reply Quote 2
    • Saved2Serve
      S
      Saved2Serve @Ayespy
      last edited by

      @Ayespy Got it. Thanks.

      Thanks. Grace and peace thru Jesus the Lord.

      1 Reply Last reply Reply Quote 0
    • Saved2Serve
      S
      Saved2Serve @nomadic
      last edited by

      @nomadic Well, if you think that you are a novice then I am in kindergarten. About the most coding I have done is some scripts for AutoHotKey like as in remapping the CapsLock key two ctrl+c (and Esc to ctrl+v and NumLock to Esc) etc. which helps much with my still arthritic fingers which often do not land on the right key (thank God for spell checking as-you-type!) . I do a lot of copy and pasting.

      Thanks. Grace and peace thru Jesus the Lord.

      1 Reply Last reply Reply Quote 0
    • J
      JumpingLawnChair
      last edited by

      OK, I would like some assistance if someone would be so kind. I am trying to set up the multi-row AND 2 level tabs. I know little of CSS.

      1. I went into vivaldi://experiments/ and enabled "Allow for using CSS modifications"
      2. I went into Vivaldi settings and made the alternative custom folder.
      3. In that custom folder (in Windows Explorer) I made a text file and renamed it "vivaldi custom settings.css".
      4. In the new .css file I copied and pasted all the info from nomadic's Vivaldi forum post here on page 6.
      5. I saved (as unicode in Notepad++, it said I would lose info if I didn't use unicode), and restarted Vivaldi.

      I don't have multi-row tabs. I know I did something wrong. Can anyone help?

      Thanks!

      Pesala
      P
      nomadic
      N
      2 Replies Last reply
      Reply Quote 0
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 12
    • 13
    • 6 / 13
    • First post
      Last post

    Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status