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

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
    Some downtime and service disruptions may be experienced.
    Thanks in advance for your patience.

    1. Home
    2. Desktop
    3. Archive
    4. -Test- Overlay PIP/Audio upon tab favicon (Windows)

    -Test- Overlay PIP/Audio upon tab favicon (Windows)

    Archive
    modding audio pic-in-pic overlay icons
    2
    6
    1.8k
    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.
    • Hadden89
      H
      Hadden89
      last edited by Hadden89

      What it does:

      • Change background to follow v-theme background color;
      • Bigger icon (to accomodate the overlay).
      • Recenter the icon with transform.
      • Remove the transition (icon is always big);

      On linux - tested on Mint - this mod seems to be not necessary. I think the same is for Osx, but can't test there.
      Icon is not always perfectly centered according UI scaling. Play with transform values may fix it.


      /* Bigger Audio/PIP icon */
      #app #browser .tab-audio {
      	background-color: var(--colorBgDarker);
      	transform: scale(1.34);
      	transform-origin: 6px 6px;
      	transition: none;
      }
      

      0_1558260648042_19-05-2019.png

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Hadden89
          H
          Hadden89
          last edited by

          Code updated for 2.5/2.6 branch

          1 Reply Last reply Reply Quote 0
          • LonM
            L
            LonM Soprano Patron Moderator
            last edited by

            I did something similar, but instead of it being over the favicon, I made it like it is on pinned tabs - small and to the corner.

            0_1558266264047_2019-05-19_12-44-05.png

            #tabs-container .tab:not(.pinned):not(.tab-small).audio-on .tab-audio, #tabs-container .tab:not(.pinned):not(.tab-small).audio-muted .tab-audio{
                position: absolute;
                left: 15px;
                top: 15px;
                transform: scale(0.8) !important;
                background: none
            }
            
            #tabs-container .tab:not(.pinned):not(.tab-small).audio-on .tab-audio:hover, #tabs-container .tab:not(.pinned):not(.tab-small).audio-muted .tab-audio:hover {
                transform: scale(1.2) !important
            }
            #tabs-container .tab:not(.pinned):not(.tab-small).audio-on .favicon, #tabs-container .tab:not(.pinned):not(.tab-small).audio-muted .favicon{
                transform: scale(1) !important
            }
            

            ๐Ÿ’ป Windows 10 64-bit Sopranos Builds โ€ข en-GB โ€ข ๐Ÿ—ณ vote for features โ€ข ๐Ÿ•ต๏ธโ€โ™€๏ธ Code of Conduct โ€ข ๐Ÿž Report bugs

            Hadden89
            H
            1 Reply Last reply
            Reply Quote 1
            • Hadden89
              H
              Hadden89 @LonM
              last edited by

              @LonM Nice, how you got the marquee effect? ^^

              LonM
              L
              1 Reply Last reply
              Reply Quote 0
              • LonM
                L
                LonM Soprano Patron Moderator @Hadden89
                last edited by

                @Hadden89 Oh, that's a separate mod I made: js css

                It's still a WIP

                ๐Ÿ’ป Windows 10 64-bit Sopranos Builds โ€ข en-GB โ€ข ๐Ÿ—ณ vote for features โ€ข ๐Ÿ•ต๏ธโ€โ™€๏ธ Code of Conduct โ€ข ๐Ÿž Report bugs

                1 Reply Last reply Reply Quote 1
                • pafflick
                  P
                  pafflick unlocked this topic on
                • pafflick
                  P
                  pafflick moved this topic from Modifications on
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                • 1 / 1
                • 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