source: trunk/puppet/modules/puppet-login_themes/files/ldm-carpani-cta/greeter-gtkrc @ 704

Last change on this file since 704 was 430, checked in by sebas, 12 years ago

nueva posicion del logo de ubuntu y gnu/linux tux + colores del texto y del background de los botones fue cambiado

File size: 13.2 KB
Line 
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
9gtk_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
11gtk-icon-sizes = "panel-menu=24,24"
12
13style "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
103style "murrine-wide"
104{
105        xthickness   = 2
106        ythickness   = 2
107
108        bg[SELECTED] = @selected_bg_color
109}
110
111style "murrine-wider"
112{
113        xthickness   = 3
114        ythickness   = 3
115
116        bg[SELECTED] = @selected_bg_color
117}
118
119style "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
126style "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
137style "murrine-tasklist" = "murrine-wide"
138{
139}
140
141style "murrine-menu" = "murrine-wider"
142{
143        bg[NORMAL] = shade (1.04, @bg_color)
144}
145
146style "murrine-menubar"
147{
148}
149
150style "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
157style "murrine-separator-menu-item"
158{
159}
160
161style "murrine-treeview"
162{
163        bg[SELECTED] = @selected_bg_color
164        fg[SELECTED] = @base_color
165}
166
167style "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
174style "murrine-frame-title"
175{
176        fg[NORMAL] = lighter (@fg_color)
177}
178
179style "murrine-tooltips" = "murrine-wider"
180{
181        bg[NORMAL] = @tooltip_bg_color
182        fg[NORMAL] = @tooltip_fg_color
183}
184
185style "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
199style "murrine-statusbar"
200{
201}
202
203style "murrine-comboboxentry"
204{
205}
206
207style "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
218style "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
230style "murrine-hscale"
231{
232}
233
234style "murrine-vscale"
235{
236}
237
238style "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
248style "murrine-hscrollbar"
249{
250}
251
252style "murrine-vscrollbar"
253{
254}
255
256style "murrine-nautilus-location"
257{
258        bg[NORMAL] = mix(0.50, shade (1.05, @selected_bg_color), @tooltip_bg_color)
259}
260
261style "metacity-frame"
262{
263        bg[SELECTED] = mix (0.25, @tooltip_fg_color, @selected_bg_color)
264}
265
266style "murrine-radiocheck" = "murrine-default"
267{
268        text[PRELIGHT] = @base_color # text on mouseover
269}
270
271style "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
281class "GtkRadio*"                                       style "murrine-radiocheck"
282class "GtkCheck*"                                       style "murrine-radiocheck"
283
284# Keep proper colour for Metacity
285class "MetaFrames"                                      style "metacity-frame"
286#class "GtkWindow"                                      style "metacity-frame"
287
288# Theme default style is applied to every widget
289class "GtkWidget"                                       style "murrine-default"
290
291# Increase the x/ythickness in some widgets
292class "GtkToolbar"                                      style "murrine-default"
293class "GtkRange"                                        style "murrine-wide"
294class "GtkFrame"                                        style "murrine-wide"
295class "GtkSeparator"                                    style "murrine-wide"
296class "GtkEntry"                                        style "murrine-wider"
297
298class "GtkSpinButton"                                   style "murrine-spinbutton"
299class "GtkScale"                                        style "murrine-scale"
300class "GtkVScale"                                       style "murrine-vscale"
301class "GtkHScale"                                       style "murrine-hscale"
302class "GtkScrollbar"                                    style "murrine-scrollbar"
303class "GtkVScrollbar"                                   style "murrine-vscrollbar"
304class "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)
312widget_class "*<GtkNotebook>*<GtkEventBox>"             style "murrine-notebook"
313widget_class "*<GtkNotebook>*<GtkDrawingArea>"          style "murrine-notebook"
314widget_class "*<GtkNotebook>*<GtkLayout>"               style "murrine-notebook"
315
316widget_class "*<GtkButton>"                             style "murrine-button"
317widget_class "*<GtkNotebook>"                           style "murrine-notebook"
318widget_class "*<GtkStatusbar>*"                         style "murrine-statusbar"
319
320widget_class "*<GtkComboBoxEntry>*"                     style "murrine-comboboxentry"
321widget_class "*<GtkCombo>*"                             style "murrine-comboboxentry"
322
323widget_class "*<GtkMenuBar>*"                           style "murrine-menubar"
324widget_class "*<GtkMenu>*"                              style "murrine-menu"
325widget_class "*<GtkMenuItem>*"                          style "murrine-menu-item"
326widget_class "*<GtkSeparatorMenuItem>*"                 style "murrine-separator-menu-item"
327
328widget_class "*.<GtkFrame>.<GtkLabel>"                  style "murrine-frame-title"
329widget_class "*.<GtkTreeView>*"                         style "murrine-treeview"
330
331widget_class "*<GtkProgressBar>"                        style "murrine-progressbar"
332
333# Treeview header
334widget_class "*.<GtkTreeView>.<GtkButton>"              style "murrine-treeview-header"
335widget_class "*.<GtkCTree>.<GtkButton>"                 style "murrine-treeview-header"
336widget_class "*.<GtkList>.<GtkButton>"                  style "murrine-treeview-header"
337widget_class "*.<GtkCList>.<GtkButton>"                 style "murrine-treeview-header"
338
339# Workarounds for Evolution
340widget_class "*.ETable.ECanvas"                         style "murrine-treeview-header"
341widget_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################################
351widget "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.
359widget "*.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.
367style "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}
375widget_class "*.<GtkComboBox>.<GtkCellView>"            style "murrine-combobox-text-color-workaround"
376
377style "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
386widget "*.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.
391style "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
401widget_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.
405widget_class "*<GtkCList>"                              style "murrine-fg-is-text-color-workaround"
406
407style "murrine-evo-new-button-workaround"
408{
409
410        engine "murrine"
411        {
412                toolbarstyle = 0
413        }
414}
415
416widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
417
418# Theme panel elements
419widget "*PanelWidget*"                                  style "murrine-panel"
420widget "*PanelApplet*"                                  style "murrine-panel"
421widget "*fast-user-switch*"                             style "murrine-panel" # workaround for Fast User Switch applet
422class "PanelApp*"                                       style "murrine-panel"
423class "PanelToplevel*"                                  style "murrine-panel"
424widget_class "*Mail*"                                   style "murrine-panel"
425widget_class "*notif*"                                  style "murrine-panel"
426widget_class "*Notif*"                                  style "murrine-panel"
Note: See TracBrowser for help on using the repository browser.