Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:xfce4-panel:theming [2019/11/30 22:51] – [XFCE 4.14 Panelbar Theming] kevinbowen | xfce:xfce4-panel:theming [2024/03/14 07:38] (current) – [CSS Selectors] Update css ids gael | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{ :xfce:xfce4-panel: | + | ~~NOTOC~~ |
- | ====== | + | {{ :xfce:xfce.panel.png?no link|}} |
+ | ====== | ||
+ | * **[[#CSS Selectors|CSS Selectors]]** | ||
+ | * **[[#GTK3 Theme testing and debugging|GTK3 Theme testing and debugging]]** | ||
+ | * **[[# | ||
+ | * **[[#Plugin theming examples|Plugin theming examples]]** | ||
+ | |||
+ | ---- | ||
===== CSS Selectors ===== | ===== CSS Selectors ===== | ||
Line 8: | Line 15: | ||
.xfce4-panel | .xfce4-panel | ||
+ | .panel | ||
.tasklist | .tasklist | ||
=== ID's: === | === ID's: === | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | /* internal plugins */ | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | #sn-button | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | /* some external plugins */ | ||
# | # | ||
# | # | ||
# | # | ||
# | # | ||
- | # | ||
=== Elements === | === Elements === | ||
Line 36: | Line 63: | ||
For debugging, you can use the [[https:// | For debugging, you can use the [[https:// | ||
- | Kill the current xfce panel process: | + | Quit the current xfce panel process: |
- | | + | xfce4-panel |
- | Start the panel process with GtkInspector debugging enabled: | + | Start the panel process with GtkInspector debugging enabled |
GTK_DEBUG=interactive xfce4-panel | GTK_DEBUG=interactive xfce4-panel | ||
+ | [[|Back To Top]] | ||
---- | ---- | ||
- | ===== Plugin | + | ===== Panelbar |
Panelbar background color. | Panelbar background color. | ||
- | .xfce4-panel.background { | + | .xfce4-panel .background { |
background-color: | background-color: | ||
+ | |||
+ | Panelbar vertical styling. | ||
+ | |||
+ | .xfce4-panel .vertical .background { | ||
+ | background-color: | ||
+ | |||
+ | Panelbar horizontal styling. | ||
+ | |||
+ | .xfce4-panel .horizontal .background { | ||
+ | background-color: | ||
+ | |||
+ | Make autohide panelbar transparent. | ||
+ | |||
+ | .xfce4-panel# | ||
+ | background: rgba(0, | ||
+ | |||
+ | [[|Back To Top]] | ||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== Plugin theming examples ===== | ||
Tasklist toggle button background colour, text color, and border radius. | Tasklist toggle button background colour, text color, and border radius. | ||
- | .tasklist .toggle { | + | |
background-color: | background-color: | ||
color: black; | color: black; | ||
Line 85: | Line 134: | ||
//The pulseaudio menu contains common GTK widgets such as a scale, trough, switch, and slider.// | //The pulseaudio menu contains common GTK widgets such as a scale, trough, switch, and slider.// | ||
- | Workspace switcher colours for selected and hover states. | + | Workspace switcher colours for selected and hover states |
wnck-pager: | wnck-pager: | ||
Line 93: | Line 142: | ||
<figure " | <figure " | ||
+ | |||
+ | Underline active Workspace switcher button (Appearance: | ||
+ | |||
+ | .xfce4-panel widget grid button.flat.toggle: | ||
+ | font-family: | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | .xfce4-panel widget grid button.flat.toggle: | ||
+ | font-family: | ||
+ | font-size: 16px; | ||
+ | border-bottom: | ||
+ | padding: 10px; | ||
+ | } | ||
Clock colours and font style: | Clock colours and font style: | ||
Line 102: | Line 164: | ||
<figure " | <figure " | ||
+ | |||
+ | Notification Plugin panel button colours | ||
+ | |||
+ | # | ||
+ | background-color: | ||
+ | color: black; } | ||
+ | |||
+ | <figure " | ||
+ | |||
+ | Status Notifier Plugin | ||
+ | |||
+ | #sn-button { | ||
+ | background-color: | ||
+ | |||
+ | <figure " | ||
[[|Back to Top]] | [[|Back to Top]] | ||
---- | ---- | ||
[[: | [[: |