1 | # Ubuntu Human-Murrine Colorscheme |
---|
2 | # |
---|
3 | # Authors: |
---|
4 | # Kenneth Wimer <kwwii@ubuntu.com> |
---|
5 | # Conn O'Griofa <connogriofa@gmail.com> |
---|
6 | # |
---|
7 | # Feel free to modify and share! |
---|
8 | |
---|
9 | gtk_color_scheme = "fg_color:#fff\nbg_color:#000000\nbase_color:#FFF\ntext_color:#1A1A1A\nselected_bg_color:#FFA443\nselected_fg_color:#1A1A1A\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000" |
---|
10 | |
---|
11 | gtk-icon-sizes = "panel-menu=24,24" |
---|
12 | |
---|
13 | style "murrine-default" |
---|
14 | { |
---|
15 | ######## |
---|
16 | # Style Properties |
---|
17 | ######## |
---|
18 | GtkButton ::child-displacement-x = 1 |
---|
19 | GtkButton ::child-displacement-y = 1 |
---|
20 | GtkButton ::default-border = { 0, 0, 0, 0 } |
---|
21 | GtkCheckButton ::indicator-size = 14 |
---|
22 | |
---|
23 | GtkPaned ::handle-size = 6 |
---|
24 | |
---|
25 | GtkRange ::trough-border = 0 |
---|
26 | GtkRange ::slider-width = 15 |
---|
27 | GtkRange ::stepper-size = 15 |
---|
28 | |
---|
29 | GtkScale ::slider-length = 20 |
---|
30 | GtkScale ::trough-side-details = 0 # 0 = thin slider, >0 = thick slider |
---|
31 | GtkScrollbar ::min-slider-length = 30 |
---|
32 | |
---|
33 | GtkMenuBar ::internal-padding = 0 |
---|
34 | GtkExpander ::expander-size = 16 |
---|
35 | GtkToolbar ::internal-padding = 1 |
---|
36 | GtkTreeView ::expander-size = 14 |
---|
37 | GtkTreeView ::vertical-separator = 0 |
---|
38 | |
---|
39 | GtkMenu ::horizontal-padding = 0 |
---|
40 | GtkMenu ::vertical-padding = 0 |
---|
41 | |
---|
42 | # Glow the tasklist by changing the color, instead of overlaying it with a rectangle |
---|
43 | #WnckTasklist ::fade-overlay-rect = 0 |
---|
44 | |
---|
45 | #GtkWidget    ::link-color     = @fg_color |
---|
46 | #GtkWidget    ::visited-link-color = shade (0.2, @fg_color) |
---|
47 | |
---|
48 | xthickness = 1 |
---|
49 | ythickness = 1 |
---|
50 | |
---|
51 | fg[NORMAL] = @fg_color |
---|
52 | fg[PRELIGHT] = @fg_color |
---|
53 | fg[ACTIVE] = @fg_color |
---|
54 | fg[SELECTED] = @selected_fg_color |
---|
55 | fg[INSENSITIVE] = shade (0.7, @bg_color) |
---|
56 | |
---|
57 | bg[NORMAL] = @bg_color |
---|
58 | bg[PRELIGHT] = shade (0.98, @bg_color) |
---|
59 | bg[ACTIVE] = shade (0.85, @bg_color) |
---|
60 | bg[SELECTED] = mix (0.25, @tooltip_fg_color, @selected_bg_color) # Gnome Appearances Preferences workaround |
---|
61 | bg[INSENSITIVE] = @bg_color |
---|
62 | |
---|
63 | base[NORMAL] = @base_color |
---|
64 | base[PRELIGHT] = shade (0.95, @bg_color) |
---|
65 | base[ACTIVE] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
66 | base[SELECTED] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
67 | base[INSENSITIVE] = @bg_color |
---|
68 | |
---|
69 | text[NORMAL] = @text_color |
---|
70 | text[PRELIGHT] = @text_color |
---|
71 | text[ACTIVE] = @selected_fg_color |
---|
72 | text[SELECTED] = @selected_fg_color |
---|
73 | text[INSENSITIVE] = shade (0.7, @bg_color) |
---|
74 | |
---|
75 | engine "murrine" |
---|
76 | { |
---|
77 | animation = TRUE # FALSE = disabled, TRUE = enabled |
---|
78 | colorize_scrollbar = FALSE # FALSE = disabled, TRUE = enabled |
---|
79 | contrast = 1.05 # 0.8 for less contrast, more than 1.0 for more contrast on borders |
---|
80 | glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight |
---|
81 | gradient_shades = {1.07,1.05,1.04,1.01} # default: {1.1,1.0,1.0,1.1} |
---|
82 | gradients = TRUE # FALSE = disabled, TRUE = enabled |
---|
83 | highlight_ratio = 1.02 # set highlight amount for buttons or widgets |
---|
84 | lightborder_ratio = 1.2 # sets lightborder amount for buttons or widgets |
---|
85 | lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides |
---|
86 | listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised |
---|
87 | listviewstyle = 1 # 0 = nothing, 1 = dotted |
---|
88 | menubaritemstyle = 1 # 0 = menuitem look, 1 = button look |
---|
89 | menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped |
---|
90 | menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped |
---|
91 | menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe |
---|
92 | reliefstyle = 2 # 0 = flat, 1 = inset, 2 = shadow |
---|
93 | rgba = FALSE # FALSE = disabled, TRUE = enabled |
---|
94 | roundness = 2 # 0 = squared, 1 = old default, more will increase roundness |
---|
95 | scrollbarstyle = 2 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles |
---|
96 | sliderstyle = 1 # 0 = nothing added, 1 = handles |
---|
97 | stepperstyle = 0 # 0 = standard, 1 = integrated stepper handles, 2 = unknown |
---|
98 | #profile = NODOKA # engine profile options: CANDIDO, CLEARLOOKS, MIST, MURRINE, NODOKA |
---|
99 | toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient |
---|
100 | } |
---|
101 | } |
---|
102 | |
---|
103 | style "murrine-wide" |
---|
104 | { |
---|
105 | xthickness = 2 |
---|
106 | ythickness = 2 |
---|
107 | |
---|
108 | bg[SELECTED] = @selected_bg_color |
---|
109 | } |
---|
110 | |
---|
111 | style "murrine-wider" |
---|
112 | { |
---|
113 | xthickness = 3 |
---|
114 | ythickness = 3 |
---|
115 | |
---|
116 | bg[SELECTED] = @selected_bg_color |
---|
117 | } |
---|
118 | |
---|
119 | style "murrine-button" = "murrine-wider" |
---|
120 | { |
---|
121 | bg[NORMAL] = shade (0.95, @bg_color) |
---|
122 | bg[SELECTED] = mix(0.70, shade (1.00, @selected_bg_color), @tooltip_bg_color) |
---|
123 | bg[INSENSITIVE] = shade (0.98, @bg_color) |
---|
124 | } |
---|
125 | |
---|
126 | style "murrine-notebook" |
---|
127 | { |
---|
128 | bg[NORMAL] = shade (1.00, @bg_color) |
---|
129 | bg[ACTIVE] = shade (0.89, @bg_color) |
---|
130 | bg[SELECTED] = @selected_bg_color |
---|
131 | |
---|
132 | engine "murrine" |
---|
133 | { |
---|
134 | } |
---|
135 | } |
---|
136 | |
---|
137 | style "murrine-tasklist" = "murrine-wide" |
---|
138 | { |
---|
139 | } |
---|
140 | |
---|
141 | style "murrine-menu" = "murrine-wider" |
---|
142 | { |
---|
143 | bg[NORMAL] = shade (1.04, @bg_color) |
---|
144 | } |
---|
145 | |
---|
146 | style "murrine-menubar" |
---|
147 | { |
---|
148 | } |
---|
149 | |
---|
150 | style "murrine-menu-item" = "murrine-wider" |
---|
151 | { |
---|
152 | bg[PRELIGHT] = mix(0.70, shade (1.0, @selected_bg_color), @tooltip_bg_color) |
---|
153 | bg[SELECTED] = mix(0.70, shade (1.0, @selected_bg_color), @tooltip_bg_color) |
---|
154 | fg[PRELIGHT] = @selected_fg_color |
---|
155 | } |
---|
156 | |
---|
157 | style "murrine-separator-menu-item" |
---|
158 | { |
---|
159 | } |
---|
160 | |
---|
161 | style "murrine-treeview" |
---|
162 | { |
---|
163 | bg[SELECTED] = @selected_bg_color |
---|
164 | fg[SELECTED] = @base_color |
---|
165 | } |
---|
166 | |
---|
167 | style "murrine-treeview-header" = "murrine-default" |
---|
168 | { |
---|
169 | bg[NORMAL] = shade (0.95, @bg_color) |
---|
170 | bg[SELECTED] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
171 | bg[INSENSITIVE] = shade (0.95, @bg_color) |
---|
172 | } |
---|
173 | |
---|
174 | style "murrine-frame-title" |
---|
175 | { |
---|
176 | fg[NORMAL] = lighter (@fg_color) |
---|
177 | } |
---|
178 | |
---|
179 | style "murrine-tooltips" = "murrine-wider" |
---|
180 | { |
---|
181 | bg[NORMAL] = @tooltip_bg_color |
---|
182 | fg[NORMAL] = @tooltip_fg_color |
---|
183 | } |
---|
184 | |
---|
185 | style "murrine-progressbar" |
---|
186 | { |
---|
187 | xthickness = 0 |
---|
188 | ythickness = 0 |
---|
189 | |
---|
190 | bg[SELECTED] = @selected_bg_color |
---|
191 | fg[PRELIGHT] = @base_color |
---|
192 | |
---|
193 | engine "murrine" |
---|
194 | { |
---|
195 | highlight_ratio = 1.1 |
---|
196 | } |
---|
197 | } |
---|
198 | |
---|
199 | style "murrine-statusbar" |
---|
200 | { |
---|
201 | } |
---|
202 | |
---|
203 | style "murrine-comboboxentry" |
---|
204 | { |
---|
205 | } |
---|
206 | |
---|
207 | style "murrine-spinbutton" |
---|
208 | { |
---|
209 | #bg[NORMAL] = shade (0.95, @bg_color) # we need to fix rectangular border bug on spinbutton |
---|
210 | bg[INSENSITIVE] = shade (0.99, @bg_color) |
---|
211 | |
---|
212 | engine "murrine" |
---|
213 | { |
---|
214 | gradient_shades = {1.02,1.00,0.99,0.95} |
---|
215 | } |
---|
216 | } |
---|
217 | |
---|
218 | style "murrine-scale" |
---|
219 | { |
---|
220 | GtkRange ::slider-width = 13 |
---|
221 | |
---|
222 | bg[NORMAL] = shade (0.95, @bg_color) |
---|
223 | bg[INSENSITIVE] = shade (0.99, @bg_color) |
---|
224 | |
---|
225 | engine "murrine" |
---|
226 | { |
---|
227 | } |
---|
228 | } |
---|
229 | |
---|
230 | style "murrine-hscale" |
---|
231 | { |
---|
232 | } |
---|
233 | |
---|
234 | style "murrine-vscale" |
---|
235 | { |
---|
236 | } |
---|
237 | |
---|
238 | style "murrine-scrollbar" |
---|
239 | { |
---|
240 | bg[NORMAL] = shade (0.95, @bg_color) |
---|
241 | bg[INSENSITIVE] = shade (0.99, @bg_color) |
---|
242 | |
---|
243 | engine "murrine" |
---|
244 | { |
---|
245 | } |
---|
246 | } |
---|
247 | |
---|
248 | style "murrine-hscrollbar" |
---|
249 | { |
---|
250 | } |
---|
251 | |
---|
252 | style "murrine-vscrollbar" |
---|
253 | { |
---|
254 | } |
---|
255 | |
---|
256 | style "murrine-nautilus-location" |
---|
257 | { |
---|
258 | bg[NORMAL] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
259 | } |
---|
260 | |
---|
261 | style "metacity-frame" |
---|
262 | { |
---|
263 | bg[SELECTED] = mix (0.25, @tooltip_fg_color, @selected_bg_color) |
---|
264 | } |
---|
265 | |
---|
266 | style "murrine-radiocheck" = "murrine-default" |
---|
267 | { |
---|
268 | text[PRELIGHT] = @base_color # text on mouseover |
---|
269 | } |
---|
270 | |
---|
271 | style "murrine-panel" |
---|
272 | { |
---|
273 | bg[SELECTED] = mix(0.70, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
274 | } |
---|
275 | |
---|
276 | ######################################### |
---|
277 | # Matches |
---|
278 | ######################################### |
---|
279 | |
---|
280 | # Theme radio buttons and checkmarks |
---|
281 | class "GtkRadio*" style "murrine-radiocheck" |
---|
282 | class "GtkCheck*" style "murrine-radiocheck" |
---|
283 | |
---|
284 | # Keep proper colour for Metacity |
---|
285 | class "MetaFrames" style "metacity-frame" |
---|
286 | #class "GtkWindow" style "metacity-frame" |
---|
287 | |
---|
288 | # Theme default style is applied to every widget |
---|
289 | class "GtkWidget" style "murrine-default" |
---|
290 | |
---|
291 | # Increase the x/ythickness in some widgets |
---|
292 | class "GtkToolbar" style "murrine-default" |
---|
293 | class "GtkRange" style "murrine-wide" |
---|
294 | class "GtkFrame" style "murrine-wide" |
---|
295 | class "GtkSeparator" style "murrine-wide" |
---|
296 | class "GtkEntry" style "murrine-wider" |
---|
297 | |
---|
298 | class "GtkSpinButton" style "murrine-spinbutton" |
---|
299 | class "GtkScale" style "murrine-scale" |
---|
300 | class "GtkVScale" style "murrine-vscale" |
---|
301 | class "GtkHScale" style "murrine-hscale" |
---|
302 | class "GtkScrollbar" style "murrine-scrollbar" |
---|
303 | class "GtkVScrollbar" style "murrine-vscrollbar" |
---|
304 | class "GtkHScrollbar" style "murrine-hscrollbar" |
---|
305 | |
---|
306 | # General matching following, the order is choosen so that the right styles override each other |
---|
307 | # eg. progressbar needs to be more important then the menu match. |
---|
308 | |
---|
309 | # This is not perfect, it could be done better |
---|
310 | # (That is modify *every* widget in the notebook, and change those back that |
---|
311 | # we really don't want changed) |
---|
312 | widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook" |
---|
313 | widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook" |
---|
314 | widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook" |
---|
315 | |
---|
316 | widget_class "*<GtkButton>" style "murrine-button" |
---|
317 | widget_class "*<GtkNotebook>" style "murrine-notebook" |
---|
318 | widget_class "*<GtkStatusbar>*" style "murrine-statusbar" |
---|
319 | |
---|
320 | widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry" |
---|
321 | widget_class "*<GtkCombo>*" style "murrine-comboboxentry" |
---|
322 | |
---|
323 | widget_class "*<GtkMenuBar>*" style "murrine-menubar" |
---|
324 | widget_class "*<GtkMenu>*" style "murrine-menu" |
---|
325 | widget_class "*<GtkMenuItem>*" style "murrine-menu-item" |
---|
326 | widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item" |
---|
327 | |
---|
328 | widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title" |
---|
329 | widget_class "*.<GtkTreeView>*" style "murrine-treeview" |
---|
330 | |
---|
331 | widget_class "*<GtkProgressBar>" style "murrine-progressbar" |
---|
332 | |
---|
333 | # Treeview header |
---|
334 | widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header" |
---|
335 | widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header" |
---|
336 | widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header" |
---|
337 | widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header" |
---|
338 | |
---|
339 | # Workarounds for Evolution |
---|
340 | widget_class "*.ETable.ECanvas" style "murrine-treeview-header" |
---|
341 | widget_class "*.ETree.ECanvas" style "murrine-treeview-header" |
---|
342 | |
---|
343 | # The window of the tooltip is called "gtk-tooltip" |
---|
344 | ################################ |
---|
345 | # FIXME: |
---|
346 | # This will not work if one embeds eg. a button into the tooltip. |
---|
347 | # As far as I can tell right now we will need to rework the theme |
---|
348 | # quite a bit to get this working correctly. |
---|
349 | # (It will involve setting different priorities, etc.) |
---|
350 | ################################ |
---|
351 | widget "gtk-tooltip*" style "murrine-tooltips" |
---|
352 | |
---|
353 | ################################################### |
---|
354 | # Special cases and work arounds |
---|
355 | ################################################### |
---|
356 | |
---|
357 | # Special case the nautilus-extra-view-widget |
---|
358 | # ToDo: A more generic approach for all applications that have a widget like this. |
---|
359 | widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location" |
---|
360 | |
---|
361 | # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 |
---|
362 | # Note that the work around assumes that the combobox is _not_ in |
---|
363 | # appears-as-list mode. |
---|
364 | # Similar hack also in the menuitem style. |
---|
365 | # This style does not affect GtkComboBoxEntry, it does have an effect |
---|
366 | # on comboboxes in appears-as-list mode though. |
---|
367 | style "murrine-combobox-text-color-workaround" |
---|
368 | { |
---|
369 | text[NORMAL] = @fg_color |
---|
370 | text[PRELIGHT] = @fg_color |
---|
371 | text[ACTIVE] = @fg_color |
---|
372 | text[SELECTED] = @selected_fg_color |
---|
373 | text[INSENSITIVE] = shade (0.7, @bg_color) |
---|
374 | } |
---|
375 | widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-combobox-text-color-workaround" |
---|
376 | |
---|
377 | style "murrine-menuitem-text-is-fg-color-workaround" |
---|
378 | { |
---|
379 | text[NORMAL] = @fg_color |
---|
380 | text[PRELIGHT] = @selected_fg_color |
---|
381 | text[ACTIVE] = @fg_color |
---|
382 | text[SELECTED] = @selected_fg_color |
---|
383 | text[INSENSITIVE] = shade (0.7, @bg_color) |
---|
384 | } |
---|
385 | |
---|
386 | widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround" |
---|
387 | |
---|
388 | # Work around the usage of GtkLabel inside GtkListItems to display text. |
---|
389 | # This breaks because the label is shown on a background that is based on the |
---|
390 | # base color set. |
---|
391 | style "murrine-fg-is-text-color-workaround" |
---|
392 | { |
---|
393 | bg[SELECTED] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color) |
---|
394 | fg[NORMAL] = @text_color |
---|
395 | fg[PRELIGHT] = @text_color |
---|
396 | fg[ACTIVE] = @selected_fg_color |
---|
397 | fg[SELECTED] = @selected_fg_color |
---|
398 | fg[INSENSITIVE] = shade (0.7, @bg_color) |
---|
399 | } |
---|
400 | |
---|
401 | widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround" |
---|
402 | |
---|
403 | # The same problem also exists for GtkCList and GtkCTree |
---|
404 | # Only match GtkCList and not the parent widgets, because that would also change the headers. |
---|
405 | widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround" |
---|
406 | |
---|
407 | style "murrine-evo-new-button-workaround" |
---|
408 | { |
---|
409 | |
---|
410 | engine "murrine" |
---|
411 | { |
---|
412 | toolbarstyle = 0 |
---|
413 | } |
---|
414 | } |
---|
415 | |
---|
416 | widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" |
---|
417 | |
---|
418 | # Theme panel elements |
---|
419 | widget "*PanelWidget*" style "murrine-panel" |
---|
420 | widget "*PanelApplet*" style "murrine-panel" |
---|
421 | widget "*fast-user-switch*" style "murrine-panel" # workaround for Fast User Switch applet |
---|
422 | class "PanelApp*" style "murrine-panel" |
---|
423 | class "PanelToplevel*" style "murrine-panel" |
---|
424 | widget_class "*Mail*" style "murrine-panel" |
---|
425 | widget_class "*notif*" style "murrine-panel" |
---|
426 | widget_class "*Notif*" style "murrine-panel" |
---|