Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-09-22 05:02:04

aidan
Member
Registered: 2017-04-28
Posts: 14

XFCE4 Pulseaudio plugin media button control CSS node

I've been trying to figure out the CSS node name used for the media player controls in the Pulseaudio context menu.

Example where the media buttons are themed
vg0BLpe.png

Example where the media buttons are not themed
kAaHplT.png

I've tried media_playpause, but that didn't work.

Offline

#2 2018-09-22 12:14:04

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,662

Re: XFCE4 Pulseaudio plugin media button control CSS node

It's hard to get at with the GTK Inspector, but based on the Greybird theme code that themes the mpris controls, it would be something like:

#pulseaudio-button menu {
    -gtk-icon-effect: none;
    text-shadow: none; }
    #pulseaudio-button menu .linked button {
      color: #212121;
      outline-color: rgba(33, 33, 33, 0.3);
      border-top-color: shade(#cecece, 0.8);
      border-right-color: shade(#cecece, 0.72);
      border-left-color: shade(#cecece, 0.72);
      border-bottom-color: shade(#cecece, 0.7);
      background-image: linear-gradient(to bottom, shade(shade(#fcfcfc, 1.02), 1.05), shade(shade(#fcfcfc, 1.02), 0.97));
      box-shadow: inset 0 1px white; }
      #pulseaudio-button menu .linked button:disabled {
        border-color: #828282;
        background-color: #e0e0e0;
        text-shadow: none;
        -gtk-icon-shadow: none;
        box-shadow: inset 0 1px rgba(255, 255, 255, 0);
        border-color: rgba(130, 130, 130, 0.5); }
        #pulseaudio-button menu .linked button:disabled label, #pulseaudio-button menu .linked button:disabled {
          color: #858585; }

Offline

#3 2018-09-22 17:14:51

aidan
Member
Registered: 2017-04-28
Posts: 14

Re: XFCE4 Pulseaudio plugin media button control CSS node

I'll check this out, thanks ToZ!

Offline

Board footer

Powered by FluxBB