all repos — dotfiles @ e552bc6b1af239e977df3f64764faf33cba07e03

my *nix dotfiles

themes/whitey/gtk-2.0/3rd-party.rc (view raw)

  1#
  2# XFce4
  3#
  4style "theme-panel" {
  5  xthickness = 0
  6  ythickness = 0
  7
  8  bg[NORMAL] = "#2b2b2b"
  9  bg[ACTIVE] = @selected_bg_color
 10  bg[PRELIGHT] = shade(1.1, @selected_bg_color)
 11  bg[SELECTED] = @selected_bg_color
 12  fg[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 13  fg[PRELIGHT] = @selected_fg_color
 14  fg[ACTIVE] = @selected_fg_color
 15  fg[SELECTED] = @selected_fg_color
 16  text[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 17  text[PRELIGHT] = "#FFFFFF"
 18  text[ACTIVE] = "#FFFFFF"
 19  text[SELECTED] = "#FFFFFF"
 20
 21  font_name = "Medium"
 22}
 23
 24style "panelbar" {
 25  fg[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 26  fg[ACTIVE] = @selected_fg_color
 27  fg[PRELIGHT] = @selected_fg_color
 28  fg[SELECTED] = @selected_fg_color
 29  bg[SELECTED] = @selected_bg_color
 30
 31  font_name = "Medium"
 32}
 33
 34style "panelbuttons" {
 35  xthickness = 2
 36  ythickness = 0
 37
 38  fg[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 39  fg[PRELIGHT] = @selected_fg_color
 40  fg[ACTIVE] = @selected_fg_color
 41  fg[SELECTED] = @selected_fg_color
 42  fg[INSENSITIVE] = mix(0.4, @selected_fg_color, @fg_color)
 43
 44  font_name = "Medium"
 45
 46  engine "pixmap" {
 47    image {
 48      function = BOX
 49      state    = NORMAL
 50      file     = "Others/null.svg"
 51      border   = { 0, 0, 0, 2 }
 52      stretch  = TRUE
 53    }
 54    image {
 55      function = BOX
 56      state    = ACTIVE
 57      file     = "Others/top.png"
 58      border   = { 0, 0, 0, 2 }
 59      stretch  = TRUE
 60    }
 61    image {
 62      function = BOX
 63      state    = PRELIGHT
 64      file     = "Others/top-hover.png"
 65      border   = { 0, 0, 0, 2 }
 66      stretch  = TRUE
 67    }
 68    image {
 69      function = BOX
 70      state    = INSENSITIVE
 71      file     = "Others/null.svg"
 72      border   = { 0, 0, 0, 2 }
 73      stretch  = TRUE
 74    }
 75  }
 76}
 77
 78style "theme-panel-text" {
 79  fg[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 80  fg[PRELIGHT] = @selected_fg_color
 81  fg[ACTIVE] = @selected_fg_color
 82  text[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 83  text[PRELIGHT] = @selected_fg_color
 84  text[ACTIVE] = @selected_fg_color
 85
 86  font_name = "Medium"
 87}
 88
 89style "panel-entry" {
 90  fg[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 91  fg[PRELIGHT] = "#ECEFF1"
 92  fg[ACTIVE] = @selected_fg_color
 93  fg[SELECTED] = @selected_fg_color
 94  fg[INSENSITIVE] = mix(0.4, @selected_fg_color, @fg_color)
 95  text[NORMAL] = mix(0.8, @selected_fg_color, shade(0.96, @fg_color))
 96  text[PRELIGHT] = "#ECEFF1"
 97  text[ACTIVE] = @selected_fg_color
 98  text[SELECTED] = @selected_fg_color
 99  text[INSENSITIVE] = mix(0.4, @selected_fg_color, @fg_color)
100}
101
102style "theme-main-menu-text" = "theme-panel-text" {
103  fg[PRELIGHT] = @selected_fg_color
104  text[PRELIGHT] = @selected_fg_color
105}
106
107style "workspace-switcher" = "theme-panel" {
108  bg[NORMAL] = @fg_color
109  bg[SELECTED] = @selected_bg_color
110}
111
112style "indicator" = "panelbuttons" {
113  xthickness = 2
114  ythickness = 0
115}
116
117widget "*tasklist*"                                   style "panelbuttons"
118widget_class "*Xfce*Panel*.GtkToggleButton"           style "panelbuttons"
119widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
120widget_class "*PanelToplevel*Button"                  style "panelbuttons"
121widget_class "*Panel*GtkToggleButton"                 style "panelbuttons"
122widget_class "*Xfce*Panel*Button*"                    style "panelbuttons"
123widget_class "*<XfceArrowButton>"                     style "panelbuttons"
124widget_class "*<XfceActionsPlugin>*"                  style "panelbuttons"
125widget_class "*XfcePanelPlugin.GtkButton"             style "panelbuttons"
126widget "*dict*Applet*"                                style "panelbuttons"
127widget_class "*Xfce*NetkTasklist*GtkToggleButton"     style "panelbuttons"
128widget_class "*Tasklist*"                             style:highest "panelbuttons"
129widget_class "*Mixer*"                                style:highest "panelbuttons"
130
131class "*Panel*MenuBar*"                               style "panelbar"
132widget_class "*Panel*MenuBar*"                        style "panelbar"
133widget_class "*Panel*MenuBar*Item*"                   style:highest "panelbar"
134
135widget "*PanelWidget*"                                style "theme-panel"
136widget "*PanelApplet*"                                style "theme-panel"
137widget "*fast-user-switch*"                           style "theme-panel"
138widget "*CPUFreq*Applet*"                             style "theme-panel"
139widget "*TopMenu*"                                    style "theme-panel"
140class "PanelApp*"                                     style "theme-panel"
141class "PanelToplevel*"                                style "theme-panel"
142widget_class "*PanelToplevel*"                        style "theme-panel"
143widget_class "*notif*"                                style "theme-panel"
144widget_class "*Notif*"                                style "theme-panel"
145widget_class "*Tray*"                                 style "theme-panel" 
146widget_class "*tray*"                                 style "theme-panel"
147widget_class "*computertemp*"                         style "theme-panel"
148widget_class "*Applet*Tomboy*"                        style "theme-panel"
149widget_class "*Applet*Netstatus*"                     style "theme-panel"
150
151# Fixes for tooltip text in some apps.
152widget_class "*Notif*Beagle*"                         style "theme-panel"
153widget_class "*Notif*Brasero*"                        style "theme-panel"
154
155# XFCE panel theming.
156widget "*Xfce*Panel*"                                 style "theme-panel"
157class "*Xfce*Panel*"                                  style "theme-panel"
158widget "*WnckPager*"                                  style "workspace-switcher"
159
160# Fix gtk-entries in the panel
161widget "*bookmark*GtkEntry"                           style "panel-entry" # fixes smartbookmark-plugin
162
163# Make sure panel text color doesn't change
164widget_class "*Panel*MenuBar*"                        style "theme-main-menu-text"
165widget_class "*Panel*<GtkMenuBar>*"                   style "theme-main-menu-text"
166widget "*.clock-applet-button.*"                      style "theme-panel-text"
167widget "*PanelApplet*"                                style "theme-panel-text"
168
169# Override general panel-style with specific plugin-styles
170widget "*indicator-applet*"                           style "indicator"
171widget "*indicator-button*"                           style "indicator"
172
173
174#
175# Eclipse/SWT
176#
177style "eclipse-tooltips" {
178  xthickness = 9
179  ythickness = 9
180
181  bg[NORMAL] = @tooltip_bg_color
182  fg[NORMAL] = @tooltip_fg_color
183  bg[SELECTED] = @tooltip_bg_color
184  # bg[NORMAL] = @base_color
185  # fg[NORMAL] = @text_color
186  # bg[SELECTED] = @base_color
187}
188
189style "null" {
190  engine "pixmap" {
191    image {
192      function = BOX
193      file     = "Others/null.svg"
194      stretch  = TRUE
195    }
196  }
197}
198
199widget "gtk-tooltips*"     style "eclipse-tooltips"
200widget "*swt-toolbar-flat" style "null"
201
202
203#
204# Chrome(ium)
205#
206style "chrome-gtk-frame" {
207  ChromeGtkFrame::frame-color = "#2A373E"
208  ChromeGtkFrame::inactive-frame-color = "#2A373E"
209  ChromeGtkFrame::incognito-frame-color = "#2A373E"
210  ChromeGtkFrame::incognito-inactive-frame-color = "#2A373E"
211
212  ChromeGtkFrame::frame-gradient-size = 0
213  ChromeGtkFrame::frame-gradient-color = "#2A373E"
214  ChromeGtkFrame::inactive-frame-gradient-color = "#2A373E"
215  ChromeGtkFrame::incognito-frame-gradient-color = "#2A373E"
216  ChromeGtkFrame::incognito-inactive-frame-gradient-color = "#2A373E"
217
218  ChromeGtkFrame::scrollbar-slider-prelight-color = "#C3C6C8"
219  ChromeGtkFrame::scrollbar-slider-normal-color = "#A5AAAD"
220  ChromeGtkFrame::scrollbar-trough-color = @base_color
221}
222
223style "chrome_menu_item" {
224  bg[SELECTED] = mix(0.9, @base_color, @fg_color)
225  fg[SELECTED] = shade(0.96, @fg_color)
226}
227
228class "ChromeGtkFrame"                               style "chrome-gtk-frame"
229widget_class "*Chrom*Button*"                        style "flat_button"
230widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
231
232# We use this weird selector to target an offscreen entry as created
233# by Chrome/Chromium to derive the style for its toolbar
234widget_class "<GtkEntry>" style "standalone_entry"
235
236
237#
238# Openoffice, Libreoffice
239#
240style "libreoffice_entry" {
241  engine "pixmap" {
242    image {
243      function        = FLAT_BOX
244      detail          = "entry_bg"
245      state           = NORMAL
246      overlay_file    = "Others/null.svg"
247      overlay_border  = { 0, 0, 0, 0 }
248      overlay_stretch = TRUE
249    }
250    image {
251      function        = FLAT_BOX
252      detail          = "entry_bg"
253      state           = ACTIVE
254      overlay_file    = "Others/null.svg"
255      overlay_border  = { 0, 0, 0, 0 }
256      overlay_stretch = TRUE
257    }
258    image {
259      function = SHADOW
260      detail   = "entry"
261      state    = NORMAL
262      shadow   = IN
263      file     = "Others/null.svg"
264      border   = { 0, 0, 0, 0 }
265      stretch  = TRUE
266    }
267    image {
268      function = SHADOW
269      detail   = "entry"
270      state    = ACTIVE
271      file     = "Others/null.svg"
272      border   = { 0, 0, 0, 0 }
273      stretch  = TRUE
274    }
275  }
276}
277
278style "menubar_libreoffice" {
279  xthickness = 0
280  ythickness = 0
281
282  bg[NORMAL] = @bg_color
283  fg[NORMAL] = mix(0.8, @fg_color, @selected_fg_color)
284  fg[PRELIGHT] = shade(0.96, @fg_color)
285  fg[SELECTED] = shade(0.96, @fg_color)
286  fg[INSENSITIVE] = mix(0.6, @fg_color, @selected_fg_color)
287  text[NORMAL] = mix(0.8, @fg_color, @selected_fg_color)
288  text[PRELIGHT] = shade(0.96, @fg_color)
289  text[SELECTED] = shade(0.96, @fg_color)
290  text[INSENSITIVE] = mix(0.6, @fg_color, @selected_fg_color)
291
292  engine "pixmap" {
293    image {
294      function    = BOX
295      file        = "Shadows/z-depth-1.svg"
296      border      = { 1, 1, 1, 1 }
297      stretch     = TRUE
298      recolorable = TRUE
299    }
300  }
301}
302
303style "menubar_item_libreoffice" {
304  xthickness = 3
305  ythickness = 6
306
307  bg[PRELIGHT] = @bg_color
308  bg[SELECTED] = @bg_color
309  fg[NORMAL] = mix(0.8, @fg_color, @selected_fg_color)
310  fg[PRELIGHT] = shade(0.96, @fg_color)
311  fg[SELECTED] = shade(0.96, @fg_color)
312  fg[INSENSITIVE] = mix(0.6, @fg_color, @selected_fg_color)
313  text[NORMAL] = mix(0.8, @fg_color, @selected_fg_color)
314  text[PRELIGHT] = shade(0.96, @fg_color)
315  text[SELECTED] = shade(0.96, @fg_color)
316  text[INSENSITIVE] = mix(0.6, @fg_color, @selected_fg_color)
317
318  engine "pixmap" {
319    image {
320      function    = BOX
321      recolorable = TRUE
322      state       = PRELIGHT
323      file        = "Others/top.png"
324      border      = { 0, 0, 0, 2 }
325      stretch     = TRUE
326    }
327  }
328}
329
330style "ooo_stepper_hack" {
331  GtkScrollbar::stepper-size         = 8
332  GtkScrollbar::has-backward-stepper = 1
333  GtkScrollbar::has-forward-stepper  = 1
334}
335
336class "GtkWindow"                                      style "toplevel_hack"
337widget "*libreoffice-toplevel*"                        style "ooo_stepper_hack"
338widget "*libreoffice-toplevel*GtkToolbar"              style "toolbar"
339widget "*libreoffice-toplevel*GtkMenuBar"              style "menubar_libreoffice"
340widget "*libreoffice-toplevel*GtkMenuBar.*GtkMenuItem" style "menubar_item_libreoffice"
341# widget "*libreoffice-toplevel*GtkEntry"              style "libreoffice_entry"
342# widget "*libreoffice-toplevel*GtkSpinButton"         style "libreoffice_entry"
343
344style "darkback"
345    {
346          engine "pixmap"
347            {         
348                   image
349                   {
350                            function =  SHADOW
351                            file = "Others/.trans_bg.png"
352                            border = {0, 0, 0, 0}
353                            stretch                 = FALSE
354                    }
355                    image
356                    {
357                            function                = BOX
358                            recolorable             = FALSE
359                            state                   =PRELIGHT
360                            file                    = "Others/.trans_bg.png"
361                            border                  = { 0, 0, 0, 0 }
362                            stretch                 = FALSE
363                    }
364                    image
365                    {
366                            function                = BOX
367                            recolorable             = FALSE
368                            state                   = ACTIVE
369                            file                    = "Others/.trans_bg.png"
370                            border                  = { 0, 0, 0, 0 }
371                            stretch                 = FALSE
372
373                    }
374                    image
375                    {
376                            function                = BOX
377                            recolorable             = FALSE
378                            file                    = "Others/.trans_bg.png"
379                            border                  = { 0, 0, 0, 0 }
380                            stretch                 = FALSE
381
382                    }
383
384            }
385#            bg[NORMAL] = "#1F2322"
386#            bg[NORMAL] = "#5D8E58"
387            bg[NORMAL] = "#2b2b2b"
388            bg[ACTIVE] = "#2b2b2b"
389            bg[PRELIGHT] = "#2b2b2b"
390            fg[NORMAL] = "#ECF0F1"
391            fg[ACTIVE] = "#ECF0F1"
392            fg[PRELIGHT] = "#ECF0F1"
393            fg[INSENSITIVE] = "#ECF0F1"
394
395    }
396widget "whiskermenu-window*" style "darkback"
397
398
399style "darktree"
400{
401	base[NORMAL] = "#2b2b2b"
402	base[ACTIVE] = "#E8E8E8"
403  	text[NORMAL] = "#ECF0F1"
404	text[ACTIVE] = "#FFFFFF"
405	engine "pixmap"
406            {         
407                   image
408                   {
409                            function =  SHADOW
410                            file = "Others/.trans_bg.png"
411                            border = {0, 0, 0, 0}
412                            stretch                 = FALSE
413                    }
414                    image
415                    {
416                            function                = BOX
417                            recolorable             = FALSE
418                            state                   =PRELIGHT
419                            file                    = "Others/.trans_bg.png"
420                            border                  = { 0, 0, 0, 0 }
421                            stretch                 = FALSE
422                    }
423                    image
424                    {
425                            function                = BOX
426                            recolorable             = FALSE
427                            state                   = ACTIVE
428                            file                    = "Others/.trans_bg.png"
429                            border                  = { 0, 0, 0, 0 }
430                            stretch                 = FALSE
431
432                    }
433
434        }
435}
436widget "whiskermenu-window*TreeView*" style "darktree"
437
438style "darkentry"
439{
440        bg_pixmap[NORMAL] = "Others/.trans_bg.png"
441        base[NORMAL] = "#2b2b2b"
442        base[ACTIVE] = "#E8E8E8"
443        text[NORMAL] = "#ECF0F1"
444        text[ACTIVE] = "#ECF0F1"
445}
446widget "whiskermenu-window*GtkEntry*" style "darkentry"