Cant quite finish my theme, scroll bars.



  • Iv spent a good amount of time skinning and theming to how i like things (im a bit OCD) but i cant quite figure how to change the scroll bar colours. (only right hand vertical bar shown here in gray).

    alt text

    I keep getting the same code when i search , test example :-

    #browser ::-webkit-scrollbar-track {
    background-color: var(--colorBg) !important;
    }
    #browser ::-webkit-scrollbar-thumb {
    background-color: rgba(150,150,150,.8) !important;
    border: 0 !important;
    }
    #browser ::-webkit-scrollbar-thumb:hover {
    background-color: var(--colorHighlightBg) !important;
    }
    #browser ::-webkit-scrollbar-thumb:active {
    background-color: var(--colorFg) !important;
    }

    But every example i tested does not change the main scroll bars but it does change the "inner scrollbars" like the side panel scroll bar.

    Im on Mint KDE plasma,

    Thx.



  • You can only change scrollbars of internal pages with a custom modification. Read here:
    https://github.com/Tiamarth/Arc-for-Vivaldi/blob/master/README.md
    You will have to write an additional userstyle for scrollbars on normal webpages.



  • Ahh, yea i had already read and read that page but i misunderstood (of course) and was trying to use the stylish code in my custom.css file. I think iv got it now.

    Many thx.


Log in to reply
 

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