~ubuntu-branches/ubuntu/hardy/ubuntustudio-look/hardy

« back to all changes in this revision

Viewing changes to ubuntustudio-theme/gtk-2.0/gtkrc

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2008-04-03 10:27:40 UTC
  • Revision ID: james.westby@ubuntu.com-20080403102740-r0xv8luo5kvjb8xx
Tags: 0.25
Further theme updates from Cory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Ubuntu Studio Colorscheme
 
1
# Ubuntu Studio 8.04 Hardy Colorscheme
2
2
#
3
3
# Authors:
4
 
# Huw Wilkins - <hushimi@gmail.com>
5
 
# Cory Kontros <coryisatm@nc.rr.com>
 
4
# Conn O'Griofa  <connogriofa@gmail.com>
 
5
# Cory Kontros   <coryisatm@nc.rr.com>
6
6
# Andrea Cimitan <andrea.cimitan@gmail.com>
 
7
# Huw Wilkins    <hushimi@gmail.com>
7
8
#
8
9
# Feel free to modify and share!
9
10
 
10
 
pixmap_path "/usr/share/themes/UbuntuStudio/gtk-2.0/panel/"
11
 
include "panel/panel.rc"
12
 
 
13
 
style "theme-default"
14
 
{
15
 
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
16
 
  GtkRange       ::trough_border     = 0
17
 
  GtkPaned       ::handle_size       = 6
18
 
  GtkRange       ::slider_width      = 15
19
 
  GtkRange       ::stepper_size      = 15
20
 
 
21
 
  GtkScrollbar   ::min_slider_length = 30
22
 
  GtkCheckButton ::indicator_size    = 14
23
 
  GtkMenuBar     ::internal-padding  = 0
24
 
  GtkTreeView    ::expander_size     = 14
25
 
  GtkExpander    ::expander_size     = 16
26
 
  GtkScale       ::slider-length     = 24
27
 
 
28
 
  GtkWidget      ::link-color           = "#009BF9"
29
 
  GtkWidget      ::visited-link-color   = "#4BA6DE"
30
 
  
31
 
  xthickness = 1
32
 
  ythickness = 1
33
 
 
34
 
        fg[NORMAL]              = "#BFBFBF" # Metacity and mouseover, Most text
35
 
        fg[PRELIGHT]            = "#ffffff" # Text when mouseover
36
 
        fg[ACTIVE]              = "#BFBFBF" # Text when mouseclicking button, Tabs, Active window list
37
 
        fg[SELECTED]            = "#525252" # Metacity X when window selected
38
 
        fg[INSENSITIVE]         = "#5c5c5c" # Insensitive Text
39
 
 
40
 
        bg[NORMAL]              = "#525252" # Normal Background, inactive Metacity bar, buttons
41
 
        bg[PRELIGHT]            = "#6a6a6a" # Mouseover buttons
42
 
        bg[ACTIVE]              = "#2c2c2c" # Mouseclicking, Tabs, active window list
43
 
        bg[SELECTED]            = "#009bf9" # Metacity Bar
44
 
        bg[INSENSITIVE]         = "#353535" # Insensitive buttons
45
 
        
46
 
        base[NORMAL]            = "#ffffff" # Background, most
47
 
        base[PRELIGHT]          = "#3a3a3a" # Mouseover menu
48
 
        base[ACTIVE]            = "#525252" # Menu active item in inactive window
49
 
        base[SELECTED]          = "#009bf9" # Menu active item in active window
50
 
        base[INSENSITIVE]       = "#424242" # Background, insensitive
51
 
        
52
 
        text[NORMAL]            = "#000000" # Text in window
53
 
        text[PRELIGHT]          = "#ffffff" # Text on Mouseover
54
 
        text[ACTIVE]            = "#ffffff" # Active text in inactive window
55
 
        text[SELECTED]          = "#ffffff" # Active text in active window
56
 
        text[INSENSITIVE]       = "#8a8a8a" # Insensitive text
57
 
 
58
 
 
59
 
 
60
 
  #GnomeHRef::link_color        ="#000000" 
61
 
  #GtkIMHtmlr::hyperlink-color  ="#000000"
62
 
 
63
 
  #NautilusIconContainer::dark_info_color="#827B69"
64
 
  #NautilusIconContainer::light_info_color="#827B69"
65
 
  #NautilusIconContainer::highlight_alpha=70
66
 
 
67
 
  engine "murrine" 
68
 
  {
69
 
                scrollbar_color = "#009bf9"
70
 
                contrast = 1.15
71
 
                glazestyle = 3 # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight
72
 
                menubarstyle = 3 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
73
 
                menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
74
 
                menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
75
 
                listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
76
 
                listviewstyle = 1 # 0 = nothing, 1 = dotted
77
 
                scrollbarstyle = 2 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
78
 
                hilight_ratio = 0.9 # set the amount of buttons or widgets hilight
79
 
                roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
80
 
                animation = TRUE # FALSE = disabled, TRUE = enabled
81
 
  }
82
 
}
83
 
 
84
 
 
85
 
style "theme-wide" = "theme-default"
86
 
{
87
 
  xthickness = 2
88
 
  ythickness = 2
89
 
}
90
 
 
91
 
style "theme-wider" = "theme-default"
92
 
{
93
 
  xthickness = 3
94
 
  ythickness = 3
95
 
}
96
 
 
97
 
style "theme-entry" = "theme-wider"
98
 
{
99
 
  bg[SELECTED]      = "#009bf9"
100
 
}
101
 
 
102
 
style "theme-button" = "theme-wider"
103
 
{
104
 
  bg[NORMAL]      = "#505050"
105
 
  bg[ACTIVE]      = "#404040"
106
 
}
107
 
 
108
 
style "theme-slider" = "theme-button"
109
 
{
110
 
}
111
 
 
112
 
style "theme-scrollbar" = "theme-button"
113
 
{
114
 
  bg[NORMAL]  = "#222222"
115
 
  xthickness = 2
116
 
  ythickness = 2
117
 
}
118
 
 
119
 
style "theme-notebook" = "theme-wide"
120
 
{
121
 
  bg[NORMAL]      = "#484848"
122
 
  bg[ACTIVE]      = "#393939"
123
 
}
124
 
 
125
 
style "theme-tasklist" = "theme-default"
126
 
{
127
 
  xthickness = 5
128
 
  ythickness = 3
129
 
}
130
 
 
131
 
style "theme-menu" = "theme-default"
132
 
{
133
 
  xthickness = 2
134
 
  ythickness = 1
135
 
}
136
 
 
137
 
style "theme-menu-item" = "theme-default"
138
 
{
139
 
  ythickness = 1
140
 
  engine "murrine" {
141
 
  roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
142
 
}
143
 
}
144
 
 
145
 
style "theme-menu-combo-fix"
146
 
{
147
 
  text[NORMAL] = "#BFBFBF"
148
 
}
149
 
 
150
 
style "theme-menubar" = "theme-default"
151
 
{
152
 
  bg[NORMAL]= "#494949"
153
 
}
154
 
 
155
 
style "theme-menubar-item"
156
 
{
157
 
  ythickness = 4
158
 
  bg[PRELIGHT] = "#009bf9"
159
 
  engine "murrine" {
160
 
  roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
161
 
}
162
 
}
163
 
 
164
 
style "theme-tree" = "theme-default"
165
 
{
166
 
  xthickness = 2
167
 
  ythickness = 2
168
 
}
169
 
 
170
 
style "theme-tree-fix"
171
 
{
172
 
  bg[ACTIVE]   = "#626262" #dark
173
 
}
174
 
 
175
 
style "theme-frame-title" = "theme-default"
176
 
{
177
 
 
178
 
}
179
 
 
180
 
style "theme-tooltips" = "theme-default"
181
 
{
182
 
  xthickness = 4
183
 
  ythickness = 4
184
 
}
185
 
 
186
 
style "theme-progressbar" = "theme-wide"
187
 
{
188
 
  xthickness = 0
189
 
  ythickness = 0
190
 
}
191
 
 
192
 
style "theme-combo" = "theme-button"
193
 
{
 
11
gtk_color_scheme = "fg_color:#CFCFCF\nbg_color:#525252\nbase_color:#FFF\ntext_color:#000\nselected_bg_color:#009BF9\nselected_fg_color:#FFF\ntooltip_bg_color:#323232\ntooltip_fg_color:#b2b2b2"
 
12
 
 
13
gtk-icon-sizes = "panel-menu=22,22"
 
14
 
 
15
style "murrine-default"
 
16
{
 
17
        ########
 
18
        # Style Properties
 
19
        ########
 
20
        GtkButton      ::default-border       = { 0, 0, 0, 0 }
 
21
        GtkRange       ::trough-border        = 0
 
22
        GtkPaned       ::handle-size          = 6
 
23
        GtkRange       ::slider-width         = 15
 
24
        GtkRange       ::stepper-size         = 15
 
25
 
 
26
        GtkScrollbar   ::min-slider-length    = 30
 
27
        GtkCheckButton ::indicator-size       = 14
 
28
        GtkMenuBar     ::internal-padding     = 0
 
29
        GtkTreeView    ::expander-size        = 14
 
30
        GtkExpander    ::expander-size        = 16
 
31
        GtkScale       ::slider-length        = 24
 
32
 
 
33
        GtkToolbar     ::internal-padding     = 0
 
34
        GtkTreeView    ::vertical-separator   = 0
 
35
        GtkMenu        ::horizontal-padding   = 0
 
36
        GtkMenu        ::vertical-padding     = 0
 
37
        GtkScale       ::trough-side-details  = 0 # Restores sliders
 
38
        #GtkButton      ::child-displacement-x = 1
 
39
        #GtkButton      ::child-displacement-y = 1
 
40
 
 
41
        # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
 
42
        #WnckTasklist   ::fade-overlay-rect    = 0
 
43
 
 
44
        xthickness = 1
 
45
        ythickness = 1
 
46
 
 
47
        fg[NORMAL]        = @fg_color               # Metacity and mouseover, Most text
 
48
        fg[PRELIGHT]      = @base_color             # Text when mouseover
 
49
        fg[ACTIVE]        = @fg_color               # Text when mouseclicking button, Tabs, Active window list
 
50
        fg[SELECTED]      = @selected_fg_color      # Metacity X when window selected
 
51
        fg[INSENSITIVE]   = darker (@bg_color)      # Insensitive Text
 
52
 
 
53
        bg[NORMAL]        = @bg_color               # Normal Background, inactive Metacity bar, buttons
 
54
        bg[PRELIGHT]      = shade (1.30, @bg_color) # Mouseover buttons
 
55
        bg[ACTIVE]        = shade (0.90, @bg_color) # Mouseclicking, Tabs, active window list
 
56
        bg[SELECTED]      = @selected_bg_color      # Metacity Bar
 
57
        bg[INSENSITIVE]   = @bg_color               # Insensitive buttons
 
58
 
 
59
 
 
60
        base[NORMAL]      = @base_color             # Background, most
 
61
        base[PRELIGHT]    = shade (0.95, @bg_color) # Mouseover menu
 
62
        base[ACTIVE]      = shade (0.90, @bg_color) # Menu active item in inactive window
 
63
        base[SELECTED]    = @selected_bg_color      # Menu active item in active window
 
64
        base[INSENSITIVE] = @bg_color               # Background, insensitive
 
65
 
 
66
        text[NORMAL]      = @text_color             # Text in window
 
67
        text[PRELIGHT]    = @base_color             # Text on Mouseover
 
68
        text[ACTIVE]      = @selected_fg_color      # Active text in inactive window
 
69
        text[SELECTED]    = @selected_fg_color      # Active text in active window
 
70
        text[INSENSITIVE] = darker (@bg_color)      # Insensitive text
 
71
 
 
72
        engine "murrine" 
 
73
        {
 
74
                scrollbar_color     = "#009bf9" # Does not seem to support @color_definitions, can we fix this?
 
75
                contrast            = 1.15
 
76
                glazestyle          = 3         # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight
 
77
                menubarstyle        = 3         # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
 
78
                menubaritemstyle    = 0         # 0 = menuitem look, 1 = button look
 
79
                menuitemstyle       = 1         # 0 = flat, 1 = glassy, 2 = striped
 
80
                menustyle           = 1
 
81
                listviewheaderstyle = 1         # 0 = flat, 1 = glassy, 2 = raised
 
82
                listviewstyle       = 1         # 0 = nothing, 1 = dotted
 
83
                scrollbarstyle      = 2         # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
 
84
                hilight_ratio       = 0.90       # set the amount of buttons or widgets hilight
 
85
                roundness           = 2         # 0 = squared, 1 = old default, more will increase roundness
 
86
                animation           = TRUE      # FALSE = disabled, TRUE = enabled
 
87
                gradients           = TRUE
 
88
        }
 
89
}
 
90
 
 
91
style "murrine-wide"
 
92
{
 
93
        xthickness = 2
 
94
        ythickness = 2
 
95
}
 
96
 
 
97
style "murrine-wider"
 
98
{
 
99
        xthickness = 3
 
100
        ythickness = 3
 
101
}
 
102
 
 
103
style "murrine-darker"
 
104
{
 
105
        fg[NORMAL]        = shade (0.1, @fg_color)
 
106
        fg[ACTIVE]        = shade (0.1, @fg_color) 
 
107
}
 
108
 
 
109
style "murrine-button" = "murrine-wider"
 
110
{
 
111
        bg[NORMAL]   = shade (0.96, @bg_color)
 
112
        bg[ACTIVE]   = shade (0.73, @bg_color)
 
113
        engine "murrine" 
 
114
        {
 
115
        }
 
116
}
 
117
 
 
118
style "murrine-notebook"
 
119
{
 
120
        bg[ACTIVE] = shade (0.65, @bg_color)
 
121
        bg[NORMAL] = shade (0.88, @bg_color)
 
122
        engine "murrine" 
 
123
        {
 
124
                roundness = 4
 
125
        }
 
126
}
 
127
 
 
128
style "murrine-notebook-tabs" = "murrine-notebook"
 
129
{
 
130
        fg[ACTIVE] = shade (0.75, @fg_color)
 
131
}
 
132
 
 
133
style "murrine-tasklist" = "murrine-wide"
 
134
{
 
135
}
 
136
 
 
137
style "murrine-menu" = "murrine-wider"
 
138
{
 
139
        bg[NORMAL] = shade (0.99, @bg_color)
 
140
}
 
141
 
 
142
style "murrine-menubar" = "murrine-default"
 
143
{
 
144
        bg[NORMAL]= shade (0.85, @bg_color)
 
145
}
 
146
 
 
147
style "murrine-menu-item" = "murrine-wider"
 
148
{
 
149
        fg[PRELIGHT] = @selected_fg_color
 
150
        bg[PRELIGHT] = @selected_bg_color
 
151
        engine "murrine" 
 
152
        {
 
153
                menubaritemstyle = 1
 
154
                roundness = 3
 
155
        }
 
156
}
 
157
 
 
158
style "murrine-separator-menu-item"
 
159
{
 
160
        ythickness = 1
 
161
}
 
162
 
 
163
style "murrine-treeview" = "murrine-default"
 
164
{
 
165
        fg[NORMAL]   = shade (0.5, @bg_color)
 
166
        fg[PRELIGHT] = shade (0.5, @bg_color)
 
167
        bg[NORMAL] = shade (1.5, @bg_color)
 
168
}
 
169
 
 
170
style "murrine-treeview-header" = "murrine-default"
 
171
{
 
172
}
 
173
 
 
174
style "murrine-frame-title" # Frame stuff
 
175
{
 
176
        #fg[NORMAL] = shade (1.15, @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
        bg[NORMAL] = shade (0.9, @bg_color)
 
188
        engine "murrine" 
 
189
        {
 
190
        }
 
191
}
 
192
 
 
193
style "murrine-statusbar"
 
194
{
 
195
}
 
196
 
 
197
style "murrine-comboboxentry"
 
198
{
 
199
}
 
200
 
 
201
style "murrine-spinbutton"
 
202
{
 
203
}
 
204
 
 
205
style "murrine-scale"
 
206
{
 
207
        bg[NORMAL] = shade (0.9, @bg_color)
 
208
        GtkScale       ::slider-length        = 22
 
209
        GtkRange       ::slider-width         = 13
 
210
}
 
211
 
 
212
style "murrine-hscale"
 
213
{
 
214
}
 
215
 
 
216
style "murrine-vscale"
 
217
{
 
218
}
 
219
 
 
220
style "murrine-scrollbar"
 
221
{
 
222
        bg[NORMAL]  = shade (0.40, @bg_color)
 
223
        engine "murrine"
 
224
        {
 
225
        }
 
226
}
 
227
 
 
228
style "murrine-hscrollbar"
 
229
{
 
230
}
 
231
 
 
232
style "murrine-vscrollbar"
 
233
{
 
234
}
 
235
 
 
236
style "murrine-nautilus-location"
 
237
{
 
238
        bg[NORMAL] = @selected_bg_color
 
239
        fg[NORMAL] = @bg_color          # Text on Mouseover
194
240
}
195
241
 
196
242
style "metacity-frame"
197
243
{
198
 
  fg[SELECTED]  = "#ffffff" # Focused title text color
199
 
  fg[INSENSITIVE]   = "#000000"
 
244
        fg[SELECTED]    = @base_color              # Focused title text color
 
245
        fg[NORMAL]      = shade (0.5, @base_color)
200
246
}
201
247
 
202
248
style "panelbg"
203
249
{
204
 
  xthickness        = 0
205
 
  ythickness        = 0
206
 
  bg_pixmap[NORMAL] = "panel.png"
207
 
}
208
 
 
209
 
style "theme-radiocheck" = "theme-default"
210
 
{
211
 
  text[NORMAL] = "#ffffff"
212
 
}
213
 
 
214
 
class "MetaFrames" style "metacity-frame"
215
 
class "GtkWindow"  style "metacity-frame"
216
 
class "*Panel*"    style "panelbg"
217
 
class "*panel*"    style "panelbg"
218
 
class "*notif*"    style "panelbg"
219
 
class "*Notif*"    style "panelbg"
220
 
class "*Tray*"     style "panelbg"
221
 
class "*tray*"     style "panelbg"
222
 
class "GtkRadio*"  style "theme-radiocheck"
223
 
class "GtkCheck*"  style "theme-radiocheck"
224
 
 
225
 
# widget styles
226
 
class "GtkWidget"      style "theme-default"
227
 
class "GtkButton"      style "theme-button"
228
 
class "GtkScale"       style "theme-slider"
229
 
class "GtkScrollbar"   style "theme-scrollbar"
230
 
class "GtkCombo"       style "theme-button"
231
 
class "GtkRange"       style "theme-wide"
232
 
class "GtkFrame"       style "theme-wide"
233
 
class "GtkMenu"        style "theme-menu"
234
 
class "GtkEntry"       style "theme-entry"
235
 
class "GtkMenuItem"    style "theme-menu-item"
236
 
class "GtkNotebook"    style "theme-notebook"
237
 
class "GtkProgressBar" style "theme-progressbar"
238
 
class "*MenuBar*"      style "theme-menubar"
239
 
class "PanelMenuBar"   style "panelbg"
240
 
 
241
 
widget_class "*MenuItem.*" style "theme-menu-item"
242
 
widget_class "*MenuBar.*"  style "theme-menubar-item"
243
 
widget_class "*MenuItem.*" style "theme-menu-combo-fix"
244
 
 
245
 
# combobox stuff
246
 
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
247
 
widget_class "*.GtkCombo.GtkButton"    style "theme-combo"
248
 
 
249
 
# tooltips stuff
250
 
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
251
 
widget "gtk-tooltips" style "theme-tooltips"
252
 
 
253
 
# treeview stuff
254
 
widget_class "*.GtkTreeView.GtkButton" style "theme-tree"
255
 
widget_class "*.GtkCTree.GtkButton" style "theme-tree"
256
 
widget_class "*.GtkList.GtkButton" style "theme-tree"
257
 
widget_class "*.GtkCList.GtkButton" style "theme-tree"
258
 
widget_class "*.GtkFrame.GtkLabel" style "theme-frame-title"
259
 
widget_class "*.GtkComboBox.*" style "theme-menu-combo-fix"
260
 
widget_class "*.GtkTreeView" style "theme-tree-fix" 
261
 
 
262
 
# notebook stuff
263
 
widget_class "*.GtkNotebook.*.GtkEventBox" style "theme-notebook"
264
 
widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"
 
250
        xthickness        = 0
 
251
        ythickness        = 0
 
252
        bg_pixmap[NORMAL] = "panel.png"
 
253
}
 
254
 
 
255
style "murrine-radiocheck" = "murrine-default"
 
256
{
 
257
        text[NORMAL] = @base_color # Text on Mouseover
 
258
}
 
259
 
 
260
style "murrine-invisible" = "murrine-invisible"
 
261
{
 
262
        fg[PRELIGHT] = @fg_color # Text when mouseover
 
263
}
 
264
 
 
265
#########################################
 
266
# Matches
 
267
#########################################
 
268
 
 
269
# theme radio buttons and checkmarks
 
270
class "GtkRadio*"                               style "murrine-radiocheck"
 
271
class "GtkCheck*"                               style "murrine-radiocheck"
 
272
 
 
273
# keep proper colour for Metacity
 
274
class "MetaFrames"                              style "metacity-frame"
 
275
class "GtkWindow"                               style "metacity-frame"
 
276
 
 
277
# theme default style is applied to every widget
 
278
class "GtkWidget"                               style "murrine-default"
 
279
 
 
280
# Increase the x/ythickness in some widgets
 
281
class "GtkToolbar"                              style "murrine-default" 
 
282
class "GtkRange"                                style "murrine-wide"
 
283
class "GtkFrame"                                style "murrine-wide"
 
284
class "GtkSeparator"                            style "murrine-wide"
 
285
class "GtkEntry"                                style "murrine-wider"
 
286
 
 
287
class "GtkSpinButton"                           style "murrine-spinbutton"
 
288
class "GtkScale"                                style "murrine-scale"
 
289
class "GtkVScale"                               style "murrine-vscale"
 
290
class "GtkHScale"                               style "murrine-hscale"
 
291
class "GtkScrollbar"                            style "murrine-scrollbar"
 
292
class "GtkVScrollbar"                           style "murrine-vscrollbar"
 
293
class "GtkHScrollbar"                           style "murrine-hscrollbar"
 
294
 
 
295
class "GtkInvisible"                            style "murrine-invisible" # Fix for Firefox white text hover effect
 
296
 
 
297
# General matching following, the order is choosen so that the right styles override each other
 
298
# eg. progressbar needs to be more important then the menu match.
 
299
 
 
300
# This is not perfect, it could be done better
 
301
# (That is modify *every* widget in the notebook, and change those back that
 
302
# we really don't want changed)
 
303
 
 
304
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook"
 
305
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook"
 
306
widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook"
 
307
 
 
308
widget_class "*<GtkButton>"                     style "murrine-button"
 
309
widget_class "*<GtkNotebook>"                   style "murrine-notebook"
 
310
widget_class "*<GtkStatusbar>*"                 style "murrine-statusbar"
 
311
 
 
312
widget_class "*<GtkComboBoxEntry>*"             style "murrine-comboboxentry"
 
313
widget_class "*<GtkCombo>*"                     style "murrine-comboboxentry"
 
314
 
 
315
widget_class "*<GtkMenuBar>*"                   style "murrine-menubar"
 
316
widget_class "*<GtkMenu>*"                      style "murrine-menu"
 
317
widget_class "*<GtkMenuItem>*"                  style "murrine-menu-item"
 
318
widget_class "*<GtkSeparatorMenuItem>*"         style "murrine-separator-menu-item"
 
319
 
 
320
widget_class "*.<GtkFrame>.<GtkLabel>"          style "murrine-frame-title"
 
321
widget_class "*.<GtkTreeView>*"                 style "murrine-treeview"
 
322
widget_class "*.<GtkTreeView>*<GtkLabel>*"      style "murrine-default" # To ensure listview header text colours are correct
 
323
 
 
324
widget_class "*<GtkProgressBar>"                style "murrine-progressbar"
 
325
 
 
326
# Treeview header
 
327
widget_class "*.<GtkTreeView>.<GtkButton>"      style "murrine-treeview-header"
 
328
widget_class "*.<GtkCTree>.<GtkButton>"         style "murrine-treeview-header"
 
329
widget_class "*.<GtkList>.<GtkButton>"          style "murrine-treeview-header"
 
330
widget_class "*.<GtkCList>.<GtkButton>"         style "murrine-treeview-header"
 
331
 
 
332
# Panel elements
 
333
class "*Panel*"                                 style "panelbg"
 
334
class "*panel*"                                 style "panelbg"
 
335
class "*notif*"                                 style "panelbg"
 
336
class "*Notif*"                                 style "panelbg"
 
337
class "*Tray*"                                  style "panelbg"
 
338
class "*tray*"                                  style "panelbg"
 
339
class "PanelMenuBar"                            style "panelbg"
 
340
 
 
341
# Workarounds for Evolution
 
342
widget_class "*.ETable.ECanvas"                 style "murrine-treeview-header"
 
343
widget_class "*.ETree.ECanvas"                  style "murrine-treeview-header"
 
344
 
 
345
# The window of the tooltip is called "gtk-tooltip"
 
346
################################
 
347
# FIXME:
 
348
# This will not work if one embeds eg. a button into the tooltip.
 
349
# As far as I can tell right now we will need to rework the theme
 
350
# quite a bit to get this working correctly.
 
351
# (It will involve setting different priorities, etc.)
 
352
################################
 
353
widget "gtk-tooltip*"                           style "murrine-tooltips"
 
354
 
 
355
###################################################
 
356
# Special cases and work arounds
 
357
###################################################
 
358
 
 
359
# Special case the nautilus-extra-view-widget
 
360
# ToDo: A more generic approach for all applications that have a widget like this.
 
361
widget "*.nautilus-extra-view-widget"           style : highest "murrine-nautilus-location"
 
362
widget "*auti*IconView*"                        style : highest "murrine-darker"            # Nautilus workaround to display black text for rename in Icon View
 
363
 
 
364
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
 
365
# Note that the work around assumes that the combobox is _not_ in
 
366
# appears-as-list mode.
 
367
# Similar hack also in the menuitem style.
 
368
# This style does not affect GtkComboBoxEntry, it does have an effect
 
369
# on comboboxes in appears-as-list mode though.
 
370
style "murrine-combobox-text-color-workaround"
 
371
{
 
372
        text[NORMAL]      = @fg_color
 
373
        text[PRELIGHT]    = @fg_color
 
374
        text[SELECTED]    = @selected_fg_color
 
375
        text[ACTIVE]      = @fg_color
 
376
        text[INSENSITIVE] = darker (@bg_color)
 
377
}
 
378
widget_class "*.<GtkComboBox>.<GtkCellView>"    style "murrine-combobox-text-color-workaround"
 
379
 
 
380
style "murrine-menuitem-text-is-fg-color-workaround"
 
381
{
 
382
        text[NORMAL]        = @fg_color
 
383
        text[PRELIGHT]      = @selected_fg_color
 
384
        text[SELECTED]      = @selected_fg_color
 
385
        text[ACTIVE]        = @fg_color
 
386
        text[INSENSITIVE]   = darker (@bg_color)
 
387
}
 
388
 
 
389
widget "*.gtk-combobox-popup-menu.*"                    style "murrine-menuitem-text-is-fg-color-workaround"
 
390
 
 
391
# Work around the usage of GtkLabel inside GtkListItems to display text.
 
392
# This breaks because the label is shown on a background that is based on the
 
393
# base color set.
 
394
style "murrine-fg-is-text-color-workaround"
 
395
{
 
396
        fg[NORMAL]      = @text_color
 
397
        fg[PRELIGHT]    = @text_color
 
398
        fg[ACTIVE]      = @selected_fg_color
 
399
        fg[SELECTED]    = @selected_fg_color
 
400
        fg[INSENSITIVE] = darker (@bg_color)
 
401
}
 
402
 
 
403
widget_class "*<GtkListItem>*"                          style "murrine-fg-is-text-color-workaround"
 
404
# The same problem also exists for GtkCList and GtkCTree
 
405
# Only match GtkCList and not the parent widgets, because that would also change the headers.
 
406
 
 
407
widget_class "*<GtkCList>"                              style "murrine-fg-is-text-color-workaround"
 
408
 
 
409
style "murrine-evo-new-button-workaround"
 
410
{
 
411
 
 
412
        engine "murrine"
 
413
        {
 
414
                #toolbarstyle = 0
 
415
        }
 
416
}
 
417
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
 
418
 
 
419
style "panel"
 
420
{
 
421
  bg_pixmap[NORMAL] = "panel/panel.png"
 
422
}
 
423
 
 
424
widget "*PanelWidget*" style "panel"
 
425
widget "*PanelApplet*" style "panel"
 
426
class "PanelApp*" style "panel"
 
427
class "PanelToplevel*" style "panel"
 
428
widget_class "*Mail*" style "panel"
 
429
widget_class "*notif*" style "panel"
 
430
widget_class "*Notif*" style "panel"
 
431