1style "theme-panel" {
2  GtkButton::inner-border = { 0, 0, 0, 0 }
3  xthickness = 2
4  ythickness = 0
5
6  bg[NORMAL] = shade(1.0, @tooltip_bg_color)
7  bg[ACTIVE] = @selected_bg_color
8  bg[PRELIGHT] = shade(1.2, @tooltip_bg_color)
9  bg[SELECTED] = @selected_bg_color
10
11  fg[NORMAL] = shade(1.0, @tooltip_fg_color)
12  fg[PRELIGHT] = @fg_color
13  fg[ACTIVE] = @tooltip_fg_color
14  fg[SELECTED] = @tooltip_fg_color
15
16  text[NORMAL] = shade(1.0, @tooltip_fg_color)
17  text[PRELIGHT] = shade(1.1, @tooltip_fg_color)
18  text[ACTIVE] = shade(1.0, @tooltip_fg_color)
19  text[SELECTED] = @tooltip_fg_color
20
21  engine "pixmap" {
22    image {
23      function = SHADOW
24      file     = "assets/null.png"
25      border   = { 0, 0, 0, 0 }
26      stretch  = TRUE
27    }
28  }
29}
30
31style "theme-panel-progressbar" {
32  bg[ACTIVE] = shade(0.8, @tooltip_bg_color)
33}
34
35style "panelbar" {
36  fg[NORMAL] = shade(1.0, @tooltip_fg_color)
37  fg[ACTIVE] = shade(1.0, @tooltip_fg_color)
38  fg[PRELIGHT] = shade(1.1, @tooltip_fg_color)
39  fg[SELECTED] = @tooltip_fg_color
40}
41
42style "panelbuttons" {
43  GtkButton::inner-border = { 0, 0, 0, 0 }
44  xthickness = 4
45  ythickness = 0
46
47  fg[NORMAL] = shade(0.8, @tooltip_fg_color)
48  fg[PRELIGHT] = @tooltip_fg_color
49  fg[ACTIVE] = @tooltip_fg_color
50  fg[SELECTED] = @tooltip_fg_color
51  fg[INSENSITIVE] = mix(0.28, @tooltip_fg_color, @tooltip_bg_color)
52  bg[PRELIGHT] = shade(1.2, @tooltip_bg_color)
53  bg[ACTIVE] = shade(1.5, @tooltip_bg_color)
54
55  engine "pixmap" {
56    image {
57      function = BOX
58      state    = NORMAL
59      file     = "assets/null.png"
60      border   = { 0, 0, 0, 2 }
61      stretch  = TRUE
62    }
63    image {
64      function = BOX
65      state    = ACTIVE
66      file     = "assets/pathbar_button_active.png"
67      border   = { 0, 0, 0, 2 }
68      stretch  = TRUE
69    }
70    image {
71      function = BOX
72      state    = PRELIGHT
73      file     = "assets/pathbar_button_prelight.png"
74      border   = { 0, 0, 0, 2 }
75      stretch  = TRUE
76    }
77    image {
78      function = BOX
79      state    = INSENSITIVE
80      file     = "assets/null.png"
81      border   = { 0, 0, 0, 2 }
82      stretch  = TRUE
83    }
84  }
85}
86
87style "regular-label" {
88  font_name = "Regular"
89}
90
91style "theme-panel-text" {
92
93  fg[NORMAL] = shade(1.0, @tooltip_fg_color)
94  fg[PRELIGHT] = @tooltip_fg_color
95  fg[ACTIVE] = shade(1.0, @tooltip_fg_color)
96
97  text[NORMAL] = shade(1.0, @tooltip_fg_color)
98  text[PRELIGHT] = @tooltip_fg_color
99  text[ACTIVE] = shade(1.0, @tooltip_fg_color)
100
101  engine "murrine" {
102    textstyle = 0
103    text_shade = 0.2
104  }
105}
106
107style "panel-entry" {
108
109  fg[NORMAL] = @text_color
110  fg[PRELIGHT] = @text_color
111  fg[ACTIVE] = @text_color
112  fg[SELECTED] = @text_color
113  fg[INSENSITIVE] = @text_color
114
115  text[NORMAL] = @text_color
116  text[PRELIGHT] = @text_color
117  text[ACTIVE] = @text_color
118  text[SELECTED] = @text_color
119  text[INSENSITIVE] = @text_color
120
121}
122
123style "theme-main-menu-text" = "theme-panel-text" {
124  fg[PRELIGHT] = @tooltip_fg_color
125  text[PRELIGHT] = @tooltip_fg_color
126}
127
128style "workspace-switcher" = "theme-panel" {
129  fg[SELECTED] = @selected_fg_color
130  bg[SELECTED] = @selected_bg_color
131}
132
133style "indicator" = "theme-panel" {
134  xthickness = 0
135  ythickness = 0
136}
137
138widget "*tasklist*"                                   style "panelbuttons"
139widget_class "*Xfce*Panel*.GtkToggleButton"           style "panelbuttons"
140widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
141widget_class "*PanelToplevel*Button"                  style "panelbuttons"
142widget_class "*Panel*GtkToggleButton"                 style "panelbuttons"
143widget_class "*Xfce*Panel*Button*"                    style "panelbuttons"
144widget_class "*<XfceArrowButton>"                     style "panelbuttons"
145widget_class "*<XfceActionsPlugin>*"                  style "panelbuttons"
146widget_class "*XfcePanelPlugin.GtkButton"             style "panelbuttons"
147widget_class "*XfcePanelPlugin.GtkToggleButton"       style "panelbuttons"
148widget "*dict*Applet*"                                style "panelbuttons"
149widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
150widget_class "*Tasklist*"                             style:highest "panelbuttons"
151widget_class "*Tasklist*.GtkLabel"                    style:highest "regular-label"
152widget_class "*Mixer*lugin*"                          style:highest "panelbuttons"
153
154class "*Panel*MenuBar*"                               style "panelbar"
155widget_class "*Panel*MenuBar*"                        style "panelbar"
156widget_class "*Panel*MenuBar*Item*"                   style:highest "panelbar"
157
158widget "*PanelWidget*"                                style "theme-panel"
159widget "*PanelApplet*"                                style "theme-panel"
160widget "*fast-user-switch*"                           style "theme-panel"
161widget "*CPUFreq*Applet*"                             style "theme-panel"
162class "PanelApp*"                                     style "theme-panel"
163class "PanelToplevel*"                                style "theme-panel"
164widget_class "*PanelToplevel*"                        style "theme-panel"
165widget_class "*notif*"                                style "theme-panel"
166widget_class "*Notif*"                                style "theme-panel"
167widget_class "*Tray*"                                 style "theme-panel"
168widget_class "*tray*"                                 style "theme-panel"
169widget_class "*computertemp*"                         style "theme-panel"
170widget_class "*Applet*Tomboy*"                        style "theme-panel"
171widget_class "*Applet*Netstatus*"                     style "theme-panel"
172
173# Fixes for tooltip text in some apps.
174widget_class "*Notif*Beagle*"                         style "theme-panel"
175widget_class "*Notif*Brasero*"                        style "theme-panel"
176
177# XFCE panel theming.
178widget "*Xfce*Panel*"                                 style "theme-panel"
179class "*Xfce*Panel*"                                  style "theme-panel"
180widget "*Xfce*Panel*GtkProgressBar"                   style "theme-panel-progressbar"
181widget "*WnckPager*"                                  style "workspace-switcher"
182widget "*TopMenu*"                                    style "theme-panel"
183widget "*XfceTasklist*"                               style "panelbuttons"
184
185# Fix gtk-entries in the panel
186widget "*bookmark*GtkEntry"                           style "panel-entry" # fixes smartbookmark-plugin
187
188# Make sure panel text color doesn't change
189widget_class "*Panel*MenuBar*"                        style "theme-main-menu-text"
190widget_class "*Panel*<GtkMenuBar>*"                   style "theme-main-menu-text"
191widget "*.clock-applet-button.*"                      style "theme-panel-text"
192widget "*PanelApplet*"                                style "theme-panel-text"
193
194# Override general panel-style with specific plugin-styles
195widget "*indicator-applet*"                           style "indicator"
196widget "*indicator-button*"                           style "indicator"
197