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/12/09 07:25] – kevinbowen | xfce:xfce4-panel:theming [2024/12/11 11:29] (current) – kevinbowen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{ :xfce: | + | ~~NOTOC~~ |
| - | ====== | + | {{ : |
| + | ====== | ||
| + | * **[[#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; | ||
| border-radius: | border-radius: | ||
| - | <figure " | + | <figure " |
| + | {{: | ||
| + | </ | ||
| Line 71: | Line 122: | ||
| - | <figure " | + | <figure " |
| + | {{: | ||
| + | </ | ||
| Line 80: | Line 133: | ||
| border-color: | border-color: | ||
| - | <figure " | + | <figure " |
| + | {{: | ||
| + | </ | ||
| //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 92: | Line 147: | ||
| background-color: | background-color: | ||
| - | <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 101: | Line 171: | ||
| background-color: | background-color: | ||
| - | <figure " | + | <figure " |
| + | {{: | ||
| + | </ | ||
| + | |||
| + | Notification Plugin panel button colours | ||
| + | |||
| + | # | ||
| + | background-color: lightblue; | ||
| + | color: black; } | ||
| + | |||
| + | <figure " | ||
| + | {{: | ||
| + | </ | ||
| + | |||
| + | Status Notifier Plugin | ||
| + | |||
| + | #sn-button { | ||
| + | background-color: | ||
| + | |||
| + | <figure " | ||
| + | {{: | ||
| + | </ | ||
| [[|Back to Top]] | [[|Back to Top]] | ||
| ---- | ---- | ||
| - | [[: | + | [[: |