Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Browser
    • Mail
    • News
    • Community
    • About
    • Register
    • Login
    • Search
    HomeBlogsForumHelpThemes
    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Multiple Row Tabs

    Multiple Row Tabs

    Desktop Feature Requests
    tabs tab bar
    48
    201
    11784
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nomadic
      nomadic @Saved2Serve last edited by

      @Saved2Serve said in Multiple Row Tabs:

      I did remove the folder first to another location, but forgot to change it as the Custom UI Modifications folder. Yet if the folder no longer existed in that location (or any location since I later deleted that file) then V. must be storing its values someplace else.

      Happy to help!

      I think you might be getting files and folders mixed up.

      The custom.css file wasn't the issue. Changing the folder in the Custom UI Modifications setting was all that mattered.

      You could have deleted all the other CSS files in that folder that are responsible for page actions and left your custom.css file in there and it would have worked. The issue with that is that you would no longer have those page actions and the custom.css file would need to be added back after each browser update.

      Saved2Serve 1 Reply Last reply Reply Quote 3
      • Saved2Serve
        Saved2Serve @jane.n last edited by

        @jane-n Good to see you'all are on task! Much appreciate enhanced customization.

        Thanks. Grace and peace thru Jesus the Lord.

        1 Reply Last reply Reply Quote 0
        • 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 1 Reply Last reply Reply Quote 1
          • Saved2Serve
            Saved2Serve @nomadic last edited by Saved2Serve

            @nomadic Success! I placed the Custom UI Modifications in a separate folder outside the Vivaldi one, and 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 lie 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 1 Reply Last reply Reply Quote 2
            • nomadic
              nomadic @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 1 Reply Last reply Reply Quote 1
              • Saved2Serve
                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 1 Reply Last reply Reply Quote 0
                • barbudo2005
                  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 1
                  • nomadic
                    nomadic @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 1 Reply Last reply Reply Quote 2
                    • Saved2Serve
                      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 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
                          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 1 Reply Last reply Reply Quote 0
                          • Ayespy
                            Ayespy 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 Pro X64, i5 9400 @ 4.1 GHz turbo; Intel UHD 630 graphics; 1TB WDC NVME SSD; 16 GB DDR4-2666 RAM. Community Code of Conduct

                            Saved2Serve 1 Reply Last reply Reply Quote 1
                            • nomadic
                              nomadic @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;
                              }
                              
                              F ? Saved2Serve dynamix 4 Replies Last reply Reply Quote 9
                              • 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 0
                                • ?
                                  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

                                  😉

                                  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 1 Reply Last reply Reply Quote 3
                                    • 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
                                        nomadic @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
                                            Saved2Serve @Ayespy last edited by

                                            @Ayespy Got it. Thanks.

                                            Thanks. Grace and peace thru Jesus the Lord.

                                            1 Reply Last reply Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 6 / 11
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

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