• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Make Pinned Tabs Identifiable when using Vertical Tab Bar

    Make Pinned Tabs Identifiable when using Vertical Tab Bar

    Desktop Feature Requests
    tab bar pipeline user interface
    14
    29
    4.6k
    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.
    • qwc
      Q
      qwc
      last edited by LonM

      Hi,
      I am only using the vertical tab bar, and I would like to be able to distinguish between normal and pinned tabs. Currently you can't tell them apart, just some visual thingy would be enough. Something like a red triangle in the top left corner of a tab line, for example.

      I have minimzed the vertical size of the tab headers (no tab pictures).

      Ayespy
      A
      AzDayton
      A
      2 Replies Last reply
      Reply Quote 24
      • Ayespy
        A
        Ayespy Soprano Moderator @qwc
        last edited by

        @qwc The tabs are visible, but you want to identify them. So I edited your topic. ๐Ÿ™‚

        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

        qwc
        Q
        1 Reply Last reply
        Reply Quote 2
        • qwc
          Q
          qwc @Ayespy
          last edited by

          @ayespy Err, correct. Thanks. ๐Ÿ™‚

          1 Reply Last reply Reply Quote 0
          • Hadden89
            H
            Hadden89
            last edited by Hadden89

            //edited 19/03/21

            A CSS mod which could help:

            /* Visual indicator for [vertical] pinned tabs */
            #tabs-container.right .tab-position .tab.pinned, #tabs-container.left .tab-position .tab.pinned {
              background-image: linear-gradient(315deg, var(--colorFgFaded) 5px, transparent 5px);
            }
            

            2 pinned + 1 active
            0_1523669739411_e4e23989-44ce-4fc5-a38a-7c2ab0f840f8.png

            Vivaldi Stable+Snap | Patience Is The Key To Get The Vivaldi Spree | Unsupported Extensions | Github | windows 11 | Manjaro KDE | Q4OS Trinity | Android 13

            porfat
            P
            1 Reply Last reply
            Reply Quote 1
            • porecreat
              P
              porecreat
              last edited by porecreat

              @binarysplit

              I've fixed the newtab button issue and almost the tabs group indicator one. Of course it's not tested under every condition but you should only use this with vertical tabs anyway.

              I also made pinned tabs more compact by using table-cell display.

              Here is the display I get:
              9bd8b717-2d8d-4351-9bb4-db45434f852e-image.png

              /* Make pinned tabs only show as icons */
              .tab-position {
                  position: static !important;
                  display: inline !important;
              }
              .tab.pinned {
                  background-color: var(--colorBg);
                  display: table-cell;
              }
              .tab.pinned .tab-header {
                  padding: 6px;
              }
              .tab.pinned .title, .tab.pinned .close {
                  display: none;
              }
              .newtab {
                  top: inherit !important;
              }
              .tab.tab-group {
                  border-top-width: 0px !important;
              }
              .tab-group-indicator {
                  position: static !important;
                  display: flex !important;
              }
              .tab-indicator {
                  border-top-width: 1px !important;
                  border-bottom-width: 1px !important;
                  height: 5px !important;
              }
              
              cfonzy
              C
              Steffie
              S
              tovifun
              T
              3 Replies Last reply
              Reply Quote 9
              • cfonzy
                C
                cfonzy @porecreat
                last edited by

                @porecreat This works great but the only issue I see is when you try to select tabs by holding control and click multiple tabs is selects the whole tab area and not individual tabs. Any way to fix that?

                Steffie
                S
                1 Reply Last reply
                Reply Quote 1
                • Steffie
                  S
                  Steffie @porecreat
                  last edited by

                  @porecreat OMZ, it is magnificent -- thanks so much for this cleverness!

                  โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

                  1 Reply Last reply Reply Quote 1
                  • Steffie
                    S
                    Steffie @cfonzy
                    last edited by Steffie

                    @cfonzy said in Make Pinned Tabs Identifiable when using Vertical Tab Bar:

                    when you try to select tabs by holding control and click multiple tabs is selects the whole tab area and not individual tabs

                    Yes me too.

                    Also, & i expect this is just another symptom of the same root-cause, when this CSS is active, creating tab-stacks entirely by mouse-only, by dragging a tab over another tab till they coalesce into a stack, is completely broken. Once i disable this CSS, that standard V behaviour resumes just fine.

                    From their profile i see that @porecreat has not been active in the forum since LAST ONLINE 25 APR 2020, 02:36, hence i don't expect them to be able to reply to this.

                    Therefore,

                    a question to all you other super CSS supremos in this forum:

                    Is it possible to somehow modify @porecreat's CSS to resolve both these symptoms pls?

                    โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

                    ?
                    BoneTone
                    B
                    Steffie
                    S
                    3 Replies Last reply
                    Reply Quote 0
                    • ?
                      A Former User @Steffie
                      last edited by

                      @Steffie said in Make Pinned Tabs Identifiable when using Vertical Tab Bar:

                      Is it possible to somehow modify @porecreat's CSS to resolve both these symptoms pls?

                      No, unfortunately Vivaldi uses only the internally-calculated dimensions & position for reordering & stacking tabs. Iโ€™m not sure how about selecting, but still it seems that it assumes something this (& any similar) CSS breaks (such as that in one row is only one tabโ€”I donโ€™t know).

                      Steffie
                      S
                      1 Reply Last reply
                      Reply Quote 2
                      • Steffie
                        S
                        Steffie @A Former User
                        last edited by

                        @potmeklecbohdan Ah ok, oh well, many thanks anyway for looking into it for me & explaining.

                        On balance, i still value the pinned tabs being iconised & gridded as this CSS provides, so the tab-stacking problem is unfortunate but tolerable [given that i do still have other options for stacking].

                        โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

                        1 Reply Last reply Reply Quote 1
                        • BoneTone
                          B
                          BoneTone @Steffie
                          last edited by BoneTone

                          @Steffie said in Make Pinned Tabs Identifiable when using Vertical Tab Bar:

                          by mouse-only, by dragging a tab over another tab till they coalesce into a stack

                          There is another option for stacking tabs with the mouse, assign gestures to the relevant actions... create stack, ungroup stack, remove from stack. To make them easy to remember, I have a gesture that means stack, and then gestures that mean create, destroy, and remove. Like you could define a counterclockwise box starting at the bottom right to mean stack. Do that followed by up to create, down to destroy, left to remove.

                          โ†‘โ†โ†“โ†’ means stack

                          โ†‘โ†โ†“โ†’โ†‘ stack, create

                          โ†‘โ†โ†“โ†’โ†“ stack, destroy

                          โ†‘โ†โ†“โ†’โ† stack, remove


                          Edit:

                          With so many actions available, creating semantic schemes like this makes it much easier to utilize a large number of them. I have gestures assigned to almost all of the actions now. When I first created my gestures, I wrote up a little cheat sheet to tape above my desk in plain view. I made some changes after a week or so as my initial designs could be improved. After a few weeks, I rarely needed to reference the cheat sheet anymore, and now it sits in my desk drawer where I can grab it rather easily if I should need it.

                          I post from my phone frequently, which likes to change "the" to "three". If you see three or similar, I probably meant "the". I use swipe, so typos can be totally unrelated words to what I intended. Knowing this should help you read through my typos.

                          Steffie
                          S
                          1 Reply Last reply
                          Reply Quote 3
                          • Steffie
                            S
                            Steffie @BoneTone
                            last edited by

                            @BoneTone Ta muchly. You're very clever, but also gifted with a better memory than i [i've not ignored your words about self-training initially with a cheat sheet, tis just that i know i already operate at the edge of my biological 64 kB RAM capacity, such that my skull's oom_killer frequently intervenes]. I do use many MGs & i love them, but here i feel my limits already are stretched too thin.

                            As i implied though, my rationale for accepting this trade-off [losing the V default mouse drag-drop stack method in the tabs column, in favour of gaining the minimised & gridded pinned tabs] is bearable [certainly not desirable, but bearable] by the other easy stacking methods even w/o needing new MGs [eg, context menu, also Window Panel].

                            My goat though, isn't this browser just wonderful!

                            โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

                            1 Reply Last reply Reply Quote 1
                            • Steffie
                              S
                              Steffie @Steffie
                              last edited by

                              @Steffie said in Make Pinned Tabs Identifiable when using Vertical Tab Bar:

                              when this CSS is active, creating tab-stacks entirely by mouse-only, by dragging a tab over another tab till they coalesce into a stack, is completely broken. Once i disable this CSS, that standard V behaviour resumes just fine.

                              Well this is a bit disappointing. I've now had to disable this particular Mod, because in chromium 87 it now has an additional unpleasant breakage. The older one i quoted, of course still occurs, but now additionally, with tabs arranged vertically, once a myriad of tabs are open to exceed the V window height, they overflow the bottom edge but do NOT generate the scroll bar, so are inaccessible other than by alternative means [eg, Window Panel, Tab Cycler, Quick Commands]. Once this Mod is disabled, the scroll bar correctly appears.

                              Damnit, i really did like my schmick little row of icon-only pinned tabs "crowning" all the tabs in the column below.

                              โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

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

                                @Steffie Yay, i've solved worked-around it.

                                Spoiler

                                205b5e5d-3b59-4c43-9f24-97d8740c1f0d-image.png

                                โ™€ ๐Ÿ‡ฆ๐Ÿ‡บ

                                1 Reply Last reply Reply Quote 2
                                • V
                                  Vincent500
                                  last edited by Vincent500

                                  I personally made the following css to better distinguish pinned tabs from normal tabs. I gave the pinned tabs a hatched background. Works perfect for me.

                                  I also made stacked tabs darker to better distinguish them from the other normal tabs. Also, I removed the spacing between tabs

                                  Edit: as reply to the author, I agree that by default Vivaldi should distinguish pinned tabs from normal tabs.

                                  alt text

                                  /*pinned tab styling*/
                                  .tab.pinned{
                                  	background: repeating-linear-gradient( 
                                  		 -41.5deg, 
                                  		 var(--colorBgDark), 
                                  		 var(--colorBgDark) 5px, 
                                  		 var(--colorBgLight) 5px, 
                                  		 var(--colorBgLight)11px);
                                  }
                                  .tab.pinned.active{
                                  	background: var(--colorAccentBg) !important;
                                      color: var(--colorFg) !important;
                                  }
                                  .tab.pinned{
                                      color: var(--colorFg) !important;
                                  }
                                  .tab.pinned:hover{
                                      color: var(--colorFg) !important;
                                  }
                                  .tabs-left .tab-position .tab, .tabs-right .tab-position .tab{
                                  	margin-bottom:0px; /*margin below each tab, default is 1px*/
                                  }
                                  
                                  /*Tab stack indicator tweak*/
                                  .tab-indicator{
                                  	border-top: 0px solid transparent;
                                      border-bottom: 9px solid transparent;
                                  }
                                  
                                  .tabs-top .tab-position .tab, .tabs-bottom .tab-position .tab{
                                  	margin-right:0px;
                                  }
                                  .stacks-on.tabs-right .tab.tab-group, .stacks-on.tabs-left .tab.tab-group{
                                  	border-top: 0px solid transparent;
                                      background-clip: content-box;
                                  }
                                  .tab.active .tab-indicator.active{
                                  	background-color: var(--colorBg);
                                  }
                                  
                                  /*Darker tab stack background color*/
                                  .tab.tab-group{
                                  	background-color:var(--colorBgDarker);
                                  }
                                  .tab.tab-group:hover{
                                  	background-color:var(--colorBgDarker);
                                  }
                                  .tab-indicator.active{
                                  	background-color:var(--colorBgDarker);
                                  	border-bottom: 9px solid transparent;
                                  }
                                  
                                  
                                  hlehyaric
                                  H
                                  ?
                                  2 Replies Last reply
                                  Reply Quote 5
                                  • hlehyaric
                                    H
                                    hlehyaric @Vincent500
                                    last edited by

                                    @Vincent500 If you're willing to share your mod, would you be so kind to post here too? It would be easier for users to find it.

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

                                      @Vincent500 Would you mind changing the fixed colours to theme variables (see vivaldi://themecolors)? Itโ€™d make it easier for the others (& also you when you change theme) to use the mod.

                                      (I donโ€™t pin tabs so thereโ€™s no reason for me to use it, but I think everyone wanting to use it will welcome this change)

                                      V
                                      1 Reply Last reply
                                      Reply Quote 4
                                      • V
                                        Vincent500 @A Former User
                                        last edited by Vincent500

                                        @potmeklecbohdan said in Make Pinned Tabs Identifiable when using Vertical Tab Bar:

                                        @Vincent500 Would you mind changing the fixed colours to theme variables (see vivaldi://themecolors)? Itโ€™d make it easier for the others (& also you when you change theme) to use the mod.

                                        Updated and thank you for that color page, I didn't know that one.

                                        @hlehyaric Of course, I will do it later today.

                                        1 Reply Last reply Reply Quote 3
                                        • hlehyaric
                                          H
                                          hlehyaric
                                          last edited by

                                          @guigirl Have you taken a look at the version here?

                                          1 Reply Last reply Reply Quote 1
                                          • V
                                            Vincent500
                                            last edited by

                                            @guigirl I just tested it and if I change the theme, the pinned tabs stay noticeably different from the normal tabs. The css that I posted is the only custom css I have for Vivaldi so I think that you have some conflicting code. What happens if you temporarily remove all css and only apply this one?

                                            alt text
                                            alt text
                                            alt text

                                            1 Reply 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
                                            • 1 / 2
                                            • 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