initial commit, lordsawar source, slightly modified
[lordsawar] / dat / gtkrc
1 # Clearlooks-DarkLime
2 # version 0.1
3 # Hacked by Ulisse Perusin <uli.peru@gmail.com>
4
5 # based on Darkilouche by Jakub Steiner <jimmac@gmail.com>
6
7
8 #define tiny icon sizes
9 gtk-icon-sizes = "gtk-menu=16,16:panel-menu=32,32:panel=16,16"
10 gtk-icon-sizes = "gtk-button=16,16:gtk-large-toolbar=22,22"
11
12 #default color scheme
13 gtk_color_scheme = "fg_color:#0e0e0e\nbg_color:#888a85\nbase_color:#babdb6\ntext_color:#000\nselected_bg_color:#C8FF63\nselected_fg_color:#fff\ntooltip_bg_color:#D9F8A1\ntooltip_fg_color:#000"
14
15 #widget class horrors from now on
16 style "darkilouche-default"
17 {
18   GtkButton      ::default_border    = { 0, 0, 0, 0 }
19   GtkRange       ::trough_border     = 0
20   GtkPaned       ::handle_size       = 6
21   GtkRange       ::slider_width      = 15
22   GtkRange       ::stepper_size      = 15
23
24   GtkScrollbar   ::min_slider_length = 30
25   GtkCheckButton ::indicator_size    = 14
26   GtkMenuBar     ::internal-padding  = 0
27   GtkTreeView    ::expander_size     = 14
28   GtkExpander    ::expander_size     = 16
29   GtkScale       ::slider-length     = 27
30
31   GtkButton      ::child-displacement-x = 1
32   GtkButton      ::child-displacement-y = 1
33
34   WnckTasklist   ::fade-overlay-rect = 0
35   
36   GtkMenu::vertical_padding = 4
37   GtkMenu::horizontal_padding = 3
38   xthickness = 1
39   ythickness = 1
40
41
42   fg[NORMAL]        = @fg_color 
43   fg[PRELIGHT]      = @fg_color 
44   fg[SELECTED]      = @selected_fg_color 
45   fg[ACTIVE]        = @fg_color 
46   fg[INSENSITIVE]   = darker (@bg_color) 
47
48   bg[NORMAL]        = @bg_color
49   bg[PRELIGHT]      = shade (1.02, @bg_color) 
50   bg[SELECTED]       = shade (0.5, @bg_color) 
51   bg[INSENSITIVE]   = @bg_color 
52   bg[ACTIVE]        = shade (0.9, @bg_color) 
53
54   base[NORMAL]      = @base_color 
55   base[PRELIGHT]    = shade (0.95, @selected_bg_color) 
56   base[ACTIVE]      = shade (1.1, @selected_bg_color) 
57   base[SELECTED]    = shade (1.1, @selected_bg_color) 
58   base[INSENSITIVE] = @bg_color  
59
60   text[NORMAL]      = @text_color 
61   text[PRELIGHT]    = @text_color 
62   text[ACTIVE]      = @text_color 
63   text[SELECTED]    = @text_color 
64   text[INSENSITIVE] = @text_color
65
66   engine "clearlooks" 
67   {
68     #scrollbar_color   = "#76acde"
69     menubarstyle      = 2       # 0 = flat, 1 = sunken, 2 = flat gradient
70     toolbarstyle      = 0       # 0 = flat, 1 = enable effects
71     animation         = TRUE
72     style             = GUMMY
73     radius            = 3.0
74     colorize_scrollbar = TRUE
75   }
76
77 }
78
79
80 style "darkilouche-wide" = "darkilouche-default"
81 {
82   xthickness = 2
83   ythickness = 2
84 }
85
86 style "darkilouche-wider" = "darkilouche-default"
87 {
88   xthickness = 3
89   ythickness = 3
90 }
91
92 style "darkilouche-button" = "darkilouche-wider"
93 {
94   bg[NORMAL]        = shade (1.05, @bg_color) 
95   bg[INSENSITIVE]   = shade (1.04, @bg_color) 
96   bg[PRELIGHT]      = shade (1.08, @bg_color) 
97   fg[PRELIGHT]            = shade (0.9, @selected_fg_color)
98 }
99
100 style "darkilouche-radiobutton" = "darkilouche-wider"
101 {
102           bg[SELECTED]   = @selected_bg_color
103   base[NORMAL]      = shade(0.50,@selected_bg_color)
104   base[PRELIGHT]    = shade (0.55, @selected_bg_color) 
105   base[ACTIVE]      = shade (0.75, @selected_bg_color) 
106   base[SELECTED]    = shade (0.75, @selected_bg_color) 
107   base[INSENSITIVE] = shade (0.50, @selected_bg_color  )
108 }
109
110 style "darkilouche-notebook" = "darkilouche-wide"
111 {
112   bg[SELECTED]      = shade (0.8, @selected_bg_color)
113   bg[NORMAL] =  shade (1.1, @bg_color)
114 }
115
116 style "darkilouche-tasklist" = "darkilouche-default"
117 {
118   xthickness = 5
119   ythickness = 3
120 }
121
122
123
124
125
126 # File, Edit ...
127 style "darkilouche-menubar" = "darkilouche-default"
128 {
129   bg[NORMAL]   = shade (0.74, @bg_color)
130 }
131
132
133 style "darkilouche-menubar-item" = "darkilouche-button"
134 {
135     #fg[PRELIGHT] = shade (0.8, @selected_fg_color) 
136 }
137
138
139
140
141 #individual menus
142
143 style "darkilouche-menu" = "darkilouche-default"
144 {
145   xthickness = 0
146   ythickness = 0
147   bg[NORMAL] = shade (0.6, @bg_color)   
148 }
149
150 style "darkilouche-menu-item" = "darkilouche-default"
151 {
152   xthickness = 2
153   ythickness = 3
154   #fg[PRELIGHT] = shade (0.5, @bg_color)   
155   fg[NORMAL] = shade (0.95, @selected_fg_color) 
156   text[PRELIGHT] = @bg_color
157         bg[SELECTED] = @selected_bg_color    
158         bg[NORMAL] = shade (0.6, @bg_color) #separator
159         bg[INSENSITIVE] = shade (0.5, @bg_color) #inactive highlight arrows 
160 }
161
162 style "darkilouche-frame-title" = "darkilouche-default"
163 {
164   fg[NORMAL] = lighter (@fg_color)
165 }
166
167 style "darkilouche-tooltips" = "darkilouche-default"
168 {
169   xthickness = 4
170   ythickness = 4
171         bg[NORMAL] = @tooltip_bg_color
172         fg[NORMAL] = @tooltip_fg_color
173   #bg[NORMAL] = shade (1.2, @selected_bg_color)
174 }
175
176 style "darkilouche-progressbar" = "darkilouche-wide" 
177 {
178   xthickness = 1
179   ythickness = 1
180   bg[SELECTED]  = shade (1.1, @selected_bg_color)
181
182 }
183
184
185 style "darkilouche-combo" = "darkilouche-button"
186 {
187 }
188
189 style "darkilouche-scale" = "darkilouche-button"
190 {
191         GtkRange::trough-side-details = 1
192 }       
193
194 style "darkilouche-dialogbutton" = "darkilouche-default"
195 {
196
197         #gtk-button-images = 0
198         #GtkButton::inner-border = {4,4,4,4}
199
200         bg[NORMAL]        = shade (.5, @bg_color) # normal bcg
201         fg[NORMAL]        = @selected_fg_color
202   bg[INSENSITIVE]   = shade (.8, @bg_color) # disabled bcg
203         fg[INSENSITIVE]   = @selected_fg_color
204   bg[PRELIGHT]      = shade (.65, @bg_color) # hover bcg
205         fg[PRELIGHT]      = @selected_fg_color
206   bg[ACTIVE]        = shade (.4, @bg_color) # pushed bcg
207 }
208
209 style "darkilouche-tree" = "darkilouche-default"
210 {
211   xthickness = 2
212   ythickness = 2
213 }
214
215
216
217 #special case panel menus
218 style "panel-menu" = "darkilouche-default"
219 {
220         bg[NORMAL] = @bg_color
221 }
222
223 #nautilus search stripe and other specialties
224 style "extra-view" {
225         bg[NORMAL] = shade (1.2, @selected_bg_color)
226         fg[NORMAL] = shade (0.5, @bg_color)  
227
228
229 style "evolution-hack" = "darkilouche-default"
230 {
231         bg[ACTIVE]   = @selected_bg_color  
232         bg[SELECTED] = @selected_bg_color  
233         fg[ACTIVE]   = @text_color
234         fg[SELECTED] = shade (0.5, @bg_color)
235 }
236
237 style "fspot-photos" = "darkilouche-default"
238 {
239          base[NORMAL] = shade (0.5, @bg_color)
240          fg[NORMAL] = "#000000"
241 }
242
243
244
245
246
247
248
249
250 # widget styles
251 class "GtkWidget"    style "darkilouche-default"
252 class "GtkButton"    style "darkilouche-button"
253 class "GtkScale"     style "darkilouche-scale"
254 class "GtkCombo"     style "darkilouche-button"
255 class "GtkRange"     style "darkilouche-wide"
256 class "GtkFrame"     style "darkilouche-wide"
257 class "GtkSeparator" style "darkilouche-wide"
258 class "GtkMenu"      style "darkilouche-menu"
259 class "GtkEntry"     style "darkilouche-wider"
260 class "GtkMenuItem"    style "darkilouche-menu-item"
261 class "GtkNotebook"    style "darkilouche-notebook"
262 class "GtkProgressBar" style "darkilouche-progressbar"
263 class "GtkMenuBar" style "darkilouche-menubar"
264
265 class "GtkCheckButton" style "darkilouche-radiobutton"
266
267 widget_class "*MenuItem.*" style "darkilouche-menu-item"
268 #widget_class "*.GtkMenuBar.*MenuItem.*" style "darkilouche-menubar-item"
269
270 #dialog button
271 widget_class "*.Gtk*ButtonBox.*Button*" style "darkilouche-dialogbutton"
272
273 #menu stripe (but not on the panel)
274 widget_class "*MenuItem.*" style "darkilouche-menu-item"
275 class "PanelMenuBar" style "panel-menu"
276
277 # combobox stuff
278 widget_class "*.GtkComboBox.GtkButton" style "darkilouche-combo"
279 widget_class "*.GtkCombo.GtkButton"    style "darkilouche-combo"
280 # tooltips stuff
281 widget_class "*.tooltips.*.GtkToggleButton" style "darkilouche-tasklist" ####darkilouche-tasklist
282 widget "gtk-tooltip*" style "darkilouche-tooltips"
283
284 # treeview stuff
285 widget_class "*.GtkTreeView.GtkButton" style "darkilouche-tree"
286 widget_class "*.GtkCTree.GtkButton" style "darkilouche-tree"
287 widget_class "*.GtkList.GtkButton" style "darkilouche-tree"
288 widget_class "*.GtkCList.GtkButton" style "darkilouche-tree"
289 widget_class "*.GtkFrame.GtkLabel" style "darkilouche-frame-title"
290
291 # notebook stuff
292 widget_class "*.GtkNotebook.*.GtkEventBox" style "darkilouche-notebook"
293 widget_class "*.GtkNotebook.*.GtkViewport" style "darkilouche-notebook"
294
295 #nautilus search stripe
296 widget "*.nautilus-extra-view-widget" style:highest "extra-view"
297
298 #f-spot stuff
299 class "__gtksharp_*_IconView" style "fspot-photos"
300 widget_class "*.__gtksharp_*_PhotoView.*.GtkEventBox*" style "fspot-photos"
301
302
303 # Evolution
304 widget_class "*GtkCTree*" style "evolution-hack"
305 widget_class "*GtkList*" style "evolution-hack"
306 widget_class "*GtkCList*" style "evolution-hack"
307 widget_class "*.ETree.*" style "evolution-hack"
308
309 style "menu_color"
310 {
311 fg[NORMAL] = @fg_color
312 fg[PRELIGHT] = @fg_color
313 fg[SELECTED] = @selected_fg_color
314 fg[ACTIVE] = @fg_color
315 fg[INSENSITIVE] = darker (@bg_color)
316 bg[NORMAL] = @bg_color
317 bg[PRELIGHT] = shade (1.02, @bg_color)
318 bg[SELECTED] = shade (1.5, @bg_color)
319 bg[INSENSITIVE] = @bg_color
320 bg[ACTIVE] = shade (0.9, @bg_color)
321 }
322
323 widget_class "Menu" style "menu_color"