~ubuntu-branches/ubuntu/maverick/light-themes/maverick

« back to all changes in this revision

Viewing changes to Radiance/gtk-2.0/gtkrc

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2010-08-26 14:06:05 UTC
  • Revision ID: james.westby@ubuntu.com-20100826140605-758w4fbi4t369xyj
Tags: 0.1.7
* New version
  - Updated for maverick
  - Dropped the -maverick-beta themes and use the default names
* debian/source/format
  - Specify source format
* debian/control
  - Bump standards version to 3.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Radiance theme
2
 
#
3
 
# Authors:
4
 
# Kenneth Wimer <kwwii@ubuntu.com>
5
 
# James Schriver <jws141@gmail.com>
6
 
#
7
 
# Feel free to modify and share!
8
 
 
9
 
gtk_color_scheme = "fg_color:#404040\nbg_color:#fcfbfa\nbase_color:#ffffff\ntext_color:#3a3935\nselected_bg_color:#c6b9a6\nselected_fg_color:#323232\ntooltip_bg_color:#000\ntooltip_fg_color:#FFFFFF\nlink_color:#DD4814\nbutton_bg_color:#e6e6e6"
10
 
 
11
 
#d6d4ca
 
1
gtk-color-scheme = "base_color:#ffffff\nfg_color:#525252\ntooltip_fg_color:#ffffff\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F0\ntooltip_bg_color:#000000\nlink_color:#DD4814"
12
2
 
13
3
gtk-icon-sizes = "panel-menu=22,22:gtk-button=16,16"
14
4
 
15
 
gtk-auto-mnemonics = 1 
 
5
gtk-auto-mnemonics = 1
16
6
 
17
 
style "default"
18
 
{
 
7
style "default" {
19
8
        xthickness = 1
20
9
        ythickness = 1
21
10
 
23
12
        # Style Properties
24
13
        #######################
25
14
        GtkWidget::new-tooltip-style = 1
26
 
 
27
 
        GtkImage::x-ayatana-indicator-dynamic = 1
28
 
 
29
 
        GtkScrolledWindow ::scrollbar-spacing = 0
30
 
        GtkScrolledWindow ::scrollbar-within-bevel = 0
31
 
        
32
15
        GtkButton::child-displacement-x = 1
33
16
        GtkButton::child-displacement-y = 1
34
17
        GtkButton::default-border = { 0, 0, 0, 0 }
35
18
 
36
 
        GtkCheckButton::indicator-size = 14
 
19
        GtkCheckButton::indicator-size = 16
37
20
 
38
21
        GtkPaned::handle-size = 6
39
22
 
40
23
        GtkRange::trough-border = 0
41
 
        GtkRange::slider-width = 16
42
 
        GtkRange::stepper-size = 20
43
 
        GtkRange::trough-under-steppers = 0
 
24
        GtkRange::slider-width = 14
 
25
        GtkRange::stepper-size = 13
 
26
        GtkRange::trough-under-steppers = 1
44
27
 
45
 
        GtkScale::slider-length = 28
 
28
        GtkScale::trough-border = 0
 
29
        GtkScale::slider-width = 23
 
30
        GtkScale::slider-length = 14
46
31
        GtkScale::trough-side-details = 1
47
32
 
48
 
        GtkScrollbar::min-slider-length = 36
49
33
        GtkScrollbar::activate-slider = 1
 
34
        GtkScrollbar::trough-border = 0
 
35
        GtkScrollbar::slider-width = 13
 
36
        GtkScrollbar::min-slider-length = 31
 
37
 
50
38
        GtkMenuBar::internal-padding = 0
51
 
        GtkExpander::expander-size = 15
52
 
        GtkToolbar::internal-padding = 5
53
 
        GtkTreeView::expander-size = 15
54
 
        GtkTreeView::indent-expanders = 1
 
39
        GtkExpander::expander-size = 11
 
40
        GtkToolbar::internal-padding = 1
 
41
        GtkToolbar::shadow-type = GTK_SHADOW_NONE
 
42
        GtkTreeView::expander-size = 7
55
43
        GtkTreeView::vertical-separator = 0
56
 
        #GtkProgressBar ::min-vertical-bar-width = 14
57
 
        #GtkProgressBar ::min-horizontal-bar-width = 14
58
 
        #GtkProgressBar ::min-horizontal-bar-height = 14
59
 
        #GtkProgressBar ::min-vertical-bar-height = 12
 
44
        GtkNotebook::tab-overlap = -1
60
45
 
61
 
        GtkMenu::horizontal-padding = 1
62
 
        GtkMenu::vertical-padding = 1
 
46
        GtkMenu::horizontal-padding = 0
 
47
        GtkMenu::vertical-padding = 0
63
48
 
64
49
        WnckTasklist::fade-overlay-rect = 0
65
50
        # The following line hints to gecko (and possibly other appliations)
69
54
        GtkEntry::state-hint = 0
70
55
 
71
56
        GtkEntry::progress-border = { 2, 2, 2, 2 }
72
 
        GtkToolbar:: shadow-type = GTK_SHADOW_NONE
73
 
        GtkMenuBar:: shadow-type = GTK_SHADOW_NONE
 
57
 
 
58
        GtkProgressBar::min-horizontal-bar-height = 14
 
59
        GtkProgressBar::min-vertical-bar-width = 14
 
60
        
 
61
        GtkImage::x-ayatana-indicator-dynamic = 1
74
62
        GtkMenuBar::window-dragging = 1
75
63
 
76
64
        GtkWidget::link-color = @link_color
79
67
        ####################
80
68
        # Color Definitions
81
69
        ####################
 
70
        bg[NORMAL]        = @bg_color
 
71
        bg[PRELIGHT]      = shade (1.02, @bg_color)
 
72
        bg[SELECTED]      = @selected_bg_color
 
73
        bg[INSENSITIVE]   = shade (0.95, @bg_color)
 
74
        bg[ACTIVE]        = shade (0.9, @bg_color)
 
75
 
82
76
        fg[NORMAL]        = @fg_color
83
77
        fg[PRELIGHT]      = @fg_color
 
78
        fg[SELECTED]      = @selected_fg_color
 
79
        fg[INSENSITIVE]   = darker (@bg_color)
84
80
        fg[ACTIVE]        = @fg_color
85
 
        fg[SELECTED]      = @selected_fg_color
86
 
        fg[INSENSITIVE]   = darker (@bg_color)
87
 
        
88
 
        bg[NORMAL]        = @bg_color
89
 
        bg[PRELIGHT]      = shade (1.02, @bg_color)
90
 
        bg[ACTIVE]        = shade (0.88, @bg_color)
91
 
        bg[SELECTED]      = @selected_bg_color
92
 
        bg[INSENSITIVE]   = @bg_color
93
 
        
 
81
 
 
82
        text[NORMAL]      = @text_color
 
83
        text[PRELIGHT]    = @text_color
 
84
        text[SELECTED]    = @selected_fg_color
 
85
        text[INSENSITIVE] = shade (0.8, @bg_color)
 
86
        text[ACTIVE]      = @text_color
 
87
 
94
88
        base[NORMAL]      = @base_color
95
 
        base[PRELIGHT]    = shade (0.95, @bg_color)
96
 
        base[ACTIVE]      = mix (0.7, @selected_bg_color, @bg_color)
 
89
        base[PRELIGHT]    = shade (0.98, @bg_color)
97
90
        base[SELECTED]    = @selected_bg_color
98
 
        base[INSENSITIVE] = @bg_color
99
 
 
100
 
        text[NORMAL]      = @text_color
101
 
        text[PRELIGHT]    = @text_color
102
 
        text[ACTIVE]      = @selected_fg_color
103
 
        text[SELECTED]    = @selected_fg_color
104
 
        text[INSENSITIVE] = darker (@bg_color)
105
 
 
106
 
        engine "murrine" 
107
 
        {
108
 
                animation           = TRUE  # FALSE = disabled, TRUE = enabled
109
 
                arrowstyle          = 1     # 0 = normal arrows, 1 = filled arrows
110
 
                #border_colors      = { "#ffffff", "#ffffff" } # colors used on borders of many widgets
111
 
                border_shades       = { 1.2, 1.0 } # gradient to draw on border
112
 
                comboboxstyle       = 1     # 0 = normal combobox, 1 = colorized combobox below arrow
113
 
                colorize_scrollbar  = FALSE  # FALSE = disabled, TRUE = enabled
114
 
                contrast            = 0.4   # 0.8 for less contrast, more than 1.0 for more contrast on borders
115
 
                focus_color         = "#FE765E"
116
 
                glazestyle          = 4     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
117
 
                glow_shade          = 1.1   # sets glow amount for buttons or widgets
118
 
                glowstyle           = 0     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
119
 
                gradient_shades     = {1.2,1.0,1.0,0.9} # default: {1.1,1.0,1.0,1.1}
120
 
                highlight_shade     = 1.0  # set highlight amount for buttons or widgets
121
 
                lightborder_shade   = 1.1   # sets lightborder amount for buttons or widgets
122
 
                lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
123
 
                listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
124
 
                listviewstyle       = 2     # 0 = nothing, 1 = dotted 2 = solid
125
 
                menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
126
 
                menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
127
 
                menuitemstyle       = 0     # 0 = flat, 1 = glassy, 2 = striped
128
 
                menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
129
 
                prelight_shade      = .95  # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
130
 
                progressbarstyle    = 0     # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes 
131
 
                reliefstyle         = 4     # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
132
 
                rgba                = FALSE # FALSE = disabled, TRUE = enabled
133
 
                roundness           = 3     # 0 = squared, 1 = old default, more will increase roundness
134
 
                scrollbarstyle      = 2     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
135
 
                separatorstyle      = 1
136
 
                shadow_shades       = { 0.8, 2.2 } # draw gradient on shadow of some widgets
137
 
                sliderstyle         = 1     # 0 = nothing added, 1 = handles
138
 
                spinbuttonstyle     = 0     # 0 = no seperator, 1 = with separator
139
 
                stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with round slider
140
 
                textstyle           = 0     # 0 = normal text, 1 = inset
141
 
                toolbarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient
142
 
                trough_shades       = { 0.88, 2.0 } # draw gradient on trough of GtkScrollbar and GtkProgressbar
143
 
        }
144
 
}
145
 
 
146
 
style "selected" = "default"
147
 
{
148
 
        bg[NORMAL]   = shade (0.75, @bg_color)
149
 
        bg[PRELIGHT] = shade (0.85, @bg_color)
150
 
        bg[SELECTED] = shade (0.85, @bg_color)
151
 
        bg[ACTIVE]   = shade (0.75, @bg_color)
152
 
        bg[INSENSITIVE]   = mix (0.35, @selected_bg_color, @bg_color)
153
 
}
154
 
 
155
 
style "wide"
156
 
{
157
 
        xthickness = 2
158
 
        ythickness = 2
159
 
}
160
 
 
161
 
style "wider"
162
 
{
163
 
        xthickness = 3
164
 
        ythickness = 3
165
 
}
166
 
 
167
 
style "entry" 
168
 
{
169
 
        xthickness = 3
170
 
        ythickness = 3
171
 
 
172
 
        bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
173
 
        fg[SELECTED] = @text_color
174
 
 
175
 
        engine "murrine"
176
 
        {
177
 
                border_shades = {1.0, 1.0 }
178
 
                contrast = .8
179
 
        }
180
 
}
181
 
 
182
 
style "button" = "selected"
183
 
{
184
 
        xthickness = 0
185
 
        ythickness = 0
186
 
 
187
 
        bg[NORMAL]   = @button_bg_color
188
 
        bg[PRELIGHT] = shade (1.0, @button_bg_color)
189
 
        bg[SELECTED] = shade (1.0, @button_bg_color)
190
 
        bg[ACTIVE]   = shade (0.9, @button_bg_color)
191
 
        bg[INSENSITIVE]   = mix (0.3, @button_bg_color, @bg_color) 
192
 
 
193
 
        engine "murrine"
194
 
        {
195
 
#               contrast = .6
196
 
#               glow_shade = 1.20
197
 
                lightborder_shade = 3.0
198
 
                gradient_shades     = {1.2,0.9,0.9,0.78}
199
 
                shadow_shades       = { 0.8, 2.2 }
200
 
                border_colors      = { "#919191", "#898989" } # colors used on borders of many widgets
201
 
                border_shades       = { 1.1, 1.0 } # gradient to draw on border
202
 
 
203
 
        }
204
 
}
205
 
 
206
 
style "toolbar" 
207
 
{
208
 
}
209
 
 
210
 
style "toolbar-item" = "toolbar"
211
 
{
212
 
}
213
 
 
214
 
style "notebook" = "wider"
215
 
{
216
 
        engine "murrine"
217
 
        {
218
 
                contrast = .65
219
 
                gradient_shades = {1.1,1.06,0.92,0.85} # { 1.1, 1.02, 0.97, 0.93 }
220
 
                lightborder_shade = 2.0
221
 
        }
222
 
 
223
 
        #bg[ACTIVE]   = shade (0.92, @bg_color)
224
 
 
225
 
}
226
 
 
227
 
style "panel" = "selected"
228
 
{
229
 
        xthickness = 0
230
 
        ythickness = 0
231
 
 
232
 
        bg_pixmap[NORMAL] = "panel_bg.png"
233
 
 
234
 
        bg[ACTIVE] = shade (0.65, @selected_bg_color)   
235
 
        
236
 
        engine "murrine" 
237
 
        {
238
 
                roundness = 0
239
 
        }
240
 
}
241
 
 
242
 
 
243
 
style "terminal" 
244
 
{
245
 
text[NORMAL] = "#ffffff"
246
 
base[NORMAL] = "#300a24"
247
 
TerminalScreen::background-darkness=0.95
248
 
}
249
 
 
250
 
style "menu" 
251
 
{
252
 
        xthickness = 0
253
 
        ythickness = 0
254
 
 
255
 
        bg[INSENSITIVE]   = mix (0.4, @selected_bg_color, @bg_color)
256
 
 
257
 
        engine "murrine" 
258
 
        {
259
 
                roundness = 0
260
 
        }
261
 
}
262
 
 
263
 
style "menu-item" = "default"
264
 
{
265
 
        xthickness = 0
266
 
        ythickness = 5
267
 
 
268
 
        engine "murrine" 
269
 
        {
270
 
                glowstyle = 0
271
 
                roundness = 0
272
 
        }
273
 
 
274
 
 
275
 
}
276
 
 
277
 
style "separator-menu-item"
278
 
{
 
91
        base[INSENSITIVE] = shade (0.97, @bg_color)
 
92
        base[ACTIVE]      = shade (0.94, @bg_color)
 
93
 
 
94
        engine "murrine" {
 
95
                contrast = 0.6
 
96
                arrowstyle = 2
 
97
                reliefstyle = 3
 
98
                highlight_shade = 1.0
 
99
                glazestyle = 0
 
100
                default_button_color = shade (1.1, @selected_bg_color)
 
101
                gradient_shades = {1.1, 1.0, 1.0, 0.9}
 
102
                roundness = 4
 
103
                lightborder_shade = 1.26
 
104
                lightborderstyle = 1
 
105
                listviewstyle = 2
 
106
                progressbarstyle = 0
 
107
                colorize_scrollbar = FALSE
 
108
                menubaritemstyle = 1
 
109
                menubarstyle = 1
 
110
                menustyle = 3
 
111
                focusstyle = 3
 
112
                handlestyle = 1
 
113
                sliderstyle = 3
 
114
                handlestyle = 1
 
115
                scrollbarstyle = 2
 
116
                stepperstyle = 3
 
117
#               rgba = TRUE
 
118
        }
 
119
}
 
120
 
 
121
style "dark"
 
122
{
 
123
        bg[NORMAL]   = "#dfd7cf"
 
124
        bg[PRELIGHT] = shade (1.05, "#dfd7cf")
 
125
        bg[SELECTED] = @selected_bg_color
 
126
        bg[ACTIVE]   = shade (0.95, "#dfd7cf")
 
127
        bg[INSENSITIVE]   = "#dfd7cf"
 
128
}
 
129
 
 
130
style "wide" {
 
131
        xthickness = 2
 
132
        ythickness = 2
 
133
}
 
134
 
 
135
style "wider" {
 
136
        xthickness = 3
 
137
        ythickness = 3
 
138
}
 
139
 
 
140
style "entry" {
 
141
        xthickness = 3
 
142
        ythickness = 3
 
143
 
 
144
        engine "murrine" {
 
145
        }
 
146
}
 
147
 
 
148
style "vscale" {
 
149
}
 
150
 
 
151
style "hscale" {
 
152
}
 
153
 
 
154
style "button" {
 
155
        xthickness = 3
 
156
        ythickness = 3
 
157
 
 
158
        bg[NORMAL] = mix (0.4, "#dfd7cf", "#cdcdcd")
 
159
        bg[PRELIGHT] = mix (0.4, "#dfd7cf", shade (1.04, "#cdcdcd"))
 
160
        bg[ACTIVE] = mix (0.4, "#dfd7cf", shade (0.96, "#cdcdcd"))
 
161
        bg[INSENSITIVE] = mix (0.4, @bg_color, "#e2e1e1")
 
162
        fg[INSENSITIVE] = mix (0.4, "#dfd7cf", "#9c9c9c")
 
163
 
 
164
        engine "murrine" {
 
165
                #contrast = 1.0
 
166
                border_shades = {1.02, 0.92}
 
167
                textstyle = 1
 
168
                glowstyle = 5
 
169
                glow_shade = 1.08
 
170
                #text_shade = 1.04
 
171
        }
 
172
}
 
173
 
 
174
style "notebook_button" {
 
175
 
 
176
        xthickness = 3
 
177
        ythickness = 3
 
178
 
 
179
        bg[NORMAL] = @bg_color
 
180
        bg[PRELIGHT] = shade (1.04, @bg_color)
 
181
        bg[ACTIVE] = shade (0.96, @bg_color)
 
182
        bg[INSENSITIVE] = @bg_color
 
183
 
 
184
        engine "murrine" {
 
185
                #contrast = 1.0
 
186
                textstyle = 1
 
187
                border_shades = {0.95, 0.88}
 
188
                glowstyle = 5
 
189
                glow_shade = 1.02
 
190
                lightborder_shade = 1.32
 
191
#               lightborderstyle = 0
 
192
                #text_shade = 1.04
 
193
        }
 
194
}
 
195
 
 
196
style "spinbutton" = "notebook_button" {
 
197
        xthickness = 4
 
198
 
 
199
        engine "murrine" {
 
200
        }
 
201
}
 
202
 
 
203
style "scrollbar" = "button" {
 
204
        xthickness = 2
 
205
        ythickness = 2
 
206
 
 
207
        bg[NORMAL] = @bg_color
 
208
        bg[PRELIGHT] = shade (1.04, @bg_color)
 
209
        bg[ACTIVE] = shade (0.96, @bg_color)
 
210
 
 
211
        engine "murrine"
 
212
        {
 
213
                border_shades = {0.95, 0.90}
 
214
                roundness = 20
 
215
                contrast = 1.0
 
216
                trough_shades = {0.92, 0.98}
 
217
                lightborder_shade = 1.3
 
218
                glowstyle = 5
 
219
                glow_shade = 1.02
 
220
                gradient_shades = {1.2, 1.0, 1.0, 0.86}
 
221
                trough_border_shades = {0.9, 0.98}
 
222
        }
 
223
}
 
224
 
 
225
style "hscrollbar" {
 
226
}
 
227
 
 
228
style "vscrollbar" {
 
229
}
 
230
 
 
231
style "scale" = "button" {
 
232
        bg[NORMAL] = @bg_color
 
233
        bg[PRELIGHT] = shade (1.06, @bg_color)
 
234
        bg[ACTIVE] = shade (0.94, @bg_color)
 
235
 
 
236
        engine "murrine" {
 
237
                contrast = 0.6
 
238
                border_shades = {0.9, 0.8}
 
239
                roundness = 5
 
240
                lightborder_shade = 1.32
 
241
                gradient_shades = {1.1, 1.0, 1.0, 0.8}
 
242
                handlestyle = 2
 
243
                trough_border_shades = {0.9, 1.4}
 
244
                glow_shade = 1.0
 
245
#               reliefstyle = 2
 
246
#               shadow_shades = { 1.0, 0.9 }
 
247
        }
 
248
}
 
249
 
 
250
style "notebook_bg" {
 
251
        bg[NORMAL] = shade (1.02, @bg_color)
 
252
        bg[ACTIVE] = shade (0.97, @bg_color)
 
253
        fg[ACTIVE] = mix (0.9, @fg_color, @bg_color)
 
254
}
 
255
 
 
256
# The color is changed by the notebook_bg style, this style
 
257
# changes the x/ythickness
 
258
style "notebook" {
 
259
        xthickness = 2
 
260
        ythickness = 2
 
261
        
 
262
        engine "murrine" {
 
263
                roundness = 3
 
264
                contrast = 0.8
 
265
                focusstyle = 2
 
266
                lightborder_shade = 1.16
 
267
        }
 
268
}
 
269
 
 
270
style "statusbar" {
 
271
        engine "murrine" {
 
272
                contrast = 1.0
 
273
        }
 
274
}
 
275
 
 
276
style "comboboxentry" = "notebook_button" {
 
277
        xthickness = 3
 
278
        ythickness = 3
 
279
        
 
280
        engine "murrine" {
 
281
                textstyle = 1
 
282
                glowstyle = 5
 
283
                glow_shade = 1.02
 
284
        }
 
285
}
 
286
 
 
287
style "menubar" = "dark" {
 
288
        engine "murrine" {
 
289
                textstyle = 1
 
290
                text_shade = 1.23
 
291
                gradient_shades = {1.0, 1.0, 1.0, 1.0}
 
292
                lightborder_shade = 1.1
 
293
        }
 
294
}
 
295
 
 
296
style "toolbar" {
 
297
        engine "murrine" {
 
298
                textstyle = 1
 
299
                text_shade = 1.32
 
300
        }
 
301
}
 
302
 
 
303
style "toolbar-button" = "notebook_button" {
 
304
        engine "murrine" {
 
305
        }
 
306
}
 
307
 
 
308
style "menu" = "dark" {
 
309
        xthickness = 0
 
310
        ythickness = 0
 
311
 
 
312
        bg[NORMAL] = "#ece7e2"
 
313
#       fg[INSENSITIVE]   = shade (0.8, "#4D4C48")
 
314
 
 
315
        engine "murrine"
 
316
        {
 
317
                reliefstyle = 0
 
318
                roundness = 0
 
319
        }
 
320
}
 
321
 
 
322
style "menu_item" = "menu" {
 
323
        xthickness = 2
 
324
        ythickness = 3
 
325
 
 
326
        fg[PRELIGHT] = @selected_fg_color
 
327
 
 
328
        engine "murrine"
 
329
        {
 
330
                glowstyle = 5
 
331
                glow_shade = 1.1
 
332
#               lightborder_shade = 1.0
 
333
#               border_shades = { 1.5, 1.3 }
 
334
                roundness = 0
 
335
        }
 
336
}
 
337
 
 
338
style "menubar_item" = "menu_item" {
 
339
        bg[PRELIGHT] = "#ece7e2"
 
340
        fg[PRELIGHT] = @fg_color
 
341
 
 
342
        engine "murrine" {
 
343
                gradient_shades = {1.00, 1.0, 1.0, 1.0}
 
344
#               glowstyle = 5
 
345
                border_shades = { 1.0, 1.0 }
 
346
                glow_shade = 1.00
 
347
                lightborderstyle = 3
 
348
                lightborder_shade = 1.2
 
349
                roundness = 4
 
350
        }
 
351
}
 
352
 
 
353
style "scale_menu_item" = "scale" {
 
354
        engine "murrine" {
 
355
                roundness = 20
 
356
                lightborder_shade = 1.32
 
357
                reliefstyle = 0
 
358
        }
 
359
}
 
360
 
 
361
# This style is there to modify the separator menu items. The goals are:
 
362
# 1. Get a specific height.
 
363
# 2. The line should go to the edges (ie. no border at the left/right)
 
364
style "separator_menu_item" {
 
365
        xthickness = 1
 
366
        ythickness = 0
 
367
 
 
368
        GtkSeparatorMenuItem::horizontal-padding = 0
279
369
        GtkWidget::wide-separators = 1
280
370
        GtkWidget::separator-width = 1
281
 
        GtkWidget::separator-height = 2
 
371
        GtkWidget::separator-height = 7
 
372
 
 
373
        engine "murrine" {
 
374
                contrast = 0.5
 
375
                separatorstyle = 0
 
376
        }
 
377
}
 
378
 
 
379
style "separator_tool_item" {
 
380
        xthickness = 0
 
381
        ythickness = 1
 
382
 
 
383
        GtkVSeparator::vertical-padding = 0
 
384
        GtkWidget::wide-separators = 1
 
385
        GtkWidget::separator-width = 7
 
386
        GtkWidget::separator-height = 1
 
387
 
 
388
        engine "murrine" {
 
389
                contrast = 0.5
 
390
                separatorstyle = 0
 
391
        }
 
392
}
 
393
 
 
394
style "frame_title" {
 
395
        fg[NORMAL] = lighter (@fg_color)
 
396
}
 
397
 
 
398
style "treeview" {
 
399
        engine "murrine"
 
400
        {
 
401
                roundness = 2
 
402
                lightborder_shade = 1.1
 
403
                gradient_shades = {1.04, 1.0, 1.0, 0.96}
 
404
        }
 
405
}
 
406
 
 
407
style "progressbar" {
 
408
        xthickness = 1
 
409
        ythickness = 1
 
410
 
 
411
        bg[ACTIVE] = shade (0.94, @bg_color)
 
412
        #bg[SELECTED] = "#cdcdcd"
 
413
        fg[PRELIGHT] = "#793C24"
 
414
 
 
415
        engine "murrine" {
 
416
                #trough_shades = {0.98, 1.02}
 
417
                roundness = 8
 
418
                lightborderstyle = 1
 
419
                lightborder_shade = 1.26
 
420
                border_shades = {0.95, 0.85}
 
421
                gradient_shades = {1.1, 1.0, 1.0, 0.9}
 
422
                trough_border_shades = {0.9, 1.4}
 
423
        }
 
424
}
 
425
 
 
426
style "progressbar_menu_item" = "progressbar" {
 
427
        engine "murrine" {
 
428
                roundness = 0
 
429
        }
 
430
}
 
431
 
 
432
# This style is based on the default style, so that the colors from the button
 
433
# style are overriden again.
 
434
style "treeview_header" = "notebook_button" {
 
435
        xthickness = 2
 
436
        ythickness = 1
 
437
 
 
438
        engine "murrine" {
 
439
                glazestyle = 1
 
440
                contrast = 0.8
 
441
                lightborder_shade = 1.16
 
442
                textstyle = 1
 
443
                glow_shade = 1.0
 
444
        }
 
445
}
 
446
 
 
447
style "treeview_header_scrolled" = "treeview_header" {
 
448
}
 
449
 
 
450
style "scrolledwindow" {
 
451
        engine "murrine" {
 
452
                contrast = 0.6
 
453
        }
 
454
}
 
455
 
 
456
style "radiocheck"  = "button" {
 
457
        text[NORMAL] = "#793c24"
 
458
        text[PRELIGHT] = shade(1.06, "#793c24")
 
459
        bg[NORMAL]   = shade (0.92, @bg_color)
 
460
        bg[PRELIGHT] = mix (0.2, @selected_bg_color, shade(1.1, @bg_color))
 
461
 
 
462
        engine "murrine" {
 
463
                reliefstyle = 3
 
464
                gradient_shades = {1.2, 1.0, 1.0, 0.9}
 
465
                shadow_shades = {0.6, 0.5}
 
466
                textstyle = 0
 
467
        }
 
468
}
 
469
 
 
470
style "tooltips" {
282
471
        xthickness = 4
 
472
        ythickness = 4
 
473
 
 
474
        bg[NORMAL]        = @tooltip_bg_color
 
475
        fg[NORMAL]        = @tooltip_fg_color
 
476
        bg[SELECTED]      = "#000000"
 
477
 
 
478
        engine "murrine" {
 
479
                rgba = TRUE
 
480
        }
 
481
}
 
482
 
 
483
style "infobar" {
 
484
        engine "murrine" {
 
485
        }
 
486
}
 
487
 
 
488
style "nautilus_location" {
 
489
        bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
 
490
}
 
491
 
 
492
style "calendar" {
 
493
        xthickness = 0
283
494
        ythickness = 0
284
 
}
285
 
 
286
 
style "treeview"
287
 
{
288
 
}
289
 
 
290
 
style "treeview-header" = "selected"
291
 
{
292
 
        xthickness = 2
293
 
        ythickness = 1
294
 
 
295
 
        engine "murrine"
296
 
        {
297
 
                contrast = .8
298
 
        }
299
 
}
300
 
 
301
 
style "tooltips"
302
 
{
303
 
        xthickness = 8
304
 
        ythickness = 5
305
 
 
306
 
        bg[NORMAL] = @tooltip_bg_color
307
 
        bg[SELECTED] = "#000000"
308
 
        fg[NORMAL] = @tooltip_fg_color
309
 
}
310
 
 
311
 
style "progressbar" 
312
 
{
313
 
        xthickness = 1
314
 
        ythickness = 1
315
 
        
316
 
        engine "murrine"
317
 
        {
318
 
                border_shades           = { .8, .8} # draw a gradient on the border.
319
 
                border_colors           = { "#FE765E", "#FE765E" }
320
 
                #contrast               = 1.0 
321
 
                glazestyle              = 0     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
322
 
                glow_shade              = 1.14   # sets glow amount for buttons or widgets
323
 
                glowstyle               = 0     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
324
 
                gradient_shades         = {1.1,.9,.9,.8}
325
 
                #highlight_shade        = 1.02  # set highlight amount for buttons or widgets
326
 
                #lightborder_shade      = 1.2   # sets lightborder amount for buttons or widgets
327
 
                roundness               = 12
328
 
        }
329
 
 
330
 
        bg[NORMAL]      = shade (1.0, @bg_color)
331
 
        bg[PRELIGHT]    = shade (1.2, @bg_color)
332
 
        bg[SELECTED]    = "#FE765E"
333
 
 
334
 
        fg[PRELIGHT]    = "#fff"
335
 
}
336
 
 
337
 
style "statusbar" 
338
 
{
339
 
}
340
 
 
341
 
style "comboboxentry" 
342
 
{
343
 
        ythickness = 3
344
 
        xthickness = 3
345
 
 
346
 
        engine "murrine"
347
 
        {
348
 
                contrast = .8
349
 
        }
350
 
}
351
 
 
352
 
style "spinbutton" 
353
 
{
354
 
}
355
 
 
356
 
style "scale"
357
 
{
358
 
        GtkRange::slider-width = 14
359
 
        
360
 
        engine "murrine"
361
 
        {
362
 
                contrast                = 1.0
363
 
                glazestyle              = 0     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
364
 
                glow_shade              = 1.14   # sets glow amount for buttons or widgets
365
 
                glowstyle               = 0     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
366
 
                highlight_shade         = 1.02  # set highlight amount for buttons or widgets
367
 
                roundness               = 6
368
 
        }
369
 
 
370
 
        bg[NORMAL]      = shade (1.0, @bg_color)
371
 
        bg[PRELIGHT]    = shade (.9, @bg_color)
372
 
        bg[SELECTED]    = "#FE765E"
373
 
}
374
 
 
375
 
style "hscale"
376
 
{
377
 
}
378
 
 
379
 
style "vscale"
380
 
{
381
 
}
382
 
 
383
 
style "scrollbar"
384
 
{
385
 
        engine "murrine"
386
 
        {
387
 
                border_shades           = { .8, .6} # draw a gradient on the border.
388
 
                border_colors           = { @bg_color, @bg_color }
389
 
                contrast                = .6 
390
 
                glazestyle              = 0     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
391
 
                glow_shade              = 1.14   # sets glow amount for buttons or widgets
392
 
                glowstyle               = 0     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
393
 
                highlight_shade         = 1.02  # set highlight amount for buttons or widgets
394
 
                lightborder_shade       = 1.2   # sets lightborder amount for buttons or widgets
395
 
                roundness               = 8
396
 
        }
397
 
 
398
 
        bg[NORMAL]      = shade (1.0, @bg_color)
399
 
        bg[PRELIGHT]    = shade (.9, @bg_color)
400
 
}
401
 
 
402
 
style "hscrollbar"
403
 
{
404
 
}
405
 
 
406
 
style "vscrollbar"
407
 
{
408
 
}
409
 
 
410
 
style "menubar" = "default"
411
 
{
412
 
        bg[NORMAL]      = "#e0d6ba"
 
495
 
 
496
        engine "murrine" {
 
497
                roundness = 0
 
498
        }
 
499
}
 
500
 
 
501
style "calendar_menu_item" = "calendar" {
 
502
#       base[NORMAL] = "#c5bfb7"
413
503
}
414
504
 
415
505
style "soundfix"
416
506
{
417
 
        bg[NORMAL]      = "#F7F5F2"
418
 
}
419
 
 
420
 
style "frame"
421
 
{
422
 
}
423
 
 
424
 
style "frame-title" = "frame"
425
 
{
426
 
}
427
 
 
428
 
style "nautilus-handle"
429
 
{
430
 
        GtkPaned::handle-size = 2
431
 
}
432
 
 
433
 
style "nautilus-location"
434
 
{
435
 
        bg[NORMAL] = mix(0.60, @bg_color, @selected_bg_color)
436
 
}
437
 
 
438
 
style "nautilus-sidebar" 
439
 
{
440
 
#       GtkTreeView::even_row_color = @bg_color
441
 
}
442
 
 
443
 
style "radiocheck"
444
 
{
445
 
        bg[SELECTED]    = "#FE765E"
446
 
        
447
 
        engine "murrine"
448
 
        {
449
 
                contrast = 0.6
450
 
                highlight_shade = 1.0
451
 
                lightborder_shade = 1.0
452
 
                gradient_shades = {1.5,1.3,1.0,0.9}
453
 
        }
454
 
}
455
 
 
456
 
#########################################
457
 
# Matches
458
 
#########################################
459
 
 
460
 
widget "ido-offscreen-scale" style "soundfix"
461
 
widget "*IdoEntryMenuItem*" style "wide"
462
 
 
463
 
# default style is applied to every widget
464
 
class "GtkWidget"    style "default"
465
 
 
466
 
# Increase the x/ythickness in some widgets
467
 
class "GtkToolbar"                                      style "default" 
468
 
class "GtkRange"                                        style "wide"
469
 
class "GtkFrame"                                        style "wide"
470
 
class "GtkSeparator"                                    style "wide"
471
 
class "GtkEntry"                                        style "entry"
472
 
 
473
 
class "GtkSpinButton"                                   style "spinbutton"
474
 
class "GtkScale"                                        style "scale"
475
 
class "GtkVScale"                                       style "vscale"
476
 
class "GtkHScale"                                       style "hscale"
477
 
class "GtkScrollbar"                                    style "scrollbar"
478
 
class "GtkVScrollbar"                                   style "vscrollbar"
479
 
class "GtkHScrollbar"                                   style "hscrollbar"
480
 
 
481
 
class "GtkRadioButton"                                  style:highest "radiocheck"      
482
 
class "GtkCheckButton"                                  style:highest "radiocheck"      
483
 
 
484
 
widget_class "*<GtkNotebook>*<GtkEventBox>"             style "notebook"
485
 
widget_class "*<GtkNotebook>*<GtkDrawingArea>"          style "notebook"
486
 
widget_class "*<GtkNotebook>*<GtkLayout>"               style "notebook"
487
 
widget_class "*<GtkNotebook>*<GtkViewport>"             style "notebook"
488
 
widget_class "*<GtkNotebook>*<GtkScrolledWindow>"       style "notebook"
489
 
 
490
 
widget_class "*<GtkButton>"                             style "button"
491
 
widget_class "*<GtkNotebook>"                           style "notebook"
492
 
widget_class "*<GtkStatusbar>*"                         style "statusbar"
493
 
 
494
 
widget_class "*<GtkComboBoxEntry>*"                     style:highest "comboboxentry"
495
 
widget_class "*<GtkComboBox>*"                          style:highest "comboboxentry"
496
 
widget_class "*<GtkOptionMenu>*"                        style:highest "comboboxentry"
497
 
widget_class "*<GtkCombo>*"                             style:highest "comboboxentry"
498
 
 
499
 
widget_class "*<GtkMenuBar>*"                           style "menubar"
500
 
widget_class "*<GtkMenu>*"                              style "menu"
501
 
widget_class "*<GtkMenuItem>*"                          style "menu-item"
502
 
widget_class "*<GtkSeparatorMenuItem>*"                 style "separator-menu-item"
503
 
 
504
 
widget_class "*.<GtkFrame>.<GtkLabel>"                  style "frame-title"
505
 
widget_class "*.<GtkTreeView>*"                         style "treeview"
506
 
 
507
 
widget_class "*<GtkProgress>"                           style "progressbar"
508
 
widget_class "*<GtkProgressBar>"                        style "progressbar"
509
 
 
510
 
# Treeview header
511
 
widget_class "*.<GtkTreeView>.<GtkButton>"              style "treeview-header"
512
 
widget_class "*.<GtkCTree>.<GtkButton>"                 style "treeview-header"
513
 
widget_class "*.<GtkList>.<GtkButton>"                  style "treeview-header"
514
 
widget_class "*.<GtkCList>.<GtkButton>"                 style "treeview-header"
515
 
 
516
 
# Workarounds for Evolution
517
 
widget_class "*.ETable.ECanvas"                         style "treeview-header"
518
 
widget_class "*.ETree.ECanvas"                          style "treeview-header"
 
507
}
 
508
 
 
509
# Wrokaround style for places where the text color is used instead of the fg color.
 
510
style "text_is_fg_color_workaround" {
 
511
        text[NORMAL]      = @fg_color
 
512
        text[PRELIGHT]    = @fg_color
 
513
        text[SELECTED]    = @selected_fg_color
 
514
        text[ACTIVE]      = @fg_color
 
515
        text[INSENSITIVE] = darker (@bg_color)
 
516
}
 
517
 
 
518
# Workaround style for menus where the text color is used instead of the fg color.
 
519
style "menuitem_text_is_fg_color_workaround" {
 
520
        text[NORMAL]        = @fg_color
 
521
        text[PRELIGHT]      = @selected_fg_color
 
522
        text[SELECTED]      = @selected_fg_color
 
523
        text[ACTIVE]        = @fg_color
 
524
        text[INSENSITIVE]   = "#99958b"
 
525
}
 
526
 
 
527
# Workaround style for places where the fg color is used instead of the text color.
 
528
style "fg_is_text_color_workaround" {
 
529
        fg[NORMAL]        = @text_color
 
530
        fg[PRELIGHT]      = @text_color
 
531
        fg[SELECTED]      = @selected_fg_color
 
532
        fg[ACTIVE]        = @selected_fg_color
 
533
        fg[INSENSITIVE]   = darker (@bg_color)
 
534
}
 
535
 
 
536
# Style to set the toolbar to use a flat style. This is because the "New" button in
 
537
# Evolution is not drawn transparent. So if there is a gradient in the background it will
 
538
# look really wrong.
 
539
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
 
540
style "evo_new_button_workaround" {
 
541
}
 
542
 
 
543
###############################################################################
 
544
# The following part of the gtkrc applies the different styles to the widgets.
 
545
###############################################################################
 
546
 
 
547
# The default style is applied to every widget
 
548
class "GtkWidget" style "default"
 
549
 
 
550
class "GtkSeparator" style "wide"
 
551
class "GtkFrame" style "wide"
 
552
class "GtkCalendar" style "wide"
 
553
class "GtkEntry" style "entry"
 
554
 
 
555
class "GtkSpinButton" style "spinbutton"
 
556
class "GtkScale" style "scale"
 
557
class "GtkVScale" style "vscale"
 
558
class "GtkHScale" style "hscale"
 
559
class "GtkScrollbar" style "scrollbar"
 
560
class "GtkHScrollbar" style "hscrollbar"
 
561
class "GtkVScrollbar" style "vscrollbar"
 
562
class "GtkCalendar" style "calendar"
 
563
class "GtkInfoBar" style "infobar"
 
564
 
 
565
# General matching follows. The order is choosen so that the right styles override
 
566
# each other. EG. progressbar needs to be more important than the menu match.
 
567
widget_class "*<GtkNotebook>" style "notebook_bg"
 
568
# This is not perfect, it could be done better.
 
569
# (That is modify *every* widget in the notebook, and change those back that
 
570
# we really don't want changed)
 
571
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
 
572
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
 
573
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
 
574
widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook_bg"
 
575
 
 
576
widget_class "*<GtkToolbar>*" style "toolbar"
 
577
widget_class "*<GtkScrolledWindow>*" style "scrolledwindow"
 
578
 
 
579
widget_class "*<GtkButton>" style "button"
 
580
widget_class "*<GtkButton>*<GtkLabel>" style "button"
 
581
widget_class "*<GtkToolbar>.*.<GtkButton>*" style "notebook_button"
 
582
widget_class "*<GtkNotebook>" style "notebook"
 
583
widget_class "*<GtkStatusbar>*" style "statusbar"
 
584
widget_class "*<GtkSpinButton>*" style "spinbutton"
 
585
widget_class "*<GtkNotebook>*<GtkButton>" style "notebook_button"
 
586
widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "notebook_button"
 
587
widget_class "*<GtkRadioButton>*" style "radiocheck"
 
588
widget_class "*<GtkCheckButton>*" style "radiocheck"
 
589
 
 
590
widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
 
591
widget_class "*<GtkCombo>*" style "comboboxentry"
 
592
 
 
593
widget_class "*<GtkMenuBar>*" style "menubar"
 
594
widget_class "*<GtkMenu>*" style "menu"
 
595
widget_class "*<GtkMenuItem>*" style "menu_item"
 
596
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
 
597
widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item"
 
598
widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar_item"
 
599
 
 
600
widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
 
601
widget_class "*.<GtkTreeView>*" style "treeview"
 
602
 
 
603
widget_class "*<GtkProgress>" style "progressbar"
 
604
widget_class "*<GtkMenuItem>.*.<GtkProgressBar>" style "progressbar_menu_item"
 
605
widget_class "*<GtkMenuItem>.*.<GtkScale>" style "scale_menu_item"
 
606
widget_class "*<GtkMenuItem>.*.<GtkCalendar>" style "calendar_menu_item"
 
607
 
 
608
# Treeview headers (and similar stock GTK+ widgets)
 
609
widget_class "*.<GtkScrolledWindow>*<GtkTreeView>*" style "treeview_header_scrolled"
 
610
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
 
611
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
 
612
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
 
613
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
 
614
widget_class "*.<GtkTreeView>.<GtkButton>.*<GtkLabel>" style "treeview_header"
 
615
widget_class "*.<GtkCTree>.<GtkButton>.*<GtkLabel>" style "treeview_header"
 
616
widget_class "*.<GtkList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
 
617
widget_class "*.<GtkCList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
519
618
 
520
619
# The window of the tooltip is called "gtk-tooltip"
521
 
################################
 
620
##################################################################
522
621
# FIXME:
523
622
# This will not work if one embeds eg. a button into the tooltip.
524
623
# As far as I can tell right now we will need to rework the theme
525
624
# quite a bit to get this working correctly.
526
625
# (It will involve setting different priorities, etc.)
527
 
################################
528
 
widget "gtk-tooltip*"                                   style "tooltips"
529
 
 
530
 
###################################################
531
 
# Special cases and work arounds
532
 
###################################################
 
626
##################################################################
 
627
widget "gtk-tooltip*" style "tooltips"
 
628
 
 
629
##########################################################################
 
630
# Following are special cases and workarounds for issues in applications.
 
631
##########################################################################
 
632
 
 
633
# Workaround for the evolution ETable (bug #527532)
 
634
widget_class "*.ETable.ECanvas" style "treeview_header"
 
635
# Workaround for the evolution ETree
 
636
widget_class "*.ETree.ECanvas" style "treeview_header"
533
637
 
534
638
# Special case the nautilus-extra-view-widget
535
639
# ToDo: A more generic approach for all applications that have a widget like this.
536
 
widget "*.nautilus-extra-view-widget"                   style : highest "nautilus-location"
537
 
 
538
 
# Nautilus sidebar
539
 
widget_class "*Nautilus*Places*Sidebar*"        style "nautilus-sidebar"
540
 
widget_class "*Nautilus*Side*.GtkWidget"        style "nautilus-sidebar"
541
 
widget "*Nautilus*Splitter"                     style "nautilus-handle"
542
 
 
 
640
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
543
641
 
544
642
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
545
 
# Note that the work around assumes that the combobox is _not_ in
546
 
# appears-as-list mode.
547
 
# Similar hack also in the menuitem style.
548
 
# This style does not affect GtkComboBoxEntry, it does have an effect
549
 
# on comboboxes in appears-as-list mode though.
550
 
style "combobox-text-color-workaround"
551
 
{
552
 
        text[NORMAL]      = @fg_color
553
 
        text[PRELIGHT]    = @fg_color
554
 
        text[ACTIVE]      = @fg_color
555
 
        text[SELECTED]    = @selected_fg_color
556
 
        text[INSENSITIVE] = shade (0.65, @bg_color)
557
 
}
558
 
widget_class "*.<GtkComboBox>.<GtkCellView>"            style "combobox-text-color-workaround"
559
 
 
560
 
style "menuitem-text-is-fg-color-workaround"
561
 
{
562
 
        text[NORMAL]        = @fg_color
563
 
        text[PRELIGHT]      = @selected_fg_color
564
 
        text[ACTIVE]        = @fg_color
565
 
        text[SELECTED]      = @selected_fg_color
566
 
        text[INSENSITIVE]   = shade (0.65, @bg_color)
567
 
}
568
 
 
569
 
widget "*.gtk-combobox-popup-menu.*"                    style "menuitem-text-is-fg-color-workaround"
 
643
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
 
644
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
 
645
# This is the part of the workaround that fixes the menus
 
646
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
570
647
 
571
648
# Work around the usage of GtkLabel inside GtkListItems to display text.
572
 
# This breaks because the label is shown on a background that is based on the
573
 
# base color set.
574
 
style "fg-is-text-color-workaround"
575
 
{
576
 
        fg[NORMAL]      = @text_color
577
 
        fg[PRELIGHT]    = @text_color
578
 
        fg[ACTIVE]      = @selected_fg_color
579
 
        fg[SELECTED]    = @selected_fg_color
580
 
        fg[INSENSITIVE] = shade (0.65, @bg_color)
581
 
}
582
 
 
583
 
widget_class "*<GtkListItem>*"                          style "fg-is-text-color-workaround"
584
 
 
585
 
# The same problem also exists for GtkCList and GtkCTree
586
 
# Only match GtkCList and not the parent widgets, because that would also change the headers.
587
 
widget_class "*<GtkCList>"                              style "fg-is-text-color-workaround"
588
 
 
589
 
style "evo-new-button-workaround"
590
 
{
591
 
 
592
 
        engine "murrine"
593
 
        {
594
 
                toolbarstyle = 0
595
 
        }
596
 
}
597
 
 
598
 
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo-new-button-workaround"
599
 
 
600
 
# Theme panel elements
601
 
widget "*PanelWidget*"                                  style "panel"
602
 
widget "*PanelApplet*"                                  style "panel"
603
 
widget "*fast-user-switch*"                             style "panel" # workaround for Fast User Switch applet
604
 
class "PanelApp*"                                       style "panel"
605
 
class "PanelToplevel*"                                  style "panel"
606
 
widget_class "*notif*"                                  style "panel"
607
 
widget_class "*Notif*"                                  style "panel"
608
 
 
609
 
class "TerminalScreen" style "terminal"
 
649
# This breaks because the label is shown on a background that is based on the base color.
 
650
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
 
651
# GtkCList also uses the fg color to draw text on top of the base colors.
 
652
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
 
653
# Nautilus when renaming files, and maybe other places.
 
654
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
 
655
# Work around for ubuntu's lucid sound indicator
 
656
widget "ido-offscreen-scale" style "soundfix"
 
657
# Thickness for indicator menu items
 
658
widget "*IdoEntryMenuItem*" style "wide"
 
659
 
 
660
# See the documentation of the style.
 
661
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
 
662
 
 
663
# Includes
 
664
#include "apps/banshee.rc"
 
665
include "apps/chromium.rc"
 
666
include "apps/ff.rc"
 
667
include "apps/gnome-panel.rc"
 
668
include "apps/gnome-terminal.rc"
 
669
include "apps/nautilus.rc"