Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
xfce:xfce4-panel:theming [2012/01/04 10:13] – [Classes] nick | xfce:xfce4-panel:theming [2019/08/24 04:33] – [Plugin theming examples] emh_mark_i | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Theming ====== | + | ====== |
- | Besize the appearance settings in the panel preferences, | + | ---- |
- | ===== Classes | + | ===== CSS Selectors |
- | ? XfcePanelWindow | + | |
- | ! The normal panel window. | + | |
- | ? XfcePanelWindowHidden | + | |
- | ! Class of the hidden panel window. | + | |
- | ? | + | |
- | ! The class of the external window used for the 4.6 plugins. | + | |
- | ? XfcePanelWindowWrapper | + | |
- | ! The class of the window used for external plugins running in the wrapper application. | + | |
- | <file txt .gtkrc-2.0> | + | === Classes: === |
- | style " | + | |
- | { | + | |
- | # Time in miliseconds before the panel will unhide on an enter event | + | |
- | XfcePanelWindow:: | + | |
- | # Time in miliseconds before the panel will hide on a leave event | + | .xfce4-panel |
- | | + | |
- | | + | === ID's: === |
- | | + | |
- | } | + | |
- | class "XfcePanelWindow" style " | + | # |
- | </file> | + | # |
+ | # | ||
+ | # | ||
+ | |||
+ | === Elements === | ||
+ | |||
+ | wnck-pager | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Plugin theming examples ===== | ||
+ | |||
+ | Panelbar background color. | ||
+ | |||
+ | .xfce4-panel.background { | ||
+ | background-color: | ||
+ | |||
+ | Tasklist toggle button background colour, text colour, and border radius. | ||
+ | |||
+ | .tasklist .toggle { | ||
+ | background-color: | ||
+ | color: black; | ||
+ | border-radius: | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | Whisker Menu panel button. | ||
+ | |||
+ | # | ||
+ | color: lightblue; | ||
+ | font-weight: | ||
+ | font-style: italic; } | ||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | Pulseaudio menu mpris buttons. | ||
+ | |||
+ | #pulseaudio-button menu .linked button { | ||
+ | color: lightblue; | ||
+ | border-color: gray; } /* This will apply a colour to the mpris button border */ | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | //The pulseaudio menu contains common GTK widgets such as a scale, trough, switch, and slider.// | ||
+ | |||
+ | Workspace switcher colours for selected and hover states. | ||
+ | |||
+ | wnck-pager: | ||
+ | background-color: | ||
+ | wnck-pager: | ||
+ | background-color: | ||
+ | |||
+ | <figure " |