~ubuntu-branches/ubuntu/karmic/gnome-themes/karmic

« back to all changes in this revision

Viewing changes to gtk-themes/Inverted/gtkrc

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-09-01 16:53:26 UTC
  • mfrom: (1.1.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20080901165326-6yclxave6l7rh3qi
Tags: 2.23.91-0ubuntu1
* New upstream release (LP: #263799)
* debian/control.in:
  - Bump Dep on gtk2-engines to 2.15.3
* debian/gtk-engines-2.pc:
  - Update for 2.15.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
gtk_color_scheme = "fg_color:#000\nbg_color:#ede9e3\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#716968\nselected_fg_color:#fff"
3
 
 
4
 
style "clearlooks-default"
5
 
{
6
 
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
7
 
  GtkRange       ::trough_border     = 0
8
 
  GtkPaned       ::handle_size       = 6
9
 
  GtkRange       ::slider_width      = 15
10
 
  GtkRange       ::stepper_size      = 15
11
 
 
12
 
  GtkScrollbar   ::min_slider_length = 30
13
 
  GtkCheckButton ::indicator_size    = 14
14
 
  GtkMenuBar     ::internal-padding  = 0
15
 
  GtkTreeView    ::expander_size     = 14
16
 
  GtkExpander    ::expander_size     = 16
17
 
  GtkScale       ::slider-length     = 27
18
 
#  GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
19
 
#  GtkMenuBar     ::shadow-type       = GTK_SHADOW_OUT
20
 
#  GtkScrollbar   ::has-secondary-forward-stepper = 1
21
 
#  GtkScrollbar   ::has-secondary-backward-stepper = 1
22
 
 
23
 
  GtkButton      ::child-displacement-x = 1
24
 
  GtkButton      ::child-displacement-y = 1
25
 
 
26
 
  WnckTasklist   ::fade-overlay-rect = 0
27
 
 
28
 
  GtkMenu::vertical_padding = 0
29
 
  GtkMenu::horizontal_padding = 0
30
 
  xthickness = 1
31
 
  ythickness = 1
32
 
 
33
 
 
34
 
  fg[NORMAL]        = @fg_color #"#000000" # black
35
 
  fg[PRELIGHT]      = @fg_color #"#000000" # black
36
 
  fg[SELECTED]      = @selected_fg_color #"#ffffff" # white 
37
 
  fg[ACTIVE]        = @fg_color #"#000000" # black
38
 
  fg[INSENSITIVE]   = darker (@bg_color) #"#b5b3ac" # dark beige
39
 
 
40
 
  bg[NORMAL]        = @bg_color # "#ede9e3"
41
 
  bg[PRELIGHT]      = shade (1.02, @bg_color) #"#f9f7f3" # very light beige
42
 
  bg[SELECTED]      = @selected_bg_color # "#5598d7" # deepsky
43
 
  bg[INSENSITIVE]   = @bg_color # "#efebe5" # beige
44
 
  bg[ACTIVE]        = shade (0.9, @bg_color) #"#dcd4c9" #"#d7d3ca" # dark beige
45
 
 
46
 
  base[NORMAL]      = @base_color # "#ffffff" # white 
47
 
  base[PRELIGHT]    = shade (0.95, @bg_color) # "#5f8ec4" # dark beige
48
 
  base[ACTIVE]      = shade (0.9, @selected_bg_color) # "#a69f91" # darker deepsky
49
 
  base[SELECTED]    = @selected_bg_color # "#5598d7" # deepsky
50
 
  base[INSENSITIVE] = @bg_color # "#e8e5de" # beige
51
 
 
52
 
  text[NORMAL]      = @text_color # "#000000" # black
53
 
  text[PRELIGHT]    = @text_color # "#000000" # black
54
 
  text[ACTIVE]      = @selected_fg_color # "#ffffff" # white
55
 
  text[SELECTED]    = @selected_fg_color # "#ffffff" # white
56
 
  text[INSENSITIVE] = darker (@bg_color) # "#b5b3ac" # dark beige
57
 
 
58
 
  engine "clearlooks" 
59
 
  {
60
 
    #scrollbar_color   = "#76acde"
61
 
    colorize_scrollbar = FALSE
62
 
    menubarstyle      = 2       # 0 = flat, 1 = sunken, 2 = flat gradient
63
 
    animation         = FALSE
64
 
    style             = INVERTED
65
 
    radius            = 2.5
66
 
  }
67
 
}
68
 
 
69
 
 
70
 
style "clearlooks-wide" = "clearlooks-default"
71
 
{
72
 
  xthickness = 2
73
 
  ythickness = 2
74
 
}
75
 
 
76
 
style "clearlooks-wider" = "clearlooks-default"
77
 
{
78
 
  xthickness = 3
79
 
  ythickness = 3
80
 
}
81
 
 
82
 
style "clearlooks-button" = "clearlooks-wider"
83
 
{
84
 
  bg[NORMAL]        = shade (1.05, @bg_color) # "#f6f4f1"
85
 
  bg[INSENSITIVE]   = shade (1.04, @bg_color) # "#f2efeb"
86
 
  bg[PRELIGHT]      = shade (1.08, @bg_color) # "#faf9f8"
87
 
}
88
 
 
89
 
style "clearlooks-notebook" = "clearlooks-wide"
90
 
{
91
 
#  bg[NORMAL]      = "#efebe5"
92
 
#  bg[INSENSITIVE] = "#efebe5"
93
 
}
94
 
 
95
 
style "clearlooks-tasklist" = "clearlooks-default"
96
 
{
97
 
  xthickness = 5
98
 
  ythickness = 3
99
 
}
100
 
 
101
 
style "clearlooks-menu" = "clearlooks-default"
102
 
{
103
 
  xthickness = 2
104
 
  ythickness = 2
105
 
  bg[NORMAL] = shade (1.08, @bg_color) # "#f9f7f3"
106
 
}
107
 
 
108
 
style "clearlooks-menubar-item" = "clearlooks-button"
109
 
{
110
 
#    fg[PRELIGHT] = "#000000"
111
 
}
112
 
 
113
 
style "clearlooks-menu-item" = "clearlooks-default"
114
 
{
115
 
  xthickness = 2
116
 
  ythickness = 3
117
 
  fg[PRELIGHT] = @selected_fg_color
118
 
}
119
 
 
120
 
style "clearlooks-tree" = "clearlooks-default"
121
 
{
122
 
  xthickness = 2
123
 
  ythickness = 2
124
 
}
125
 
 
126
 
style "clearlooks-frame-title" = "clearlooks-default"
127
 
{
128
 
  fg[NORMAL] = lighter (@fg_color) # "#404040"
129
 
}
130
 
 
131
 
style "clearlooks-progressbar" = "clearlooks-wide"
132
 
{
133
 
  xthickness = 1
134
 
  ythickness = 1
135
 
  fg[PRELIGHT]  = @selected_fg_color
136
 
 
137
 
  engine "clearlooks"
138
 
  {
139
 
    radius = 1.5
140
 
  }
141
 
}
142
 
 
143
 
style "clearlooks-combo" = "clearlooks-button"
144
 
{
145
 
}
146
 
 
147
 
style "clearlooks-menubar" = "blackrock-default"
148
 
{
149
 
#  bg[NORMAL]   = "#bacedb"
150
 
}
151
 
 
152
 
style "clearlooks-scale" = "clearooks-button"
153
 
{
154
 
        GtkRange::trough-side-details = 1
155
 
}       
156
 
 
157
 
style "nautilus-location" {
158
 
  bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
159
 
}
160
 
widget "*.nautilus-extra-view-widget" style:highest "nautilus-location"
161
 
 
162
 
# widget styles
163
 
class "GtkWidget"    style "clearlooks-default"
164
 
class "GtkButton"    style "clearlooks-button"
165
 
class "GtkScale"     style "clearlooks-scale"
166
 
class "GtkCombo"     style "clearlooks-button"
167
 
class "GtkRange"     style "clearlooks-wide"
168
 
class "GtkFrame"     style "clearlooks-wide"
169
 
class "GtkSeparator" style "clearlooks-wide"
170
 
class "GtkMenu"      style "clearlooks-menu"
171
 
class "GtkEntry"     style "clearlooks-wider"
172
 
class "GtkMenuItem"    style "clearlooks-menu-item"
173
 
class "GtkNotebook"    style "clearlooks-notebook"
174
 
#class "GtkMenuBar" style "clearlooks-menubar"
175
 
 
176
 
widget_class "*MenuItem.*" style "clearlooks-menu-item"
177
 
#widget_class "*.GtkMenuBar.*MenuItem.*" style "clearlooks-menubar-item"
178
 
 
179
 
# combobox stuff
180
 
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
181
 
widget_class "*.GtkCombo.GtkButton"    style "clearlooks-combo"
182
 
# For appears-as-list mode, there is not a real entry, but a GtkFrame
183
 
widget_class "*.GtkComboBox.GtkFrame"  style "clearlooks-wider"
184
 
 
185
 
# treeview stuff
186
 
widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree"
187
 
widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree"
188
 
widget_class "*.GtkList.GtkButton" style "clearlooks-tree"
189
 
widget_class "*.GtkCList.GtkButton" style "clearlooks-tree"
190
 
widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title"
191
 
 
192
 
class "GtkProgressBar" style "clearlooks-progressbar"
193
 
 
 
2
# Please keep this gtkrc in sync with the other ones from Clearlooks based themes.
 
3
 
 
4
gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#716968\nselected_fg_color:#ffffff\ntext_color:#000000\nbg_color:#ede9e3\ntooltip_bg_color:#FFFFBF"
 
5
 
 
6
style "default" {
 
7
        xthickness = 1
 
8
        ythickness = 1
 
9
 
 
10
        #######################
 
11
        # Style Properties
 
12
        #######################
 
13
        GtkButton::child-displacement-x = 1
 
14
        GtkButton::child-displacement-y = 1
 
15
        GtkButton::default-border = { 0, 0, 0, 0 }
 
16
 
 
17
        GtkCheckButton::indicator-size = 14
 
18
 
 
19
        GtkPaned::handle-size = 6
 
20
 
 
21
        GtkRange::trough-border = 0
 
22
        GtkRange::slider-width = 15
 
23
        GtkRange::stepper-size = 15
 
24
 
 
25
        GtkScale::slider-length = 27
 
26
        GtkScale::trough-side-details = 1
 
27
 
 
28
        GtkScrollbar::min-slider-length = 30
 
29
        GtkMenuBar::internal-padding = 0
 
30
        GtkExpander::expander-size = 16
 
31
        GtkTreeView::expander-size = 14
 
32
        GtkTreeView::vertical-separator = 0
 
33
 
 
34
        GtkMenu::horizontal-padding = 0
 
35
        GtkMenu::vertical-padding = 0
 
36
 
 
37
        WnckTasklist::fade-overlay-rect = 0
 
38
        # The following line hints to gecko (and possibly other appliations)
 
39
        # that the entry should be drawn transparently on the canvas.
 
40
        # Without this, gecko will fill in the background of the entry.
 
41
        GtkEntry::honors-transparent-bg-hint = 1
 
42
 
 
43
        ####################
 
44
        # Color Definitions
 
45
        ####################
 
46
        bg[NORMAL]        = @bg_color
 
47
        bg[PRELIGHT]      = shade (1.02, @bg_color)
 
48
        bg[SELECTED]      = @selected_bg_color
 
49
        bg[INSENSITIVE]   = @bg_color
 
50
        bg[ACTIVE]        = shade (0.9, @bg_color)
 
51
 
 
52
        fg[NORMAL]        = @fg_color
 
53
        fg[PRELIGHT]      = @fg_color
 
54
        fg[SELECTED]      = @selected_fg_color
 
55
        fg[INSENSITIVE]   = darker (@bg_color)
 
56
        fg[ACTIVE]        = @fg_color
 
57
 
 
58
        text[NORMAL]      = @text_color
 
59
        text[PRELIGHT]    = @text_color
 
60
        text[SELECTED]    = @selected_fg_color
 
61
        text[INSENSITIVE] = darker (@bg_color)
 
62
        text[ACTIVE]      = @selected_fg_color
 
63
 
 
64
        base[NORMAL]      = @base_color
 
65
        base[PRELIGHT]    = shade (0.95, @bg_color)
 
66
        base[SELECTED]    = @selected_bg_color
 
67
        base[INSENSITIVE] = @bg_color
 
68
        base[ACTIVE]      = shade (0.9, @selected_bg_color)
 
69
 
 
70
        engine "clearlooks" {
 
71
                colorize_scrollbar = FALSE
 
72
                reliefstyle = 1
 
73
                menubarstyle = 2
 
74
                toolbarstyle = 1
 
75
                animation = FALSE
 
76
                radius = 2.5
 
77
                style = INVERTED
 
78
 
 
79
                # Set a hint to disable backward compatibility fallbacks.
 
80
                hint = "use-hints"
 
81
        }
 
82
}
 
83
 
 
84
style "wide" {
 
85
        xthickness = 2
 
86
        ythickness = 2
 
87
}
 
88
 
 
89
style "wider" {
 
90
        xthickness = 3
 
91
        ythickness = 3
 
92
}
 
93
 
 
94
style "spinbutton" {
 
95
 
 
96
        engine "clearlooks" {
 
97
                hint = "spinbutton"
 
98
        }
 
99
}
 
100
 
 
101
style "scale" = "button" {
 
102
        xthickness = 2
 
103
        ythickness = 2
 
104
 
 
105
        engine "clearlooks" {
 
106
                hint = "scale"
 
107
        }
 
108
}
 
109
 
 
110
style "vscale" {
 
111
 
 
112
        engine "clearlooks" {
 
113
                hint = "vscale"
 
114
        }
 
115
}
 
116
 
 
117
style "hscale" {
 
118
 
 
119
        engine "clearlooks" {
 
120
                hint = "hscale"
 
121
        }
 
122
}
 
123
 
 
124
style "scrollbar" {
 
125
        xthickness = 2
 
126
        ythickness = 2
 
127
 
 
128
        engine "clearlooks" {
 
129
                hint = "scrollbar"
 
130
        }
 
131
}
 
132
 
 
133
style "hscrollbar" {
 
134
 
 
135
        engine "clearlooks" {
 
136
                hint = "hscrollbar"
 
137
        }
 
138
}
 
139
 
 
140
style "vscrollbar" {
 
141
 
 
142
        engine "clearlooks" {
 
143
                hint = "vscrollbar"
 
144
        }
 
145
}
 
146
 
 
147
style "notebook_bg" {
 
148
}
 
149
 
 
150
style "button" {
 
151
        xthickness = 3
 
152
        ythickness = 3
 
153
 
 
154
        bg[NORMAL]        = shade (1.05, @bg_color)
 
155
        bg[INSENSITIVE]   = shade (1.04, @bg_color)
 
156
        bg[PRELIGHT]      = shade (1.08, @bg_color)
 
157
}
 
158
 
 
159
style "notebook" {
 
160
        xthickness = 2
 
161
        ythickness = 2
 
162
}
 
163
 
 
164
style "statusbar" {
 
165
 
 
166
        engine "clearlooks" {
 
167
                hint = "statusbar"
 
168
        }
 
169
}
 
170
 
 
171
style "comboboxentry" {
 
172
 
 
173
        engine "clearlooks" {
 
174
                # Note:
 
175
                # If you set the appears-as-list option on comboboxes in the theme,
 
176
                # then you should set this hint on the combobox instead.
 
177
                hint = "comboboxentry"
 
178
        }
 
179
}
 
180
 
 
181
style "menubar" {
 
182
 
 
183
        engine "clearlooks" {
 
184
                hint = "menubar"
 
185
        }
 
186
}
 
187
 
 
188
style "menu" {
 
189
        xthickness = 2
 
190
        ythickness = 2
 
191
 
 
192
        bg[NORMAL]        = shade (1.08, @bg_color)
 
193
}
 
194
 
 
195
style "menu_item" {
 
196
        xthickness = 2
 
197
        ythickness = 3
 
198
 
 
199
        fg[PRELIGHT]      = @selected_fg_color
 
200
}
 
201
 
 
202
style "frame_title" {
 
203
 
 
204
        fg[NORMAL]        = lighter (@fg_color)
 
205
}
 
206
 
 
207
style "treeview" {
 
208
        xthickness = 2
 
209
        ythickness = 2
 
210
 
 
211
        engine "clearlooks" {
 
212
                hint = "treeview"
 
213
        }
 
214
}
 
215
 
 
216
style "progressbar" {
 
217
        xthickness = 1
 
218
        ythickness = 1
 
219
 
 
220
        fg[PRELIGHT]      = @selected_fg_color
 
221
 
 
222
        engine "clearlooks" {
 
223
                radius = 1.5
 
224
 
 
225
                hint = "progressbar"
 
226
        }
 
227
}
 
228
 
 
229
# This style is based on the default style, so that the colors from the button
 
230
# style are overriden again.
 
231
style "treeview_header" = "default" {
 
232
        xthickness = 2
 
233
        ythickness = 1
 
234
 
 
235
        engine "clearlooks" {
 
236
                hint = "treeview-header"
 
237
        }
 
238
}
 
239
 
 
240
style "tooltips" {
 
241
        xthickness = 4
 
242
        ythickness = 4
 
243
 
 
244
        bg[NORMAL]        = @tooltip_bg_color
 
245
        fg[NORMAL]        = @tooltip_fg_color
 
246
}
 
247
 
 
248
style "nautilus_location" {
 
249
 
 
250
        bg[NORMAL]        = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
 
251
}
 
252
 
 
253
# Wrokaroudn style for places where the text color is used instead of the fg color.
 
254
style "text_is_fg_color_workaround" {
 
255
 
 
256
        text[NORMAL]      = @fg_color
 
257
        text[PRELIGHT]    = @fg_color
 
258
        text[SELECTED]    = @selected_fg_color
 
259
        text[ACTIVE]      = @fg_color
 
260
        text[INSENSITIVE] = darker (@bg_color)
 
261
}
 
262
 
 
263
# Workaround style for menus where the text color is used instead of the fg color.
 
264
style "menuitem_text_is_fg_color_workaround" {
 
265
 
 
266
        text[NORMAL]      = @fg_color
 
267
        text[PRELIGHT]    = @selected_fg_color
 
268
        text[SELECTED]    = @selected_fg_color
 
269
        text[ACTIVE]      = @fg_color
 
270
        text[INSENSITIVE] = darker (@bg_color)
 
271
}
 
272
 
 
273
# Workaround style for places where the fg color is used instead of the text color.
 
274
style "fg_is_text_color_workaround" {
 
275
 
 
276
        fg[NORMAL]        = @text_color
 
277
        fg[PRELIGHT]      = @text_color
 
278
        fg[SELECTED]      = @selected_fg_color
 
279
        fg[ACTIVE]        = @selected_fg_color
 
280
        fg[INSENSITIVE]   = darker (@bg_color)
 
281
}
 
282
 
 
283
# Style to set the toolbar to use a flat style. This is because the "New" button in
 
284
# Evolution is not drawn transparent. So if there is a gradient in the background it will
 
285
# look really wrong.
 
286
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
 
287
style "evo_new_button_workaround" {
 
288
 
 
289
        engine "clearlooks" {
 
290
                toolbarstyle = 0
 
291
        }
 
292
}
 
293
 
 
294
 
 
295
###############################################################################
 
296
# The following part of the gtkrc applies the different styles to the widgets.
 
297
###############################################################################
 
298
 
 
299
# The default style is applied to every widget
 
300
class "GtkWidget" style "default"
 
301
 
 
302
class "GtkSeparator" style "wide"
 
303
class "GtkFrame" style "wide"
 
304
class "GtkCalendar" style "wide"
 
305
class "GtkEntry" style "wider"
 
306
 
 
307
class "GtkSpinButton" style "spinbutton"
 
308
class "GtkScale" style "scale"
 
309
class "GtkVScale" style "vscale"
 
310
class "GtkHScale" style "hscale"
 
311
class "GtkScrollbar" style "scrollbar"
 
312
class "GtkHScrollbar" style "hscrollbar"
 
313
class "GtkVScrollbar" style "vscrollbar"
 
314
 
 
315
# General matching follows. The order is choosen so that the right styles override
 
316
# each other. EG. progressbar needs to be more important than the menu match.
 
317
widget_class "*<GtkNotebook>" style "notebook_bg"
 
318
# This is not perfect, it could be done better.
 
319
# (That is modify *every* widget in the notebook, and change those back that
 
320
# we really don't want changed)
 
321
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
 
322
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
 
323
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
 
324
 
 
325
widget_class "*<GtkButton>" style "button"
 
326
widget_class "*<GtkNotebook>" style "notebook"
 
327
widget_class "*<GtkStatusbar>*" style "statusbar"
 
328
 
 
329
widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
 
330
widget_class "*<GtkCombo>*" style "comboboxentry"
 
331
 
 
332
widget_class "*<GtkMenuBar>*" style "menubar"
 
333
widget_class "*<GtkMenu>*" style "menu"
 
334
widget_class "*<GtkMenuItem>*" style "menu_item"
 
335
 
 
336
widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
 
337
widget_class "*.<GtkTreeView>*" style "treeview"
 
338
 
 
339
widget_class "*<GtkProgress>" style "progressbar"
 
340
 
 
341
# Treeview headers (and similar stock GTK+ widgets)
 
342
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
 
343
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
 
344
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
 
345
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
 
346
 
 
347
# The window of the tooltip is called "gtk-tooltip"
 
348
##################################################################
 
349
# FIXME:
 
350
# This will not work if one embeds eg. a button into the tooltip.
 
351
# As far as I can tell right now we will need to rework the theme
 
352
# quite a bit to get this working correctly.
 
353
# (It will involve setting different priorities, etc.)
 
354
##################################################################
 
355
widget "gtk-tooltip*" style "tooltips"
 
356
 
 
357
##########################################################################
 
358
# Following are special cases and workarounds for issues in applications.
 
359
##########################################################################
 
360
 
 
361
# Workaround for the evolution ETable (bug #527532)
 
362
widget_class "*.ETable.ECanvas" style "treeview_header"
 
363
# Workaround for the evolution ETree
 
364
widget_class "*.ETree.ECanvas" style "treeview_header"
 
365
 
 
366
# Special case the nautilus-extra-view-widget
 
367
# ToDo: A more generic approach for all applications that have a widget like this.
 
368
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
194
369
 
195
370
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
196
 
# Note that the work around assumes that the combobox is _not_ in
197
 
# appears-as-list mode.
198
 
# This style does not affect GtkComboBoxEntry, it does have an effect
199
 
# on comboboxes in appears-as-list mode though.
200
 
style "clearlooks-text-is-fg-color-workaround"
201
 
{
202
 
        text[NORMAL]        = @fg_color
203
 
        text[PRELIGHT]      = @fg_color
204
 
        text[SELECTED]      = @selected_fg_color
205
 
        text[ACTIVE]        = @fg_color
206
 
        text[INSENSITIVE]   = darker (@bg_color)
207
 
}
208
 
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "clearlooks-text-is-fg-color-workaround"
209
 
 
210
 
style "clearlooks-menuitem-text-is-fg-color-workaround"
211
 
{
212
 
        text[NORMAL]        = @fg_color
213
 
        text[PRELIGHT]      = @selected_fg_color
214
 
        text[SELECTED]      = @selected_fg_color
215
 
        text[ACTIVE]        = @fg_color
216
 
        text[INSENSITIVE]   = darker (@bg_color)
217
 
}
218
 
widget "*.gtk-combobox-popup-menu.*"   style "clearlooks-menuitem-text-is-fg-color-workaround"
 
371
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
 
372
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
 
373
# This is the part of the workaround that fixes the menus
 
374
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
219
375
 
220
376
# Work around the usage of GtkLabel inside GtkListItems to display text.
221
 
# This breaks because the label is shown on a background that is based on the
222
 
# base color set.
223
 
style "clearlooks-fg-is-text-color-workaround"
224
 
{
225
 
        fg[NORMAL]      = @text_color
226
 
        fg[PRELIGHT]    = @text_color
227
 
        fg[ACTIVE]      = @selected_fg_color
228
 
        fg[SELECTED]    = @selected_fg_color
229
 
        fg[INSENSITIVE] = darker (@bg_color)
230
 
}
231
 
widget_class "*<GtkListItem>*" style "clearlooks-fg-is-text-color-workaround"
232
 
# The same problem also exists for GtkCList and GtkCTree
233
 
# Only match GtkCList and not the parent widgets, because that would also change the headers.
234
 
widget_class "*<GtkCList>" style "clearlooks-fg-is-text-color-workaround"
235
 
 
236
 
 
 
377
# This breaks because the label is shown on a background that is based on the base color.
 
378
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
 
379
# GtkCList also uses the fg color to draw text on top of the base colors.
 
380
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
 
381
# Nautilus when renaming files, and maybe other places.
 
382
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
 
383
 
 
384
# See the documentation of the style.
 
385
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"